1 2015-05-20 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
4 * sysdeps/posix/usleep.c: ... here.
6 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
10 [$(subdir) = io]: Remove call_sync_file_range object.
11 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
12 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
13 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
14 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
16 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
18 * math/s_cproj.c: Add include "math_private.h".
19 * math/s_cprojf.c: Likewise.
20 * math/s_cprojl.c: Likewise.
22 2015-05-19 Joseph Myers <joseph@codesourcery.com>
25 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
26 high mantissa bit when testing whether P is a NaN.
27 * math/libm-test.inc (remainder_test_data): Add more tests.
28 (remquo_test_data): Likewise.
31 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
32 below -32, return the argument, with underflow if subnormal.
33 * math/auto-libm-test-in: Add more tests of atanh.
34 * math/auto-libm-test-out: Regenerated.
36 2015-05-19 Roland McGrath <roland@hack.frob.com>
39 * nptl/tst-sem15.c: New file.
40 * nptl/Makefile (tests): Add it.
41 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
42 s/<</>>/ to fix typo in EOVERFLOW check.
43 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
45 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
47 * manual/strings.texi (envz_remove): Fix typo in safety
50 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
51 Steve Ellcey <sellcey@imgtec.com>
53 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
54 in order to avoid strict alias warnings.
55 (iruserok_af): Ditto for ra.
57 2015-05-19 James Lemke <jwlemke@codesourcery.com>
61 (magicbyte): Convert to a function and avoid returning 0x01.
62 (mem2mem_check): Avoid using a length byte equal to the magic byte.
63 (mem2chunk_check): Fix unsigned comparisons to zero.
64 Hoist defs of sz and magic.
66 2015-05-19 Richard Henderson <rth@redhat.com>
68 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
70 * sysdeps/alpha/fpu/libm-test-ulps: Update.
72 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
75 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
76 * malloc/arena.c (arena_lock): Check if arena is corrupt.
77 (reused_arena): Find a non-corrupt arena.
78 (heap_trim): Pass arena to unlink.
79 * malloc/hooks.c (malloc_check_get_size): Pass arena to
81 (top_check): Likewise.
82 (free_check): Likewise.
83 (realloc_check): Likewise.
84 * malloc/malloc.c (malloc_printerr): Add arena argument.
86 (munmap_chunk): Adjust.
87 (ARENA_CORRUPTION_BIT): New macro.
88 (arena_is_corrupt): Likewise.
89 (set_arena_corrupt): Likewise.
90 (sysmalloc): Use mmap if there are no usable arenas.
91 (_int_malloc): Likewise.
92 (__libc_malloc): Don't fail if arena_get returns NULL.
93 (_mid_memalign): Likewise.
94 (__libc_calloc): Likewise.
95 (__libc_realloc): Adjust for additional argument to
97 (_int_free): Likewise.
98 (malloc_consolidate): Likewise.
99 (_int_realloc): Likewise.
100 (_int_memalign): Don't touch corrupt arenas.
101 * malloc/tst-malloc-backtrace.c: New test case.
103 * Makefile (summarize-tests): Fix return value on success.
105 * manual/string.texi (Envz Functions): Add envz_remove.
107 2015-05-18 Roland McGrath <roland@hack.frob.com>
109 * sysdeps/posix/opendir.c: Include <stdbool.h>.
110 (invalid_name): New function, broken out of ...
111 (__opendirat): ... here. Call it.
112 (need_isdir_precheck): New function, broken out of ...
113 (__opendirat): ... here. Call it.
114 Use __fxstatat64, not __xstatat64.
115 (opendir_oflags): New function, broken out of ...
116 (__opendirat): ... here. Call it.
117 (opendir_tail): New function, broken out of ...
118 (__opendirat): ... here. Call it.
119 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
120 opendir_tail, rather than punting to __opendirat.
121 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
123 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
125 * .gitignore: Ignore generated *.pyc.
127 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
129 * include/stdio.h: Define __need_wint_t.
130 * test-skeleton.c: Avoid `for' loop initial declaration.
131 * nptl/tst-initializers1.c: Use test-skeleton.c.
133 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
136 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
138 2015-05-15 Joseph Myers <joseph@codesourcery.com>
141 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
142 (__ieee754_atanh): Force underflow exception for results with
143 small absolute value.
144 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
145 (__ieee754_atanhf): Force underflow exception for results with
146 small absolute value.
147 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
148 (__ieee754_atanh): Force underflow exception for results with
149 small absolute value.
150 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
151 (__ieee754_atanhf): Force underflow exception for results with
152 small absolute value.
153 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
154 (__ieee754_atanhl): Force underflow exception for results with
155 small absolute value.
156 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
157 (__ieee754_atanhl): Force underflow exception for results with
158 small absolute value.
159 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
160 (__ieee754_atanhl): Force underflow exception for results with
161 small absolute value.
162 * math/auto-libm-test-in: Do not allow missing underflow
163 exceptions from atanh.
164 * math/auto-libm-test-out: Regenerated.
167 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
168 2**-28 as threshold for returning x or +/- 1/x.
169 * math/auto-libm-test-in: Add more tests of tan.
170 * math/auto-libm-test-out: Regenerated.
173 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
174 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
175 * math/auto-libm-test-in: Add another test of lgamma.
176 * math/auto-libm-test-out: Regenerated.
178 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
180 * stdio-common/printf_fp.c (___printf_fp): Use abs.
181 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
182 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
183 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
184 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
185 (ADD2A): Use fabs. (SUB2A): Use fabs.
186 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
187 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
188 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
189 (log1): Use fabs. (my_log2): Use fabs.
190 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
191 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
192 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
193 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
194 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
195 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
196 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
197 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
198 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
199 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
200 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
202 2015-05-15 Joseph Myers <joseph@codesourcery.com>
205 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
206 as threshold for returning 1 - x.
207 * math/auto-libm-test-in: Add more tests of erfc.
208 * math/auto-libm-test-out: Regenerated.
210 2015-05-14 Joseph Myers <joseph@codesourcery.com>
213 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
214 threshold for large arguments.
215 * math/auto-libm-test-in: Add another test of atan.
216 * math/auto-libm-test-out: Regenerated.
219 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
220 (__log1p): Force underflow exception for results with small
222 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
223 (__log1pf): Force underflow exception for results with small
225 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
226 (__log1p): Force underflow exception for results with small
228 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
229 (__log1pf): Force underflow exception for results with small
231 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
232 (__log1pl): Force underflow exception for results with small
234 * math/auto-libm-test-in: Do not allow missing underflow
235 exceptions from log1p.
236 * math/auto-libm-test-out: Regenerated.
238 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
239 Adhemerval Zanella <adhemerval.zanella@linaro.org>
242 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
244 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
246 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
247 (libmvec): New variable.
248 * configure.ac: Added option for mathvec build.
249 * configure: Regenerated.
250 * mathvec/Depend: New file.
251 * mathvec/Makefile: New file.
252 * shlib-versions: Added libmvec.
253 * math/Makefile: Added rule for libm.so installation.
255 * bits/math-vector.h: New file.
256 * bits/libm-simd-decl-stubs.h: New header.
257 * math/Makefile (headers): Added new header
258 libm-simd-decl-stubs.h.
259 * math/math.h (__MATHCALL_VEC): New macro.
261 * math/gen-libm-have-vector-test.sh: Script generates series of macros
262 for conditions in testing functions.
263 * math/Makefile: Added call of libm-have-vector-test.sh.
264 * math/libm-test.inc (HAVE_VECTOR): New macros.
266 * math/libm-test.inc: START refactored.
267 * math/test-double.c (TEST_MATHVEC): Add define.
268 * math/test-float.c: Likewise.
269 * math/test-idouble.c: Likewise.
270 * math/test-ifloat.c: Likewise.
271 * math/test-ildoubl.c: Likewise.
272 * math/test-ldouble.c: Likewise.
273 * sysdeps/generic/math-tests-arch.h
274 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
277 * math/test-double.c (FUNC_TEST): New macro.
278 * math/test-float.c: Likewise.
279 * math/test-idouble.c: Likewise.
280 * math/test-ifloat.c: Likewise.
281 * math/test-ildoubl.c: Likewise.
282 * math/test-ldouble.c: Likewise.
283 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
285 2015-05-13 Roland McGrath <roland@hack.frob.com>
287 * sysdeps/nacl/fdopendir.c: New file.
289 * dirent/scandir-tail.c: New file.
290 * dirent/scandir64-tail.c: New file.
291 * dirent/Makefile (routines): Add them.
292 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
293 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
294 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
295 [!SCANDIR] (SCANDIR_TAIL): New macro.
296 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
297 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
298 (SCANDIRAT): Macro removed.
299 (SCANDIR_TAIL): New macro.
300 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
301 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
302 (SCANDIRAT): Just call __opendirat and __scandir_tail.
303 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
304 (READDIR): Macro removed.
305 (SCANDIR_TAIL): New macro.
306 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
307 (SCANDIR_TAIL): New macro.
309 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
310 * dirent/scandir-cancel.c: ... to this new file.
311 * dirent/Makefile (routines): Add it.
312 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
313 * sysdeps/unix/sysv/linux/i386/scandir64.c
314 (SKIP_SCANDIR_CANCEL): Macro removed.
315 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
317 * dirent/tst-scandir.c: New file.
318 * dirent/tst-scandir64.c: New file.
319 * dirent/Makefile (tests): Add them.
321 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
324 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
326 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
328 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
331 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
333 * benchtests/bench-strcoll.c: New benchmark.
334 * benchtests/Makefile: Generate locales and run benchmark.
335 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
336 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
337 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
338 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
339 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
340 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
341 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
342 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
343 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
344 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
345 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
346 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
347 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
348 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
349 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
350 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
351 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
352 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
353 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
354 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
355 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
356 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
357 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
358 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
360 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
362 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
363 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
365 2015-05-12 Roland McGrath <roland@hack.frob.com>
367 * posix/uname-values.h: New file.
368 * posix/uname.c: Include that instead of <config-name.h>.
369 * sysdeps/nacl/uname-values.h: New file.
370 * sysdeps/arm/nacl/uname-values.h: New file.
372 2015-05-12 Joseph Myers <joseph@codesourcery.com>
374 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
375 splitting into fields.
377 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
379 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
380 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
381 * locale/localeinfo.h: Add enum collation_encoding_type.
382 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
383 * programs/ld-collate.c (collate_output): Add encoding type info.
384 * string/strcoll_l.c (STRDIFF): New function.
385 * (STRCOLL): Use STRDIFF to skip over equal prefix.
386 * wcsmbs/wcscoll_l.c: Define STRDIFF.
388 2015-05-11 Joseph Myers <joseph@codesourcery.com>
391 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
392 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
393 <fpu_control.h> instead of <math/fpu_control.c>.
394 * sysdeps/mips/mips32/fpu/Makefile: New file.
396 2015-05-11 Andreas Schwab <schwab@suse.de>
399 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
401 (_nss_compat_endgrent): Call nss_endgrent.
402 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
404 (_nss_compat_endpwent): Call nss_endpwent.
405 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
406 needent, call nss_setspent only if non-zero.
407 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
408 (internal_endspent): Don't call nss_endspent.
409 (_nss_compat_endspent): Call nss_endspent.
410 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
411 Remove. All uses removed.
412 (internal_setent): Remove parameter stayopen, add parameter
413 stream. Use it instead of global variable.
414 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
415 (internal_endent, internal_getent): Add parameter stream. Use it
416 instead of global variable.
417 (CONCAT(_nss_files_end,ENTNAME))
418 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
419 (_nss_files_get##name##_r): Pass local stream. Remove locking.
420 * nss/nss_files/files-alias.c (position, last_use): Remove. All
422 (internal_setent, internal_endent): Add parameter stream. Use it
423 instead of global variable.
424 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
426 (get_next_alias): Add parameter stream.
427 (_nss_files_getaliasent_r): Pass global stream.
428 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
429 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
430 (_nss_files_gethostbyname4_r): Pass local stream to
431 internal_setent, internal_getent and internal_endent. Remove
434 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
436 * tst-strfmon1.c (tests): Update expected currency symbol.
438 2015-05-08 Roland McGrath <roland@hack.frob.com>
440 * sysdeps/nacl/gethostname.c: New file.
442 2015-05-08 Joseph Myers <joseph@codesourcery.com>
444 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
446 * math/auto-libm-test-out: Regenerated.
447 * sysdeps/i386/fpu/libm-test-ulps: Update.
448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
450 2015-05-08 Carlos O'Donell <carlos@redhat.com>
453 * stdlib/tst-setcontext3.c: New file.
454 * stdlib/tst-setcontext3.sh: New file.
455 * stdlib/Makefile (tests): Add tst-setcontext3.
456 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
457 to verify test program created output file.
458 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
459 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
460 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
461 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
463 2015-05-06 Roland McGrath <roland@hack.frob.com>
466 * elf/tst-tlsalign.c: New file.
467 * elf/tst-tlsalign-static.c: New file.
468 * elf/tst-tlsalign-lib.c: New file.
469 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
470 (tests-static): Add tst-tlsalign-static.
471 (modules-names): Add tst-tlsalign-lib.
472 (test-xfail-tst-tlsalign): New variable.
473 (test-xfail-tst-tlsalign-static): New variable.
475 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
476 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
478 2015-05-06 Joseph Myers <joseph@codesourcery.com>
480 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
481 csqrt, erfc, sin and sincos.
482 * math/auto-libm-test-out: Regenerated.
483 * sysdeps/i386/fpu/libm-test-ulps: Update.
484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
486 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
488 * sysdeps/aarch64/libm-test-ulps: Update.
490 2015-05-05 Joseph Myers <joseph@codesourcery.com>
492 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
493 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
494 * math/auto-libm-test-out: Regenerated.
495 * sysdeps/i386/fpu/libm-test-ulps: Update.
496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
498 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
501 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
504 2015-05-05 Florian Weimer <fweimer@redhat.com>
506 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
507 Assume __ASSUME_FALLOCATE is always true.
508 * sysdeps/unix/sysv/linux/posix_fallocate64.c
509 (__posix_fallocate64_l64): Likweise.
510 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
511 (posix_fallocate): Likewise.
512 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
513 (__posix_fallocate64_l64): Likewise.
514 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
515 [!__ASSUME_FALLOCATE]: Add comment.
517 2015-05-05 Florian Weimer <fweimer@redhat.com>
519 * sysdeps/unix/sysv/linux/i386/Makefile
520 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
521 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
522 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
523 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
524 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
525 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
526 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
528 2015-05-02 Joseph Myers <joseph@codesourcery.com>
530 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
531 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
533 * math/auto-libm-test-out: Regenerated.
534 * sysdeps/i386/fpu/libm-test-ulps: Update.
535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
537 2015-05-01 Joseph Myers <joseph@codesourcery.com>
539 * math/auto-libm-test-in: Add more tests of tgamma.
540 * math/auto-libm-test-out: Regenerated.
541 * sysdeps/i386/fpu/libm-test-ulps: Update.
542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
544 * math/auto-libm-test-in: Add more tests of tanh.
545 * math/auto-libm-test-out: Regenerated.
546 * sysdeps/i386/fpu/libm-test-ulps: Update.
547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
549 * math/auto-libm-test-in: Add more tests of tan.
550 * math/auto-libm-test-out: Regenerated.
551 * sysdeps/i386/fpu/libm-test-ulps: Update.
552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
554 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
555 * math/auto-libm-test-out: Regenerated.
556 * sysdeps/i386/fpu/libm-test-ulps: Update.
557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
559 * math/auto-libm-test-in: Add another test of pow.
560 * math/auto-libm-test-out: Regenerated.
561 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
563 * math/auto-libm-test-in: Add more tests of lgamma.
564 * math/auto-libm-test-out: Regenerated.
565 * sysdeps/i386/fpu/libm-test-ulps: Update.
566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
568 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
570 * math/auto-libm-test-out: Regenerated.
571 * sysdeps/i386/fpu/libm-test-ulps: Update.
572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
574 2015-05-01 Mark Wielaard <mjw@redhat.com>
576 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
577 Elf64_Chdr structs and ELFCOMPRESS constants.
579 2015-05-01 Joseph Myers <joseph@codesourcery.com>
581 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
583 * math/auto-libm-test-out: Regenerated.
584 * sysdeps/i386/fpu/libm-test-ulps: Update.
585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
587 * math/auto-libm-test-in: Add more tests of erf and erfc.
588 * math/auto-libm-test-out: Regenerated.
589 * sysdeps/i386/fpu/libm-test-ulps: Update.
590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
592 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
594 * config.h.in (HAVE_AARCH64_BE): Add.
596 2015-04-30 Joseph Myers <joseph@codesourcery.com>
598 * math/auto-libm-test-in: Add more tests of csqrt.
599 * math/auto-libm-test-out: Regenerated.
600 * sysdeps/i386/fpu/libm-test-ulps: Update.
601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
603 * math/auto-libm-test-in: Add more tests of cosh and sinh.
604 * math/auto-libm-test-out: Regenerated.
605 * sysdeps/i386/fpu/libm-test-ulps: Update.
606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
608 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
610 2015-04-29 Roland McGrath <roland@hack.frob.com>
612 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
613 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
615 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
616 (euidaccess, eaccess): Define as weak aliases.
618 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
619 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
620 but __suseconds_t is often 'long int' so some sources assume that
621 type is being used (e.g. they use %ld to print tv_usec).
623 2015-04-29 Florian Weimer <fweimer@redhat.com>
626 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
628 * nss/tst-nss-getpwent.c: New file.
629 * nss/Makefile (tests): Add new test.
631 2015-04-28 Joseph Myers <joseph@codesourcery.com>
634 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
635 exponents less than 48 as cases where high part of mantissa needs
636 examining to determine whether argument is integral.
637 * math/libm-test.inc (round_test_data): Add more tests.
639 2015-04-28 Mark Wielaard <mjw@redhat.com>
641 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
643 2015-04-27 David S. Miller <davem@davemloft.net>
645 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
647 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
649 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
652 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
654 2015-04-27 Florian Weimer <fweimer@redhat.com>
657 * time/tzset.c (parse_tzname): Return error on memory allocation
659 * test-skeleton.c (struct temp_name_list): Change type of name
661 (add_temp_file): Create a copy of the file name.
662 (delete_temp_files): Deallocate memory.
663 (create_temp_file): Add comment.
665 2015-04-24 Florian Weimer <fweimer@redhat.com>
667 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
668 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
670 2015-04-24 Roland McGrath <roland@hack.frob.com>
672 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
673 * sysdeps/arm/configure: Regenerated.
675 2015-04-24 Florian Weimer <fweimer@redhat.com>
678 * time/tzfile.c (__tzfile_read): Check for large values of
679 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
680 * time/tzset.c (__tzstring_len): New function, based on the old
682 (__tzstring): Call __tzstring_len.
683 (parse_tzname): New helper function extracted from
684 __tzset_parse_tz. Call __tzstring_len, without making a copy of
686 (parse_offset): New helper function extracted from
687 __tzset_parse_tz. Replace switch with fallthrough with
688 initialization before sscanf.
689 (parse_rule): Likewise.
690 (__tzset_parse_tz): Rewrite using the new helper functions. Use
691 new-style function definition.
692 * timezone/Makefile (tests): Add tst-tzset.
693 (tst-tzset.out): Dependencies on time zone files.
694 (tst-tzset-ENV): Set TZDIR.
695 (testdata/XT%): Copy crafted time zone files.
696 * timezone/README: Mention crafted time zone files.
697 * timezone/testdata/XT1, timezone/testdata/XT2,
698 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
700 * timezone/tst-tzset.c: New test.
702 2015-04-24 Florian Weimer <fweimer@redhat.com>
704 * Makeconfig (+gccwarn): Remove -Winline.
706 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
708 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
710 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
712 * NEWS: Mention sysconf() cache information support for s390.
713 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
715 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
717 * math/k_casinh.c (__kernel_casinh): Use __copysign.
718 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
719 (__nearbyint): Likewise.
720 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
721 (copysignl): Likewise.
723 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
726 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
727 based on padding. (CVE-2015-1781)
729 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
731 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
733 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
734 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
735 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
736 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
737 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
738 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
739 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
740 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
741 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
742 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
743 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
744 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
745 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
746 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
747 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
748 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
749 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
750 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
751 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
752 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
753 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
754 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
755 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
757 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
759 * stdlib/setenv.c (__add_to_environ):
760 Dump core quickly if setenv (..., NULL, ...) is called.
761 This time, do it the right way, and pacify GCC with a pragma.
763 2015-04-17 Roland McGrath <roland@hack.frob.com>
765 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
766 IMAP->l_prev cannot be null, and #if out the code for the contrary
767 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
768 believe that NS (&_dl_ns[NSID]) could point outside the array.
770 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
771 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
772 before using NSID as an index.
774 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
777 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
778 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
779 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
781 2015-04-17 Roland McGrath <roland@hack.frob.com>
783 Add preliminary port to Google Native Client on ARM.
784 * abi-tags (.*-.*-nacl.*): New entry.
785 * sysdeps/arm/nacl: New directory.
786 * sysdeps/nacl: New directory.
788 2015-04-16 David S. Miller <davem@davemloft.net>
790 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
793 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
795 * sysdeps/tile/configure.ac: New file.
796 * sysdeps/tile/configure: Regenerated.
798 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
800 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
801 conditionals for weak_alias and libc_hidden_weak.
802 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
803 libc_hidden_weak and weak_alias.
804 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
805 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
806 and weak_alias for static one.
808 2015-04-15 David S. Miller <davem@davemloft.net>
810 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
812 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
815 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
816 Use signed comparision instead of substraction to avoid
818 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
819 Take the sign of ret.
820 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
821 Do not expect precise return values. Only the sign matters.
822 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
823 * wcsmbs/test-wcsncmp.c: New File.
824 * string/test-strncmp.c: Add wcsncmp support.
826 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
829 * math/w_log1p.c: New file.
830 * math/w_log1pf.c: Likewise.
831 * math/w_log1pl.c: Likewise.
832 * math/Makefile (libm-calls): Add w_log1p.
833 * math/s_log1pl.c (log1pl): Remove weak_alias.
834 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
835 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
836 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
837 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
838 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
839 [NO_LONG_DOUBLE] (log1pl): Likewise.
840 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
841 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
842 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
843 (log1p): Remove long_double_symbol.
844 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
845 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
846 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
847 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
848 remove weak_alias for corresponding log1p function.
849 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
850 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
851 * sysdeps/ia64/fpu/w_log1p.c: New file.
852 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
853 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
854 * math/libm-test.inc (log1p_test_data): Add errno expectations.
856 2015-04-10 Joseph Myers <joseph@codesourcery.com>
859 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
860 decimal exponent by 1.
861 * stdlib/tst-strtod-round-data: Add more tests.
862 * stdlib/tst-strtod-round.c (tests): Regenerated.
864 2015-04-09 Joseph Myers <joseph@codesourcery.com>
866 * math/auto-libm-test-in: Add more tests of clog and clog10.
867 * math/auto-libm-test-out: Regenerated.
868 * sysdeps/i386/fpu/libm-test-ulps: Update.
869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
871 2015-04-09 Roland McGrath <roland@hack.frob.com>
873 * Makeconfig (module-cppflags): Exclude all .v.i files.
874 (skip-module-cppflags): Variable removed.
876 * configure.ac (libc_config_ok): Initialize before reading
877 preconfigure scripts, not after.
878 * configure: Regenerated.
880 * test-skeleton.c (TIMEOUT): Move #define to top level.
881 (main): Grok environment variable TEST_DIRECT. If set, print
882 test expectation details into that file and then behave as if
885 2015-04-09 Florian Weimer <fweimer@redhat.com>
887 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
890 2015-04-08 David S. Miller <davem@davemloft.net>
892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
894 2015-04-08 Joseph Myers <joseph@codesourcery.com>
896 * math/auto-libm-test-in: Add more tests of atanh.
897 * math/auto-libm-test-out: Regenerated.
898 * sysdeps/i386/fpu/libm-test-ulps: Update.
899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
901 * math/auto-libm-test-in: Add more tests of atan.
902 * math/auto-libm-test-out: Regenerated.
903 * sysdeps/i386/fpu/libm-test-ulps: Update.
904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
906 2015-04-08 Florian Weimer <fweimer@redhat.com>
908 * elf/pldd.c (main): Rewrite to use struct
909 scratch_buffer instead of extend_alloca.
910 * elf/pldd-xx.c (find_maps): Likewise.
911 * grp/initgroups.c: Include <scratch_buffer.h> instead of
913 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
914 scratch_buffer instead of extend_alloca.
915 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
916 grp/compat-initgroups.c.
917 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
918 Rewrite to use struct scratch_buffer instead of extend_alloca.
919 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
920 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
922 2015-04-08 Joseph Myers <joseph@codesourcery.com>
924 * math/auto-libm-test-in: Add more tests of cbrt.
925 * math/auto-libm-test-out: Regenerated.
926 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
928 * math/auto-libm-test-in: Add more tests of cabs.
929 * math/auto-libm-test-out: Regenerated.
930 * sysdeps/i386/fpu/libm-test-ulps: Update.
931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
935 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
936 (__ieee754_atan2): Set FE_TONEAREST mode for internal
938 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
940 * math/auto-libm-test-out: Regenerated.
941 * sysdeps/i386/fpu/libm-test-ulps: Update.
942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
945 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
946 (atan): Set FE_TONEAREST mode for internal computations.
947 * math/auto-libm-test-in: Add more tests of atan.
948 * math/auto-libm-test-out: Regenerated.
950 2015-04-07 James Cowgill <james410@cowgill.org.uk>
953 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
955 2015-04-07 Florian Weimer <fweimer@redhat.com>
957 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
959 2015-04-07 Florian Weimer <fweimer@redhat.com>
961 * include/scratch_buffer.h: New file.
962 * malloc/scratch_buffer_grow.c: Likewise.
963 * malloc/scratch_buffer_grow_preserve.c: Likewise.
964 * malloc/scratch_buffer_set_array_size.c: Likewise.
965 * malloc/tst-scratch_buffer.c: Likewise.
966 * malloc/Makefile (routines): Add scratch_buffer_grow.
967 (tests): Add test case.
968 * malloc/Versions (GLIBC_PRIVATE): Export
969 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
970 __libc_scratch_buffer_set_array_size.
972 2015-04-06 Richard Henderson <rth@redhat.com>
974 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
975 * sysdeps/alpha/fpu/libm-test-ulps: Update.
977 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
978 unsigned int before printing.
980 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
983 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
984 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
986 2015-04-02 Florian Weimer <fweimer@redhat.com>
988 * include/libc-internal.h (libc_max_align_t): Define.
990 2015-04-02 Andreas Schwab <schwab@suse.de>
993 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
995 2015-04-02 Mel Gorman <mgorman@suse.de>
998 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
999 as well as the main arena.
1001 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
1004 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
1005 sharing L2 cache to 2 for Silvermont/Knights Landing.
1007 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
1010 * config.make.in (have-protected-data): New.
1011 * configure.ac: Check linker support for protected data symbol.
1012 * configure: Regenerated.
1013 * elf/Makefile (modules-names): Add tst-protected1moda and
1014 tst-protected1modb if $(have-protected-data) is yes.
1015 (tests): Add tst-protected1a and tst-protected1b if
1016 $(have-protected-data) is yes.
1017 ($(objpfx)tst-protected1a): New.
1018 ($(objpfx)tst-protected1b): Likewise.
1019 (tst-protected1modb.so-no-z-defs): Likewise.
1020 * elf/tst-protected1a.c: New file.
1021 * elf/tst-protected1b.c: Likewise.
1022 * elf/tst-protected1mod.h: Likewise.
1023 * elf/tst-protected1moda.c: Likewise.
1024 * elf/tst-protected1modb.c: Likewise.
1026 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
1029 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
1030 indicates it is called from do_lookup_x on relocation against
1031 protected data, skip the data definion in the executable from
1033 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
1034 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
1035 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
1036 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
1037 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
1039 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
1040 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
1041 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
1042 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
1043 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
1044 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
1046 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
1048 * sysdeps/nptl/pthread.h: Remove duplicate definition of
1049 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
1051 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
1053 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
1055 * sysdeps/x86_64/nptl/tls.h: Ditto.
1057 2015-03-27 Roland McGrath <roland@hack.frob.com>
1059 * dlfcn/tststatic.c (main): Converted to ...
1060 (do_test): ... this.
1061 (TEST_FUNCTION): New macro.
1062 Include test-skeleton.c.
1064 2015-03-26 Alan Modra <amodra@gmail.com>
1066 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
1067 Don't segfault if ifunc resolver returns a NULL. Do set plt to
1068 zero for undefined weak.
1069 (elf_machine_plt_conflict): Similarly.
1071 2015-03-25 Joseph Myers <joseph@codesourcery.com>
1073 * math/auto-libm-test-in: Add more tests of acosh, asinh and
1075 * math/auto-libm-test-out: Regenerated.
1076 * sysdeps/i386/fpu/libm-test-ulps: Update.
1077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1079 * math/auto-libm-test-in: Add another test of asin.
1080 * math/auto-libm-test-out: Regenerated.
1081 * sysdeps/i386/fpu/libm-test-ulps: Update.
1082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1084 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
1086 (LLL_EBX_REG): Likewise.
1087 (LLL_ENTER_KERNEL): Likewise.
1089 * math/auto-libm-test-in: Add more tests of asin.
1090 * math/auto-libm-test-out: Regenerated.
1091 * sysdeps/i386/fpu/libm-test-ulps: Update.
1092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1095 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
1096 libc_do_syscall_args): New structure.
1097 (INTERNAL_SYSCALL_MAIN_0): New macro.
1098 (INTERNAL_SYSCALL_MAIN_1): Likewise.
1099 (INTERNAL_SYSCALL_MAIN_2): Likewise.
1100 (INTERNAL_SYSCALL_MAIN_3): Likewise.
1101 (INTERNAL_SYSCALL_MAIN_4): Likewise.
1102 (INTERNAL_SYSCALL_MAIN_5): Likewise.
1103 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
1104 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
1105 Replace conditional definitions by conditional definitions of ....
1106 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
1107 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
1108 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
1109 (libpthread-sysdep_routines): Add libc-do-syscall.
1110 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
1111 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
1112 to __NR_futex not 240.
1114 2015-03-25 Alan Modra <amodra@gmail.com>
1116 * NEWS: Advertise TLS optimization.
1117 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
1118 (DT_PPC_NUM): Increment.
1119 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
1120 (CHECK_STATIC_TLS): Use here.
1121 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
1123 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1124 * sysdeps/powerpc/dl-tls.c: New file.
1125 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
1126 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
1127 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
1128 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
1129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
1130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
1131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
1133 2015-03-25 Alan Modra <amodra@gmail.com>
1135 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
1136 for overlapping .opd entries" to "support...".
1137 * sysdeps/powerpc/powerpc64/configure: Regenerate
1139 2015-03-25 Joseph Myers <joseph@codesourcery.com>
1141 * math/auto-libm-test-in: Add more tests of acos.
1142 * math/auto-libm-test-out: Regenerated.
1143 * sysdeps/i386/fpu/libm-test-ulps: Update.
1144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1146 * math/auto-libm-test-in: Add more tests of expm1.
1147 * math/auto-libm-test-out: Regenerated.
1148 * sysdeps/i386/fpu/libm-test-ulps: Update.
1149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1151 2015-03-24 Joseph Myers <joseph@codesourcery.com>
1153 * math/auto-libm-test-in: Add more tests of cosh and sinh.
1154 * math/auto-libm-test-out: Regenerated.
1155 * sysdeps/i386/fpu/libm-test-ulps: Update.
1156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1158 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1161 * math/auto-libm-test-in: Add more tests of log2.
1162 * math/auto-libm-test-out: Regenerated.
1163 * sysdeps/i386/fpu/libm-test-ulps: Update.
1164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1166 2015-03-23 Roland McGrath <roland@hack.frob.com>
1168 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
1169 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
1170 _IO_IS_APPENDING bit in READ_WRITE instead.
1172 2015-03-23 Florian Weimer <fweimer@redhat.com>
1174 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
1175 (__determine_cpumask_size): Replace extend_alloca with a
1176 variable-length array. Do not treat res == 0 as an error.
1178 2015-03-23 Florian Weimer <fweimer@redhat.com>
1181 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
1182 and integer overflow.
1183 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
1184 (main): Add integer overflow tests.
1185 * manual/pattern.texi (Calling Wordexp): Document additional use
1188 2015-03-23 Alan Modra <amodra@gmail.com>
1190 * config.h.in: Remove HAVE_ASM_PPC_REL16.
1191 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
1192 and false branch of conditional.
1193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1196 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
1198 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
1200 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
1201 unused declaration of _hurd_intr_rpc_msg_in_trap.
1202 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
1203 defined instead of whether it is non-zero.
1204 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
1205 input constraint instead of both input and output constraint. Use ecx
1206 clobber instead of %ecx.
1207 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
1208 mutex_unlock): Use a statement expression instead of an expression list.
1209 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
1210 type to vm_size_t instead of vm_address_t.
1211 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
1212 defined instead of whether it is non-zero.
1213 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
1214 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
1215 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
1216 comparisons with mapaddr.
1217 * nscd/nscd-client.h: Include <time.h>.
1218 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
1219 9th parameter to __vm_region instead of int.
1220 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
1221 * scripts/check-local-headers.sh (exclude): Add device/,
1222 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
1225 2015-03-19 Roland McGrath <roland@hack.frob.com>
1227 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
1228 to account for alignment padding.
1229 * sysdeps/arm/memmove.S: Likewise.
1231 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
1233 * sysdeps/unix/sysv/linux/generic/README: New file.
1235 2015-03-18 Joseph Myers <joseph@codesourcery.com>
1238 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
1239 (futex_abstimed_wait)
1240 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
1241 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
1242 of lll_futex_timed_wait.
1244 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
1247 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
1249 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
1256 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
1257 entries with Static TLS too. Skip entries past the end of the
1258 allocated DTV, from Alan Modra.
1259 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
1260 Static TLS DTV entry set up from...
1261 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
1262 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
1263 * nptl/allocatestack.c (init_one_static_tls): ... and here...
1264 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
1266 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
1267 that the slot we find is associated with the given map before
1268 using its generation count.
1269 * nptl_db/db_info.c: Include ldsodefs.h.
1270 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
1271 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
1272 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
1273 (link_map::l_tls_offset): New struct field.
1274 (dtv_t::counter): Likewise.
1275 (rtld_global): New struct.
1276 (_rtld_global): New rtld variable.
1277 (dl_tls_dtv_slotinfo_list): New rtld global field.
1278 (dtv_slotinfo_list): New struct.
1279 (dtv_slotinfo): Likewise.
1280 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
1281 (td_lookup): Rename to...
1282 (td_mod_lookup): ... this. Use new mod parameter instead of
1284 * nptl_db/td_thr_tlsbase.c: Include link.h.
1285 (dtv_slotinfo_list, dtv_slotinfo): New functions.
1286 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
1287 addresses even if the DTV is out of date or missing them.
1288 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
1289 index zero-length arrays.
1290 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
1291 (td_lookup): Make it a macro implemented in terms of...
1292 (td_mod_lookup): ... this declaration.
1293 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
1294 (DB_MAIN_VARIABLE): Likewise.
1296 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
1299 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1301 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
1303 * stdlib/setenv.c (__add_to_environ): Revert previous change.
1305 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
1308 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
1309 (atomic_add, atomic_increment_and_test)
1310 (atomic_decrement_and_test): Fix 64-bit arithmetic.
1312 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
1314 * stdlib/setenv.c (__add_to_environ):
1315 Dump core quickly if setenv (..., NULL, ...) is called.
1317 2015-03-13 Roland McGrath <roland@hack.frob.com>
1319 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
1320 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
1321 all the necessary asm magic in one place.
1322 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
1325 2015-03-13 Carlos O'Donell <carlos@redhat.com>
1328 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
1329 traced file mtime. Use consistent log message.
1330 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
1331 (register_traced_file): Call install_watches. Always set mtime.
1332 (invalidate_cache): Iterate over all trace files. Call install_watches.
1333 (inotify_check_files): Don't inline. Handle watching parent
1334 directories and configuration file movement in and out.
1335 (handle_inotify_events): New function.
1336 (main_loop_poll): Call handle_inotify_events.
1337 (main_loop_epoll): Likewise.
1338 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
1339 (struct traced_file): Use array of inotify fds. Add parent directory,
1341 (struct database_dyn): Remove unused file_mtime.
1342 (init_traced_file): New inline function.
1343 (define_traced_file): New macro.
1344 * nss/nss_db/db-init.c: Use define_traced_file.
1345 (_nss_db_init): Use init_traced_file.
1346 * nss/nss_files/files-init.c: Use define_traced_file.
1347 (_nss_files_init): Use init_traced_file.
1349 2015-03-12 Joseph Myers <joseph@codesourcery.com>
1351 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
1352 [_LIBC]: Do not include <stdlib.h>.
1353 [!_LIBC] (abort): Remove declaration.
1354 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
1355 _FP_STATIC_ASSERT instead of conditionally calling abort.
1356 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
1357 (_FP_EXTEND_CNAN): Likewise.
1358 (FP_TRUNC): Likewise.
1359 (__FP_CLZ): Likewise.
1360 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
1362 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
1364 * manual/string.texi (XPG basename): Fix prototype.
1366 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1369 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
1370 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
1371 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
1372 (__setcontext): Likewise.
1373 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
1374 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
1375 Call rt_sigprocmask syscall one time to set new signal mask
1376 and retrieve the current signal mask instead of two calls.
1377 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
1378 (__swapcontext): Likewise.
1379 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
1380 * stdlib/tst-setcontext2.c: New file.
1382 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1384 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1386 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
1389 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
1392 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1395 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
1397 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1399 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
1400 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
1402 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
1403 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
1404 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
1405 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
1406 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
1407 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
1409 * nptl_db/td_symbol_list.c (td_lookup): Remove
1410 HAVE_ASM_GLOBAL_DOT_NAME code.
1411 * sysdeps/powerpc/powerpc64/configure.ac: Remove
1412 HAVE_ASM_GLOBAL_DOT_NAME check.
1413 * sysdeps/powerpc/powerpc64/configure: Regenerate.
1414 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
1415 (DOT_LABEL): Remove define.
1416 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
1417 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
1418 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
1419 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
1420 (__TLS_GET_ADDR): Likewise.
1421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
1422 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
1424 2015-03-11 Carlos O'Donell <carlos@redhat.com>
1427 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
1428 (_FPU_SETCW): Initialize cw from fpsr before storing.
1429 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
1430 (fesetexceptflag): Rewrite using fpu_control.h.
1431 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
1433 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
1436 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
1438 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1440 2015-03-11 Joseph Myers <joseph@codesourcery.com>
1442 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
1443 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
1445 (_FP_FMA): Likewise.
1446 (_FP_DIV): Likewise.
1448 2015-03-10 Roland McGrath <roland@hack.frob.com>
1450 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
1451 with 0 in that case.
1452 * Makefile (summarize-tests): New canned sequence, factored out of
1453 commands for targets tests and xtests. Display summary lines that
1454 don't start with PASS: or XFAIL: rather than ones that do start with
1455 ERROR: or FAIL:. Make the commands fail if any summary lines fail
1456 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
1457 do start with ERROR: or FAIL:.
1458 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
1459 (except for [$(build-shared) = yes]).
1460 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
1461 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
1462 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
1463 * nptl/Makefile: Revert 2015-03-04 changes.
1464 [$(CXX) empty] (tests-unsupported): New variable.
1465 * debug/Makefile: Likewise.
1467 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
1468 gnulib file. Replace __attribute with __attribute__ throughout.
1470 2015-03-10 Carlos O'Donell <carlos@redhat.com>
1472 * sysdeps/hppa/fpu/libm-test-ulps: Update.
1474 2015-03-10 Joseph Myers <joseph@codesourcery.com>
1477 * math/auto-libm-test-in: Add another test of pow.
1478 * math/auto-libm-test-out: Regenerated.
1480 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1482 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
1483 $(config-cflags-nofma).
1485 2015-03-10 Joseph Myers <joseph@codesourcery.com>
1487 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
1488 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
1489 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
1490 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
1491 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
1492 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
1493 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
1494 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
1495 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
1496 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
1497 Add comment on closing #endif.
1499 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1501 * posix/wordexp.c (CHAR_IN_SET): New macro.
1502 (parse_param): Use it.
1504 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1506 * sysdeps/powerpc/fpu/libm-test-ulps: update.
1508 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1511 * posix/wordexp.c (parse_param): Fix buffer overflow.
1512 * posix/wordexp-test.c (test_case): Add test case.
1514 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1517 * posix/wordexp.c (parse_backtick): Fix off-by-one.
1518 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
1520 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1523 * posix/wordexp-test.c (test_case): Add test for BZ #18043
1524 (do_bz18043): Delete.
1526 (testit): Refactor to have words at the edge of unreadable page.
1528 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1531 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
1532 Cleanup read-only streams as well.
1533 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
1535 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1537 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
1540 2015-03-07 Joseph Myers <joseph@codesourcery.com>
1542 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
1544 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
1545 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
1546 * soft-fp/op-common.h (_FP_DECL): Likewise.
1548 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
1550 * elf/ifuncdep2.c (global): Replace
1551 __attribute__((visibility("protected"))) with
1552 asm (".protected global").
1553 * elf/ifuncmod1.c (global): Likewise.
1554 * elf/ifuncmod5.c (global): Likewise.
1556 2015-03-06 Joseph Myers <joseph@codesourcery.com>
1558 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
1559 <asm/sfp-machine.h> instead of <sfp-machine.h>.
1561 2015-03-06 Roland McGrath <roland@hack.frob.com>
1563 * manual/install.texi (Configuring and compiling):
1564 Document test-wrapper-env-only.
1565 * INSTALL: Regenerated.
1567 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1570 * posix/wordexp.c (parse_param): Fix buffer overflow.
1571 * posix/wordexp-test.c (do_bz18043): Add test case.
1573 2015-03-06 Vincent Bernat <vincent@bernat.im>
1575 * time/tst-strptime2.c (do_test): Ensure failing tests are
1577 * time/tst-strptime3.c (do_test): Likewise.
1579 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
1581 Fix aio_error thread-safety.
1582 * sysdeps/pthread/aio_error.c: New file
1583 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
1586 2015-03-06 Florian Weimer <fweimer@redhat.com>
1588 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
1589 (group_number, vfprintf): Use it.
1590 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
1591 (JUMP, REF): Use it.
1592 (WORK_BUFFER_SIZE): New enum constant.
1593 (process_arg, vfprintf): Use it.
1595 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
1597 * manual/errno.texi (Error Messages): Complete example function
1598 by adding missing #define.
1599 (program_invocation_name): Add statement indicating GNU
1600 extension and reference which header file declares the variable.
1601 (program_invocation_short_name): Likewise.
1603 2015-03-06 Mike Frysinger <vapier@gentoo.org>
1605 * manual/errno.texi (Error Messages): Delete strerror ISO C89
1608 2015-03-05 Roland McGrath <roland@hack.frob.com>
1610 * Makeconfig (test-wrapper-env-only): New variable.
1611 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
1612 then use that with $(test-wrapper-env-only) rather than using
1613 $(test-wrapper-env) $(run-program-env) $($*-ENV).
1615 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
1618 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
1619 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
1620 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
1621 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
1622 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
1623 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
1624 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
1625 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1627 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
1628 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
1630 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
1632 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
1634 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
1636 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
1637 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
1639 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
1641 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
1642 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
1644 2015-03-04 Roland McGrath <roland@hack.frob.com>
1646 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
1647 (ETH_ALEN): New macro.
1648 (struct ether_addr): Use it for length of ether_addr_octet.
1650 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
1651 (setdb): Don't call __nss_configure_lookup for "rpc".
1652 (do_test): Don't call test_rpc.
1653 (output_rpcent, test_rpc): Functions moved ...
1654 * sunrpc/test-rpcent.c: ... to this new file.
1655 * sunrpc/Makefile (tests): Add it.
1657 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
1659 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
1660 * nptl/tst-signal6.c: Likewise.
1661 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
1662 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
1664 * configure.ac (libc_cv_cxx_link_ok): New check.
1665 Reset CXX to empty if it fails to link.
1666 * configure: Regenerated.
1667 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
1668 bug-atexit3-lib only if $(CXX) is nonempty.
1669 * nptl/Makefile (tests): Likewise for tst-cancel24.
1670 (tests, tests-static): Likewise for tst-cancel24-static.
1671 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
1672 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
1673 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
1674 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
1676 2015-03-04 Andreas Schwab <schwab@suse.de>
1679 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
1680 for non-GCC compilers.
1681 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1684 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1687 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
1688 integer before bitwise and assembly operations.
1689 (feclearexcept): Likewise.
1690 * math/test-fenvinline.c: New file.
1691 * math/Makefile: Add test-fenvinline test.
1693 2015-03-03 Alan Modra <amodra@gmail.com>
1696 * scripts/localplt.awk: Strip off symbol version.
1697 * NEWS: Mention bug fix.
1699 2015-03-02 Roland McGrath <roland@hack.frob.com>
1701 * sysdeps/pthread/timer_routines.c
1702 (timer_free_list, thread_free_list, thread_active_list): Make static.
1704 2015-03-02 Joseph Myers <joseph@codesourcery.com>
1707 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1708 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1710 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1711 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1713 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1714 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1717 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1720 * posix/fnmatch_loop.c (END): Detect invalid pattern.
1721 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
1723 2015-03-02 Andreas Schwab <schwab@suse.de>
1725 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
1728 2015-03-02 Florian Weimer <fweimer@redhat.com>
1730 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
1731 Return error status.
1733 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
1736 * locale/findlocale.c (_nl_find_locale): Introduce const
1737 version of loc_name and drop unsafe type casts.
1739 2015-02-27 Roland McGrath <roland@hack.frob.com>
1741 * dlfcn/tststatic2.c (main): Converted to ...
1742 (do_test): ... this.
1743 (TEST_FUNCTION): New macro.
1744 Include test-skeleton.c.
1746 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
1749 * elf/Makefile (tests): Add vismain only if PIE is enabled.
1750 (tests-pie): Add vismain.
1751 (CFLAGS-vismain.c): New.
1752 * elf/vismain.c: Add comments for PIE requirement.
1754 2015-02-27 Joseph Myers <joseph@codesourcery.com>
1758 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
1759 0x1p-56L as threshold for just returning the argument.
1760 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
1761 0x1p-32L as threshold for just returning the argument.
1762 * math/auto-libm-test-in: Add more tests of atanh.
1763 * math/auto-libm-test-out: Regenerated.
1764 * sysdeps/i386/fpu/libm-test-ulps: Update.
1765 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
1767 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
1769 * string/bcopy.c (bcopy): Call memmove for performance.
1771 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
1773 * string/bzero.c (__bzero): Call memset for performance.
1775 2015-02-27 John David Anglin <dave.anglin@bell.net>
1778 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
1781 2015-02-27 Joseph Myers <joseph@codesourcery.com>
1783 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
1785 2015-02-26 Joseph Myers <joseph@codesourcery.com>
1787 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
1788 (__kernel_standard): Use CSTR macro when setting exc.name.
1789 * sysdeps/ieee754/Makefile [$(subdir) = math]
1790 (CFLAGS-k_standard.c): Remove variable.
1792 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
1793 setting p and q from "else if" to "else".
1795 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
1797 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
1799 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
1801 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
1803 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
1808 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
1809 return pi/2 for arguments below 0x1p-113L.
1810 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
1811 return pi/2 for arguments below 0x1p-106L.
1812 * math/auto-libm-test-in: Add more tests of acos.
1813 * math/auto-libm-test-out: Regenerated.
1816 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
1818 (__ieee754_asin): Force underflow exception for results with small
1820 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
1822 (__ieee754_asinf): Force underflow exception for results with
1823 small absolute value.
1824 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
1825 (__ieee754_asin): Force underflow exception for results with small
1827 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
1828 (__ieee754_asinf): Force underflow exception for results with
1829 small absolute value.
1830 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
1831 (__ieee754_asinl): Force underflow exception for results with
1832 small absolute value.
1833 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
1834 (__ieee754_asinl): Force underflow exception for results with
1835 small absolute value.
1836 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
1837 (__ieee754_asinl): Force underflow exception for results with
1838 small absolute value.
1839 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
1841 * math/auto-libm-test-in: Do not mark underflow exceptions as
1842 possibly missing for bug 16351.
1843 * math/auto-libm-test-out: Regenerated.
1846 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
1847 of power of 2 down when low part has opposite sign.
1848 * math/libm-test.inc (logb_test_data): Add more tests.
1850 2015-02-26 Andreas Schwab <schwab@suse.de>
1853 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
1854 over collating symbol inside a bracket expression. Minor cleanup.
1855 * posix/tst-fnmatch3.c (do_test): Add test case.
1857 2015-02-26 Joseph Myers <joseph@codesourcery.com>
1860 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
1861 Adjust exponent of power of 2 down when low part has opposite
1863 * math/libm-test.inc (ilogb_test_data): Add more tests.
1865 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
1868 * locale/findlocale.c (_nl_find_locale): Fix constness error in
1869 the previous change.
1872 * locale/findlocale.c (_nl_find_locale): Retry archive search
1873 after alias expansion.
1875 2015-02-25 Roland McGrath <roland@hack.frob.com>
1877 * iconv/tst-iconv3.c (main): Converted to ...
1878 (do_test): ... this.
1879 (TEST_FUNCTION): New macro.
1880 Include test-skeleton.c.
1882 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
1883 (convert): Make function static.
1884 (test_unalign): Likewise. Add const to argument pointee types.
1885 (main): Replace with static function do_test.
1886 Print "Succeeded." only if RET is zero.
1887 (TEST_FUNCTION): New macro.
1888 Include test-skeleton.c.
1890 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
1891 returns a null pointer.
1893 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1895 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
1896 to __memcpy_ppc only for static builds.
1898 2015-02-25 Joseph Myers <joseph@codesourcery.com>
1901 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
1902 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
1903 * math/auto-libm-test-in: Add more tests of asinh.
1904 * math/auto-libm-test-out: Regenerated.
1905 * sysdeps/i386/fpu/libm-test-ulps: Update.
1906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1908 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
1911 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
1912 and ip6_mtuinfo definitions here.
1913 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
1914 in this define too. Update comment.
1916 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
1918 * elf/sprof.c (load_shobj): Tweak error message to match others.
1920 2015-02-24 Kevin Easton <kevin@guarana.org>
1922 [BZ #16145] (partial fix)
1923 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
1924 to reduce lock contention.
1926 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
1928 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
1929 (struct timex): Update time comment.
1930 (ADJ_SETOFFSET): Define.
1932 2015-02-24 Joseph Myers <joseph@codesourcery.com>
1935 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1936 2**56 not 2**28 as threshold for log (2x) formula.
1937 * math/auto-libm-test-in: Add more tests of acosh.
1938 * math/auto-libm-test-out: Regenerated.
1939 * sysdeps/i386/fpu/libm-test-ulps: Update.
1940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1942 2015-02-24 Mike Frysinger <vapier@gentoo.org>
1944 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
1945 parenthesis around the buf assignment.
1946 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
1948 2015-02-24 Joseph Myers <joseph@codesourcery.com>
1951 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
1952 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
1953 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
1954 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1955 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1956 * math/libm-test.inc (scalb_test_data): Add more tests.
1958 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1961 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
1962 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
1964 2015-02-24 Eric Rannaud <e@nanocritical.com>
1967 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
1968 * io/bits/fcntl2.h (open): Use it.
1970 * io/open.c (__libc_open): Likewise.
1971 * io/open64.c (__libc_open64): Likewise.
1972 * io/open64_2.c (__open64_2): Likewise.
1973 * io/open_2.c (__open_2): Likewise.
1974 * io/openat.c (__openat): Likewise.
1975 * io/openat64.c (__openat64): Likewise.
1976 * io/openat64_2.c (__openat64_2): Likewise.
1977 * io/openat_2.c (__openat_2): Likewise.
1978 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1979 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1980 * sysdeps/posix/open64.c (__libc_open64): Likewise.
1981 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1982 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1983 (__open_nocancel): Likewise.
1984 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1985 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1986 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1988 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1991 * resolv/gethnamaddr.c (getanswer): Skip logging if
1992 RES_USE_DNSSEC is set.
1993 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1995 2015-02-24 Mike Frysinger <vapier@gentoo.org>
1997 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1999 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
2001 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2002 201304L, for Unicode 7.
2004 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
2007 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
2008 shared library. Add gmon-start.os otherwise.
2009 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
2010 $(objpfx)gmon-start.os if builing shared library.
2011 ($(objpfx)g$(static-start-installed-name)): Likewise.
2013 2015-02-23 Andreas Schwab <schwab@suse.de>
2015 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
2017 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2020 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
2021 (enlarge_userbuf): Likewise.
2023 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
2025 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
2026 * math/atest-exp.c (TIMEOUT): Adjust to 200.
2027 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
2028 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
2030 2015-02-20 Joseph Myers <joseph@codesourcery.com>
2032 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
2033 expression inside statement expression.
2035 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2037 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
2038 <sysdeps/nptl/lowlevellock.h> and remove macros and
2039 functions that are now defined there.
2040 (SYS_futex): Remove.
2041 (lll_compare_and_swap): Remove.
2042 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
2044 2015-02-19 Joseph Myers <joseph@codesourcery.com>
2047 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
2048 instead of scandirat.
2049 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
2050 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
2051 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
2053 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
2054 (__scandirat): Declare. Use libc_hidden_proto.
2055 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
2057 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2059 2015-02-18 Joseph Myers <joseph@codesourcery.com>
2062 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
2064 (__ieee754_atan2): For results with small absolute value, force
2065 underflow exception and remove excess range and precision from
2067 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
2069 (__ieee754_atan2f): For results with small absolute value, force
2070 underflow exception and remove excess range and precision from
2072 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
2074 (__atan): For results with small absolute value, force underflow
2075 exception and remove excess range and precision from return value.
2076 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
2078 (__atanf): For results with small absolute value, force underflow
2079 exception and remove excess range and precision from return value.
2080 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
2082 (__ieee754_atan2): Force underflow exception for results with
2083 small absolute value.
2084 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
2086 (atan): Force underflow exception for results with small absolute
2088 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
2089 (__atanf): Force underflow exception for results with small
2091 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
2093 (__atanl): Force underflow exception for results with small
2095 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
2096 (__atanl): Force underflow exception for results with small
2098 * sysdeps/x86/fpu/bits/mathinline.h
2099 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
2100 (__ieee754_atan2): Only define inline for long double.
2101 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
2102 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
2103 * math/auto-libm-test-in: Do not mark underflow exceptions as
2104 possibly missing for bug 15319. Add more tests of atan2.
2105 * math/auto-libm-test-out: Regenerated.
2106 * math/libm-test.inc (casin_test_data): Do not mark underflow
2107 exceptions as possibly missing for bug 15319.
2108 (casinh_test_data): Likewise.
2109 * sysdeps/i386/fpu/libm-test-ulps: Update.
2111 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
2113 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
2114 * sysdeps/mips/bits/endian.h: Fix comments.
2116 2015-02-18 Joseph Myers <joseph@codesourcery.com>
2119 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
2120 (hdestroy_r): Likewise.
2121 (hsearch_r): Likewise.
2122 (__hcreate_r): Declare and use libc_hidden_proto.
2123 (__hdestroy_r): Likewise.
2124 (__hsearch_r): Likewise.
2125 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
2126 (hcreate): Call __hcreate_r instead of hcreate_r.
2127 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
2128 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
2129 as weak alias of __hcreate_r.
2130 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
2132 (hsearch_r): Rename to __hsearch_r and define as weak alias of
2134 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
2136 (test-xfail-XPG4/search.h/linknamespace): Likewise.
2137 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2138 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2139 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2141 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2143 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
2144 arena_lock into a single arena_get.
2146 2015-02-17 Carlos O'Donell <carlos@redhat.com>
2148 * dl-reloc.c: Inlucde libc-internal.h.
2149 (_dl_try_allocate_static_tls): Call ALIGN_UP.
2150 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
2151 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
2152 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
2153 (grow_heap): Likewise.
2154 * malloc/malloc.c: Include libc-internal.h.
2155 (do_check_malloc): Call powerof2.
2156 (sysmalloc): Use pagesize. Call ALIGN_UP.
2157 (systrim): Use pagesize.
2158 (mremap_chunk): Use pagesize. Call ALIGN_UP.
2159 (__libc_valloc): Use pagesize.
2160 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
2162 2015-02-17 Joseph Myers <joseph@codesourcery.com>
2165 * include/sys/resource.h (__getrlimit64): Declare. Use
2167 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
2168 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
2169 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
2171 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
2173 [!getrlimit64] (getrlimit64): Define as weak alias of
2174 __getrlimit64. Use libc_hidden_weak.
2175 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
2176 using __getrlimit64 not __new_getrlimit64.
2177 (__GI_getrlimit64): Likewise.
2178 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
2180 (__GI_getrlimit64): Likewise.
2181 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
2182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
2183 (getrlimit): Add __getrlimit64 alias.
2184 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
2186 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
2188 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2189 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2191 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
2193 * libio/fileops.c: Add missing sys/mman.h
2194 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
2196 2015-02-17 Joseph Myers <joseph@codesourcery.com>
2198 * manual/math.texi (Errors in Math Functions): Clarify goals
2199 regarding inexact and underflow exceptions.
2201 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
2203 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
2204 * sysdeps/mips/memset.S: Ditto.
2206 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
2208 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
2210 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2212 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
2213 (__v1longjmp): Remove versioned symbol.
2214 (__v1siglongjmp): Remove alias and versioned symbol.
2215 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
2216 (__v2siglongjmp): Likewise.
2218 2015-02-16 Torvald Riegel <triegel@redhat.com>
2220 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
2222 2015-02-16 Mike Frysinger <vapier@gentoo.org>
2224 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
2226 2015-02-16 Joseph Myers <joseph@codesourcery.com>
2229 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
2230 zero result does not depend on the sign resulting from
2232 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2234 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
2235 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
2236 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2237 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
2238 * math/libm-test.inc (remquo_test_data): Add more tests.
2240 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
2242 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
2243 Problem reported by J William Piggott.
2245 2015-02-16 Joseph Myers <joseph@codesourcery.com>
2248 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
2249 products 4 * y and 2 * y where those would overflow.
2250 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2252 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
2253 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
2254 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2255 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
2256 * math/libm-test.inc (remquo_test_data): Add more tests.
2258 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
2260 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
2261 [defined _COMPILING_NEWLIB].
2262 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
2263 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
2265 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
2266 [!defined __mips_isa_rev || __mips_isa_rev < 6].
2268 2015-02-16 Torvald Riegel <triegel@redhat.com>
2270 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
2273 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
2276 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
2277 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
2278 HOST_STACK_END_ADDR): Likewise.
2280 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
2282 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
2283 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
2284 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
2286 2015-02-13 Roland McGrath <roland@hack.frob.com>
2288 * sysdeps/generic/c++-types.data: New file.
2289 * sysdeps/generic/ld.abilist: New file.
2290 * sysdeps/generic/libBrokenLocale.abilist: New file.
2291 * sysdeps/generic/libanl.abilist: New file.
2292 * sysdeps/generic/libc.abilist: New file.
2293 * sysdeps/generic/libcrypt.abilist: New file.
2294 * sysdeps/generic/libdl.abilist: New file.
2295 * sysdeps/generic/libm.abilist: New file.
2296 * sysdeps/generic/libpthread.abilist: New file.
2297 * sysdeps/generic/libresolv.abilist: New file.
2298 * sysdeps/generic/librt.abilist: New file.
2300 2015-02-13 Joseph Myers <joseph@codesourcery.com>
2303 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2304 Compute absolute value of x as modified by fmod, not original
2306 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
2307 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
2308 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
2309 RUN_TEST_ffI_f1_mod8.
2310 (remquo_test_data): Add more tests.
2312 2015-02-13 Roland McGrath <roland@hack.frob.com>
2314 * sysdeps/init_array/pt-crti.S: New file.
2316 2015-02-13 Joseph Myers <joseph@codesourcery.com>
2319 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
2320 __builtin_fmaf instead of relying on contraction of a * b + c.
2322 2015-02-12 J William Piggott <elseifthen@gmx.com>
2325 * manual/time.texi: correct the zoneinfo path in the TZ Variable
2328 2015-02-12 Joseph Myers <joseph@codesourcery.com>
2331 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
2332 __builtin_fma instead of relying on contraction of a * b + c.
2334 2015-02-12 Roland McGrath <roland@hack.frob.com>
2336 * Makeconfig (ASFLAGS): Add -Werror=undef.
2337 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
2338 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
2339 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
2341 * Makeconfig (after-link): New variable.
2342 (+link-pie, +link-pie-tests): Use it.
2343 (+link-static, +link-static-tests): Likewise.
2344 (+link, +link-tests): Likewise.
2345 * Makerules (build-module, build-module-asneeded): Likewise.
2346 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
2348 * elf/Makefile ($(objpfx)ld.so): Likewise.
2350 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
2353 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
2354 both struct timeval and struct timespec.
2356 2015-02-12 Joseph Myers <joseph@codesourcery.com>
2359 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2361 (__ieee754_exp2l): Do not multiply small fractional parts by
2363 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
2365 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2366 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2367 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
2368 * math/auto-libm-test-in: Add more tests of exp2.
2369 * math/auto-libm-test-out: Regenerated.
2371 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2373 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
2376 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2378 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
2381 2015-02-12 Andreas Schwab <schwab@suse.de>
2384 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
2385 Filter out elision flags from value returned in kind.
2386 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
2387 * nptl/tst-pthread-mutexattr.c: New file.
2389 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
2391 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
2392 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
2393 into gnu-gnu, and update comment to refer to abi-tags.
2395 2015-02-11 Joseph Myers <joseph@codesourcery.com>
2398 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
2399 (__sincos): Set errno to EDOM for infinite argument.
2400 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
2401 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
2402 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
2403 (__sincosl): Set errno to EDOM for infinite argument.
2404 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
2405 (__sincosl): Set errno to EDOM for infinite argument.
2406 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
2407 (__sincosl): Set errno to EDOM for infinite argument.
2408 * math/libm-test.inc (sincos_test_data): Test errno setting.
2410 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
2412 * string/strxfrm_l.c: Remove #define STRCMP.
2413 * string/strcoll_l.c: Remove #define STRLEN.
2414 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
2415 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
2417 2015-02-10 Joseph Myers <joseph@codesourcery.com>
2419 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
2420 * sysdeps/mips/mips32/sfp-machine.h: ... here.
2421 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
2422 * sysdeps/mips/mips64/Makefile: ... here.
2423 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
2424 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
2425 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
2426 * sysdeps/mips/mips64/sfp-machine.h: ... here.
2427 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
2428 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
2429 * sysdeps/mips/mips64/n64/Implies: Likewise.
2431 2015-02-10 Roland McGrath <roland@hack.frob.com>
2433 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
2434 <sys/time.h>, <string.h>, and <errno.h>.
2435 (dest_offset, dest_address, value, zero): Remove unused variables.
2436 (ldouble): Remove typedef.
2437 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
2438 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
2440 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
2441 (check): Function removed.
2443 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
2444 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
2445 Don't call set_sigaction_FP and remove_sigaction_FP here.
2446 (ldouble_test): Just use 'long double' as macro argument, no need for
2447 the 'ldouble' typedef.
2448 (do_test): Set up SIGFPE handler at start, using plain signal rather
2449 than sigaction. Fix code style.
2451 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
2454 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
2457 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2459 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
2460 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2462 * sysdeps/powerpc/configure.ac: Remove file.
2463 * sysdeps/powerpc/configure: Likewise.
2465 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2466 [sysdep_routines]: Remove wordcopy-power6 object.
2467 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2468 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
2469 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
2470 (__memmove_ppc32): Likewise.
2471 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
2473 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
2474 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
2475 Remove preprocessor.
2477 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2478 [sysdep_routines]: Remove wide chars objects.
2479 [wcsmbs]: New rule for wide char objects.
2481 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2482 Remove wordcopy-power6 obejct.
2483 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
2484 Use local call for wordcopy and memcpy symbols.
2485 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
2486 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
2487 implementation for loader.
2488 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
2490 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2491 Remove wordcopy-power7 object.
2492 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
2493 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
2494 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
2495 (_wordcopy_fwd_dest_aligned): Likewise.
2496 (_wordcopy_bwd_aligned): Likewise.
2497 (_wordcopy_bwd_dest_aligned): Likewise.
2499 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
2500 Rewrite to call __memmove_ppc instead of include default
2503 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2504 Remove wide chars objects.
2505 [wcsmbs]: New rule for wide char objects.
2507 2015-02-09 Andreas Schwab <schwab@suse.de>
2510 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2511 in terms of __O_DIRECTORY.
2513 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
2515 * time/getdate.c: Include <stdbool.h>.
2516 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
2518 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
2521 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
2523 Add ersatz _Static_assert on older C hosts
2524 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
2525 pre-C11 C platform that is not known to support _Static_assert.
2527 2015-02-07 Richard Braun <rbraun@sceen.net>
2529 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
2531 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
2533 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2535 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
2536 priority against unexistent AIO_PRIO_DELTA_MAX.
2537 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
2539 * misc/fchflags.c (fchflags): Likewise.
2540 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2541 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2542 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
2543 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
2544 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
2546 [__USE_MISC] (chflags, fchflags): Declare functions.
2547 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
2548 EINVAL when nfds is greater than FD_SETSIZE.
2549 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
2550 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
2552 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
2553 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
2554 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
2556 * hurd/hurd/signal.h (_hurd_self_sigstate,
2557 _hurd_critical_section_lock, _hurd_critical_section_unlock):
2558 Explicit casts from void *.
2559 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
2560 * abi-tags: Rename gnu-gnu os into gnu.
2563 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
2564 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
2565 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
2566 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
2567 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
2568 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
2571 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
2572 duplicates ADDR->sun_path with sockaddr LEN limitation.
2573 * sysdeps/mach/hurd/connect.c: Include <string.h>
2574 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
2575 * sysdeps/mach/hurd/sendmsg.c: Likewise.
2576 * sysdeps/mach/hurd/sendto.c: Likewise.
2577 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
2578 implementing it by hand.
2580 2015-02-06 Roland McGrath <roland@hack.frob.com>
2582 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
2583 Use sfi_breg on ldr.
2584 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
2587 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
2589 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
2590 Test SIGSETXID only if it's defined.
2592 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
2594 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
2595 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
2597 * nptl/tst-align2.c: Moved ...
2598 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
2599 * nptl/Makefile (tests): Remove tst-align2.
2600 * sysdeps/unix/sysv/linux/Makefile
2601 [$(subdir) = nptl] (tests): Add tst-align-clone.
2602 * nptl/tst-getpid1.c: Moved ...
2603 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
2604 * nptl/tst-getpid2.c: Moved ...
2605 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
2606 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
2607 * sysdeps/unix/sysv/linux/Makefile
2608 [$(subdir) = nptl] (tests): ... here.
2609 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
2610 * sysdeps/unix/sysv/linux/Makefile
2611 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
2613 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
2614 Drop trailing \n from perror argument. Use return rather than exit.
2616 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
2618 * nptl/tst-cancel21.c (do_test): Likewise.
2619 * debug/tst-backtrace6.c: Include <signal.h> first thing.
2620 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
2621 [!SA_SIGINFO]: Make it a stub test.
2623 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
2624 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
2626 * posix/tst-getlogin.c: Move to ...
2627 * login/tst-getlogin.c: ... here.
2628 * posix/Makefile (tests): Move tst-getlogin to ...
2629 * login/Makefile (tests): ... here.
2631 * libio/tst-atime.c (do_test): Move local variables SV and E
2632 inside [ST_NOATIME] conditional.
2634 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
2636 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
2638 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
2639 (wait_code): New function replaces macro.
2640 Call nanosleep rather than syscall.
2642 * nptl/pt-system.c: Rewritten. Put everything under
2643 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2644 Use IFUNC to redirect when possible.
2646 * nptl/pt-longjmp.c: Rewritten. Put everything under
2647 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2648 Use IFUNC to redirect when possible.
2650 * nptl/pt-fork.c: Rewritten. Put everything under
2651 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2652 Use IFUNC to redirect when possible.
2653 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
2655 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
2656 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
2657 unconditionally nowadays. This included the only reference to
2658 __vdso_clock_gettime that appears outside libc proper.
2659 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
2660 Remove version set (containing only __vdso_clock_gettime).
2661 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2662 Add attribute_hidden.
2663 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2664 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
2665 libc_hidden_data_def.
2666 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2667 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2669 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
2670 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
2671 setrpcent, and getrpcport to ...
2672 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
2673 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
2674 getrpcbynumber_r, and getrpcent_r to ...
2675 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
2676 * inet/getrpcbyname.c: Moved ...
2677 * sunrpc/getrpcbyname.c: ... here.
2678 * inet/getrpcbyname_r.c: Moved ...
2679 * sunrpc/getrpcbyname_r.c: ... here.
2680 * inet/getrpcbynumber.c: Moved ...
2681 * sunrpc/getrpcbynumber.c: ... here.
2682 * inet/getrpcbynumber_r.c: Moved ...
2683 * sunrpc/getrpcbynumber_r.c: ... here.
2684 * inet/getrpcent.c: Moved ...
2685 * sunrpc/getrpcent.c: ... here.
2686 * inet/getrpcent_r.c: Moved ...
2687 * sunrpc/getrpcent_r.c: ... here.
2688 * inet/Makefile (routines): Move those to ...
2689 * sunrpc/Makefile (routines): ... here.
2690 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
2691 the $(subdirs) list.
2692 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
2693 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
2694 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
2695 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
2697 * elf/Makefile (routines): Include $(all-dl-routines), not just
2699 (rtld-routines): Likewise. Use = rather than :=.
2700 * sysdeps/aarch64/Makefile [$(subdir) = elf]
2701 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
2702 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
2703 * sysdeps/arm/Makefile: Likewise.
2704 * sysdeps/i386/Makefile: Likewise.
2705 * sysdeps/x86_64/Makefile: Likewise.
2706 * sysdeps/hppa/Makefile [$(subdir) = elf]
2707 (sysdep_routines, sysdep-rtld-routines): Don't add
2708 $(sysdep-dl-routines) to these.
2709 * sysdeps/ia64/Makefile: Likewise.
2710 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
2711 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
2712 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
2713 Don't add dl-static to these; sysdep-dl-routines alone is enough.
2714 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2715 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
2716 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
2717 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
2718 * sysdeps/powerpc/Makefile [$(subdir) = elf]
2719 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
2720 these; sysdep-dl-routines alone is enough.
2722 2015-02-06 Joseph Myers <joseph@codesourcery.com>
2725 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
2726 where multiplication results in zero and third argument is finite
2728 * math/auto-libm-test-in: Add more tests of fma.
2729 * math/auto-libm-test-out: Regenerated.
2731 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
2732 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
2733 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
2734 (_FP_CMP_EQ): Likewise.
2735 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
2737 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
2738 extra argument CHECK_NAN. Redefine as wrapper around
2741 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
2743 * version.h (RELEASE): Set to "stable".
2744 (VERSION): Set to "2.21"
2745 * include/features.h (__GLIBC_MINOR__): Set to 21.
2747 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
2749 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2750 Paul Eggert <eggert@cs.ucla.edu>
2753 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
2754 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
2755 size in bytes. Store needed elements in wpmax. Use needed size
2756 in bytes for extend_alloca.
2758 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
2760 * manual/install.texi: Latest tested versions are GCC 4.9.2,
2761 binutls 2.25, and texinfo 5.2.
2762 * INSTALL: Regenerate.
2763 * sysdeps/nios2/configure: Regenerate.
2764 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
2765 * manual/contrib.texi: Update.
2789 * po/pt_BR.po: Update.
2798 * po/zh_CN.po: Update.
2799 * po/zh_TW.po: Update.
2801 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
2802 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
2803 * sysdeps/hppa/dl-irel.h: Remove #warning.
2804 * sysdeps/hppa/entry.h: Provide prototype for
2805 __canonicalize_funcptr_for_compare and cast argument.
2806 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
2807 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
2808 * sysdeps/hppa/sotruss-lib.c: New file.
2809 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
2810 (atomic_compare_and_exchange_val_acq): Use __typeof__.
2811 (atomic_compare_and_exchange_bool_acq): Likewise.
2812 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
2813 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
2815 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
2816 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
2817 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
2819 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
2821 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
2822 called function in non-PIC case.
2824 2015-01-31 David S. Miller <davem@davemloft.net>
2826 * sysdeps/sparc/sparc32/bits/atomic.h
2827 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
2828 unlock not after it.
2829 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
2830 volatile register usage warnings from the compiler.
2832 * sysdeps/sparc/nptl/sem_init.c: Delete.
2833 * sysdeps/sparc/nptl/sem_post.c: Delete.
2834 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
2835 * sysdeps/sparc/nptl/sem_wait.c: Delete.
2836 * sysdeps/sparc/sparc32/sem_init.c: New file.
2837 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
2838 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
2839 padding explicitly initialized.
2840 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
2841 padding for in-semaphore spinlock.
2842 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
2843 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
2844 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
2845 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
2846 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
2847 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
2848 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
2849 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
2851 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
2852 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
2854 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
2857 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2858 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
2859 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
2861 (index_AVX_Fast_Unaligned_Load): Likewise.
2862 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
2863 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
2864 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
2865 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
2866 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2867 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
2868 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
2869 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
2870 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
2872 2015-01-29 Andreas Schwab <schwab@suse.de>
2874 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
2876 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2879 * nscd/nscd_stat.c (send_stats): Initialize DATA.
2881 2015-01-28 Martin Sebor <msebor@redhat.com>
2883 * math/README.libm-test: Clarify. Add "How to read the test output."
2885 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
2887 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
2890 2015-01-28 Joseph Myers <joseph@codesourcery.com>
2892 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
2893 (__HAVE_64B_ATOMICS): Define to 0.
2895 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2898 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
2899 value to set as new flag.
2902 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
2903 and use _ARCH_PPCSQ instead.
2904 (__ieee754_sqrt): Likewise.
2905 (__ieee754_sqrtf): Likewise.
2906 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
2907 _ARCH_PPCSQ is defined.
2908 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
2910 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
2911 _ARCH_PPCSQ is defined.
2912 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
2914 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
2916 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2918 * iconv/loop.c: Suppress array out of bound warning caused by GCC
2919 bug (GCC BZ #64739).
2921 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
2923 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
2924 Mark _retval as used.
2925 (lll_futex_wake_unlock): Likewise.
2926 (lll_futex_timed_wait_requeue_pi): Likewise.
2928 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2929 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
2932 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
2935 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
2936 (__bswap_64): Mark as __always_inline.
2938 2015-01-25 Bram <bug_rh@spam.wizbit.be>
2941 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
2942 when none of the search directories exist.
2944 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2947 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
2948 power8 in .machine directive.
2951 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
2952 set dependency from opd value.
2954 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2956 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2957 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
2960 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2963 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
2965 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
2967 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
2968 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
2969 Replace 1UL with (uint64_t) 1.
2970 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
2973 2015-01-23 Roland McGrath <roland@hack.frob.com>
2975 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
2976 (if_freenameindex): Likewise.
2978 * resource/getrlimit64.c: Add missing libc_hidden_def.
2980 2015-01-22 Joseph Myers <joseph@codesourcery.com>
2982 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2984 (_FP_FMA): Likewise.
2985 (_FP_TO_INT_ROUND): Likewise.
2986 (_FP_FROM_INT): Likewise.
2988 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2991 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2992 Make code racy and cancel safe.
2994 2015-01-21 Carlos O'Donell <carlos@redhat.com>
2996 * sysdeps/arm/unwind-resume.h: Fix copyright year.
2997 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
3000 * pwd/tst-getpw.c: Rewrite.
3003 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
3004 (modules-names): Add moddummy1 and moddummy2.
3005 ($(objpfx)tst-rec-dlopen): Define.
3006 * dlfcn/moddummy1.c: New file.
3007 * dlfcn/moddummy2.c: New file.
3008 * dlfcn/tst-rec-dlopen.c: New file.
3009 * elf/dl-cache.c (_dl_load_cache_lookup):
3010 Return char*. Copy result with alloca/strcpy/strdup.
3011 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
3012 returns char*. Free cached. If not saving realname
3014 * elf/dl-open.c (dl_open_worker): Do not assert that
3015 _r_debug->r_state is RT_CONSISTENT.
3016 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
3019 2015-01-21 Torvald Riegel <triegel@redhat.com>
3020 Carlos O'Donell <carlos@redhat.com>
3023 * nptl/sem_waitcommon.c: New file.
3024 * nptl/sem_wait.c: Include sem_waitcommon.c.
3025 (__sem_wait_cleanup, do_futex_wait): Remove.
3026 (__new_sem_wait): Adapt.
3027 (__new_sem_trywait): New function.
3028 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
3029 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
3030 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
3031 (sem_timedwait): Adapt.
3032 * nptl/sem_post.c (__new_sem_post): Adapt.
3033 (futex_wake): New function.
3034 (__old_sem_post): Add release MO fence.
3035 * nptl/sem_open.c (sem_open): Adapt.
3036 * nptl/sem_init.c (__new_sem_init): Adapt.
3037 (futex_private_if_supported): New function.
3038 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
3039 (__old_sem_getvalue): Add using previous code.
3040 * sysdeps/nptl/internaltypes.h: Adapt.
3041 * nptl/tst-sem13.c (do_test): Adapt.
3042 * nptl/tst-sem11.c (main): Adapt.
3043 * nptl/sem_trywait.c: Remove.
3044 * nptl/DESIGN-sem.txt: Remove.
3045 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
3046 (gen-as-const-headers): Remove structsem.sym.
3047 * nptl/structsem.sym: Remove.
3048 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
3049 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
3050 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
3051 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
3052 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
3053 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
3054 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
3055 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
3056 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
3057 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
3058 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
3059 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
3060 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
3061 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
3062 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
3063 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
3064 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
3065 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
3066 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
3067 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
3068 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
3069 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
3071 2015-01-20 Carlos O'Donell <carlos@redhat.com>
3073 * INSTALL: Regenerated.
3075 * po/libc.pot: Regenerated.
3077 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
3078 Sandra Loosemore <sandra@codesourcery.com>
3079 Andrew Jenner <andrew@codesourcery.com>
3080 Joseph Myers <joseph@codesourcery.com>
3081 Nathan Sidwell <nathan@codesourcery.com>
3083 * NEWS: Mention new Nios II port.
3084 * sysdeps/nios2/Implies: New file.
3085 * sysdeps/nios2/Makefile: New file.
3086 * sysdeps/nios2/Subdirs: New file.
3087 * sysdeps/nios2/Versions: New file.
3088 * sysdeps/nios2/__longjmp.S: New file.
3089 * sysdeps/nios2/abort-instr.h: New file.
3090 * sysdeps/nios2/backtrace.c: New file.
3091 * sysdeps/nios2/bits/endian.h: New file.
3092 * sysdeps/nios2/bits/fenv.h: New file.
3093 * sysdeps/nios2/bits/link.h: New file.
3094 * sysdeps/nios2/bits/setjmp.h: New file.
3095 * sysdeps/nios2/bsd-_setjmp.S: New file.
3096 * sysdeps/nios2/bsd-setjmp.S: New file.
3097 * sysdeps/nios2/configure: New generated file.
3098 * sysdeps/nios2/configure.ac: New file.
3099 * sysdeps/nios2/crti.S: New file.
3100 * sysdeps/nios2/crtn.S: New file.
3101 * sysdeps/nios2/dl-init.c: New file.
3102 * sysdeps/nios2/dl-machine.h: New file.
3103 * sysdeps/nios2/dl-sysdep.h: New file.
3104 * sysdeps/nios2/dl-tls.h: New file.
3105 * sysdeps/nios2/dl-trampoline.S: New file.
3106 * sysdeps/nios2/gccframe.h: New file.
3107 * sysdeps/nios2/gmp-mparam.h: New file.
3108 * sysdeps/nios2/jmpbuf-offsets.h: New file.
3109 * sysdeps/nios2/jmpbuf-unwind.h: New file.
3110 * sysdeps/nios2/ldsodefs.h: New file.
3111 * sysdeps/nios2/libc-tls.c: New file.
3112 * sysdeps/nios2/libm-test-ulps: New file.
3113 * sysdeps/nios2/machine-gmon.h: New file.
3114 * sysdeps/nios2/math-tests.h: New file.
3115 * sysdeps/nios2/math_private.h: New file.
3116 * sysdeps/nios2/memusage.h: New file.
3117 * sysdeps/nios2/nptl/Makefile: New file.
3118 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
3119 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
3120 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
3121 * sysdeps/nios2/nptl/pthreaddef.h: New file.
3122 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
3123 * sysdeps/nios2/nptl/tls.h: New file.
3124 * sysdeps/nios2/preconfigure: New file.
3125 * sysdeps/nios2/s_fma.c: New file.
3126 * sysdeps/nios2/s_fmaf.c: New file.
3127 * sysdeps/nios2/setjmp.S: New file.
3128 * sysdeps/nios2/sfp-machine.h: New file.
3129 * sysdeps/nios2/sotruss-lib.c: New file.
3130 * sysdeps/nios2/stackguard-macros.h: New file.
3131 * sysdeps/nios2/stackinfo.h: New file.
3132 * sysdeps/nios2/start.S: New file.
3133 * sysdeps/nios2/sysdep.h: New file.
3134 * sysdeps/nios2/tls-macros.h: New file.
3135 * sysdeps/nios2/tst-audit.h: New file.
3136 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
3137 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
3138 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
3139 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
3140 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
3141 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
3142 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
3143 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
3144 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
3145 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
3146 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
3147 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
3148 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
3149 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
3150 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
3151 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
3152 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
3153 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
3154 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
3155 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
3156 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
3157 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
3158 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
3159 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
3160 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
3161 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
3162 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
3163 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
3164 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
3165 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
3166 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
3167 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
3168 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
3169 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
3170 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
3171 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
3172 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
3173 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
3174 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
3175 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
3176 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
3177 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
3178 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
3179 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
3181 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3184 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
3185 (getutent): Use weak_alias in non SHARED case
3186 and default_symbol_version in SHARED case.
3187 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
3188 (getutent_r, pututline): Likewise.
3189 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
3190 (getutid): Likewise.
3191 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
3192 (getutid_r): Likewise.
3193 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
3194 (getutline): Likewise.
3195 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
3196 (getutline_r): Likewise.
3197 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
3198 (updwtmp): Likewise.
3200 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3203 * sysdeps/s390/s390-32/memcmp.S
3204 (memcmp_g5): Rename to __memcmp_g5.
3205 * sysdeps/s390/s390-32/memcpy.S
3206 (memcpy_g5): Rename to __memcpy_g5.
3207 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3208 (memcpy_mvcle) Rename to __memcpy_mvcle.
3209 * sysdeps/s390/s390-32/memset.S
3210 (memset_g5): Rename to __memset_g5.
3211 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3212 (IFUNC_RESOLVE): Prefix ifunc-resolve function
3213 and use prefixed functions.
3214 * sysdeps/s390/s390-32/multiarch/memcmp.S
3215 (memcmp_z196): Rename to __memcmp_z196.
3216 (memcmp_z10): Rename to __memcmp_z10.
3217 (memcmp): Set alias to __memcmp_g5.
3218 (bcmp): Set alias to __memcmp_g5.
3219 * sysdeps/s390/s390-32/multiarch/memcpy.S
3220 (memcpy_z196): Rename to __memcpy_z196.
3221 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3222 (memcpy_z10): Rename to __memcpy_z10.
3223 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3224 (memcpy): Set alias to __memcpy_g5.
3225 * sysdeps/s390/s390-32/multiarch/memset.S
3226 (memset_z196): Rename to __memset_z196.
3227 Jump to __memset_mvcle instead of memset_mvcle.
3228 (memset_z10): Rename to __memset_z10.
3229 Jump to __memset_mvcle instead of memset_mvcle.
3230 (memset_mvcle) Rename to __memset_mvcle.
3231 (memset): Set alias to __memset_g5.
3232 * sysdeps/s390/s390-64/memcmp.S
3233 (memcmp_z900): Rename to __memcmp_z900.
3234 * sysdeps/s390/s390-64/memcpy.S
3235 (memcpy_z900): Rename to __memcpy_z900.
3236 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3237 (memcpy_mvcle) Rename to __memcpy_mvcle.
3238 * sysdeps/s390/s390-64/memset.S
3239 (memset_z900): Rename to __memset_z900.
3240 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
3241 (IFUNC_RESOLVE): Prefix ifunc-resolve function
3242 and use prefixed functions.
3243 * sysdeps/s390/s390-64/multiarch/memcmp.S
3244 (memcmp_z196): Rename to __memcmp_z196.
3245 (memcmp_z10): Rename to __memcmp_z10.
3246 (memcmp): Set alias to __memcmp_z900.
3247 (bcmp): Set alias to __memcmp_z900.
3248 * sysdeps/s390/s390-64/multiarch/memcpy.S
3249 (memcpy_z196): Rename to __memcpy_z196.
3250 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3251 (memcpy_z10): Rename to __memcpy_z10.
3252 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3253 (memcpy): Set alias to __memcpy_z900.
3254 * sysdeps/s390/s390-64/multiarch/memset.S
3255 (memset_z196): Rename to __memset_z196.
3256 Jump to __memset_mvcle instead of memset_mvcle.
3257 (memset_z10): Rename to __memset_z10.
3258 Jump to __memset_mvcle instead of memset_mvcle.
3259 (memset_mvcle) Rename to __memset_mvcle.
3260 (memset): Set alias to __memset_z900.
3262 2015-01-14 Joseph Myers <joseph@codesourcery.com>
3265 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
3266 __fesetenv instead of fesetenv.
3268 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3270 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
3273 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3275 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
3278 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
3279 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
3280 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3281 strncmp-power8 object.
3282 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3283 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
3284 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
3287 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3288 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3290 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
3291 trailing byte check.
3293 2015-01-13 David S. Miller <davem@davemloft.net>
3295 * include/signal.h (__sigreturn): Guard with __USE_MISC.
3297 2015-01-13 Roland McGrath <roland@hack.frob.com>
3299 * login/logout.c (logout): Use memset rather than bzero.
3300 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
3301 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
3302 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
3303 (_gethtbyaddr): Likewise.
3304 * locale/programs/simple-hash.c (bcopy): Macro removed.
3306 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3308 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3309 Add strcmp-power8 object.
3310 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3311 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
3312 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
3313 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
3314 __strcmp_power8 implementation.
3315 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
3318 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3319 Add strncpy-power8 and stpncpy-power8 objects.
3320 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3321 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
3323 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
3324 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
3325 __stpncpy_power8 implementation.
3326 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
3327 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
3328 __strncpy_power8 implementation.
3329 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
3330 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
3333 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
3334 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
3335 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
3337 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3338 strncat-power8 object.
3339 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
3340 __strcat_power8 implementation.
3341 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3342 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
3343 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
3344 optimized strcat for power8.
3346 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3347 strcpy-power8 and stpcpy-power8 objects.
3348 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3349 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
3351 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
3352 multiarch stpcpy implementation for POWER8.
3353 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
3354 multiarch strcpy implementation for POWER8.
3355 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
3356 __strcpy_power8 function.
3357 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
3359 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
3363 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
3366 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
3367 weights and rules. Use do_xfrm_cached if data fits in cache,
3368 do_xfrm otherwise. Moved former main loop to...
3369 * (do_xfrm_cached): New function.
3370 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
3371 find_idx, find_position and stack_push.
3372 * (find_idx): New function.
3373 * (find_position): Likewise.
3374 * localedata/sort-test.sh: Added test run for do_xfrm.
3375 * localedata/xfrm-test.c (main): Added command line option
3376 -nocache to run the test with strings that are too large for
3379 2015-01-13 Torvald Riegel <triegel@redhat.com>
3381 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
3382 variable to lll_futex_wake call, not the value itself.
3384 2015-01-12 Joseph Myers <joseph@codesourcery.com>
3387 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
3388 twom64. Adjust value to 0x1p-64L.
3389 (__scalblnl): Only return standard underflowing result for K <=
3390 -64 not K <= -63; adjust exponent for underflowing result by 64
3392 * math/libm-test.inc (scalbn_test_data): Add more tests.
3393 (scalbln_test_data): Likewise.
3396 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
3398 (__scalblnl): Get new exponent of adjusted subnormal value from ES
3400 * math/libm-test.inc (scalbn_test_data): Add more tests.
3401 (scalbln_test_data): Likewise.
3403 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3404 Stefani Seibold <stefani@seibold.net>
3406 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
3407 (sysdep_routines): Add dl-vdso here, ...
3408 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
3409 (sysdep_routines): ... not here.
3410 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
3411 fallback when vDSO is not presented.
3412 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3413 Define with libc_hidden_proto/libc_hidden_data_def definitions.
3414 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
3415 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
3416 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
3417 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
3418 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
3419 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
3420 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
3421 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
3422 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
3423 fallback configurable symbol when vDSO is not available.
3424 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
3425 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
3426 be able to redefine fallback symbol when vDSO is not available.
3427 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
3428 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
3430 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3432 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
3433 (TLS_INIT_TP): Add tm_capable initialization.
3434 (TLS_DEFINE_INIT_TP): Likewise.
3435 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
3437 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
3438 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
3440 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
3441 transactoion is lock elision is built and TCB tm_capable is set.
3442 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
3443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3444 (INTERNAL_SYSCALL_NCS): Likewise.
3445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3446 (INTERNAL_SYSCALL_NCS): Likewise.
3447 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
3449 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
3451 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3452 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
3453 and remove it for 32 bits case.
3454 [pthread_rwlock_t] (__rwelision): New field for lock elision.
3455 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
3457 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
3458 Disable lock elision with rdlocks if elision is not available.
3460 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
3461 (sysdep_routines): Add lock elision objects.
3462 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3463 [pthread_mutex_t] (__spins): Rework to add lock elision field.
3464 [pthread_mutex_t] (__elision): Add field.
3465 [__PTHREAD_SPINS]: Adjust to init lock elision field.
3466 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
3467 elision definitions for powerpc.
3468 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
3469 implementation of lock elision for powerpc.
3470 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
3471 implementation of timed lock elision for powerpc.
3472 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
3473 implementation of trylock with lock elision for powerpc.
3474 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
3475 implementaion of unlock for lock elision for powerpc.
3476 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
3477 automatic enable lock elision for mutexes.
3478 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
3479 transaction execution definitions for powerpc.
3480 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
3482 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
3483 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
3484 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
3485 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
3488 2015-01-09 Roland McGrath <roland@hack.frob.com>
3490 * sysdeps/posix/shm-directory.c: Use <> rather than ""
3491 for #include of <shm-directory.h>.
3493 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
3495 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
3496 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
3498 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
3501 * NEWS: Mention bug fix.
3502 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
3503 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
3504 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
3506 2015-01-09 Torvald Riegel <triegel@redhat.com>
3508 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
3510 2015-01-09 Torvald Riegel <triegel@redhat.com>
3512 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
3514 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
3516 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
3517 pointer and cast to uintptr_t.
3519 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
3521 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
3523 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
3525 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
3527 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
3530 2015-01-08 Roland McGrath <roland@hack.frob.com>
3532 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
3533 <nptl/pthreadP.h> instead.
3534 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
3536 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
3538 [__SIGRTMIN] (init): Function removed.
3539 [__SIGRTMIN] (initialized): Variable removed.
3540 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
3541 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
3542 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
3543 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
3544 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
3545 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
3546 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
3547 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
3548 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
3549 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
3550 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
3551 * sysdeps/nptl/allocrtsig.c: New file.
3552 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
3553 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
3554 * sysdeps/generic/testrtsig.h: File removed.
3556 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
3557 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
3559 * nptl/nptl-init.c (pthread_functions): Conditionalize
3560 .ptr__nptl_setxid initialization on [SIGSETXID].
3562 * sysdeps/nptl/sys/procfs.h: New file.
3563 * nptl_db/Makefile (headers): Add it.
3564 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
3566 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
3567 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
3568 * nptl/pthread_attr_setaffinity.c: Include it.
3569 * nptl/pthread_setattr_default_np.c: Likewise.
3570 * nptl/check-cpuset.h: New file.
3572 2015-01-08 Richard Henderson <rth@redhat.com>
3574 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
3575 (CFLAGS-tst-execstack-prog.c): Likewise.
3576 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
3578 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
3579 Sandra Loosemore <sandra@codesourcery.com>
3580 Andrew Jenner <andrew@codesourcery.com>
3581 Joseph Myers <joseph@codesourcery.com>
3582 Nathan Sidwell <nathan@codesourcery.com>
3584 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
3585 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
3586 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
3587 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
3588 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
3589 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
3590 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
3591 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
3592 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
3593 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
3594 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
3595 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
3596 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
3597 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
3598 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
3599 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
3600 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
3602 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3604 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
3605 timespec struct member in syscall macro.
3606 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
3607 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
3608 first timeval struct member in syscall macro.
3609 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
3611 2015-01-07 Joseph Myers <joseph@codesourcery.com>
3614 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
3615 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
3616 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
3617 __feupdateenv and define as weak alias of __feupdateenv. Use
3619 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
3621 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
3622 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
3623 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3624 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
3626 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
3627 __feupdateenv and define as weak alias of __feupdateenv. Use
3629 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
3631 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
3632 __feupdateenv and define as weak alias of __feupdateenv. Use
3634 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
3636 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3637 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3638 (__feupdateenv): Likewise.
3639 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
3640 __feupdateenv and define as weak alias of __feupdateenv. Use
3642 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3643 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
3645 * sysdeps/tile/math_private.h (__feupdateenv): New inline
3647 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
3649 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
3650 __feupdateenv instead of feupdateenv.
3651 (default_libc_feupdateenv_test): Likewise.
3652 (libc_feresetround_ctx): Likewise.
3654 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3656 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
3659 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
3661 * posix/regcomp.c (parse_bracket_exp): Initialize type to
3662 COLL_SYM in a couple of places to avoid uninitialized variable
3663 wanings on tilegx gcc 4.8.2.
3665 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
3667 * sysdeps/aarch64/strcpy.S: New file.
3668 * sysdeps/aarch64/stpcpy.S: New file.
3671 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
3673 * sysdeps/aarch64/strrchr.S: New file.
3676 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
3679 * stdlib/setenv.c: Fix memory leak when setting large,
3682 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
3685 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
3686 and tabs from buffer before parsing fstab entry.
3687 * misc/tst-mntent.c (main): Add test for mount entry with
3688 trailing spaces and tabs.
3690 2015-01-06 Joseph Myers <joseph@codesourcery.com>
3693 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
3694 * math/fesetround.c (fesetround): Rename to __fesetround and
3695 define as weak alias of __fesetround. Use libm_hidden_weak.
3696 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
3697 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
3698 * sysdeps/arm/fesetround.c (fesetround): Likewise.
3699 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
3700 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
3701 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
3702 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
3703 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
3704 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
3705 __fesetround_inline.
3706 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
3707 __fesetround_inline instead of __fesetround.
3708 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
3709 __fesetround and define as weak alias of __fesetround. Use
3710 libm_hidden_weak. Call __fesetround_inline instead of
3712 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
3713 __fesetround and define as weak alias of __fesetround. Use
3715 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
3717 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
3718 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3719 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
3720 * sysdeps/tile/math_private.h (__fesetround): New inline function.
3721 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
3722 __fesetround and define as weak alias of __fesetround. Use
3724 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
3725 __fesetround instead of fesetround.
3726 (default_libc_feholdexcept_setround): Likewise.
3727 (libc_feholdsetround_ctx): Likewise.
3728 (libc_feholdsetround_noex_ctx): Likewise.
3731 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
3732 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
3733 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3734 and define as weak alias of __fesetenv. Use libm_hidden_weak.
3735 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3736 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
3737 define as weak alias of __fesetenv. Use libm_hidden_weak.
3738 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3739 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3740 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3741 define as weak alias of __fesetenv. Use libm_hidden_weak.
3742 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3743 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3744 define as weak alias of __fesetenv. Use libm_hidden_weak.
3745 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
3747 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
3748 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
3750 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3751 define as weak alias of __fesetenv. Use libm_hidden_weak.
3752 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3753 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3754 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
3755 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3756 and define as weak alias of __fesetenv. Use libm_hidden_weak.
3757 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
3758 __fesetenv instead of fesetenv.
3759 (libc_feresetround_noex_ctx): Likewise.
3760 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3761 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3762 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
3763 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3764 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3765 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3766 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3767 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3768 (__feupdateenv): Likewise.
3769 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3770 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3771 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3772 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
3774 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
3777 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
3778 addresses have been freed.
3780 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
3782 * resolv/res_init.c (__res_vinit): Improve comments about nserv
3785 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
3787 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
3788 Clean up check_pf allocation pattern. addresses
3790 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3792 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
3793 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
3794 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3795 * nptl/pthread_exit.c (__pthread_exit): Likewise.
3796 * nptl/pthread_join.c (pthread_join): Likewise.
3797 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
3798 * sysdeps/posix/waitid.c (__waitid): Likewise.
3799 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3800 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3801 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3802 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3803 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3805 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3806 (__libc_pread64): Likewise.
3807 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3808 (__libc_pwrite): Likewise.
3809 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3810 (__libc_pwrite64): Likewsie.
3811 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3812 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3813 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3814 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3815 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3816 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3817 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3821 (__libc_pread64): Likewise.
3822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
3824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3825 (__libc_pwrite64): Likewise.
3826 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3827 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3828 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
3829 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3830 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3831 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3832 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
3833 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3834 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3835 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3836 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
3837 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3838 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3839 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
3840 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3841 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3844 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3846 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
3847 (CFLAGS-test-double.c): Likewise.
3848 (CFLAGS-test-ldouble.c): Likewise.
3849 (CPPFLAGS-test-ifloat.c): Likewise.
3850 (CPPFLAGS-test-idouble.c): Likewise.
3851 (CPPFLAGS-test-ildoubl.c): Likewise.
3852 (CFLAGS-test-test-fenv.c): Remove variable.
3853 (CFLAGS-test-misc.c): Likewise.
3855 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
3858 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
3859 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
3860 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
3861 CLOCKS_PER_SEC == 1000000.
3862 * time/clocktest.c (main): Replace %ld with %jd and cast to
3865 2015-01-05 Roland McGrath <roland@hack.frob.com>
3867 * sysdeps/generic/unwind-resume.h: New file.
3868 * sysdeps/gnu/unwind-resume.c: Include it.
3869 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
3870 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
3872 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
3873 global rather than static.
3874 (_Unwind_Resume): Update user.
3875 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
3876 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
3877 rather than static. Add __attribute__ ((cold)).
3878 (_Unwind_Resume, __gcc_personality_v0): Update callers.
3879 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
3880 * sysdeps/arm/arm-unwind-resume.S: New file.
3881 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
3882 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
3883 * sysdeps/arm/Makefile [$(subdir) = csu]
3884 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
3885 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3886 Add rt-arm-unwind-resume.
3888 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3889 Add pt-arm-unwind-resume.
3890 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
3891 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
3893 2015-01-05 Joseph Myers <joseph@codesourcery.com>
3896 * include/fenv.h (__feholdexcept): Declare. Use
3898 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
3899 define as weak alias of __feholdexcept. Use libm_hidden_weak.
3900 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3901 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
3902 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
3903 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
3904 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
3905 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3906 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
3907 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
3908 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3909 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
3910 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
3911 (feholdexcept): Likewise.
3912 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3913 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3914 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3915 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3916 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
3917 __feholdexcept instead of feholdexcept.
3918 (default_libc_feholdexcept_setround): Likewise.
3920 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
3922 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
3923 to avoid using stl/str to align destination.
3925 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
3927 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
3929 2015-01-05 Joseph Myers <joseph@codesourcery.com>
3932 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
3933 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
3934 Define as weak alias not strong alias.
3936 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
3938 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
3939 bltzal with addiupc.
3940 (RTLD_START): Ditto.
3942 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
3944 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
3945 for __vdso_* functions in declarations.
3946 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
3948 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
3949 INTERNAL_VSYSCALL): Use struct return types to check for error.
3951 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
3952 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
3953 function with cast from llround().
3954 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
3955 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3958 2015-01-05 Joseph Myers <joseph@codesourcery.com>
3961 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
3962 Define as weak alias not strong alias.
3965 * ctype/ctype-c99.c: New file. isblank implementation moved from
3967 * ctype/ctype-extn.c: ... here.
3968 (__isblank_l): Move to ...
3969 * ctype/ctype-c99_l.c: ... here. New file.
3970 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
3971 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
3973 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3974 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3975 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3976 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3977 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3980 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3981 (posix_fadvise64): Define as weak alias not strong alias.
3982 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3983 (posix_fallocate64): Likewise.
3984 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3986 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3987 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3988 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3989 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3990 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3992 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
3995 * NEWS: Mention bug fix.
3996 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3997 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3998 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3999 (HOST_STACK_END_ADDR): Likewise.
4001 2015-01-02 Joseph Myers <joseph@codesourcery.com>
4004 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
4005 * math/fegetround.c (fegetround): Rename to __fegetround and
4006 define as weak alias of __fegetround. Use libm_hidden_weak.
4007 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
4008 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
4009 * sysdeps/arm/fegetround.c (fegetround): Likewise.
4010 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
4011 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4012 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
4013 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
4014 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
4015 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4016 Undefine after rather than before function definition; use
4017 parentheses around function name in definition.
4018 (__fegetround): Also undefine macro after function definition.
4019 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
4020 __fegetround and define as weak alias of __fegetround. Use
4021 libm_hidden_weak. Do not undefine as macro.
4022 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4024 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
4025 __fegetround and define as weak alias of __fegetround. Use
4027 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4028 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4029 * sysdeps/tile/math_private.h (__fegetround): New inline function.
4030 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
4031 __fegetround and define as weak alias of __fegetround. Use
4033 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
4034 __fegetround instead of fegetround.
4037 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
4038 Condition macro definition on [__USE_MISC].
4041 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
4042 (struct sigaction): Change type of sa_flags field to int.
4045 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
4046 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
4049 * nptl/version.c (banner): Use single year in copyright notice.
4051 * NEWS: Update copyright dates.
4052 * catgets/gencat.c (print_version): Likewise.
4053 * csu/version.c (banner): Likewise.
4054 * debug/catchsegv.sh: Likewise.
4055 * debug/pcprofiledump.c (print_version): Likewise.
4056 * debug/xtrace.sh (do_version): Likewise.
4057 * elf/ldconfig.c (print_version): Likewise.
4058 * elf/ldd.bash.in: Likewise.
4059 * elf/pldd.c (print_version): Likewise.
4060 * elf/sotruss.sh: Likewise.
4061 * elf/sprof.c (print_version): Likewise.
4062 * iconv/iconv_prog.c (print_version): Likewise.
4063 * iconv/iconvconfig.c (print_version): Likewise.
4064 * locale/programs/locale.c (print_version): Likewise.
4065 * locale/programs/localedef.c (print_version): Likewise.
4066 * login/programs/pt_chown.c (print_version): Likewise.
4067 * malloc/memusage.sh (do_version): Likewise.
4068 * malloc/memusagestat.c (print_version): Likewise.
4069 * malloc/mtrace.pl: Likewise.
4070 * manual/libc.texinfo: Likewise.
4071 * nptl/version.c (banner): Likewise.
4072 * nscd/nscd.c (print_version): Likewise.
4073 * nss/getent.c (print_version): Likewise.
4074 * nss/makedb.c (print_version): Likewise.
4075 * posix/getconf.c (main): Likewise.
4076 * scripts/test-installation.pl: Likewise.
4077 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4079 2015-01-02 Will Newton <will.newton@linaro.org>
4081 * sysdeps/arm/armv7/configure: Removed.
4082 * sysdeps/arm/armv7/configure.ac: Likewise.
4084 2015-01-02 Joseph Myers <joseph@codesourcery.com>
4086 * All files with FSF copyright notices: Update copyright dates
4087 using scripts/update-copyrights.
4088 * intl/plural.c: Regenerated.
4089 * locale/programs/charmap-kw.h: Likewise.
4090 * locale/programs/locfile-kw.h: Likewise.
4092 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4094 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
4096 2014-12-31 Joseph Myers <joseph@codesourcery.com>
4099 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
4100 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
4101 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
4102 and define as weak alias of __fegetenv. Use libm_hidden_weak.
4103 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4104 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
4105 define as weak alias of __fegetenv. Use libm_hidden_weak.
4106 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
4107 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4108 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4109 define as weak alias of __fegetenv. Use libm_hidden_weak.
4110 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4111 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4112 define as weak alias of __fegetenv. Use libm_hidden_weak.
4113 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
4115 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
4116 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
4118 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4119 define as weak alias of __fegetenv. Use libm_hidden_weak.
4120 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4121 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4122 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
4123 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
4124 and define as weak alias of __fegetenv. Use libm_hidden_weak.
4125 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
4126 __fegetenv instead of fegetenv.
4127 (libc_feholdsetround_noex_ctx): Likewise.
4129 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
4131 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
4132 (Elf_MIPS_ABIFlags_v0): New structure.
4133 (EF_MIPS_FP64): Define.
4134 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
4135 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
4136 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
4137 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
4138 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
4139 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
4140 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
4141 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
4142 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
4143 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
4144 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
4145 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
4146 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
4147 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
4148 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
4149 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
4150 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
4151 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
4152 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
4153 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
4154 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
4155 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
4157 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
4159 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
4160 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
4161 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
4162 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
4163 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
4164 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
4165 * sysdeps/mips/tst-abi-interlink.c: Likewise.
4166 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
4167 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
4168 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
4169 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
4170 record the current FP ABI extension.
4171 (mips-mode-switch): Define to show if kernel headers support mode
4173 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4174 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
4175 supported SYSV ABI version to 3.
4176 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
4179 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4180 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4182 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
4184 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
4186 2014-12-31 Joseph Myers <joseph@codesourcery.com>
4188 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
4189 __fegetround and redefine to call __fegetround. Remove condition
4190 on [!__NO_MATH_INLINES].
4191 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
4193 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
4194 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4196 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
4197 instead of <fenv_libc.h>.
4198 (__llrintl): Call fegetround instead of __fegetround.
4199 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
4200 instead of <fenv_libc.h>.
4201 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4202 (__lrintl): Call fegetround instead of __fegetround.
4203 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
4204 instead of <fenv_libc.h>.
4205 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4206 (__rintl): Call fegetround instead of __fegetround.
4208 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4210 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
4213 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
4216 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
4217 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
4218 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
4220 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
4222 * sysdeps/i386/tls-macros.h: Include <features.h>.
4223 (TLS_LE): Use non-PIC version for GCC >= 5.0.
4227 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
4228 define for GCC >= 5.0.
4230 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
4232 * math/test-fenv.c (test_single_exception, set_single_exc,
4233 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
4234 feexcp_mask_test, feenable_test, fe_single_test): Add
4235 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
4236 case where they are not used.
4237 * math/libm-test.inc: Likewise.
4238 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
4239 unused in the absence of FP rounding/exception support.
4240 * stdio-common/tst-printf-round.c: Likewise.
4241 * stdlib/tst-strtod-round.c: Likewise.
4242 * stdlib/tst-strtod-underflow.c: Likewise.
4244 2014-12-30 Joseph Myers <joseph@codesourcery.com>
4247 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
4248 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
4249 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4250 __feraiseexcept and define as weak alias of __feraiseexcept. Use
4252 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
4253 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
4254 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
4256 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4257 __feraiseexcept and define as weak alias of __feraiseexcept. Use
4259 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
4261 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
4262 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4263 __feraiseexcept and define as weak alias of __feraiseexcept. Use
4265 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
4267 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4268 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
4269 (__feraiseexcept): Likewise.
4270 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4271 __feraiseexcept and define as weak alias of __feraiseexcept. Use
4273 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
4274 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
4276 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
4277 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
4278 Use libm_hidden_def.
4279 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
4281 (feraiseexcept): Define as weak not strong alias. Use
4283 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
4284 New inline function. Factored out of ...
4285 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
4286 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
4287 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
4289 * math/w_acos.c (__acos): Likewise.
4290 * math/w_asin.c (__asin): Likewise.
4291 * math/w_ilogb.c (__ilogb): Likewise.
4292 * math/w_j0.c (y0): Likewise.
4293 * math/w_j1.c (y1): Likewise.
4294 * math/w_jn.c (yn): Likewise.
4295 * math/w_log.c (__log): Likewise.
4296 * math/w_log10.c (__log10): Likewise.
4297 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
4298 * sysdeps/aarch64/fpu/math_private.h
4299 (libc_feupdateenv_test_aarch64): Likewise.
4300 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
4301 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
4302 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
4303 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
4304 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
4305 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
4306 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
4307 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4308 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4309 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4311 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
4314 * io/test-utime.c (main): Replace %ld with %jd and cast to
4316 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
4317 * nptl/tst-mutex5.c: Include <stdint.h>.
4318 (do_test): Replace %ld with %jd and cast to intmax_t.
4319 * posix/tst-regex.c (run_test): Likewise.
4320 (run_test_backwards): Likewise.
4321 * rt/tst-clock.c: Include <stdint.h>.
4322 (clock_test): Replace %ld with %jd and cast to intmax_t.
4323 * rt/tst-cpuclock1.c: Include <stdint.h>.
4324 (do_test): Replace %lu with %ju and cast to uintmax_t.
4325 * rt/tst-cpuclock2.c: Include <stdint.h>.
4326 (do_test): Replace %lu with %ju and cast to uintmax_t.
4327 * rt/tst-mqueue1.c: Include <stdint.h>.
4328 (check_attrs): Replace %ld with %jd and cast to intmax_t.
4329 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
4331 * rt/tst-mqueue4.c (do_test): Likewise.
4332 * rt/tst-timer4.c: Include <stdint.h>.
4333 (check_ts): Replace %ld with %jd and cast to intmax_t.
4334 (do_test): Likewise.
4335 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
4336 and cast to intmax_t.
4337 * sysdeps/pthread/tst-timer.c (main): Likewise.
4338 * time/clocktest.c (main): Likewise.
4339 * time/tst-posixtz.c (do_test): Likewise.
4340 * timezone/tst-timezone.c (main): Likewise.
4342 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
4343 H.J. Lu <hongjiu.lu@intel.com>
4345 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
4346 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
4347 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
4348 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
4349 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
4350 version if bit_Fast_Unaligned_Load is set.
4351 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4352 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4353 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4354 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4355 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4356 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4357 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4358 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
4359 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
4360 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
4362 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
4363 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
4364 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
4365 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
4367 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
4369 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
4370 instead of #if to avoid a Wundef warning.
4371 * stdlib/tst-limits.c (do_test): Likewise.
4373 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
4374 parallel other exception macros.
4375 (fegetenv): Convert from macro to extern inline so that it applies
4376 retroactively to inline functions already seen by the compiler.
4377 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
4379 * posix/Makefile (before-compile): Use $(objpfx) for
4380 posix-conf-vars-def.h.
4382 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4384 * posix/getconf.c (main): Use size_t for type of I.
4385 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
4388 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
4389 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
4390 * posix/posix-envs.def: Likewise.
4391 * sysdeps/posix/sysconf.c: Likewise.
4392 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
4393 (specs): Remove array.
4394 * scripts/gen-posix-conf-vars.awk: Support generation of specs
4397 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
4398 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
4399 (__sysconf): Use CONF_IS_* macros.
4401 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
4402 ($(objpfx)posix-conf-vars-def.h): New target.
4403 * posix/posix-conf-vars.list: New file.
4404 * posix/posix-conf-vars.h: New file.
4405 * posix/confstr.c: Include posix-conf-vars.h.
4406 (confstr): Use CONF_IS_* macros.
4407 * posix/posix-envs.def: Include posix-conf-vars.h. Use
4409 * scripts/gen-posix-conf-vars.awk: New file.
4411 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
4413 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
4414 fegetround): Add no-op macros to avoid linknamespace issues.
4416 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
4417 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
4419 * sysdeps/unix/sysv/linux/tile/sysdep.h
4420 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
4421 assembly-specific section to avoid a redefinition warning.
4423 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
4424 long before casting to pointer to avoid a cast warning.
4426 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
4428 * sysdeps/tile/tilegx/Implies: New file.
4430 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
4432 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
4434 2014-12-23 Florian Weimer <fweimer@redhat.com>
4436 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
4438 2014-12-22 Joseph Myers <joseph@codesourcery.com>
4440 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
4442 * sysdeps/unix/sysv/linux/utimes.c: Do not include
4443 <kernel-features.h>.
4444 (__utimes) [__NR_utimes]: Make code unconditional.
4445 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
4446 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4447 (__ASSUME_UTIMES): Do not undefine.
4448 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4449 (__ASSUME_UTIMES): Likewise.
4450 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4451 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
4452 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
4453 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
4455 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
4457 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
4459 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
4462 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
4463 alias to weak alias for j0l, y0l.
4464 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
4465 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
4468 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
4471 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
4473 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
4474 to zero if not already defined.
4476 2014-12-22 Joseph Myers <joseph@codesourcery.com>
4479 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
4480 (__kernel_standard_f): Remove. Moved to k_standardf.c.
4481 (__kernel_standard_l): Remove. Moved to k_standardl.c with
4482 (char *) casts added.
4483 * sysdeps/ieee754/k_standardf.c: New file.
4484 * sysdeps/ieee754/k_standardl.c: Likewise.
4485 * math/Makefile (libm-support): Remove k_standard.
4486 (libm-calls): Add k_standard.
4488 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4490 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4491 Optimize to avoid an unnecessary FPCR read.
4493 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4495 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
4496 Optimize to reduce FPCR/FPSR accesses.
4498 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4500 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
4501 Call libc_fetestexcept_aarch64.
4503 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4505 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
4506 Call libc_fesetround_aarch64.
4508 2014-12-22 Joseph Myers <joseph@codesourcery.com>
4511 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
4512 (__bind): Do not define as weak alias.
4513 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
4515 (__getsockname): Do not define as weak alias.
4517 2014-12-22 Will Newton <will.newton@linaro.org>
4519 * manual/install.texi: Document that we require bison 2.7
4521 * INSTALL: Regenerate.
4522 * configure.ac: Use AC_CHECK_PROG_VER instead of
4523 AC_PATH_PROG when checking for bison and check for
4524 version 2.7 or above.
4525 * configure: Regenerate.
4527 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
4530 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
4531 * sysdeps/tile/ffsll.c (ffsll): To here.
4533 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
4535 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
4537 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
4539 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
4541 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
4542 hidden ___tls_get_addr.
4543 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
4544 hidden __tls_get_addr.
4545 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
4546 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
4549 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
4551 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
4554 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
4556 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
4557 from "call _dl_init@PLT".
4558 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
4560 2014-12-21 Anders Kaseorg <andersk@mit.edu>
4562 * manual/search.texi: (Array Sort Function): Clarify stable sorting
4565 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
4567 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
4569 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
4572 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
4575 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
4577 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
4579 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
4580 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
4581 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
4582 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
4583 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
4585 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
4587 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
4588 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
4589 (PTR_SUBU): Use subu for mips32r6/mips64r6.
4590 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
4591 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
4593 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
4595 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
4597 * string/strncat.c (STRNCAT): Simplify implementation.
4599 2014-12-19 David S. Miller <davem@davemloft.net>
4601 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
4602 access the quad as both a long double and as a series of 4 words.
4604 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
4605 link_map->l_info array access.
4607 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
4609 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
4611 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
4612 * math/atest-exp2.c (TIMEOUT): Likewise.
4613 * math/atest-sincos.c (TIMEOUT): Likewise.
4615 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4617 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
4618 -Wno-error with -fno-builtin-lround.
4620 2014-12-19 Torvald Riegel <triegel@redhat.com>
4622 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
4623 Contains futex constants and functions moved over from ...
4624 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
4625 <lowlevellock-futex.h>.
4626 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4627 (lll_timedwait_tid): Add comments and parentheses around macro
4630 2014-12-19 Torvald Riegel <triegel@redhat.com>
4632 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
4633 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
4634 (__lll_private_flag): Remove.
4635 (lll_futex_wait): Likewise.
4636 (lll_futex_timed_wait): Likewise.
4637 (lll_futex_wake): Likewise.
4638 (lll_futex_requeue): Likewise.
4639 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4640 (__lll_timedwait_tid): Spell out argument names.
4641 (lll_timedwait_tid): Add comments and parentheses around macro
4643 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
4644 LLL_SHARED and LLL_PRIVATE usable from assembly code.
4646 2014-12-19 Torvald Riegel <triegel@redhat.com>
4648 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
4649 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4650 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4651 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
4652 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
4653 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
4654 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
4655 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
4656 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
4657 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
4658 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
4659 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
4660 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
4661 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
4662 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
4663 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
4664 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
4665 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
4666 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
4668 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4670 * sysdeps/x86_64/x32/Makefile: New file.
4672 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4674 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
4675 1L with (mp_limb_t) 1.
4677 2014-12-17 Roland McGrath <roland@hack.frob.com>
4679 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
4680 * nptl/libc_pthread_init.c: ... here.
4681 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
4682 * nptl/register-atfork.c: ... here.
4684 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
4685 Use pthread_sigmask rather than INTERNAL_SYSCALL.
4686 Use assert_perror to check its return value.
4687 (__gai_create_helper_thread): Likewise.
4689 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
4691 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
4693 2014-12-17 Joseph Myers <joseph@codesourcery.com>
4696 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
4698 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
4700 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
4702 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
4704 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
4705 (profil_counter): Likewise.
4706 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
4707 (profil_counter): Likewise.
4708 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
4710 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
4712 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
4713 (profil_counter): Likewise.
4714 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
4716 [!__profil_counter] (profil_counter): Define as weak alias of
4718 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
4719 (profil_counter): Rename to __profil_counter.
4720 [!__profil_counter] (profil_counter): Define as weak alias of
4722 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
4723 (profil_counter): Rename to __profil_counter.
4724 [!__profil_counter] (profil_counter): Define as weak alias of
4726 * sysdeps/posix/profil.c: Update comment referring to
4728 (__profil): Use __profil_counter instead of profil_counter.
4729 * sysdeps/posix/sprofil.c (profil_counter): Rename to
4730 __profil_counter. Use __profil_counter_ushort and
4731 __profil_counter_uint in definitions.
4732 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
4733 instead of profil_counter_uint and profil_counter_ushort.
4736 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
4737 define as weak alias of __inet_makeaddr.
4738 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
4739 as weak alias of __inet_addr.
4740 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
4741 as weak alias of __inet_pton. Use libc_hidden_weak.
4742 * include/arpa/inet.h (__inet_pton): Declare. Use
4744 (inet_makeaddr): Don't use libc_hidden_proto.
4745 (__inet_makeaddr): Declare. Use libc_hidden_proto.
4746 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
4747 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
4748 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
4750 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4751 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4753 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
4755 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
4757 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4759 * stdio-common/bug-vfprintf-nargs.c (do_test):
4760 Cast value to intptr_t to avoid format warning
4761 for usage with PRIdPTR printing macro.
4763 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4765 * libio/tst-widetext.c (do_test):
4766 Use format type %td instead of %Zd for ptrdiff_t
4767 in order to avoid format warning.
4769 2014-12-17 Andreas Schwab <schwab@suse.de>
4771 * nscd/mem.c (gc): Add size_t cast to match printf format.
4773 2014-12-16 Roland McGrath <roland@hack.frob.com>
4775 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
4776 (init): Apply PTR_MANGLE to pointers before storing them.
4777 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
4780 2014-12-16 Joseph Myers <joseph@codesourcery.com>
4783 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
4784 define as weak alias of __memrchr.
4785 (__memrchr): Do not define as strong alias of memrchr.
4786 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
4788 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4789 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4790 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4793 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
4794 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
4795 (if_indextoname): Rename to __if_indextoname and define as weak
4796 alias of __if_indextoname. Use libc_hidden_weak.
4797 (if_freenameindex): Rename to __if_freenameindex and define as
4798 weak alias of __if_freenameindex.
4799 (if_nameindex): Rename to __if_nameindex and define as weak alias
4801 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
4802 __if_nametoindex and define as weak alias of __if_nametoindex.
4803 Use libc_hidden_weak.
4804 (if_freenameindex): Rename to __if_freenameindex and define as
4805 weak alias of __if_freenameindex.
4806 (if_nameindex): Rename to __if_nameindex and define as weak alias
4808 (if_indextoname): Rename to __if_indextoname and define as weak
4809 alias of __if_indextoname. Use libc_hidden_weak.
4810 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
4811 __if_nametoindex and define as weak alias of __if_nametoindex.
4812 Use libc_hidden_weak.
4813 (if_freenameindex): Rename to __if_freenameindex and define as
4814 weak alias of __if_freenameindex. Use libc_hidden_weak.
4815 (if_nameindex_netlink): Use __if_freenameindex instead of
4817 (if_nameindex): Rename to __if_nameindex and define as weak alias
4818 of __if_nameindex. Use libc_hidden_weak.
4819 (if_indextoname): Rename to __if_indextoname and define as weak
4820 alias of __if_indextoname. Use libc_hidden_weak.
4821 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
4823 [!_ISOMAC] (__if_freenameindex): Likewise.
4824 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
4826 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
4828 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4829 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4830 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4831 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4832 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4833 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4834 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4836 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
4838 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4839 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4841 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4843 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
4844 subscript above bounds'
4846 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
4849 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
4851 * libio/tst-fopenloc.c: Use test-skeleton.c.
4853 * stdlib/tst-bsearch.c: Use test-skeleton.c.
4854 (entry): Rename to ITEM.
4855 (do_test, comp): Adjust.
4857 * stdio-common/tst-fseek.c: Use test-skeleton.c.
4859 2014-12-16 Torvald Riegel <triegel@redhat.com>
4861 * string/tester.c: Include <libc-internal.h>.
4862 (test_memset): Ignore -Wmemset-transposed-args.
4864 2014-12-16 Torvald Riegel <triegel@redhat.com>
4866 * misc/tst-mntent2.c (do_test): Fix warning.
4868 2014-12-16 Torvald Riegel <triegel@redhat.com>
4870 * elf/tst-unique4lib.cc(a): Mark as used.
4872 2014-12-16 Florian Weimer <fweimer@redhat.com>
4875 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
4878 2014-12-16 Allan McRae <allan@archlinux.org>
4880 * stdio-common/Makefile (tests): Re-add bug26.
4882 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
4885 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
4888 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
4890 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
4891 (__lll_lock_wait): Likewise.
4892 (__lll_timedlock_wait): Likewise.
4893 (__lll_timedwait_tid): Likewise.
4894 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
4895 (__lll_robust_timedlock_wait): Likewise.
4896 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
4897 (lll_cond_trylock): Likewise.
4898 (__lll_lock): Likewise.
4899 (__lll_robust_lock): Likewise.
4900 (__lll_cond_lock): Likewise.
4901 (lll_robust_cond_lock): Likewise.
4902 (__lll_timedlock): Likewise.
4903 (__lll_robust_timedlock): Likewise.
4904 (__lll_unlock): Likewise.
4905 (__lll_robust_unlock): Likewise.
4906 (lll_wait_tid): Likewise.
4907 (lll_timedwait_tid): Likewise.
4909 2014-12-15 Torvald Riegel <triegel@redhat.com>
4911 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
4913 2014-12-15 Torvald Riegel <triegel@redhat.com>
4915 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
4917 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4919 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
4920 * stdio-common/tst-sprintf.c: Likewise.
4922 2014-12-15 Torvald Riegel <triegel@redhat.com>
4924 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
4926 2014-12-15 Jeff Law <law@redhat.com>
4929 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
4930 on the heap. (CVE-2012-3406)
4931 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
4932 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
4933 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
4935 2014-12-15 Will Newton <will.newton@linaro.org>
4937 * manual/install.texi: Bump required version of texinfo
4939 * INSTALL: Regenerated.
4940 * configure.ac: Check for makeinfo version 4.7 and above.
4941 * configure: Regenerated.
4943 2014-12-12 Roland McGrath <roland@hack.frob.com>
4945 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
4946 PREFIX, string constant to insert between directory and name.
4947 * sysdeps/posix/shm_open.c: Update caller.
4948 * sysdeps/posix/shm_unlink.c: Likewise.
4949 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
4950 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
4951 (SEM_SHM_PREFIX): New macro.
4952 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
4953 [$(have-thread-library) = no].
4954 * nptl/Makefile (libpthread-routines): Add shm-directory.
4955 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
4956 * sysdeps/nptl/shm-directory.h: New file.
4957 * sysdeps/posix/shm-directory.c
4958 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
4959 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4960 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
4962 (__where_is_shmfs): Function removed.
4963 (mountpoint, defaultmount, defaultdir, __namedsem_once):
4965 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
4967 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
4969 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
4970 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
4971 unconditional for use inside libpthread.
4972 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
4974 2014-12-12 Roland McGrath <roland@hack.frob.com>
4976 * nptl/pthread_getaffinity.c: New file.
4977 * nptl/pthread_setaffinity.c: New file.
4978 * nptl/pthread_getname.c: New file.
4979 * nptl/pthread_setname.c: New file.
4981 * nptl/pthread_create.c (START_THREAD_DEFN)
4982 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4984 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4985 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4987 * resolv/res_send.c (send_vc): Disable warning resplen may
4988 be used uninitialized.
4990 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4993 (ATTR_NULL): New define checks ATTR against NULL.
4994 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4995 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4997 2014-12-11 James Lemke <jwlemke@codesourcery.com>
5001 (mem2mem_check): Revert my previous change.
5002 (malloc_check_get_size): Revert my previous change.
5003 (mem2chunk_check): Revert my previous change.
5005 2014-12-11 Roland McGrath <roland@hack.frob.com>
5007 * sysdeps/posix/shm-directory.c: New file.
5008 * sysdeps/posix/shm-directory.h: New file.
5009 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
5010 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
5011 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
5012 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
5013 Transmute EPERM to EACCES.
5014 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
5016 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
5017 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
5019 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5021 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
5022 pointer and cast to uintptr_t.
5023 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
5024 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
5025 Add cast to avoid warning.
5026 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
5028 2014-12-11 Joseph Myers <joseph@codesourcery.com>
5030 * nptl/semaphore.h: Move to ...
5031 * sysdeps/pthread/semaphore.h: ... here.
5032 * Makefile (installed-headers): Change nptl/semaphore.h to
5033 sysdeps/pthread/semaphore.h.
5035 2014-12-11 Roland McGrath <roland@hack.frob.com>
5037 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
5038 generated error format strings.
5040 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
5041 -Wformat-extra-args warnings for scanf formats.
5042 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
5043 test of zero-length format (duh).
5044 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
5045 corner-case scanf format test.
5046 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
5047 generated fprintf format string.
5048 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
5049 corner-case sprintf format tests.
5050 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
5051 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
5052 -Wformat-extra-args warnings throughout.
5053 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
5054 (CFLAGS-scanf4.c): Likewise.
5055 (CFLAGS-scanf7.c): Likewise.
5056 (CFLAGS-tst-sprintf.c): Likewise.
5057 (CFLAGS-tst-printf.c): Likewise.
5058 (CFLAGS-tst-printfsz.c): Likewise.
5060 2014-12-11 Joseph Myers <joseph@codesourcery.com>
5062 * include/cpio.h: New file.
5063 * include/fmtmsg.h: Likewise.
5065 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
5066 corresponding format argument to size_t.
5067 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
5069 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
5070 corresponding format argument to size_t.
5071 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
5073 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
5074 corresponding format argument to size_t.
5075 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
5076 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
5077 (CFLAGS-tst-mbswcs2.c): Likewise.
5078 (CFLAGS-tst-mbswcs3.c): Likewise.
5079 (CFLAGS-tst-mbswcs4.c): Likewise.
5080 (CFLAGS-tst-mbswcs5.c): Likewise.
5081 (CFLAGS-tst-trans.c): Likewise
5083 2014-12-11 Roland McGrath <roland@hack.frob.com>
5085 * posix/regexbug1.c (main): Use "%s" format with regerror results,
5086 rather than assuming they won't contain any '%'s.
5088 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
5090 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
5091 inhibit_loop_to_libcall to avoid recursive calls.
5092 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
5093 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
5095 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
5097 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
5100 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
5102 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
5103 integer value instead of boolean.
5105 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
5107 * malloc/malloc.c: Fix powerof2 check.
5109 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5111 * locale/programs/locfile.h (maybe_swap_uint32):
5112 Remove inline and add unused attribute.
5114 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5116 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5117 Truncating assembler expression to a .long expression.
5119 2014-12-11 Andreas Schwab <schwab@suse.de>
5121 * elf/rtld.c (struct map_args): Constify str member.
5122 (do_preload): Constify fname argument.
5124 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5126 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
5127 constants definition.
5129 2014-12-11 Andreas Schwab <schwab@suse.de>
5132 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
5133 FORCE_ELISION instead of DO_ELISION.
5134 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
5136 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
5139 * iconvdata/gconv-modules: Remove duplicate entry.
5141 2014-12-11 Will Newton <will.newton@linaro.org>
5143 Merge gettext 0.19.3 into intl/.
5145 This involves a number of cosmetic changes to comments
5146 and ANSI function definitions and prototypes throughout
5147 all the files. The gettext copyright header is used but
5148 with the date ranges taken from the glibc copy.
5150 * NEWS: Add gettext merge to 2.21.
5151 * intl/bindtextdom.c: Switch to gettext copyright.
5152 Use ANSI definitions and prototypes.
5153 Use gl_* locking primitives rather than __libc_* ones.
5154 Use __builtin_expect rather than __glibc_likely/unlikely.
5155 * intl/dcgettext.c: Switch to gettext copyright.
5156 Use ANSI definitions and prototypes.
5157 * intl/dcigettext.c: Switch to gettext copyright.
5158 Use ANSI definitions and prototypes.
5159 (INTDIV0_RAISES_SIGFPE): New define.
5160 Use gl_* locking primitives rather than __libc_* ones.
5161 Include eval-plural.h instead of plural-eval.c.
5162 Use __builtin_expect rather than __glibc_likely/unlikely.
5163 * intl/dcngettext.c: Switch to gettext copyright.
5164 Use ANSI definitions and prototypes.
5165 * intl/dgettext.c: Likewise.
5166 * intl/dngettext.c: Likewise.
5167 * intl/plural-eval.c: Renamed to...
5168 * intl/eval-plural.h: ...this.
5169 * intl/explodename.c: Switch to gettext copyright.
5170 Use ANSI definitions and prototypes.
5171 (_nl_explode_name): Use strchr instead of __rawmemchr.
5172 * intl/finddomain.c: Switch to gettext copyright.
5173 Use ANSI definitions and prototypes.
5174 Use gl_* locking primitives rather than __libc_* ones.
5175 (_nl_find_domain): Use malloc rather than alloca for
5176 allocation of temporary locale name.
5177 * intl/gettext.c: Switch to gettext copyright.
5178 Use ANSI definitions and prototypes.
5179 * intl/gettextP.h: Switch to gettext copyright.
5180 Use ANSI definitions and prototypes.
5181 Use gl_* locking primitives rather than __libc_* ones.
5182 * intl/gmo.h: Switch to gettext copyright.
5183 (struct sysdep_string): Move struct segment_pair outside of
5185 * intl/hash-string.c: Use ANSI definitions and prototypes.
5186 * intl/hash-string.h: Switch to gettext copyright.
5187 Use ANSI definitions and prototypes.
5188 * intl/l10nflist.c: Switch to gettext copyright.
5189 Use ANSI definitions and prototypes.
5190 (_nl_normalize_codeset): Avoid integer overflow.
5191 * intl/loadinfo.h: Switch to gettext copyright.
5192 Use ANSI definitions and prototypes.
5193 (LIBINTL_DLL_EXPORTED): New define.
5194 (PATH_SEPARATOR): New define.
5195 * intl/loadmsgcat.c: Switch to gettext copyright.
5196 * intl/localealias.c: Switch to gettext copyright.
5197 Use ANSI definitions and prototypes.
5198 (_nl_expand_alias): Use PATH_SEPARATOR.
5199 * intl/ngettext.c: Switch to gettext copyright.
5200 Use ANSI definitions and prototypes.
5201 * intl/plural-exp.c: Likewise.
5202 * intl/plural-exp.h: Switch to gettext copyright.
5203 Use ANSI definitions and prototypes.
5204 (struct expression): Move definition of enum operator outside
5205 of struct definition.
5206 * intl/plural.c: Regenerate.
5207 * intl/plural.y: Switch to gettext copyright.
5208 Use ANSI definitions and prototypes.
5210 * intl/textdomain.c: Switch to gettext copyright.
5211 Use ANSI definitions and prototypes.
5212 Use gl_* locking primitives rather than __libc_* ones.
5214 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
5216 * debug/warning-nop.c: Add used atrribute.
5218 2014-12-10 Joseph Myers <joseph@codesourcery.com>
5220 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
5222 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
5223 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
5224 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
5226 2014-12-10 Joseph Myers <joseph@codesourcery.com>
5227 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5230 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
5231 Undefine after defining function. Define as weak alias of
5232 __wcschr. Use libc_hidden_weak.
5233 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
5234 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
5235 (libc_hidden_def): Also define __GI___wcschr alias.
5236 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
5237 __wcschr and define as weak alias of __wcschr.
5238 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
5240 [!WCSCHR] (DEFAULT_WCSCHR): Define.
5241 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
5242 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
5243 libc_hidden_weak. Do not use libc_hidden_def.
5244 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
5245 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
5246 __GI___wcschr alias.
5247 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
5248 [IS_IN (libc)] (wcschr): Define as macro expanding to
5250 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
5251 [IS_IN (libc)] (__wcschr_power6): Likewise.
5252 [IS_IN (libc)] (__wcschr_power7): Likewise.
5253 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
5255 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
5257 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
5258 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
5259 __wcschr and define as weak alias of __wcschr. Use
5260 libc_hidden_builtin_def.
5261 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
5262 as weak alias of __wcschr. Use libc_hidden_weak.
5263 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
5265 * time/era.c (_nl_init_era_entries): Likewise.
5266 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
5268 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5269 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5271 2014-12-10 Joseph Myers <joseph@codesourcery.com>
5273 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
5274 format for long int variable.
5276 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
5279 * manual/search.texi: (Array Sort Function): Remove claim how to make
5282 2014-12-10 Andreas Schwab <schwab@suse.de>
5285 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
5286 user-controlled locks.
5288 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
5290 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
5293 2014-12-10 Joseph Myers <joseph@codesourcery.com>
5295 * configure.ac (--disable-werror): New configure option.
5296 (enable_werror): New AC_SUBST.
5297 * configure: Regenerated.
5298 * config.make.in (enable-werror): New variable.
5299 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
5301 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
5302 * manual/install.texi (Configuring and compiling): Document
5304 * INSTALL: Regenerated.
5305 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
5306 (CFLAGS-tst-chk2.c): Likewise.
5307 (CFLAGS-tst-chk3.c): Likewise.
5308 (CFLAGS-tst-chk4.cc): Likewise.
5309 (CFLAGS-tst-chk5.cc): Likewise.
5310 (CFLAGS-tst-chk6.cc): Likewise.
5311 (CFLAGS-tst-lfschk1.c): Likewise.
5312 (CFLAGS-tst-lfschk2.c): Likewise.
5313 (CFLAGS-tst-lfschk3.c): Likewise.
5314 (CFLAGS-tst-lfschk4.cc): Likewise.
5315 (CFLAGS-tst-lfschk5.cc): Likewise.
5316 (CFLAGS-tst-lfschk6.cc): Likewise.
5318 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
5319 (main): Disable -Wdeprecated-declarations around calls to
5320 register_printf_function.
5322 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
5323 (do_test): Disable -Wdiv-by-zero around some calls to
5324 fwrite_unlocked and fread_unlocked.
5326 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
5327 (DIAG_POP_NEEDS_COMMENT): Likewise.
5328 (_DIAG_STR1): Likewise.
5329 (_DIAG_STR): Likewise.
5330 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
5331 * stdio-common/bug21.c: Include <libc-internal.h>.
5332 (do_test): Disable -Wformat around call to sscanf.
5333 * stdio-common/scanf14.c: Include <libc-internal.h>.
5334 (main): Disable -Wformat around some calls to scanf functions.
5336 2014-12-09 Torvald Riegel <triegel@redhat.com>
5338 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
5340 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5342 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
5343 stack variable alignment.
5345 2014-12-06 Joseph Myers <joseph@codesourcery.com>
5348 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
5349 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
5350 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
5351 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
5352 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
5353 __getrlimit instead of getrlimit.
5354 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
5355 __gettimeofday instead of gettimeofday.
5356 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5358 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
5360 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5361 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
5363 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5364 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5366 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5368 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
5369 for wide-character tests.
5371 2014-12-04 Roland McGrath <roland@hack.frob.com>
5373 * io/openat64.c: #include <libc-internal.h>
5374 (__openat64): Prototypify. Use ignore_value on MODE.
5375 * io/openat.c: Likewise.
5376 * misc/reboot.c: #include <libc-internal.h>
5377 (reboot): Prototypify. Use ignore_value on HOWTO.
5378 * misc/ptrace.c: #include <libc-internal.h>
5379 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
5381 2014-12-04 Joseph Myers <joseph@codesourcery.com>
5383 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
5384 XPG4, UNIX98 and XOPEN2K.
5385 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
5387 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5389 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5391 * libio/fileops.c: Use ISO C style for function definitions.
5392 * libio/iofopen.c: Likewise.
5393 * libio/wfileops.c: Likewise.
5396 * libio/fileops.c (_IO_new_file_underflow): Unset cached
5398 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
5399 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
5400 (fgets_func): Function pointer to fgets and fgetws.
5401 (do_ftell_test): Add test to verify ftell value after read
5403 (do_test): Set fgets_func.
5405 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
5406 O_TRUNC flag for w and w+ modes.
5407 (do_rewind_test): Likewise.
5408 (do_ftell_test): Likewise.
5409 (do_write_test): Likewise.
5412 * libio/fileops.c (do_ftell): Seek only when there are
5414 * libio/wfileops.c (do_ftell_wide): Likewise.
5415 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
5417 (do_one_test): Call it.
5419 2014-12-03 Joseph Myers <joseph@codesourcery.com>
5421 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
5422 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
5423 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
5425 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5426 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5427 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5429 2014-12-02 Joseph Myers <joseph@codesourcery.com>
5431 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
5433 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5436 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
5437 as weak alias of __getifaddrs. Use libc_hidden_weak.
5438 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5439 __freeifaddrs. Use libc_hidden_weak.
5440 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
5441 define as weak alias of __getifaddrs. Use libc_hidden_weak.
5442 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5443 __freeifaddrs. Use libc_hidden_weak.
5444 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
5445 __getifaddrs and define as weak alias of __getifaddrs. Use
5447 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5448 __freeifaddrs. Use libc_hidden_weak.
5449 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
5451 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5452 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5454 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
5457 * sysdeps/mips/start.S (__start): Use indirect jump to call
5460 2014-12-02 Joseph Myers <joseph@codesourcery.com>
5462 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
5464 * nptl/tst-mutex1.c: Include <stdbool.h>.
5465 [!ATTR] (ATTR_NULL): New macro.
5466 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
5467 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
5468 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
5470 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
5474 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
5475 Change conditional to [__USE_MISC].
5478 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
5480 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
5482 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
5484 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
5486 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5487 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5488 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5489 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5490 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5491 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5492 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5493 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5494 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5496 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
5498 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5500 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5501 Remove strpbrk objects.
5502 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5503 (__libc_ifunc_impl_list): Remove strpbrk implementation.
5504 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
5505 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
5506 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
5507 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
5509 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5510 Remove strcspn objects.
5511 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5512 (__libc_ifunc_impl_list): Remove strcspn implementation.
5513 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
5514 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
5515 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
5516 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
5518 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5519 Remove strspn objetcs.
5520 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5521 (__libc_ifunc_impl_list): Remove strspn implementation.
5522 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
5523 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5524 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
5525 * sysdeps/powerpc/powerpc64/strspn.S: New file.
5527 2014-12-01 James Lemke <jwlemke@codesourcery.com>
5531 (mem2mem_check): Add a terminator to the chain of checking blocks.
5532 (malloc_check_get_size): Use it here.
5533 (mem2chunk_check): Ditto.
5535 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5537 * sysdeps/powerpc/powerpc64/strtok.S: New file.
5538 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
5540 2014-11-29 Carlos O'Donell <carlos@redhat.com>
5542 * bits/ioctl-types.h: Indent preprocessor directives correctly.
5544 * nptl/nptl-init.c: Include libc-internal.h.
5545 (__pthread_initialize_minimal_internal): Use ROUND_UP.
5547 * elf/ldconfig.c (search_dir): Expand comment.
5549 2014-11-29 Joseph Myers <joseph@codesourcery.com>
5551 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
5553 (linknamespace-symlist-stdlibs-tests): Likewise.
5554 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
5555 instead of $(objpfx)symlist-stdlibs.
5556 (linknamespace-libs-isoc): New variable.
5557 (linknamespace-libs): Use $(linknamespace-libs-isoc).
5558 (linknamespace-libs-ISO): New variable.
5559 (linknamespace-libs-ISO99): Likewise.
5560 (linknamespace-libs-ISO11): Likewise.
5561 (linknamespace-libs-XPG3): Likewise.
5562 (linknamespace-libs-XPG4): Likewise.
5563 (linknamespace-libs-POSIX): Likewise.
5564 (linknamespace-libs-UNIX98): Likewise.
5565 (linknamespace-libs-XOPEN2K): Likewise.
5566 (linknamespace-libs-POSIX2008): Likewise.
5567 (linknamespace-libs-XOPEN2K8): Likewise.
5568 ($(objpfx)symlist-stdlibs): Replace by
5569 $(linknamespace-symlist-stdlibs-tests). Use
5570 $(linknamespace-libs-$*) as set of libraries.
5571 ($(linknamespace-header-tests)): Update dependencies. Use
5572 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
5573 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
5574 * conform/linknamespace.pl: Remove comment about considering
5575 definitions of symbols from irrelevant libraries.
5577 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
5580 * elf/dl-tls.c: Include <atomic.h>.
5581 (oom): Remove #ifdef SHARED/#endif.
5582 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
5583 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
5584 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
5586 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
5587 * nptl/Makefile (tests): Add tst-stack4.
5588 (modules-names): Add tst-stack4mod.
5589 ($(objpfx)tst-stack4): New.
5590 (tst-stack4mod.sos): Likewise.
5591 ($(objpfx)tst-stack4.out): Likewise.
5592 ($(tst-stack4mod.sos)): Likewise.
5594 * nptl/tst-stack4.c: New file.
5595 * nptl/tst-stack4mod.c: Likewise.
5597 2014-11-27 J. Brown <jb999@gmx.de>
5599 * sysdeps/x86/bits/string.h: Add recent CPUs.
5601 2014-11-27 Joseph Myers <joseph@codesourcery.com>
5603 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
5606 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
5609 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
5612 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
5614 * nscd/connections.c: Include libc-internal.h because of macro
5617 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5619 * string/bits/string3.h (__warn_memset_zero_len): Don't
5620 declare for gcc newer than 5.0.
5621 (memset): Don't test for zero-length __LEN for gcc newer than
5624 2014-11-27 Joseph Myers <joseph@codesourcery.com>
5626 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
5627 size_t for %zu format.
5629 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
5630 difference, not %ju.
5632 2014-11-26 Joseph Myers <joseph@codesourcery.com>
5634 * include/libc-internal.h (ignore_value): New macro.
5635 * nscd/connections.c (restart): Wrap calls to setuid and setgid
5638 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
5641 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
5642 pthread_cleanup_push to void *.
5644 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
5649 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
5650 instead of 1L << 52.
5652 * libio/bug-rewind.c (do_test): Check fwscanf return values.
5653 * libio/bug-rewind2.c (do_test): Likewise.
5655 * debug/test-stpcpy_chk-ifunc.c: Remove file.
5656 * debug/test-strcpy_chk-ifunc.c: Likewise.
5657 * wcsmbs/test-wcschr-ifunc.c: Likewise.
5658 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5659 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5660 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5661 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5662 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5663 * Rules [$(multi-arch) = no] (tests): Do not filter out
5665 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
5666 * debug/Makefile (tests-ifunc): Remove variable.
5667 (tests): Do not add $(tests-ifunc).
5668 * wcsmbs/Makefile (tests-ifunc): Remove variable.
5669 (tests): Do not add $(tests-ifunc).
5670 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
5671 [TEST_IFUNC]: Remove conditionals.
5672 * string/test-string.h (TEST_IFUNC): Remove macro.
5673 [TEST_IFUNC]: Remove conditionals.
5675 * string/test-strchr.c [!WIDE] (L): New macro.
5676 [WIDE] (L): Likewise.
5677 (check1): Use CHAR instead of char. Use L on string and character
5680 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
5682 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
5684 * sysdeps/powerpc/bits/atomic.h
5685 (__arch_atomic_exchange_and_add_32_acq): Add definition.
5686 (__arch_atomic_exchange_and_add_32_rel): Likewise.
5687 (atomic_exchange_and_add_acq): Likewise.
5688 (atomic_exchange_and_add_rel): Likewise.
5689 * sysdeps/powerpc/powerpc32/bits/atomic.h
5690 (__arch_atomic_exchange_and_add_64_acq): Add definition.
5691 (__arch_atomic_exchange_and_add_64_rel): Likewise.
5692 * sysdeps/powerpc/powerpc64/bits/atomic.h
5693 (__arch_atomic_exchange_and_add_64_acq): Add definition.
5694 (__arch_atomic_exchange_and_add_64_rel): Likewise.
5696 2014-11-26 Torvald Riegel <triegel@redhat.com>
5698 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
5699 Change synchronization of __sched_fifo_min_prio and
5700 __sched_fifo_max_prio.
5701 * nptl/pthread_mutexattr_getprioceiling.c
5702 (pthread_mutexattr_getprioceiling): Likewise.
5703 * nptl/pthread_mutexattr_setprioceiling.c
5704 (pthread_mutexattr_setprioceiling): Likewise.
5705 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
5706 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5709 2014-11-26 Joseph Myers <joseph@codesourcery.com>
5711 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
5714 2014-11-25 Joseph Myers <joseph@codesourcery.com>
5716 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
5717 third argument const.
5719 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
5721 fnmatch: work around GCC compiler warning bug with uninit var
5722 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
5723 This works around a bug with x86-64 GCC 4.9.2 and earlier
5724 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
5725 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
5726 used uninitialized in this function [-Wmaybe-uninitialized]".
5728 2014-11-25 Joseph Myers <joseph@codesourcery.com>
5730 * posix/bug-regex31.c (main): Return RES not 0.
5732 2014-11-25 Anton Blanchard <anton@samba.org>
5734 * sysdeps/powerpc/bits/atomic.h
5735 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
5737 2014-11-24 Sterling Augustine <saugustine@google.com>
5739 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
5741 2014-11-24 Ryan Cumming <etaoins@gmail.com>
5744 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
5746 2014-11-24 Joseph Myers <joseph@codesourcery.com>
5749 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
5750 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
5752 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5753 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5755 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
5757 * string/strncpy.c (strncpy): Improve performance by using memset.
5759 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
5761 * string/strcpy.c (strcpy):
5762 Improve performance by using strlen and memcpy.
5764 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
5766 * string/strcoll_l.c (get_next_seq): __always_inline.
5767 * string/strcoll_l.c (do_compare): __always_inline.
5769 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5771 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
5773 * include/mqueue.h: Likewise.
5774 * include/stdlib.h: Likewise.
5776 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
5777 (get_null_defines): Adjust.
5778 * sunrpc/Makefile: Adjust comment.
5779 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
5780 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
5781 (CFLAGS-interp.c): Likewise.
5782 (CFLAGS-ldconfig.c): Likewise.
5783 (CPPFLAGS-.os): Likewise.
5784 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5785 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5786 * extra-modules.mk (extra-modules.mk): Likewise.
5787 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
5788 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
5789 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
5790 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
5791 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
5792 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
5793 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
5794 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
5795 * iconvdata/Makefile (CPPFLAGS): Likewise.
5796 (cpp-srcs-left): Add libof for all iconvdata routines.
5797 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
5798 * include/assert.h: Likewise.
5799 * include/ctype.h: Likewise.
5800 * include/errno.h: Likewise.
5801 * include/libc-symbols.h: Likewise.
5802 * include/math.h: Likewise.
5803 * include/netdb.h: Likewise.
5804 * include/resolv.h: Likewise.
5805 * include/stdio.h: Likewise.
5806 * include/stdlib.h: Likewise.
5807 * include/string.h: Likewise.
5808 * include/sys/stat.h: Likewise.
5809 * include/wctype.h: Likewise.
5810 * intl/l10nflist.c: Likewise.
5811 * libidn/idn-stub.c: Likewise.
5812 * libio/libioP.h: Likewise.
5813 * nptl/libc_multiple_threads.c: Likewise.
5814 * nptl/pthreadP.h: Likewise.
5815 * posix/regex_internal.h: Likewise.
5816 * resolv/res_hconf.c: Likewise.
5817 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
5818 * sysdeps/arm/memmove.S: Likewise.
5819 * sysdeps/arm/sysdep.h: Likewise.
5820 * sysdeps/generic/_itoa.h: Likewise.
5821 * sysdeps/generic/symbol-hacks.h: Likewise.
5822 * sysdeps/gnu/errlist.awk: Likewise.
5823 * sysdeps/gnu/errlist.c: Likewise.
5824 * sysdeps/i386/i586/memcpy.S: Likewise.
5825 * sysdeps/i386/i586/memset.S: Likewise.
5826 * sysdeps/i386/i686/memcpy.S: Likewise.
5827 * sysdeps/i386/i686/memmove.S: Likewise.
5828 * sysdeps/i386/i686/mempcpy.S: Likewise.
5829 * sysdeps/i386/i686/memset.S: Likewise.
5830 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5831 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5832 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
5833 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
5834 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5835 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5836 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
5837 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5838 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5839 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5840 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5841 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5842 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5843 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5844 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5845 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5846 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
5847 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
5848 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
5849 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5850 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5851 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5852 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5853 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5854 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5855 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5856 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
5857 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5858 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
5859 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5860 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5861 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5862 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5863 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5864 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5865 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5866 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5867 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5868 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5869 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5870 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5871 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5872 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5873 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5874 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5875 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5876 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
5877 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
5878 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5879 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5880 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5881 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
5882 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
5883 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5884 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5885 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
5886 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5887 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
5888 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
5889 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5890 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5891 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5892 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
5893 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5894 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5895 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
5896 * sysdeps/posix/closedir.c: Likewise.
5897 * sysdeps/posix/opendir.c: Likewise.
5898 * sysdeps/posix/readdir.c: Likewise.
5899 * sysdeps/posix/rewinddir.c: Likewise.
5900 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
5901 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
5902 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5903 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5904 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5905 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
5906 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
5907 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
5908 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5909 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
5910 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5911 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5912 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5913 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
5914 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
5915 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
5916 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5917 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5918 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
5919 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
5920 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5921 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
5922 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
5923 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5924 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
5925 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
5926 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
5927 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5928 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5929 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
5930 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5931 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
5932 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5933 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
5934 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5935 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
5936 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5937 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5938 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
5939 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
5940 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
5941 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
5942 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5943 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5944 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5945 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
5946 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
5947 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5948 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
5949 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5950 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
5951 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5952 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5953 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5954 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5955 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
5956 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
5957 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5958 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5959 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
5960 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5961 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5962 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5963 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5964 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
5965 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5966 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
5967 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
5968 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
5969 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
5970 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5971 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5972 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
5973 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5974 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5975 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
5976 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
5977 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5978 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5979 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5980 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5981 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5982 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5983 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5984 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5985 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5986 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5987 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5988 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5989 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5990 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5991 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5992 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5993 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5994 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5995 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5996 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5997 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5998 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5999 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
6000 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6001 * sysdeps/unix/alpha/sysdep.S: Likewise.
6002 * sysdeps/unix/alpha/sysdep.h: Likewise.
6003 * sysdeps/unix/make-syscalls.sh: Likewise.
6004 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6005 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6006 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6007 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
6008 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6009 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
6010 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
6011 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6012 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6013 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
6014 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6015 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6016 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6017 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
6018 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6019 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6020 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6021 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
6022 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
6023 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6024 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
6025 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6026 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6027 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6028 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6029 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6030 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
6032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
6033 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
6034 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6035 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6036 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6037 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6038 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6039 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6040 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6041 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6042 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6043 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6044 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6045 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6046 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6047 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6048 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6049 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6050 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6051 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6052 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6053 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6054 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6055 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6056 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6057 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6058 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6059 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6060 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6061 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6062 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
6063 * sysdeps/x86_64/memcpy.S: Likewise.
6064 * sysdeps/x86_64/memmove.c: Likewise.
6065 * sysdeps/x86_64/memset.S: Likewise.
6066 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
6067 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6068 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6069 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
6070 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
6071 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6072 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6073 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6074 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6075 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6076 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6077 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6078 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
6079 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6080 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6081 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
6082 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6083 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6084 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6085 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6086 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
6087 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6088 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6089 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6090 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6091 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6092 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6093 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
6094 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6095 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6096 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
6097 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6098 * sysdeps/x86_64/strcmp.S: Likewise.
6100 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
6102 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
6103 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
6104 * elf/rtld-Rules: Likewise.
6105 * elf/setup-vdso.h: Likewise.
6106 * include/assert.h: Likewise.
6107 * include/bits/stdlib-float.h: Likewise.
6108 * include/errno.h: Likewise.
6109 * include/sys/stat.h: Likewise.
6110 * include/unistd.h: Likewise.
6111 * sysdeps/aarch64/setjmp.S: Likewise.
6112 * sysdeps/alpha/setjmp.S: Likewise.
6113 * sysdeps/arm/__longjmp.S: Likewise.
6114 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
6115 * sysdeps/arm/setjmp.S: Likewise.
6116 * sysdeps/arm/sysdep.h: Likewise.
6117 * sysdeps/generic/_itoa.h: Likewise.
6118 * sysdeps/generic/dl-sysdep.h: Likewise.
6119 * sysdeps/generic/ldsodefs.h: Likewise.
6120 * sysdeps/i386/dl-tls.h: Likewise.
6121 * sysdeps/i386/setjmp.S: Likewise.
6122 * sysdeps/m68k/setjmp.c: Likewise.
6123 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
6124 * sysdeps/mach/hurd/opendir.c: Likewise.
6125 * sysdeps/posix/getcwd.c: Likewise.
6126 * sysdeps/posix/opendir.c: Likewise.
6127 * sysdeps/posix/profil.c: Likewise.
6128 * sysdeps/powerpc/dl-procinfo.h: Likewise.
6129 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6130 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6131 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6132 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6133 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
6134 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6135 * sysdeps/s390/dl-tls.h: Likewise.
6136 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6137 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6138 * sysdeps/sh/sh3/setjmp.S: Likewise.
6139 * sysdeps/sh/sh4/setjmp.S: Likewise.
6140 * sysdeps/unix/alpha/sysdep.h: Likewise.
6141 * sysdeps/unix/arm/sysdep.S: Likewise.
6142 * sysdeps/unix/i386/sysdep.S: Likewise.
6143 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6144 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6145 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6146 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6147 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6148 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
6149 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6150 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6151 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
6152 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
6153 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
6154 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6155 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6158 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6159 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6160 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6161 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6162 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6163 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6164 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6165 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6166 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6167 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6168 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6169 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6170 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6171 * sysdeps/x86_64/setjmp.S: Likewise.
6173 * include/math.h: Use IS_IN instead of IS_IN_libm.
6174 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
6175 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6176 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6177 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6178 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6179 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6180 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6181 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6182 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6183 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6184 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
6185 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6186 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
6187 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6188 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6189 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
6190 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
6191 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6192 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
6193 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
6194 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
6195 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
6196 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
6197 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
6198 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
6199 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
6200 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
6201 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
6202 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
6203 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6204 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
6205 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6206 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
6211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
6213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
6215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
6217 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6218 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
6219 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6220 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6221 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6222 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
6225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
6226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
6227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
6228 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
6229 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
6230 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6231 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6232 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
6233 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6234 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6235 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
6236 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6237 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
6238 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
6239 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
6240 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
6241 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
6242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6243 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
6245 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
6246 * nptl/pthreadP.h: Likewise.
6247 * nptl_db/structs.def: Likewise.
6248 * sysdeps/arm/sysdep.h: Likewise.
6249 * sysdeps/nptl/bits/libc-lock.h: Likewise.
6250 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
6251 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
6252 * sysdeps/unix/alpha/sysdep.h: Likewise.
6253 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6254 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6255 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6256 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6257 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6258 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6259 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6260 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6261 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6262 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6263 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6264 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6265 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6266 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
6268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
6269 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6270 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6271 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6272 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6273 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6274 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6275 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6276 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6277 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
6278 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6280 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
6281 * nptl/pthreadP.h: Likewise.
6282 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6283 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6284 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6285 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6286 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6287 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6288 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6289 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6290 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6291 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6292 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6293 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6298 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6299 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6300 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6301 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6302 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6303 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6304 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6305 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6307 * dlfcn/dladdr.c: Use IS_IN.
6308 * dlfcn/dladdr1.c: Likewise.
6309 * dlfcn/dlclose.c: Likewise.
6310 * dlfcn/dlerror.c: Likewise.
6311 * dlfcn/dlinfo.c: Likewise.
6312 * dlfcn/dlmopen.c: Likewise.
6313 * dlfcn/dlopen.c: Likewise.
6314 * dlfcn/dlsym.c: Likewise.
6315 * dlfcn/dlvsym.c: Likewise.
6317 * include/ifaddrs.h: Use IS_IN.
6318 * inet/check_pf.c: Likewise.
6319 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6320 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
6322 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
6324 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
6325 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
6327 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
6328 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
6331 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
6333 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
6334 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6335 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
6336 * include/libc-symbols.h (IS_IN_LIB): New macro.
6337 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
6338 * include/netdb.h: Likewise.
6339 * include/stap-probe.h: Remove all uses of IN_LIB.
6341 * Makeconfig (module-cppflags-real): Define MODULE_NAME
6342 instead of IN_MODULE.
6343 * include/libc-symbols.h (IN_MODULE): Define using
6345 (PASTE_NAME, PASTE_NAME1): New macros.
6346 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
6348 (STAP_PROBE_ASM): Likewise.
6350 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
6352 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
6353 __mach_init in dlopened libc.
6355 2014-11-22 Mike Frysinger <vapier@gentoo.org>
6357 * sysdeps/arm/preconfigure.ac: Delete EABI check.
6358 * sysdeps/arm/preconfigure: Regenerate.
6360 2014-11-21 Roland McGrath <roland@hack.frob.com>
6362 * nptl/pthread_create.c (__pthread_create_2_1): Set
6363 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
6364 when copying values from IATTR into PD.
6366 2014-11-21 Will Newton <will.newton@linaro.org>
6367 Andrew Pinski <andrew.pinski@caviumnetworks.com>
6369 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
6370 Refactor inline-asm. Also add comment.
6372 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
6373 ElfW macro instead of hardcoded Elf64 types.
6374 (la_aarch64_gnu_pltenter): Likewise.
6375 * sysdeps/aarch64/dl-machine.h
6376 (elf_machine_runtime_setup): Use ElfW(Addr).
6378 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
6379 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
6380 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
6381 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
6382 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
6383 (R_AARCH64_TLS_DTPMOD64): Rename to ..
6384 (R_AARCH64_TLS_DTPMOD): This.
6385 (R_AARCH64_TLS_DTPREL64): Rename to ...
6386 (R_AARCH64_TLS_DTPREL): This.
6387 (R_AARCH64_TLS_TPREL64): Rename to ...
6388 (R_AARCH64_TLS_TPREL): This.
6389 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
6390 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
6391 R_AARCH64_TLS_TPREL64.
6392 (elf_machine_rela): Likewise.
6394 2014-11-21 Torvald Riegel <triegel@redhat.com>
6396 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
6397 by setting it to 0. 64b atomics are not supported currently.
6399 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
6402 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
6403 search domain names.
6405 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
6409 * resolv/res_query.c (__libc_res_nquerydomain): Retain
6411 * posix/tst-getaddrinfo5.c: New.
6412 * posix/Makefile (tests): Add it.
6414 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
6418 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
6419 after parsing line but before break_if_match.
6420 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
6421 if there is a protocol mismatch.
6423 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
6425 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
6426 because the potential race is on the user-supplied stream.
6428 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
6430 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
6431 string literal if not passed a buffer.
6432 * manual/job.texi (ctermid): Update reasoning, note deviation
6433 from posix, suggest mtasurace when not passed a buffer, for
6434 future non-preliminary safety notes.
6436 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
6438 * manual/users.texi (cuserid): Fix MT-Safety note for the case
6439 of not passing it a buffer.
6440 Reported by Peng Haitao.
6442 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
6444 * manual/Makefile ($(objpfx)stamp-summary): Require
6445 check-safety.sh to pass.
6446 * manual/check-safety.sh: Wish for verification that every
6447 @deftypefn and @deftypefun is followed by a @safety remark.
6449 2014-11-20 Roland McGrath <roland@hack.frob.com>
6451 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
6453 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
6454 PTHREAD_CANCEL_ASYNCHRONOUS.
6455 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
6458 * nptl/default-sched.h: New file.
6459 * sysdeps/unix/sysv/linux/default-sched.h: New file.
6460 * nptl/pthread_create.c: Include it.
6461 (__pthread_create_2_1): Use collect_default_sched instead of making
6462 Linux syscalls here directly.
6464 2014-11-20 Torvald Riegel <triegel@redhat.com>
6466 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
6467 __pthread_once): Use C11 atomics.
6469 2014-11-20 Torvald Riegel <triegel@redhat.com>
6471 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
6473 2014-11-20 Torvald Riegel <triegel@redhat.com>
6475 * include/atomic.h (__atomic_link_error, __atomic_check_size,
6476 atomic_thread_fence_acquire, atomic_thread_fence_release,
6477 atomic_thread_fence_seq_cst, atomic_load_relaxed,
6478 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
6479 atomic_compare_exchange_weak_relaxed,
6480 atomic_compare_exchange_weak_acquire,
6481 atomic_compare_exchange_weak_release,
6482 atomic_exchange_acquire, atomic_exchange_release,
6483 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
6484 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
6485 atomic_fetch_and_acquire,
6486 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
6488 2014-11-20 Torvald Riegel <triegel@redhat.com>
6490 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
6491 USE_ATOMIC_COMPILER_BUILTINS): Define.
6492 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
6493 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6494 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
6495 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6496 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
6497 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6498 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
6499 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6500 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
6501 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6502 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
6503 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6504 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
6505 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6506 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
6507 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6508 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
6509 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6510 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
6511 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6512 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
6513 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6514 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
6515 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6516 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
6517 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6518 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
6519 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6520 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
6521 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6522 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
6523 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6524 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
6525 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6526 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6527 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6528 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
6529 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6530 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
6531 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6533 2014-11-19 Roland McGrath <roland@hack.frob.com>
6535 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
6536 the sched_priority value here. It was already checked when the user
6537 called pthread_attr_setschedparam.
6539 * nptl/tst-bad-schedattr.c: New file.
6540 * nptl/Makefile (tests): Add it.
6542 2014-11-19 Carlos O'Donell <carlos@redhat.com>
6543 Florian Weimer <fweimer@redhat.com>
6544 Joseph Myers <joseph@codesourcery.com>
6545 Adam Conrad <adconrad@0c3.net>
6546 Andreas Schwab <schwab@suse.de>
6547 Brooks <bmoses@google.com>
6550 * wordexp-test.c (__dso_handle): Add prototype.
6551 (__register_atfork): Likewise.
6552 (__app_register_atfork): New function.
6553 (registered_forks): New global.
6554 (register_fork): New function.
6555 (test_case): Add 3 new tests for WRDE_CMDSUB.
6556 (main): Call __app_register_atfork.
6557 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
6558 fork count is non-zero fail the test.
6559 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
6561 (parse_dollars): Remove check for WRDE_NOCMD.
6562 (parse_dquote): Likewise.
6564 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6566 * Makeconfig (built-modules): List non-library modules to be
6568 (module-cppflags): Include libc-modules.h for
6569 everything except shlib-versions.v.i.
6571 (before-compile): Add libc-modules.h.
6572 ($(common-objpfx)libc-modules.h,
6573 $(common-objpfx)libc-modules.stmp): New targets.
6574 (common-generated): Add libc-modules.h and libc-modules.stmp.
6575 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
6576 * include/libc-symbols.h: Don't include libc-modules.h.
6577 * include/libc-modules.h: Remove file.
6578 * scripts/gen-libc-modules.awk: New script to generate
6580 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
6581 Depend on libc-modules.stmp.
6583 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
6585 * Makeconfig (in-module): Get value of libof set for the
6587 (CPPFLAGS): Use $(in-module).
6588 * Makerules: Don't suffix routine names for nonlib.
6589 * include/libc-modules.h: New file.
6590 * include/libc-symbols.h: Include libc-modules.h
6591 (IS_IN): New macro to replace IS_IN_* macros.
6592 * elf/Makefile: Set libof-* for each routine.
6593 * elf/rtld-Rules: Likewise.
6594 * extra-modules.mk: Likewise.
6595 * iconv/Makefile: Likewise.
6596 * iconvdata/Makefile: Likewise.
6597 * locale/Makefile: Likewise.
6598 * malloc/Makefile: Likewise.
6599 * nss/Makefile: Likewise.
6600 * sysdeps/gnu/Makefile: Likewise.
6601 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
6602 * sysdeps/unix/sysv/linux/Makefile: Likewise.
6603 * sysdeps/s390/s390-64/Makefile: Likewise.
6604 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
6605 CPPFLAGS for nscd instead of nonlib.
6607 2014-11-18 Roland McGrath <roland@hack.frob.com>
6609 * nptl/createthread.c: New file.
6611 * nptl/createthread.c: Moved ...
6612 * sysdeps/unix/sysv/linux/createthread.c: ... here.
6614 * nptl/createthread.c: Add proper top-line comment.
6615 (do_clone): Folded into ...
6616 (create_thread): ... here. Take new arguments STOPPED_START and
6617 THREAD_RAN. Always set PD->stopped_start to something here. Don't
6618 increment __nptl_threads, do event-reporting logic, do
6619 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
6620 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
6621 resource cleanup if sched_setaffinity or sched_setscheduler fails,
6622 just send SIGCANCEL.
6623 * nptl/pthread_create.c: Forward-declare create_thread before
6624 including createthread.c.
6625 (start_thread): Use new macro START_THREAD_DEFN to replace defining
6626 declaration, and new macro START_THREAD_SELF to replace argument.
6627 Remove return statement.
6628 (report_thread_creation): New function.
6629 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
6630 synchronization logic, and __nptl_nthreads increment here, around
6631 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
6632 PD->parent_cancelhandling here, before create_thread. When
6633 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
6634 __deallocate_stack, and ENOMEM translation here.
6636 2014-11-18 Joseph Myers <joseph@codesourcery.com>
6639 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
6640 (mptwo): Rename to __mptwo.
6641 (__inv): Use __mptwo instead of mptwo.
6642 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
6643 (mptwo): Rename to __mptwo.
6644 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
6645 of mpone and __mptwo instead of mptwo.
6646 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
6648 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6649 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
6650 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
6651 of mpone and __mptwo instead of mptwo.
6652 (__mpranred): Use __mpone instead of mpone.
6653 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
6655 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6656 (test-xfail-ISO99/math.h/linknamespace): Likewise.
6657 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6658 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6659 (test-xfail-ISO11/math.h/linknamespace): Likewise.
6660 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6661 (test-xfail-XPG3/math.h/linknamespace): Likewise.
6662 (test-xfail-XPG4/math.h/linknamespace): Likewise.
6663 (test-xfail-POSIX/math.h/linknamespace): Likewise.
6664 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6665 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6666 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6667 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6668 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6669 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6670 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6671 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6672 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6673 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6675 2014-11-18 Tom de Vries <tom@codesoucery.com>
6677 * manual/signal.texi (Primitives Interrupted by Signals): In section,
6678 replace BSD Handler xref with BSD Signal Handling.
6680 2014-11-17 Richard Henderson <rth@redhat.com>
6682 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
6683 (_FP_PACK_RAW_2): Remove.
6684 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
6685 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
6686 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
6687 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
6688 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
6689 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
6690 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
6691 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
6692 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
6693 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
6694 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
6695 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
6696 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
6697 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
6698 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
6699 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
6701 2014-11-14 Roland McGrath <roland@hack.frob.com>
6703 * signal/signal.h [__USE_MISC]
6704 (struct sigvec): Remove type.
6705 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
6706 (sigvec): Remove declaration.
6707 * sysdeps/posix/sigvec.c: Moved ...
6708 * signal/sigvec.c: ... here, replacing old file.
6709 (struct sigvec): New type, copied from old signal.h definition.
6710 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
6711 (__sigvec): Convert definition to prototype.
6712 (sigvec): Replace weak_alias with compat_symbol.
6713 * signal/Versions (libc: GLIBC_2.21): New version set.
6714 * include/signal.h: Remove __sigvec declaration.
6715 * sysdeps/unix/bsd/sigvec.c: Remove file.
6716 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
6717 * manual/signal.texi (BSD Handler): Remove subsection.
6718 Move siginterrupt up to ...
6719 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
6720 (Blocking in BSD): Fold subsection into its parent.
6721 * NEWS: Mention sigvec removal.
6723 2014-11-14 Joseph Myers <joseph@codesourcery.com>
6725 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
6726 (DLA_FMS): Make definition conditional only on [__FMA4__].
6727 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
6730 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
6731 Make definition conditional only on [PROF].
6732 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
6734 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
6735 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
6737 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
6739 * include/signal.h (__sigpause): Move declaration above call to
6741 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
6743 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6744 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6746 2014-11-14 David S. Miller <davem@davemloft.net>
6748 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
6749 Define before including <string/memcpy.c> and <string/mempcpy.c>.
6751 2014-11-14 Joseph Myers <joseph@codesourcery.com>
6753 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
6754 * configure: Regenerated.
6755 * manual/install.texi (Tools for Compilation): Document a
6756 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
6757 compiler verified to work.
6758 * INSTALL: Regenerated.
6760 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
6761 redeclare with asm name.
6762 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
6763 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
6764 including <string.h>.
6765 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6766 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
6767 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6768 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
6769 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6770 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
6771 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6773 2014-11-13 Joseph Myers <joseph@codesourcery.com>
6775 * stdlib/strtol.c (__strtol): Use prototype definition.
6778 * stdlib/strtol.c (SYM__): New macro.
6780 (__strtol): Likewise.
6781 (strtol): Rename to __strtol and define as weak alias of
6782 __strtol. Use libc_hidden_weak.
6784 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6786 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
6787 Use numbered labels in inline assembly.
6789 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6791 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
6792 Add setjmp LIBC_PROBE.
6793 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
6795 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
6796 Add longjmp, longjmp_target LIBC_PROBE.
6797 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
6800 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6802 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6803 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
6804 to get rid of unused variable warning.
6806 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6808 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
6809 Check for unwind_backtrace == NULL only in SHARED case.
6810 (__backchain_backtrace): Compile only in SHARED case.
6811 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
6813 (__backchain_backtrace): Declare as static.
6815 2014-11-12 Roland McGrath <roland@hack.frob.com>
6817 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
6818 (__libc_multiple_threads_ptr): Variable moved ...
6819 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
6821 2014-11-12 Joseph Myers <joseph@codesourcery.com>
6823 * conform/GlibcConform.pm: New file.
6824 * conform/conformtest.pl: Use GlibcConform module.
6825 * conform/linknamespace.pl: New file.
6826 * conform/list-header-symbols.pl: Likewise.
6827 * conform/Makefile (linknamespace-symlists-base): New variable.
6828 (linknamespace-symlists-tests): Likewise.
6829 (linknamespace-header-base): Likewise.
6830 (linknamespace-header-tests): Likewise.
6831 (tests-special): Add new tests.
6832 ($(linknamespace-symlists-tests)): New rule.
6833 (linknamespace-libs): New variable.
6834 ($(objpfx)symlist-stdlibs): New rule.
6835 ($(linknamespace-header-tests)): Likewise.
6836 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
6837 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
6838 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
6839 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
6840 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
6841 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
6842 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
6843 (test-xfail-ISO/math.h/linknamespace): Likewise.
6844 (test-xfail-ISO/signal.h/linknamespace): Likewise.
6845 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
6846 (test-xfail-ISO/time.h/linknamespace): Likewise.
6847 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6848 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
6849 (test-xfail-ISO99/math.h/linknamespace): Likewise.
6850 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6851 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6852 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6853 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6854 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6855 (test-xfail-ISO11/math.h/linknamespace): Likewise.
6856 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6857 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6858 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6859 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6860 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
6861 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
6862 (test-xfail-XPG3/math.h/linknamespace): Likewise.
6863 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
6864 (test-xfail-XPG3/search.h/linknamespace): Likewise.
6865 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
6866 (test-xfail-XPG3/time.h/linknamespace): Likewise.
6867 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
6868 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6869 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6870 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
6871 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6872 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6873 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
6874 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
6875 (test-xfail-XPG4/math.h/linknamespace): Likewise.
6876 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
6877 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6878 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6879 (test-xfail-XPG4/search.h/linknamespace): Likewise.
6880 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6881 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
6882 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
6883 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
6884 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
6885 (test-xfail-XPG4/time.h/linknamespace): Likewise.
6886 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
6887 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6888 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
6889 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6890 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6891 (test-xfail-POSIX/math.h/linknamespace): Likewise.
6892 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
6893 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
6894 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6895 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6896 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
6897 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6898 (test-xfail-POSIX/time.h/linknamespace): Likewise.
6899 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
6900 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6901 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6902 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6903 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
6904 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6905 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6906 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6907 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6908 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6909 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
6910 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6911 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6912 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6913 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
6914 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6915 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6916 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
6917 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6918 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6919 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6920 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6921 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
6922 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6923 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
6924 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
6925 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6926 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
6927 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6928 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
6929 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6930 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6931 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6932 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
6933 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6934 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6935 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6936 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
6937 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
6938 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
6939 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6940 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6941 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6942 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6943 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
6944 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
6945 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6946 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6947 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6948 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6949 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6950 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6951 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6952 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6953 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6954 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6955 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
6956 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6957 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6958 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
6959 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6960 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6961 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6962 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6963 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6964 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6965 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6966 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6967 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6968 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6969 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6970 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6971 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6972 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6973 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
6974 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6975 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6976 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6977 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6978 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6979 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6980 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6981 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6982 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6983 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6984 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6985 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6986 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6987 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6988 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6989 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6990 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6991 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6992 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6993 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6994 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6995 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6996 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6999 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
7003 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
7004 (memmem): Rename to __memmem and define as weak alias of
7005 __memmem. Use libc_hidden_weak.
7006 (__memmem): Use libc_hidden_def.
7007 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
7008 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
7012 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
7013 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
7014 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
7015 and define as weak alias of __fgets_unlocked. Use
7017 (__fgets_unlocked): Use libc_hidden_def.
7018 * include/stdio.h (__fgets_unlocked): Declare. Use
7020 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
7021 __fgets_unlocked instead of fgets_unlocked.
7022 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
7023 (GET_NPROCS_CONF_PARSER): Likewise.
7024 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
7025 (GET_NPROCS_CONF_PARSER): Likewise.
7028 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
7029 weak alias of __wmemset. Use libc_hidden_weak.
7030 (__wmemset): Use libc_hidden_def.
7031 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
7032 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
7036 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
7037 with asm name __mempcpy.
7038 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
7041 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
7042 and define as weak alias of __rawmemchr.
7043 (__rawmemchr): Do not define as strong alias of rawmemchr.
7046 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
7048 (qsort): Call __qsort_r instead of qsort_r.
7049 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
7050 (__qsort_r): Declare. Call libc_hidden_proto.
7051 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
7053 * nscd/gai.c (__qsort_r): Define to qsort_r.
7054 * posix/tst-rfc3484.c (__qsort_r): Likewise.
7055 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
7056 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
7059 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
7060 define as weak alias of __malloc_info.
7063 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
7064 as weak alias of __rewinddir. Don't use libc_hidden_def.
7065 (__rewinddir): Use libc_hidden_def.
7066 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
7067 as weak alias of __rewinddir. Don't use libc_hidden_def.
7068 (__rewinddir): Use libc_hidden_def.
7069 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
7070 weak alias of __rewinddir. Don't use libc_hidden_def.
7071 (__rewinddir): Use libc_hidden_def.
7072 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
7073 (__rewinddir): Use libc_hidden_proto.
7074 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
7076 (__getcwd): Use __rewinddir instead of rewinddir.
7079 * libio/fileno.c (fileno): Rename to __fileno and define as weak
7080 alias of __fileno. Use libc_hidden_weak.
7081 (__fileno): Use libc_hidden_def.
7082 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
7083 * libio/ftello.c (ftello): Rename to __ftello and define as weak
7085 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
7087 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
7088 (__fread_unlocked): Define as strong alias of _IO_fread. Use
7090 (fread_unlocked): Don't use libc_hidden_ver.
7091 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
7092 and define as weak alias of __fread_unlocked. Don't use
7094 (__fread_unlocked): Use libc_hidden_def.
7095 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
7096 (ftello): Don't use libc_hidden_proto.
7097 (__ftello): Declare. Use libc_hidden_proto.
7098 (fread_unlocked): Don't use libc_hidden_proto.
7099 (__fread_unlocked): Declare. Use libc_hidden_proto.
7100 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
7101 and __ftello instead of fileno, fread_unlocked and ftello.
7103 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7105 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
7107 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7109 (_dl_start_user): Likewise.
7110 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
7112 2014-11-12 Carlos O'Donell <carlos@redhat.com>
7113 Siddhesh Poyarekar <siddhesh@redhat.com>
7115 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
7116 Move argv and envp down instead of moving argc up.
7117 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
7119 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
7122 * test-skeleton.c (main): Return successful if one of
7123 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
7124 * string/tst-strcoll-overflow.c: Define expected status.
7126 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
7129 * locale/iso-639.def: Define Bhili and Tulu language codes.
7131 2014-11-11 Alan Hayward <alan.hayward@arm.com>
7133 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
7135 2014-11-10 Renlin Li <Renlin.Li@arm.com>
7138 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
7140 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
7142 * configure.ac: Updated check of minimal required version to
7144 * manual/install.texi (Tools for Compilation): Updated version
7146 * configure: Regenerated.
7147 * INSTALL: Likewise.
7149 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
7151 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
7154 2014-11-07 Joseph Myers <joseph@codesourcery.com>
7156 * include/sys/wait.h (__libc_waitpid): Remove declaration.
7157 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
7158 (__waitpid): Don't define as alias. Use libc_hidden_def not
7160 (waitpid): Define as alias of __waitpid.
7161 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
7163 (__waitpid): Don't define as alias. Use libc_hidden_def not
7165 (waitpid): Define as alias of __waitpid.
7166 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
7167 __libc_waitpid alias.
7168 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
7169 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
7171 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
7172 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
7173 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
7175 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
7177 (__waitpid): Don't define as alias. Use libc_hidden_def not
7179 (waitpid): Define as alias of __waitpid.
7181 2014-11-06 Carlos O'Donell <carlos@redhat.com>
7183 * manual/llio.texi: Add comment that write safety has been
7186 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
7187 (localplt-build-dso): Add elf/ld.so.
7188 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
7189 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
7191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
7192 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
7193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
7195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7197 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
7198 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
7199 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
7200 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
7201 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7202 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
7203 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
7204 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
7205 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7206 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
7207 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
7209 2014-11-05 Joseph Myers <joseph@codesourcery.com>
7212 * include/libc-symbols.h (INTUSE): Remove macro.
7214 (INTVARDEF): Likewise.
7215 (_INTVARDEF): Likewise.
7216 (INTDEF2): Likewise.
7217 (INTVARDEF2): Likewise.
7218 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
7219 rtld_hidden_def instead of INTVARDEF.
7220 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
7221 (_dl_starting_up_internal): Remove declaration.
7222 (_dl_starting_up): Use rtld_hidden_proto.
7223 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
7225 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
7226 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
7228 * elf/dl-writev.h (_dl_writev): Likewise.
7229 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
7230 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
7231 _dl_starting_up_internal.
7233 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7235 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
7238 2014-11-05 Will Newton <will.newton@linaro.org>
7240 * benchtests/Makefile: (bench-malloc): Add malloc thread
7241 scalability benchmark.
7242 * benchtests/bench-malloc-threads.c: New file.
7244 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
7246 * sysdeps/aarch64/strchrnul.S: New file.
7248 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7250 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
7252 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7254 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7256 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7258 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7260 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7263 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
7265 * catgets/test-gencat.c: Use test-skeleton.c.
7266 * catgets/tst-catgets.c: Likewise.
7267 * csu/tst-empty.c: Likewise.
7268 * elf/tst-audit2.c: Likewise.
7269 * elf/tst-global1.c: Likewise.
7270 * elf/tst-pathopt.c: Likewise.
7271 * elf/tst-piemod1.c: Likewise.
7272 * elf/tst-tls10.c: Likewise.
7273 * elf/tst-tls11.c: Likewise.
7274 * elf/tst-tls12.c: Likewise.
7275 * gnulib/tst-gcc.c: Likewise.
7276 * iconvdata/tst-e2big.c: Likewise.
7277 * iconvdata/tst-loading.c: Likewise.
7278 * iconv/tst-iconv1.c: Likewise.
7279 * iconv/tst-iconv2.c: Likewise.
7280 * inet/test-inet6_opt.c: Likewise.
7281 * inet/tst-gethnm.c: Likewise.
7282 * inet/tst-network.c: Likewise.
7283 * inet/tst-ntoa.c: Likewise.
7284 * intl/tst-codeset.c: Likewise.
7285 * intl/tst-gettext2.c: Likewise.
7286 * intl/tst-gettext3.c: Likewise.
7287 * intl/tst-ngettext.c: Likewise.
7288 * intl/tst-translit.c: Likewise.
7289 * io/test-stat.c: Likewise.
7290 * libio/test-fmemopen.c: Likewise.
7291 * libio/tst-freopen.c: Likewise.
7292 * libio/tst-sscanf.c: Likewise.
7293 * libio/tst-ungetwc1.c: Likewise.
7294 * libio/tst-ungetwc2.c: Likewise.
7295 * libio/tst-widetext.c: Likewise.
7296 * localedata/tst-ctype.c: Likewise.
7297 * localedata/tst-digits.c: Likewise.
7298 * localedata/tst-leaks.c: Likewise.
7299 * localedata/tst-mbswcs1.c: Likewise.
7300 * localedata/tst-mbswcs2.c: Likewise.
7301 * localedata/tst-mbswcs3.c: Likewise.
7302 * localedata/tst-mbswcs4.c: Likewise.
7303 * localedata/tst-mbswcs5.c: Likewise.
7304 * localedata/tst-setlocale.c: Likewise.
7305 * localedata/tst-trans.c: Likewise.
7306 * localedata/tst-wctype.c: Likewise.
7307 * localedata/tst-xlocale1.c: Likewise.
7308 * login/tst-grantpt.c: Likewise.
7309 * malloc/tst-calloc.c: Likewise.
7310 * malloc/tst-malloc.c: Likewise.
7311 * malloc/tst-mallocstate.c: Likewise.
7312 * malloc/tst-mcheck.c: Likewise.
7313 * malloc/tst-mtrace.c: Likewise.
7314 * malloc/tst-obstack.c: Likewise.
7315 * math/atest-exp2.c: Likewise.
7316 * math/atest-exp.c: Likewise.
7317 * math/atest-sincos.c: Likewise.
7318 * math/test-matherr.c: Likewise.
7319 * math/test-misc.c: Likewise.
7320 * math/test-powl.c: Likewise.
7321 * math/tst-definitions.c: Likewise.
7322 * misc/tst-dirname.c: Likewise.
7323 * misc/tst-efgcvt.c: Likewise.
7324 * misc/tst-fdset.c: Likewise.
7325 * misc/tst-hsearch.c: Likewise.
7326 * misc/tst-mntent2.c: Likewise.
7327 * nptl/tst-sem7.c: Likewise.
7328 * nptl/tst-sem8.c: Likewise.
7329 * nptl/tst-sem9.c: Likewise.
7330 * nss/test-netdb.c: Likewise.
7331 * posix/tst-fnmatch.c: Likewise.
7332 * posix/tst-getlogin.c: Likewise.
7333 * posix/tst-gnuglob.c: Likewise.
7334 * posix/tst-mmap.c: Likewise.
7335 * pwd/tst-getpw.c: Likewise.
7336 * resolv/tst-inet_ntop.c: Likewise.
7337 * rt/tst-timer.c: Likewise.
7338 * stdio-common/test-fseek.c: Likewise.
7339 * stdio-common/test-popen.c: Likewise.
7340 * stdio-common/test-vfprintf.c: Likewise.
7341 * stdio-common/tst-cookie.c: Likewise.
7342 * stdio-common/tst-fileno.c: Likewise.
7343 * stdio-common/tst-gets.c: Likewise.
7344 * stdio-common/tst-obprintf.c: Likewise.
7345 * stdio-common/tst-perror.c: Likewise.
7346 * stdio-common/tst-sprintf2.c: Likewise.
7347 * stdio-common/tst-sprintf3.c: Likewise.
7348 * stdio-common/tst-sprintf.c: Likewise.
7349 * stdio-common/tst-swprintf.c: Likewise.
7350 * stdio-common/tst-tmpnam.c: Likewise.
7351 * stdio-common/tst-unbputc.c: Likewise.
7352 * stdio-common/tst-wc-printf.c: Likewise.
7353 * stdlib/tst-environ.c: Likewise.
7354 * stdlib/tst-fmtmsg.c: Likewise.
7355 * stdlib/tst-limits.c: Likewise.
7356 * stdlib/tst-rand48-2.c: Likewise.
7357 * stdlib/tst-rand48.c: Likewise.
7358 * stdlib/tst-random2.c: Likewise.
7359 * stdlib/tst-random.c: Likewise.
7360 * stdlib/tst-strtol.c: Likewise.
7361 * stdlib/tst-strtoll.c: Likewise.
7362 * stdlib/tst-tls-atexit.c: Likewise.
7363 * stdlib/tst-xpg-basename.c: Likewise.
7364 * string/test-ffs.c: Likewise.
7365 * string/tst-bswap.c: Likewise.
7366 * string/tst-inlcall.c: Likewise.
7367 * string/tst-strtok.c: Likewise.
7368 * string/tst-strxfrm.c: Likewise.
7369 * sysdeps/x86_64/tst-audit10.c: Likewise.
7370 * sysdeps/x86_64/tst-audit3.c: Likewise.
7371 * sysdeps/x86_64/tst-audit4.c: Likewise.
7372 * sysdeps/x86_64/tst-audit5.c: Likewise.
7373 * time/tst-ftime_l.c: Likewise.
7374 * time/tst-getdate.c: Likewise.
7375 * time/tst-mktime3.c: Likewise.
7376 * time/tst-mktime.c: Likewise.
7377 * time/tst-posixtz.c: Likewise.
7378 * time/tst-strptime2.c: Likewise.
7379 * time/tst-strptime3.c: Likewise.
7380 * wcsmbs/tst-btowc.c: Likewise.
7381 * wcsmbs/tst-mbrtowc.c: Likewise.
7382 * wcsmbs/tst-mbsrtowcs.c: Likewise.
7383 * wcsmbs/tst-wchar-h.c: Likewise.
7384 * wcsmbs/tst-wcpncpy.c: Likewise.
7385 * wcsmbs/tst-wcrtomb.c: Likewise.
7386 * wcsmbs/tst-wcsnlen.c: Likewise.
7387 * wcsmbs/tst-wcstof.c: Likewise.
7389 2014-11-04 Joseph Myers <joseph@codesourcery.com>
7392 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
7394 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
7396 (_dl_mcount): Use rtld_hidden_proto.
7397 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
7399 * elf/rtld.c (_rtld_global_ro): Likewise.
7402 * elf/dl-init.c (_dl_init): Don't use INTDEF.
7403 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
7404 of _dl_init_internal.
7405 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
7406 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
7407 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
7408 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
7409 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
7410 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
7411 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
7412 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
7413 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
7414 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
7415 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
7416 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
7417 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7418 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7419 * sysdeps/tile/dl-start.S (_start): Likewise.
7420 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
7421 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
7424 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
7425 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
7426 (rtld_progname): Make macro definition unconditional.
7427 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
7429 (dlmopen_doit): Do not use INTUSE with _dl_argv.
7430 (dl_main): Likewise.
7431 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7432 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
7433 instead of _dl_argv_internal.
7434 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7435 __GI__dl_argv instead of INTUSE(_dl_argv).
7436 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
7437 __GI__dl_argv instead of _dl_argv_internal.
7439 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
7440 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
7442 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
7443 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
7445 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
7446 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
7448 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
7449 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
7451 2014-11-04 Andreas Schwab <schwab@suse.de>
7453 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
7455 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7457 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
7458 mtvsrd instruction in binary form.
7460 2014-11-03 Andreas Schwab <schwab@suse.de>
7463 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
7464 for less than MB_LEN_MAX use a local buffer of that size.
7465 * libio/tst-fputws.c: New file.
7466 * libio/Makefile (tests): Add tst-fputws.
7468 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
7470 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
7471 the size of the fpu_fr.fpu_dregs[] array.
7473 2014-11-01 Joseph Myers <joseph@codesourcery.com>
7475 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
7476 (__nanosleep): Do not define as alias.
7477 (nanosleep): Define as alias of __nanosleep.
7478 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
7479 __libc_nanosleep name.
7481 2014-10-31 Joseph Myers <joseph@codesourcery.com>
7483 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
7484 install.texi in comment.
7486 2014-10-31 Torvald Riegel <triegel@redhat.com>
7488 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
7489 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
7490 ... add here and use lwsync or sync ...
7491 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
7492 ... and add here using lwsync.
7494 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
7496 * elf/dl-machine-reject-phdr.h: New file.
7497 * elf/dl-load.c: #include that.
7498 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
7499 if that returned true.
7501 2014-10-31 Roland McGrath <roland@hack.frob.com>
7504 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
7505 gen-as-const-headers chunk. Add a big scare comment after the last
7506 safe place to touch before-compile.
7508 2014-10-31 Joseph Myers <joseph@codesourcery.com>
7510 * manual/install.texi (Tools for Compilation): Update autoconf
7511 version requirements.
7512 * INSTALL: Regenerated.
7514 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
7515 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
7516 (__libc_pselect): Likewise.
7519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
7520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7524 2014-10-31 Torvald Riegel <triegel@redhat.com>
7526 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
7527 correct barrier instruction.
7528 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
7530 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
7533 2014-10-30 Roland McGrath <roland@hack.frob.com>
7535 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
7536 after defining inlines. Instead, just use parens to defeat macro
7537 expansion of __isctype in its declaration.
7539 2014-10-30 Joseph Myers <joseph@codesourcery.com>
7541 * include/sys/uio.h (__libc_readv): Remove declaration.
7542 (__libc_writev): Likewise.
7543 * misc/readv.c (__libc_readv): Rename to __readv.
7544 (__readv): Do not define as alias.
7545 (readv): Define as alias of __readv.
7546 * misc/writev.c (__libc_writev): Rename to __writev.
7547 (__writev): Do not define as alias.
7548 (writev): Define as alias of __writev.
7549 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
7550 (__readv): Do not define as alias.
7551 (readv): Define unconditionally as alias of __readv.
7552 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
7553 (__writev): Do not define as alias.
7554 (writev): Define unconditionally as alias of __writev.
7555 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
7557 (writev): Do not define __libc_writev name.
7559 2014-10-30 Roland McGrath <roland@hack.frob.com>
7561 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
7562 (convert_charseq): New function, broken out of ...
7563 (use_from_charmap): ... here. Call it.
7564 (use_to_charmap): Use convert_charseq and free instead of duplicating
7565 its code with a variable-length stack struct.
7567 2014-10-30 Joseph Myers <joseph@codesourcery.com>
7569 * include/fcntl.h (__libc_creat): Remove declaration.
7570 * io/creat.c (__libc_creat): Rename to creat.
7571 (creat): Do not define as alias.
7572 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
7573 of creat instead of __libc_creat.
7574 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
7576 (creat): Do not define as alias.
7577 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
7579 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
7581 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
7584 2014-10-29 Carlos O'Donell <carlos@redhat.com>
7586 * manual/llio.texi: Add comments discussing why write() may be
7587 considered MT-unsafe on Linux.
7589 2014-10-28 Carlos O'Donell <carlos@redhat.com>
7591 * dl-load.c (local_strdup): Remove.
7592 (expand_dynamic_string_token): Use __strdup.
7593 (decompose_rpath): Likewise.
7594 (_dl_map_object): Likewise.
7596 2014-10-28 Joseph Myers <joseph@codesourcery.com>
7599 * sysdeps/generic/unwind-dw2-fde.c
7600 (__register_frame_info_bases_internal): Do not declare.
7601 (__register_frame_info_table_bases_internal): Likewise.
7602 (__deregister_frame_info_bases_internal): Likewise.
7603 (__register_frame_info_bases): Declare and use hidden_proto before
7604 definition. Use hidden_def instead of INTDEF.
7605 (__register_frame_info_table_bases): Likewise.
7606 (__deregister_frame_info_bases): Likewise.
7607 (__register_frame_info): Do not use INTUSE.
7608 (__register_frame): Likewise.
7609 (__register_frame_info_table): Likewise.
7610 (__register_frame_table): Likewise.
7611 (__deregister_frame_info): Likewise.
7612 (__deregister_frame): Likewise.
7614 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
7616 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7617 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
7619 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
7621 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
7624 2014-10-27 Joseph Myers <joseph@codesourcery.com>
7627 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
7628 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
7629 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
7630 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
7631 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
7632 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
7633 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
7634 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
7635 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
7636 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
7637 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
7638 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
7639 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
7641 (setfsuid): Likewise.
7642 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
7643 (setfsuid): Likewise.
7644 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
7645 (setfsuid): Likewise.
7646 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
7648 (setfsuid): Likewise.
7649 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
7650 (setfsuid): Likewise.
7651 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
7653 (setfsuid): Likewise.
7655 2014-10-27 Andreas Schwab <schwab@suse.de>
7658 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
7659 check for Slow_SSE4_2 feature bit.
7660 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
7661 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7662 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
7663 Likewise. Fix check for Fast_Unaligned_Load feature bit.
7665 2014-10-24 Roland McGrath <roland@hack.frob.com>
7667 * configure.ac: Validate compiler version with a empirical test of
7668 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
7670 * configure: Regenerated.
7672 * inet/htons.c (htons): Prototypify.
7673 * inet/htonl.c (htonl): Likewise.
7675 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7677 * string/strncat.c (strncat): Improve performance by using strlen.
7679 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7681 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
7683 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7685 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
7686 Call libc_fetestexcept_aarch64.
7688 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7690 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
7691 Call libc_feholdexcept_aarch64.
7693 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7695 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
7696 Call get_rounding_mode.
7698 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7700 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7703 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7705 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
7708 2014-10-24 Joseph Myers <joseph@codesourcery.com>
7711 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
7712 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
7713 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
7714 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
7715 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
7716 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
7717 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
7718 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
7719 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
7720 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
7721 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7722 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
7723 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
7724 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
7725 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
7726 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
7727 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
7728 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
7729 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
7730 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
7731 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
7732 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
7733 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
7734 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
7735 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
7736 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
7737 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
7738 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
7739 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
7740 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
7741 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
7742 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
7743 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
7744 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
7745 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
7746 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
7747 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
7748 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
7749 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
7750 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
7751 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
7753 (geteuid): Likewise.
7756 (getresgid): Likewise.
7757 (getresuid): Likewise.
7758 (getgroups): Likewise.
7759 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
7760 (geteuid): Likewise.
7763 (getresgid): Likewise.
7764 (getresuid): Likewise.
7765 (getgroups): Likewise.
7766 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
7767 (geteuid): Likewise.
7770 (getresgid): Likewise.
7771 (getresuid): Likewise.
7772 (getgroups): Likewise.
7773 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
7775 (geteuid): Likewise.
7778 (getresgid): Likewise.
7779 (getresuid): Likewise.
7780 (getgroups): Likewise.
7781 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
7782 (geteuid): Likewise.
7785 (getresgid): Likewise.
7786 (getresuid): Likewise.
7787 (getgroups): Likewise.
7788 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
7790 (geteuid): Likewise.
7793 (getgroups): Likewise.
7796 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
7797 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
7798 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
7799 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7800 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
7801 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
7802 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
7803 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
7804 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
7805 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
7806 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
7807 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
7808 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
7810 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
7813 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
7817 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
7820 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
7825 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7827 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
7830 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7832 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7835 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7837 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7838 Remove unused include.
7840 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7842 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
7843 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
7844 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
7845 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
7847 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
7848 Helge Deller <deller@gmx.de>
7851 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
7852 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
7853 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
7855 2014-10-23 Joseph Myers <joseph@codesourcery.com>
7858 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
7859 Remove macro definition.
7860 (__ashrdi3_v_glibc20): Likewise.
7861 (__lshrdi3_v_glibc20): Likewise.
7862 (__cmpdi2_v_glibc20): Likewise.
7863 (__ucmpdi2_v_glibc20): Likewise.
7864 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
7865 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7866 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7867 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7868 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7869 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
7871 2014-10-22 Roland McGrath <roland@hack.frob.com>
7873 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
7874 old GNU extension [0] syntax.
7875 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
7876 alloca rather than an array member with variable length.
7877 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
7878 * nscd/nscd.c (invalidate_db): New function, broken out of ...
7879 (parse_opt): ... here. Likewise use alloca there.
7880 Validate the -i argument before checking for rootness.
7881 (send_shutdown): New function, broken out of ...
7882 (parse_opt): ... here.
7884 2014-10-22 Roland McGrath <roland@hack.frob.com>
7886 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
7887 macro to get at the _rt_local_ro field.
7888 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
7889 ([PIC] case) or _dl_hwcap ([!PIC] case).
7890 * sysdeps/arm/setjmp.S: Likewise.
7892 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
7893 * sysdeps/arm/configure.ac: New check to define it.
7894 * sysdeps/arm/configure: Regenerated.
7895 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
7896 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
7897 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
7898 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
7899 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
7900 Use move/movt pair instead of a load.
7901 (LDST_GLOBAL): Macro removed.
7902 (LDR_GLOBAL): New macro replaces it.
7903 (LDR_HIDDEN): New macro.
7904 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
7905 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
7907 * setjmp/tst-setjmp-static.c: New file.
7908 * setjmp/Makefile (tests): Add it.
7909 (tests-static): New variable.
7911 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
7914 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
7916 2014-10-21 Joseph Myers <joseph@codesourcery.com>
7919 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
7921 2014-10-21 Roland McGrath <roland@hack.frob.com>
7923 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
7925 2014-10-20 Roland McGrath <roland@hack.frob.com>
7927 * io/fts.c (dirent_not_directory): New function.
7928 (fts_build): Call it.
7930 2014-10-20 Roland McGrath <roland@hack.frob.com>
7932 * nptl/version.c (__nptl_main): Use normal __write rather than
7934 (banner): Update copyright years.
7936 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
7938 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7939 * nptl/pthread_cond_timedwait.c: Likewise.
7940 * nptl/pthread_mutex_timedlock.c: Likewise.
7941 * nptl/sem_timedwait.c: Likewise.
7943 * sysdeps/nptl/bits/libc-lock.h
7944 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7945 (__libc_lock_init_recursive): Return void, not 0.
7946 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
7947 (__libc_rwlock_init): Likewise.
7948 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
7950 2014-10-20 Torvald Riegel <triegel@redhat.com>
7953 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
7954 (__pthread_once_slow): ... here.
7955 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
7956 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
7958 2014-10-20 Torvald Riegel <triegel@redhat.com>
7961 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
7962 __PTHREAD_ONCE_FORK_GEN_INCR): New.
7963 * sysdeps/nptl/fork.c (__libc_fork): Use them.
7964 * nptl/pthread_once.c (__pthread_once): Likewise.
7967 2014-10-20 Joseph Myers <joseph@codesourcery.com>
7970 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
7972 (writev): Use __libc_writev as strong name.
7973 * sysdeps/unix/sysv/linux/readv.c: Remove file.
7974 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7976 2014-10-17 Roland McGrath <roland@hack.frob.com>
7978 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7980 * sysdeps/i386/nptl/tls.h
7981 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7982 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7984 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7985 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7986 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7987 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7988 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7989 Call CHECK_THREAD_SYSINFO instead of doing an assert.
7991 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7992 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7994 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7996 (__pthread_mutex_init): ... here. Call it.
7997 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7998 Conditionalize PI cases on [__NR_futex].
7999 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
8000 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8001 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8003 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
8004 conditional on [SIGSETXID].
8005 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
8006 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
8007 is defined. Likewise for SIGSETXID.
8008 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
8009 Conditionalize definitions on [SIGSETXID].
8010 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
8011 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
8012 unblocking on [SIGCANCEL].
8014 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
8015 [__NR_set_robust_list].
8017 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8019 * string/strcoll_l.c (get_next_seq): Fix up formatting.
8020 (do_compare): Likewise.
8022 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
8025 * string/strcoll_l.c: Don't include stdio.h.
8026 (coll_seq): Remove members idxarr and rulearr.
8027 (get_next_seq_cached): Remove function.
8028 (get_next_seq): Likewise.
8029 (get_next_seq_nocache): Rename to get_next_seq.
8030 (do_compare): Remove function.
8031 (do_compare_nocache): Rename to do_compare.
8032 (STRCOLL): Remove weight and rules cache.
8034 2014-10-16 Roland McGrath <roland@hack.frob.com>
8036 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
8037 * sysdeps/arm/sfp-machine.h: ... to here.
8038 * sysdeps/arm/Implies: Remove arm/soft-fp.
8040 2014-10-14 Joseph Myers <joseph@codesourcery.com>
8042 * conform/data/sys/utsname.h-data (*_t): Allow.
8043 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
8044 [POSIX] (WEXITED): Do not expect constant.
8045 [POSIX] (WSTOPPED): Likewise.
8046 [POSIX] (WNOHANG): Likewise.
8047 [POSIX] (WNOWAIT): Likewise.
8048 [POSIX] (siginfo_t): Do not expect type or elements.
8049 [POSIX] (pid_t): Do not expect type.
8050 [POSIX] (signal.h): Do not allow header.
8051 [POSIX] (sys/resource.h): Likewise.
8052 [POSIX] (si_*): Do not allow pattern.
8053 [POSIX] (W*): Likewise.
8054 [POSIX] (P_*): Likewise.
8055 [POSIX] (BUS_*): Likewise.
8056 [POSIX] (CLD_*): Likewise.
8057 [POSIX] (FPE_*): Likewise.
8058 [POSIX] (ILL_*): Likewise.
8059 [POSIX] (POLL_*): Likewise.
8060 [POSIX] (SEGV_*): Likewise.
8061 [POSIX] (SI_*): Likewise.
8062 [POSIX] (TRAP_*): Likewise.
8063 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
8066 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
8069 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
8070 infinite loop when __recvmsg returns 0.
8072 2014-10-10 Joseph Myers <joseph@codesourcery.com>
8074 * CANCEL-FCT-WAIVE: Remove file.
8075 * CANCEL-FILE-WAIVE: Likewise.
8078 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
8079 instead of INTVARDEF.
8080 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
8081 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
8082 rtld_hidden_data_def instead of INTVARDEF.
8083 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
8084 * elf/dl-deps.c (expand_dst): Likewise.
8085 * elf/dl-load.c (_dl_dst_count): Likewise.
8086 (_dl_dst_substitute): Likewise.
8087 (decompose_rpath): Likewise.
8088 (_dl_init_paths): Likewise.
8089 (open_path): Likewise.
8090 (_dl_map_object): Likewise.
8091 * elf/rtld.c (dl_main): Likewise.
8092 (process_dl_audit): Likewise.
8093 (process_envvars): Likewise.
8094 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
8096 (__libc_enable_secure): Use rtld_hidden_proto.
8098 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8101 (add_path): New function broken out of _dl_rtld_di_serinfo.
8102 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
8104 2014-10-09 Joseph Myers <joseph@codesourcery.com>
8106 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
8107 parentheses around macro arguments.
8108 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
8109 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
8110 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
8111 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
8112 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
8113 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
8114 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
8115 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
8116 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
8117 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
8118 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
8119 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
8120 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
8121 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
8122 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
8123 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
8124 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
8125 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
8126 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
8127 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
8128 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
8129 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
8130 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
8131 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
8132 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
8133 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
8134 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
8135 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
8136 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
8137 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
8138 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
8139 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
8140 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
8141 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
8142 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
8143 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
8145 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
8146 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
8147 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
8148 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
8149 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
8150 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
8151 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
8152 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
8153 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
8154 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
8155 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
8156 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
8157 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
8158 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
8159 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
8160 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
8161 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
8162 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
8163 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
8164 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
8165 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
8166 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
8167 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
8168 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
8169 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
8170 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
8171 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
8172 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
8173 (_FP_FRAC_SRS_1): Likewise.
8174 (_FP_FRAC_CLZ_1): Likewise.
8175 (_FP_MUL_MEAT_1_imm): Likewise.
8176 (_FP_MUL_MEAT_1_wide): Likewise.
8177 (_FP_MUL_MEAT_1_hard): Likewise.
8178 (_FP_SQRT_MEAT_1): Likewise.
8179 (_FP_FRAC_ASSEMBLE_1): Likewise.
8180 (_FP_FRAC_DISASSEMBLE_1): Likewise.
8181 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
8182 (__FP_CLZ_2): Likewise.
8183 (_FP_MUL_MEAT_2_wide): Likewise.
8184 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8185 (_FP_MUL_MEAT_2_gmp): Likewise.
8186 (_FP_MUL_MEAT_2_120_240_double): Likewise.
8187 (_FP_SQRT_MEAT_2): Likewise.
8188 (_FP_FRAC_ASSEMBLE_2): Likewise.
8189 (_FP_FRAC_DISASSEMBLE_2): Likewise.
8190 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
8191 (_FP_FRAC_CLZ_4): Likewise.
8192 (_FP_MUL_MEAT_4_wide): Likewise.
8193 (_FP_MUL_MEAT_4_gmp): Likewise.
8194 (_FP_SQRT_MEAT_4): Likewise.
8195 (_FP_FRAC_ASSEMBLE_4): Likewise.
8196 (_FP_FRAC_DISASSEMBLE_4): Likewise.
8197 * soft-fp/op-common.h (_FP_CMP): Likewise.
8198 (_FP_CMP_EQ): Likewise.
8199 (_FP_CMP_UNORD): Likewise.
8200 (_FP_TO_INT): Likewise.
8201 (_FP_FROM_INT): Likewise.
8202 [!__FP_CLZ] (__FP_CLZ): Likewise.
8203 (_FP_DIV_HELP_imm): Likewise.
8204 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
8206 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
8207 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
8208 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
8209 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
8210 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
8211 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
8212 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
8213 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
8214 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
8215 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
8216 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
8217 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
8218 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
8219 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
8220 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
8221 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
8222 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
8223 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
8224 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
8225 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
8226 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
8227 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
8228 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
8229 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
8230 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
8231 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
8232 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
8233 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
8234 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
8235 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
8236 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
8237 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
8238 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
8239 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
8240 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
8241 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
8242 (FP_UNPACK_RAW_SP): Likewise.
8243 (FP_PACK_RAW_S): Likewise.
8244 (FP_PACK_RAW_SP): Likewise.
8245 (FP_UNPACK_S): Likewise.
8246 (FP_UNPACK_SP): Likewise.
8247 (FP_UNPACK_SEMIRAW_S): Likewise.
8248 (FP_UNPACK_SEMIRAW_SP): Likewise.
8249 (FP_PACK_S): Likewise.
8250 (FP_PACK_SP): Likewise.
8251 (FP_PACK_SEMIRAW_S): Likewise.
8252 (FP_PACK_SEMIRAW_SP): Likewise.
8253 (_FP_SQRT_MEAT_S): Likewise.
8254 (FP_CMP_S): Likewise.
8255 (FP_CMP_EQ_S): Likewise.
8256 (FP_CMP_UNORD_S): Likewise.
8257 (FP_TO_INT_S): Likewise.
8258 (FP_FROM_INT_S): Likewise.
8260 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
8262 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
8263 (FP_EX_INVALID_IMZ): Likewise.
8264 (FP_EX_INVALID_IMZ_FMA): Likewise.
8265 (FP_EX_INVALID_ISI): Likewise.
8266 (FP_EX_INVALID_ZDZ): Likewise.
8267 (FP_EX_INVALID_IDI): Likewise.
8268 (FP_EX_INVALID_SQRT): Likewise.
8269 (FP_EX_INVALID_CVI): Likewise.
8270 (FP_EX_INVALID_VC): Likewise.
8271 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
8272 "invalid" exceptions.
8273 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
8274 (_FP_ADD_INTERNAL): Likewise.
8275 (_FP_MUL): Likewise.
8276 (_FP_FMA): Likewise.
8277 (_FP_DIV): Likewise.
8278 (_FP_CMP_CHECK_NAN): Likewise.
8279 (_FP_SQRT): Likewise.
8280 (_FP_TO_INT): Likewise.
8281 (FP_EXTEND): Likewise.
8283 2014-10-09 Allan McRae <allan@archlinux.org>
8285 * po/fr.po: Update French translation from translation project.
8287 2014-10-09 Joseph Myers <joseph@codesourcery.com>
8290 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
8292 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
8293 (__cxa_atexit): Use libc_hidden_proto.
8294 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
8297 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
8299 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
8300 [!_ISOMAC] (__iswspace_l_internal): Likewise.
8301 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
8302 [!_ISOMAC] (__iswctype_internal): Likewise.
8303 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
8304 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
8306 (fcntl): Remove __fcntl_internal alias.
8307 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
8308 __connect_internal alias.
8309 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
8312 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
8313 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
8315 (_FP_CHECK_FLUSH_ZERO): New macro.
8316 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
8317 (_FP_CMP): Likewise.
8318 (_FP_CMP_EQ): Likewise.
8319 (_FP_TO_INT): Do not set inexact for subnormal arguments if
8321 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
8322 (FP_TRUNC): Likewise.
8324 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
8325 treated as invalid conversion, not as normal exponent.
8327 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
8328 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
8329 (_FP_CMP_EQ): Likewise.
8330 (_FP_CMP_UNORD): Likewise.
8331 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
8332 (FP_CMP_EQ_D): Likewise.
8333 (FP_CMP_UNORD_D): Likewise.
8334 * soft-fp/extended.h (FP_CMP_E): Likewise.
8335 (FP_CMP_EQ_E): Likewise.
8336 (FP_CMP_UNORD_E): Likewise.
8337 * soft-fp/quad.h (FP_CMP_Q): Likewise.
8338 (FP_CMP_EQ_Q): Likewise.
8339 (FP_CMP_UNORD_Q): Likewise.
8340 * soft-fp/single.h (FP_CMP_S): Likewise.
8341 (FP_CMP_EQ_S): Likewise.
8342 (FP_CMP_UNORD_S): Likewise.
8343 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
8344 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
8345 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
8346 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
8347 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
8348 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
8349 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
8350 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
8351 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
8352 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
8353 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
8354 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
8355 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
8357 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
8359 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
8360 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
8362 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
8364 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
8365 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
8366 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
8367 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
8369 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
8371 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
8372 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
8374 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
8376 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
8377 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
8378 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
8379 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
8382 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
8383 a subnormal result, set the underflow exception if trapping on
8384 underflow is enabled.
8385 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
8386 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
8387 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
8389 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
8390 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
8391 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
8392 * soft-fp/extendxftf2.c (__extendxftf2): Use
8393 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
8395 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
8396 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
8397 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8398 FP_HANDLE_EXCEPTIONS.
8399 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
8400 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8401 FP_HANDLE_EXCEPTIONS.
8402 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
8403 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8404 FP_HANDLE_EXCEPTIONS.
8405 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
8406 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8407 FP_HANDLE_EXCEPTIONS.
8409 2014-10-08 Joseph Myers <joseph@codesourcery.com>
8412 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
8413 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
8415 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
8416 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
8418 (__adjtimex): Define using libc_hidden_ver.
8419 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
8421 (ntp_gettime): Call __adjtimex directly.
8422 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
8424 (ntp_gettimex): Call __adjtimex directly.
8425 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
8426 __adjtimex_internal alias.
8428 2014-10-08 Roland McGrath <roland@hack.frob.com>
8431 * nscd/nscd.c (more_help): Rewrite list of tables collection
8432 using xstrdup and asprintf.
8434 * nscd/nscd_conf.c: Remove local xstrdup declaration.
8436 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8437 Roland McGrath <roland@hack.frob.com>
8439 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
8440 (do_lookup_unique): ... local function 'enter' here; update callers.
8442 2014-10-06 Joseph Myers <joseph@codesourcery.com>
8444 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
8445 compat_symbol calls on [SHARED].
8446 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
8447 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
8449 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8450 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
8451 (oldsetrlimit): Remove.
8452 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
8454 (lchown): New syscall entry.
8455 (oldsetrlimit): Remove.
8456 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8457 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
8458 (oldsetrlimit): Remove.
8459 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8462 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
8463 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
8464 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
8465 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
8466 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8467 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
8469 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
8471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
8474 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8476 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
8477 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
8478 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
8479 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
8480 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
8482 (__old_sem_post): Likewise.
8484 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
8486 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
8487 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
8488 HAVE_CLOCK_GETTIME_VSYSCALL macros.
8489 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
8490 Use INLINE_VSYSCALL macro.
8491 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
8492 __vdso_clock_gettime.
8493 * sysdeps/unix/sysv/linux/tile/init-first.c
8494 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
8495 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
8496 __vdso_clock_gettime.
8498 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
8499 to set up frame more cleanly.
8501 * sysdeps/tile/memcmp.c: New file.
8503 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
8505 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
8506 * sysdeps/tile/tilegx/strcasestr.c: New file.
8507 * sysdeps/tile/tilegx/strnlen.c: New file.
8508 * sysdeps/tile/tilegx/strstr.c: New file.
8510 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
8512 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
8514 * nptl/tst-setuid3.c: Write errors to stdout.
8516 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8519 (preload): New functions broken out of _dl_map_object_deps.
8520 (_dl_map_object_deps): Remove a nested function. Update call sites.
8522 2014-10-01 Joseph Myers <joseph@codesourcery.com>
8525 * sysdeps/unix/sysv/linux/execve.c: Remove file.
8526 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
8528 2014-10-01 Steve Ellcey <sellcey@mips.com>
8530 * sysdeps/mips/strcmp.S: New.
8532 2014-09-30 Joseph Myers <joseph@codesourcery.com>
8535 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
8537 (mkdirat): Likewise.
8538 (readlinkat): Likewise.
8539 (renameat): Likewise.
8540 (symlinkat): Likewise.
8541 (unlinkat): Likewise.
8542 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
8543 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
8544 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
8545 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
8546 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8547 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
8548 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
8550 2014-09-30 Will Newton <will.newton@linaro.org>
8552 * math/math.h: Define long double math functions if
8553 _LIBC_TEST is defined.
8554 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
8556 * localedata/Makefile: Move assignment to tests-special
8557 into an ifdef testing run-built-tests.
8558 * timezone/Makefile: Likewise.
8560 2014-09-29 Joseph Myers <joseph@codesourcery.com>
8562 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
8563 with $(BASH) not $(SHELL).
8565 2014-09-29 Carlos O'Donell <carlos@redhat.com>
8566 Matthew LeGendre <legendre1@llnl.gov>
8569 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
8572 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8574 * stdio-common/printf_fp.c
8575 (hack_digit): New function, broken out of ...
8576 (__printf_fp): ... local function here. Update call sites.
8577 hack_digit now takes an additional parameter that is a pointer
8578 to a struct of the referenced locals. Those locals moved inside
8579 the struct and references updated.
8581 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
8583 * aclocal.m4: Require autoconf 2.69.
8584 * configure: Regenerated.
8585 * sysdeps/aarch64/configure: Likewise.
8586 * sysdeps/alpha/configure: Likewise.
8587 * sysdeps/arm/armv7/configure: Likewise.
8588 * sysdeps/arm/configure: Likewise.
8589 * sysdeps/ia64/configure: Likewise.
8590 * sysdeps/mach/configure: Likewise.
8591 * sysdeps/mips/configure: Likewise.
8592 * sysdeps/s390/configure: Likewise.
8593 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
8594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
8596 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
8598 * sysdeps/ia64/configure.ac: Likewise.
8600 2014-09-26 Joseph Myers <joseph@codesourcery.com>
8602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
8603 specify symbol version for ld.so. Do not include entry for
8605 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8606 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8607 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8610 * Makeconfig [$(build-shared) = yes]
8611 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
8613 [$(build-shared) = yes && $(soversions.mk-done) = t]
8614 ($(common-objpfx)gnu/lib-names.h): Remove rule.
8615 [$(build-shared) = yes && $(soversions.mk-done) = t]
8616 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
8618 [$(build-shared) = yes && $(soversions.mk-done) = t]
8619 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
8621 [$(build-shared) = yes && $(soversions.mk-done) = t]
8622 (common-generated): Don't append gnu/lib-names.h and
8623 gnu/lib-names.stmp here.
8624 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
8625 (lib-names-h-abi): New variable.
8626 [$(build-shared) = yes && $(soversions.mk-done) = t]
8627 (lib-names-stmp-abi): Likewise.
8628 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8629 abi-variants] (before-compile): Append
8630 $(common-objpfx)$(lib-names-h-abi).
8631 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8632 abi-variants] (common-generated): Append gnu/lib-names.h.
8633 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8634 abi-variants] (install-others-nosubdir): Depend on
8635 $(inst_includedir)/$(lib-names-h-abi).
8636 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8637 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
8638 [$(build-shared) = yes && $(soversions.mk-done) = t]
8639 ($(common-objpfx)$(lib-names-h-abi)): New rule.
8640 [$(build-shared) = yes && $(soversions.mk-done) = t]
8641 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
8642 [$(build-shared) = yes && $(soversions.mk-done) = t]
8643 (common-generated): Append $(lib-names-h-abi) and
8644 $(lib-names-stmp-abi).
8645 * scripts/lib-names.awk: Do not handle multi being set.
8646 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
8648 (abi-lp64_be-ld-soname): Likewise.
8649 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
8651 (abi-hard-ld-soname): Likewise.
8652 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
8653 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
8655 (abi-o32_hard-ld-soname): Likewise.
8656 (abi-o32_soft_2008-ld-soname): Likewise.
8657 (abi-o32_hard_2008-ld-soname): Likewise.
8658 (abi-n32_soft-ld-soname): Likewise.
8659 (abi-n32_hard-ld-soname): Likewise.
8660 (abi-n32_soft_2008-ld-soname): Likewise.
8661 (abi-n32_hard_2008-ld-soname): Likewise.
8662 (abi-n64_soft-ld-soname): Likewise.
8663 (abi-n64_hard-ld-soname): Likewise.
8664 (abi-n64_soft_2008-ld-soname): Likewise.
8665 (abi-n64_hard_2008-ld-soname): Likewise.
8666 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
8668 (abi-64-v2-ld-soname): Likewise.
8669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
8671 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
8673 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
8675 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
8677 (abi-64-ld-soname): Likewise.
8678 (abi-x32-ld-soname): Likewise.
8679 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
8681 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8683 2014-09-23 Joseph Myers <joseph@codesourcery.com>
8686 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
8687 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
8688 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
8689 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
8690 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
8691 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
8692 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
8693 syscall entry for GLIBC_2.2 symbol version.
8694 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
8696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
8697 (setrlimit): Likewise.
8698 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
8701 2014-09-23 Will Newton <will.newton@linaro.org>
8703 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
8704 _LINUX_ARM_SYSDEP_H include guard too.
8705 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
8708 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
8710 * sysdeps/unix/sysv/linux/eventfd.c:
8711 Make first argument unsigned.
8712 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
8713 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
8715 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
8717 * socket/recvmmsg.c (recvmmsg): Drop const argument.
8718 * socket/sys/socket.h: Likewise
8719 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
8721 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8723 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
8725 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
8727 * time/tst-ftime.c: New test.
8728 * time/Makefile (tests): Add tst-ftime.
8730 2014-09-17 Joseph Myers <joseph@codesourcery.com>
8732 * soft-fp/extended.h: Fix comment formatting.
8733 * soft-fp/op-1.h: Likewise.
8734 * soft-fp/op-2.h: Likewise.
8735 * soft-fp/op-4.h: Likewise.
8736 * soft-fp/op-8.h: Likewise.
8737 * soft-fp/op-common.h: Likewise.
8738 * soft-fp/soft-fp.h: Likewise.
8740 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
8742 2014-09-16 Joseph Myers <joseph@codesourcery.com>
8745 * Makeconfig (soversions-default-setname): Remove variable.
8746 ($(common-objpfx)soversions.i): Don't pass default_setname to
8748 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
8749 oldest_abi to abi-versions.awk.
8750 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
8751 * config.make.in (oldest-abi): Remove variable.
8752 * configure.ac (--enable-oldest-abi): Remove configure option.
8753 * configure: Regenerated.
8754 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
8756 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
8757 * scripts/soversions.awk: Do not handle default_setname variable.
8758 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
8760 * sysdeps/mach/hurd/configure: Regenerated.
8761 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
8763 * sysdeps/unix/sysv/linux/configure: Regenerated.
8765 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8767 * elf/Makefile (CFLAGS-interp.c): Remove.
8768 ($(elf-objpfx)runtime-linker.h): Generate header with linker
8770 * elf/interp.c: Include generated runtime-linker.h
8772 * Makerules (lib%.so): Don't include $(+interp) in
8774 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
8775 * dlfcn/eval.c: Remove file.
8777 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
8781 * misc/sys/cdefs.h: Define __extern_always_inline for clang
8785 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
8787 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8788 Jakub Jelinek <jakub@redhat.com>
8791 * libio/stdio.h: Check definition of __fortify_function
8792 instead of __extern_always_inline to include bits/stdio2.h.
8793 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
8794 check if __extern_always_inline is defined.
8795 [__USE_MISC || __USE_XOPEN]: Likewise.
8796 [__USE_ISOC99] Likewise.
8797 * misc/sys/cdefs.h (__fortify_function): Define only if
8798 __extern_always_inline is defined.
8799 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
8800 __extern_always_inline and __extern_inline only for g++-4.3
8801 and newer or a compatible gcc.
8803 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
8806 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8807 last change to handle zero prefix length.
8809 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8811 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
8814 * posix/getconf.c (vars): Add _POSIX_IPV6 and
8817 2014-09-13 Allan McRae <allan@archlinux.org>
8819 * po/ru.po: Update Russian translation from translation project.
8821 2014-09-12 Roland McGrath <roland@hack.frob.com>
8823 * locale/programs/locale.c (show_locale_vars): Inline local function
8824 into its sole call site. Clean up some style nits.
8825 (print_item): New function, broken out of ...
8826 (show_info): ... local function here. Clean up style nits.
8828 * locale/programs/ld-ctype.c (set_one_default): New function, broken
8830 (set_class_defaults): ... local function set_default here.
8831 Define set_default as a macro locally to pass constant parameters.
8832 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
8833 rather than a shared local.
8835 * stdlib/rpmatch.c (try): New function, broken out of ...
8836 (rpmatch): ... local function here. Also, prototypify definition.
8838 2014-09-12 Joseph Myers <joseph@codesourcery.com>
8840 * scripts/soversions.awk: Do not handle configuration names.
8841 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
8842 vendor and os variables to soversions.awk.
8843 * configure.ac: Do not modify gnu-* host_os.
8844 * configure: Regenerated
8845 * shlib-versions: Remove first column with configuration names.
8846 * nptl/shlib-versions: Likewise.
8847 * nptl_db/shlib-versions: Likewise.
8848 * sysdeps/hppa/shlib-versions: Likewise.
8849 * sysdeps/m68k/shlib-versions: Likewise.
8850 * sysdeps/mach/hurd/shlib-versions: Likewise.
8851 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
8852 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
8853 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
8854 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
8855 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
8856 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
8857 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
8858 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
8859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8861 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8862 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8863 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8864 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8865 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8866 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
8867 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8868 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8871 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
8872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8874 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
8875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8876 Condition symbol version definitions on [HAVE_ELFV2_ABI].
8878 * shlib-versions: Remove OS-specific entries. Moved to files in
8880 * sysdeps/mach/hurd/shlib-versions: New file.
8881 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8883 * nptl/shlib-versions: Remove architecture-specific entries.
8884 Moved to files in sysdeps.
8885 * shlib-versions: Likewise.
8886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
8888 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8889 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8890 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8891 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8893 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
8894 (UDP_NO_CHECK6_RX): Likewise.
8896 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8898 * sysdeps/posix/sysconf.c (__sysconf): Spell
8899 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
8901 2014-08-12 Florian Weimer <fweimer@redhat.com>
8903 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
8905 * iconv/Versions (__gconv_transliterate): Export for use from
8907 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
8908 (struct __gconv_trans_data, __gconv_trans_fct,
8909 __gconv_trans_context_fct, __gconv_trans_query_fct,
8910 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
8912 (struct __gconv_step_data): Remove __trans member.
8913 (__gconv_transliterate): Declaration moved from gconv_int.h. No
8914 longer hidden. Remove unused trans_data argument.
8915 * iconv/gconv_int.h (struct trans_struct): Remove definition.
8916 (__gconv_translit_find): Remove declaration.
8917 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
8919 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
8920 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
8921 trans_data argument. Add hidden definition.
8922 (__gconv_translit_find): Remove.
8923 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
8924 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
8925 * iconv/skeleton.c: Remove transliteration initialization.
8926 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
8927 __gconv_step_data initialization.
8928 * libio/iofwide.c (__libio_translit_): Remove.
8929 (_IO_fwide): Adjust struct __gconv_step_data initialization.
8930 * wcsmbs/btowc.c (__btowc): Likewise.
8931 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8932 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8933 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8934 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8935 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
8936 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8937 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8938 * wcsmbs/wctob.c (wctob): Likewise.
8940 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8943 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
8944 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
8946 * sysdeps/x86/Makefile: Adjust.
8948 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8949 Roland McGrath <roland@hack.frob.com>
8951 * locale/weight.h: Add include guard.
8952 (findidx): Make static rather than auto; take new parameters
8953 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
8954 * locale/weightwc.h: Likewise.
8955 * posix/fnmatch_loop.c
8956 (FCT): Change type of EXTRA from int32_t to wint_t.
8957 Don't include either header inside the function.
8958 Call FINDIDX rather than findidx, and pass new arguments.
8959 #undef FINDIDX at the end of the file.
8960 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
8961 FINDIDX before including fnmatch_loop.c for the non-wide version.
8962 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
8963 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
8964 for the wide version.
8965 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
8966 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
8967 Pass new arguments to findidx.
8968 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
8969 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
8970 Don't #include it inside the function. Pass new arguments to findidx.
8971 * posix/regex_internal.h
8972 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
8973 (re_string_elem_size_at): Don't #include it inside the function.
8974 Pass new arguments to findidx.
8975 * string/strcoll_l.c: #include WEIGHT_H at top level.
8976 (get_next_seq): Don't #include it inside the function.
8977 Pass new arguments to findidx.
8978 (get_next_seq_nocache): Likewise.
8979 * string/strxfrm_l.c: #include WEIGHT_H at top level.
8980 (STRXFRM): Don't #include it inside the function.
8981 Pass new arguments to findidx.
8983 2014-09-11 Florian Weimer <fweimer@redhat.com>
8986 * malloc/malloc.c (unlink): Turn asserts into a call to
8989 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
8992 * libio/wfileops (do_ftell_wide): Free OUT.
8994 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
8996 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8998 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9001 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
9002 group if the current group is empty.
9004 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9006 * benchtests/bench-memset.c (test_main): Add more test from size
9007 from 32 to 512 bytes.
9008 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9009 Add POWER8 memset object.
9010 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9011 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
9012 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
9014 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
9016 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
9017 multiarch POWER8 memset optimization.
9018 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
9019 POWER8 memset optimization.
9021 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9022 Remove bzero multiarch objects.
9023 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
9024 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
9025 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
9026 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
9028 [__bzero]: Redefine to specific name.
9029 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
9030 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
9031 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
9033 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9034 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9036 2014-09-10 Florian Weimer <fweimer@redhat.com>
9038 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
9039 warnings into errors.
9041 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
9042 __cxa_thread_atexit_impl prototype.
9044 2014-09-09 Steve Ellcey <sellcey@mips.com>
9046 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
9047 Fix capitalization of error message.
9049 2014-09-09 Steve Ellcey <sellcey@mips.com>
9051 * sysdeps/mips/preconfigure: Modify ABI tests.
9053 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
9055 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
9057 2014-09-07 Roland McGrath <roland@hack.frob.com>
9058 Carlos O'Donell <carlos@systemhalted.org>
9060 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
9061 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
9062 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
9063 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
9064 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
9065 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
9066 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
9067 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
9068 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
9069 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
9070 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
9071 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
9072 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
9073 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
9074 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
9075 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
9076 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
9077 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
9078 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
9079 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
9080 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
9081 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
9082 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
9083 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
9084 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
9085 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
9086 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
9087 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
9088 Deconditionalize the code that was previously under [RESET_PID].
9089 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
9090 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
9091 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
9092 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
9095 2014-09-08 Allan McRae <allan@archlinux.org>
9097 * version.h (RELEASE): Set to "development".
9098 (VERSION): Set to "2.20.90"
9100 2014-09-07 Allan McRae <allan@archlinux.org
9102 * version.h (RELEASE): Set to "stable".
9103 (VERSION): Set to "2.20"
9104 * include/features.h (__GLIBC_MINOR__): Set to 20.
9106 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
9109 * po/ko.po: Update Korean translation from translation project.
9111 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
9114 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
9115 macro for handling signed relocations.
9117 2014-09-03 Florian Weimer <fweimer@redhat.com>
9120 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
9121 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
9123 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
9124 * iconvdata/ibm935.c (BODY): Likewise.
9125 * iconvdata/ibm937.c (BODY): Likewise.
9126 * iconvdata/ibm939.c (BODY): Likewise.
9127 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
9129 * iconvdata/Makefile (iconv-test.out): Pass module list to test
9131 * iconvdata/run-iconv-test.sh: New test loop for checking for
9134 2014-09-02 Khem Raj <raj.khem@gmail.com>
9136 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
9139 2014-09-01 Allan McRae <allan@archlinux.org>
9141 * po/eo.po: Update Esperanto translation from translation project.
9143 * po/ca.po: Update Catalan translation from translation project.
9145 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9147 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
9150 2014-08-27 Mark Wielaard <mjw@redhat.com>
9153 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
9154 to call set_thread_area instead of hand written asm.
9155 (__NR_set_thread_area): Removed define.
9156 (TLS_FLAG_WRITABLE): Likewise.
9157 (__ASSUME_SET_THREAD_AREA): Remove check.
9158 (TLS_EBX_ARG): Remove define.
9159 (TLS_LOAD_EBX): Likewise.
9161 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9163 Simplify atomicity of socket creation in bind.
9165 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
9166 looking up the name after linking the file.
9168 2014-08-27 Allan McRae <allan@archlinux.org>
9170 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9172 2014-08-26 Florian Weimer <fweimer@redhat.com>
9175 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
9176 trans_compare, open_translit, __gconv_translit_find):
9177 Remove module loading code.
9179 2014-08-26 Allan McRae <allan@archlinux.org>
9181 * po/vi.po: Update Vietnamese translation from translation project.
9183 * po/uk.po: Update Ukrainian translation from translation project.
9185 * po/fr.po: Update French translation from translation project.
9187 * po/ru.po: Update Russian translation from translation project.
9189 * po/pl.po: Update Polish translation from translation project.
9191 * po/cs.po: Update Czech translation from translation project.
9193 * po/de.po: Update German translation from translation project.
9195 * po/bg.po: Update Bulgarian translation from translation project.
9197 * po/sv.po: Update Sweedish translation from translation project.
9199 * po/nl.po: Update Dutch translation from translation project.
9201 * po/es.po: Update Spanish translation from translation project.
9203 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9205 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
9207 * catgets/Makefile (CPPFLAGS-gencat): Remove.
9208 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
9209 (CPPFLAGS-iconvconfig): Likewise.
9210 * timezone/Makefile (CPPFLAGS-zic): Likewise.
9212 * include/libc-symbols.h: Remove unnecessary check for
9214 * nptl/pthreadP.h: Likewise.
9215 * sysdeps/aarch64/setjmp.S: Likewise.
9216 * sysdeps/alpha/setjmp.S: Likewise.
9217 * sysdeps/arm/sysdep.h: Likewise.
9218 * sysdeps/i386/setjmp.S: Likewise.
9219 * sysdeps/m68k/setjmp.c: Likewise.
9220 * sysdeps/posix/getcwd.c: Likewise.
9221 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9222 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9223 * sysdeps/s390/s390-32/setjmp.S: Likewise.
9224 * sysdeps/s390/s390-64/setjmp.S: Likewise.
9225 * sysdeps/sh/sh3/setjmp.S: Likewise.
9226 * sysdeps/sh/sh4/setjmp.S: Likewise.
9227 * sysdeps/unix/alpha/sysdep.h: Likewise.
9228 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9229 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9230 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9231 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9234 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9235 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9236 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9237 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9238 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9239 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9240 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9241 * sysdeps/x86_64/setjmp.S: Likewise.
9243 2014-08-13 Joseph Myers <joseph@codesourcery.com>
9246 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
9248 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
9249 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
9251 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9253 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
9256 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
9257 and __x86_64__ when disabling x87 inline functions.
9259 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
9262 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
9263 asm statement with __cpuid_count.
9265 2014-08-12 Mike Frysinger <vapier@gentoo.org>
9267 * configure.ac: Change __ehdr_start code to dereference the struct.
9268 Run readelf on the output to look for relocations.
9269 * configure: Regenerated.
9271 2014-08-12 Joseph Myers <joseph@codesourcery.com>
9274 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
9276 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
9278 2014-08-12 Roland McGrath <roland@hack.frob.com>
9280 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
9282 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
9285 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
9286 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
9288 2014-08-12 Sean Anderson <seanga2@gmail.com>
9290 * malloc/malloc.c: Fix typo in comment.
9292 2014-08-09 Allan McRae <allan@archlinux.org>
9294 * Regenerate libc.po.
9296 2014-08-08 Mike Frysinger <vapier@gentoo.org>
9298 * intl/tst-gettext2.sh: Check every lang file for creation.
9300 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
9302 * sysdeps/aarch64/fpu/math_private.h
9303 (libc_feholdsetround_noex_aarch64_ctx): New function.
9305 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
9307 * sysdeps/arm/armv6/strcpy.S (strcpy):
9308 Fix performance issue in misaligned cases.
9310 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9312 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
9313 Move definition from termios.h.
9314 (struct termio): Likewise.
9315 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9316 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
9317 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
9318 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
9320 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
9321 Move definition to ioctl-types.h
9322 (struct termio): Likewise.
9323 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9324 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
9325 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
9326 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
9329 2014-08-05 Richard Henderson <rth@redhat.com>
9331 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
9333 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
9335 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
9336 Use __feraiseexcept.
9337 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
9338 Protect libm symbols with IS_IN_libm.
9340 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
9342 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
9344 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
9346 2014-08-04 Will Newton <will.newton@linaro.org>
9348 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
9351 2014-08-04 Mike Frysinger <vapier@gentoo.org>
9353 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
9354 variants for each function.
9356 2014-08-04 Roland McGrath <roland@hack.frob.com>
9358 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
9360 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
9361 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
9363 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
9364 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
9365 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
9366 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
9367 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
9368 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
9369 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
9370 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
9371 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
9372 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
9373 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
9374 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
9375 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
9376 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
9377 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
9378 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
9379 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
9380 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
9381 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
9382 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
9383 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
9384 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
9385 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
9386 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
9387 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
9388 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
9389 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
9390 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
9391 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
9392 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
9393 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
9394 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
9395 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
9396 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
9397 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
9398 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
9399 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
9400 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
9401 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
9402 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
9403 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
9404 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
9405 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
9406 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
9407 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
9408 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
9409 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
9410 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
9411 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
9412 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
9413 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
9414 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
9415 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
9417 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
9418 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
9420 2014-08-04 Roland McGrath <roland@hack.frob.com>
9422 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
9423 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
9424 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
9425 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
9426 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
9427 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
9429 2014-08-04 Roland McGrath <roland@hack.frob.com>
9431 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
9432 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
9433 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9434 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
9436 2014-08-04 Roland McGrath <roland@hack.frob.com>
9438 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
9439 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
9440 (__libc_vfork): Define function under this name.
9441 (__vfork): Define as an alias.
9442 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
9443 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
9445 2014-08-04 Roland McGrath <roland@hack.frob.com>
9447 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
9448 that was previously under [RESET_PID].
9449 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
9451 2014-08-04 Andreas Schwab <schwab@suse.de>
9453 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
9455 2014-08-03 Mike Frysinger <vapier@gentoo.org>
9457 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
9460 2014-08-01 Roland McGrath <roland@hack.frob.com>
9462 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
9464 2014-08-01 Richard Henderon <rth@redhat.com>
9466 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
9467 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
9468 typo in exact zero test.
9469 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9470 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9471 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9473 2014-08-01 Roland McGrath <roland@hack.frob.com>
9475 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
9476 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
9477 * sysdeps/arm/sysdep.h: ... here.
9478 [!__ASSEMBLER__]: Include <stdint.h>.
9480 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9482 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
9483 (HAVE_WCTYPE_H): Likewise.
9484 (HAVE_ISWCTYPE): Likewise.
9485 (ENABLE_NLS): Likewise.
9486 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
9487 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
9489 * posix/regex_internal.c: Check if DEBUG is defined and is
9492 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
9493 (HAVE_MBSRTOWCS): Likewise.
9494 * posix/fnmatch.c: Include string.h unconditionally.
9496 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9498 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
9501 2014-07-31 Roland McGrath <roland@hack.frob.com>
9503 * sysdeps/generic/safe-fatal.h: New file.
9504 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
9505 * nptl/forward.c: Include it.
9506 (__pthread_unwind): Use __safe_fatal as default action, rather
9507 than a bogus use of INTERNAL_SYSCALL that could never work.
9509 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
9510 * configure.ac (libc_cv_builtin_trap): New test.
9511 * configure: Regenerated.
9512 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
9513 (ABORT_INSTRUCTION): Define using __builtin_trap.
9515 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
9516 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
9517 * sysdeps/nptl/nptl-signals.h: New file.
9518 * nptl/pthreadP.h: Include <nptl-signals.h>.
9520 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
9522 * sysdeps/s390/s390-64/utf16-utf32-z9.c
9523 (ONE_DIRECTION): Define.
9524 * sysdeps/s390/s390-64/utf8-utf16-z9.c
9525 (ONE_DIRECTION): Define.
9526 * sysdeps/s390/s390-64/utf8-utf32-z9.c
9527 (ONE_DIRECTION): Define.
9529 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
9531 * sysdeps/s390/Makefile: Delete file.
9532 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
9533 * sysdeps/s390/__longjmp.c: Delete file.
9534 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
9535 Remove fields __flags and __reserved.
9536 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
9538 * sysdeps/s390/rtld-__longjmp.c: Delete file.
9539 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
9540 * sysdeps/s390/rtld-setjmp.S: Likewise.
9541 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
9542 * sysdeps/s390/s390-32/__longjmp.c: ... here.
9543 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
9544 * sysdeps/s390/s390-32/setjmp.S: ... here.
9546 (__sigsetjmp): Remove setting __flags field.
9547 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
9548 * sysdeps/s390/s390-64/__longjmp.c: ... here.
9549 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
9550 * sysdeps/s390/s390-64/setjmp.S: ... here.
9552 (__sigsetjmp): Remove setting __flags field.
9553 * sysdeps/s390/setjmp.S: Delete file.
9554 * sysdeps/s390/sigjmp.c: Likewise.
9555 * sysdeps/s390/v1-longjmp.c: Likewise.
9556 * sysdeps/s390/v1-setjmp.h: Likewise.
9557 * sysdeps/s390/v1-sigjmp.c: Likewise.
9558 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
9559 Remove v1-longjmp_chk.
9560 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
9561 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
9562 Include debug/longjmp_chk.c and add versioning.
9563 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
9564 Include nptl/pt-longjmp.c and add versioning.
9565 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
9566 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
9567 Include __longjmp.c.
9568 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9570 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
9571 (__getcontext): Remove setting __flags field.
9573 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9574 Don't restore upper high grps.
9575 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
9577 (__swapcontext): Remove setting uc_flags field.
9578 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
9580 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9581 Include __longjmp.c.
9582 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9584 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
9585 (__getcontext): Remove setting __flags field.
9587 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
9588 (__swapcontext): Remove setting uc_flags field.
9589 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
9590 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
9591 Remove fields uc_high_gprs and __reserved.
9592 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
9593 New file with reverted content.
9594 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
9595 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
9597 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
9600 2014-07-31 Andreas Schwab <schwab@suse.de>
9602 * config.h.in (HAVE_IFUNC): Define to 0.
9603 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
9606 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
9608 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9609 memmove-avx-unaligned, memcpy-avx-unaligned and
9610 mempcpy-avx-unaligned.
9611 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9612 Add tests for AVX memcpy functions.
9613 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
9614 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
9616 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
9617 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
9619 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
9620 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
9622 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
9623 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
9624 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
9626 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9629 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
9632 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
9635 * manual/llio.texi: Add section about open file description locks.
9636 * manual/examples/ofdlocks.c: Example of open file description
9638 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
9639 F_OFD_SETLK, and F_OFD_SETLKW.
9641 2014-07-23 Allan McRae <allan@archlinux.org>
9643 * po/es.po: Update Spanish translation from translation project.
9645 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
9647 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
9649 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
9652 * sysdeps/arm/dl-machine.h (elf_machine_rela)
9653 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
9654 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
9656 2014-07-17 Joseph Myers <joseph@codesourcery.com>
9659 * math/fesetenv.c (__fesetenv)
9660 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
9661 * math/feupdateenv.c (__feupdateenv)
9662 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
9664 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
9665 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9666 (__ASSUME_SOCKETCALL): Do not define.
9668 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
9669 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
9670 (__ASSUME_SOCKETCALL): Do not define.
9671 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
9672 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9673 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9674 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9675 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9676 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
9677 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9678 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9680 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
9681 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
9682 (__ASSUME_SOCKETCALL): Do not define.
9683 (__ASSUME_IPC64): Define unconditionally.
9684 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9685 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9686 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9687 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9688 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
9689 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9690 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
9693 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
9694 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
9695 (__ASSUME_SOCKETCALL): Do not define.
9696 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
9697 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9698 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9699 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9700 (__ASSUME_REQUEUE_PI): Define unconditionally.
9701 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
9702 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9703 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9704 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
9705 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9706 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9708 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
9709 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
9710 (__ASSUME_SOCKETCALL): Do not define.
9711 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
9712 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9713 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9714 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
9715 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9716 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9718 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
9719 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
9720 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9721 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
9722 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9723 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
9724 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9725 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
9726 (__ASSUME_GETCPU_SYSCALL): Likewise.
9728 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
9729 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
9730 cases for individual architectures.
9731 * sysdeps/gnu/configure: Regenerated.
9732 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
9733 LIBC_SLIBDIR_RTLDDIR.
9734 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
9735 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
9736 LIBC_SLIBDIR_RTLDDIR.
9737 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
9738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
9739 LIBC_SLIBDIR_RTLDDIR.
9740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
9742 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
9743 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
9745 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
9746 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
9748 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
9749 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
9750 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
9751 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
9753 * sysdeps/aarch64/shlib-versions: Move to ...
9754 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
9755 * sysdeps/alpha/shlib-versions: Move to ...
9756 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
9757 * sysdeps/arm/shlib-versions: Move to ...
9758 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
9759 * sysdeps/hppa/shlib-versions: Move all contents except for
9760 libgcc_s entry to ...
9761 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
9763 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
9764 * sysdeps/ia64/shlib-versions: Move to ...
9765 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
9767 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
9768 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
9769 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
9770 * sysdeps/microblaze/shlib-versions: Move to ...
9771 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
9772 * sysdeps/mips/shlib-versions: Move to ...
9773 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
9775 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
9776 * sysdeps/tile/shlib-versions: Move to ...
9777 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
9778 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
9780 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
9781 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
9783 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
9785 2014-07-17 Will Newton <will.newton@linaro.org>
9787 * sysdeps/arm/bits/atomic.h
9788 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
9789 (__arch_compare_and_exchange_bool_16_int): Likewise.
9790 (__arch_compare_and_exchange_bool_64_int): Likewise.
9792 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
9793 into an #else block.
9795 2014-07-16 Roland McGrath <roland@hack.frob.com>
9797 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
9798 just Linux configurations. Test empirically that the compiler sets
9799 __ARM_EABI__, rather than using the tuple to decide.
9800 * sysdeps/arm/preconfigure: Regenerated.
9801 * sysdeps/unix/sysv/linux/arm/configure: File removed.
9802 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
9803 contents appended ...
9804 * sysdeps/arm/configure.ac: ... here.
9805 * sysdeps/arm/configure: Regenerated.
9807 2014-07-15 Roland McGrath <roland@hack.frob.com>
9809 * nptl/pthread_kill.c: New file.
9810 * nptl/pthread_sigmask.c: New file.
9811 * nptl/pthread_sigqueue.c: New file.
9813 * sysdeps/nptl/lowlevellock.h: New file.
9814 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
9815 * sysdeps/nptl/lowlevellock-futex.h: New file.
9817 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
9818 Remove dead declarations.
9820 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
9822 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
9823 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
9825 * sysdeps/x86_64/configure.ac: Likewise.
9826 * sysdeps/i386/configure: Regenerated.
9827 * sysdeps/x86_64/configure: Likewise.
9828 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9829 memset-avx2 only if config-cflags-avx2 is yes.
9830 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9831 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
9833 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
9834 only if HAVE_AVX2_SUPPORT is defined.
9835 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9837 2014-07-14 Alan Modra <amodra@gmail.com>
9840 * elf/elf.h (DT_PPC64_NUM): Correct value.
9841 * NEWS: Add to fixed bug list.
9843 2014-07-13 Jim Meyering <meyering@fb.com>
9846 regex: don't deref NULL upon heap allocation failure
9847 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
9848 failure in one more place.
9849 To trigger the segfault, configure grep -with-included-regex,
9850 build it, and run these commands:
9851 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
9853 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
9855 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9857 2014-07-11 Richard Henderson <rth@redhat.com>
9859 * sysdeps/aarch64/libm-test-ulps: Update.
9861 2014-07-10 Florian Weimer <fweimer@redhat.com>
9864 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
9865 * nptl/allocatestack.c (__nptl_setxid_error): New function.
9866 (__nptl_setxid): Initialize error member. Call
9867 __nptl_setxid_error.
9868 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
9869 * nptl/descr.h (struct xid_command): Add error member.
9870 * nptl/tst-setuid3.c: New file.
9871 * nptl/Makefile (tests): Add it.
9873 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9875 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
9877 (__lll_trylock): Use __lll_base_trylock.
9878 (__lll_cond_trylock): Likewise.
9880 2014-07-10 Roland McGrath <roland@hack.frob.com>
9882 * nptl/pthread_create.c (start_thread): Use atomic_or and
9883 lll_futex_wake directly rather than lll_robust_dead.
9884 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9885 (lll_robust_dead): Macro removed.
9886 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
9887 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9888 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9889 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9890 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9891 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9892 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9893 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9894 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9895 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9896 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9897 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9898 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9899 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9900 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9902 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9903 Use atomic_compare_and_exchange_val_acq directly rather than
9905 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9906 (__lll_robust_trylock, lll_robust_trylock): Removed.
9907 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9908 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9909 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9910 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9911 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9912 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9913 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9914 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9915 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9916 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9917 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9918 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9919 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9920 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9922 2014-07-02 Florian Weimer <fweimer@redhat.com>
9924 * manual/locale.texi (Locale Names): New section documenting
9925 locale name syntax. Adjust menu and node chaining accordingly.
9926 (Choosing Locale): Reference Locale Names, Locale Categories.
9927 Mention setting LC_ALL=C. Reflect that name syntax is now
9929 (Locale Categories): New section title. Reference Locale Names.
9930 LC_ALL is an environment variable, but not a category.
9931 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
9932 description, now in Locale Name. Reference that section. Locale
9933 name syntax is now documented.
9935 2014-07-02 Florian Weimer <fweimer@redhat.com>
9938 * locale/findlocale.c (name_present, valid_locale_name): New
9940 (_nl_find_locale): Use the loc_name variable to store name
9941 candidates. Call name_present and valid_locale_name to check and
9942 validate locale names. Return an error if the locale is invalid.
9944 2014-07-02 Florian Weimer <fweimer@redhat.com>
9946 * locale/setlocale.c (setlocale): Use strdup for allocating
9947 composite name copy.
9949 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9951 Sync up with gnulib.
9952 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
9953 [!_LIBC && ENABLE_NLS]: Include gettext.h.
9954 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
9955 and _GL_ARG_NONNULL.
9956 [USE_UNLOCKED_IO]: Include unlocked-io.h.
9957 [!_LIBC]: Include code for Windows and Cygwin.
9958 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
9959 Include prototype for int strerror_r.
9960 [!_LIBC] (is_open): New function.
9961 (flush_stdout): New function.
9962 (print_errno_message): Use it.
9964 (error_at_line): Likewise.
9965 (error_tail) Add function attribute macros. Use
9968 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
9970 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
9972 * io/ftw.c: Include sys/param.h unconditionally.
9974 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
9977 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
9979 (freecache): New function to free CACHE on exit.
9981 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9984 2014-07-09 David S. Miller <davem@davemloft.net>
9986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9988 * sysdeps/sparc/nptl/internaltypes.h: Delete.
9989 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9990 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9991 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9992 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9993 * sysdeps/sparc/nptl/sem_init.c: Likewise.
9994 * sysdeps/sparc/nptl/sem_post.c: Likewise.
9995 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9996 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9997 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9998 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9999 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
10000 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
10002 2014-07-09 Andreas Schwab <schwab@suse.de>
10004 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
10006 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
10007 (do_test): Likewise.
10009 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10011 2014-07-09 Will Newton <will.newton@linaro.org>
10013 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
10014 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
10015 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
10016 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
10017 * sysdeps/hppa/start.S (_start): Likewise.
10019 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10021 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
10023 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
10026 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10028 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
10029 after checking that it is non-NULL.
10031 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
10033 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10035 * sysdeps/powerpc/memmove.c: Remove file.
10036 * sysdeps/powerpc/powerpc32/power4/memcopy.h
10037 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
10038 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
10039 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
10040 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
10041 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
10042 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
10043 string memmove instead of removed powerpc one.
10045 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10046 [weak_alias]: Fix compiler warning due trailing data.
10047 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
10048 [weak_alias]: Likewise.
10049 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
10050 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
10052 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10053 (__libc_ifunc_impl_list): Add memmove functions.
10055 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10057 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
10059 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
10061 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
10063 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
10065 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
10067 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
10069 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
10071 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
10073 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
10075 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
10077 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
10079 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
10081 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
10083 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
10085 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
10087 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
10089 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
10092 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10094 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
10095 to avoid alignment traps in non-cacheable memory.
10096 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10098 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
10100 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
10101 file: multiarch power7 memmove.
10102 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
10103 multiarch default memmove.
10104 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
10105 multiarch memove for powerpc32/power4.
10107 * string/bcopy.c: Use full path to include memmove.c.
10108 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
10110 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
10111 bcopy for powerpc64.
10112 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
10113 bcopy for powerpc64.
10114 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
10115 and memmove implementations.
10116 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
10117 optimized multiarch memmove for POWER7/powerpc64.
10118 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
10119 default multiarch memmove for powerpc64.
10120 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
10121 multiarch for powerpc64.
10122 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
10123 for POWER7/powerpc64.
10124 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
10125 memmove for POWER7/powerpc64.
10127 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
10130 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
10131 __ELF_NATIVE_CLASS equal to 64.
10133 2014-07-07 Roland McGrath <roland@hack.frob.com>
10135 * sysdeps/nptl/lowlevellock.h: File removed.
10137 * NEWS: NPTL is no longer an add-on!
10138 * nptl/internaltypes.h: Moved ...
10139 * sysdeps/nptl/internaltypes.h: ... here.
10140 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
10141 * sysdeps/nptl/fork.c: Likewise.
10142 * sysdeps/nptl/gai_misc.h: Likewise.
10143 * sysdeps/nptl/librt-cancellation.c: Likewise.
10144 * sysdeps/nptl/jmp-unwind.c: Likewise.
10145 * sysdeps/nptl/setxid.h: Likewise.
10146 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
10147 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
10148 * sysdeps/unix/sysv/linux/arm/Implies: New file.
10149 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
10150 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
10151 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
10152 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
10153 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
10154 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
10155 * sysdeps/unix/sysv/linux/mips/Implies: New file.
10156 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
10157 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
10158 * sysdeps/unix/sysv/linux/sh/Implies: New file.
10159 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
10160 * sysdeps/unix/sysv/linux/tile/Implies: New file.
10161 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
10162 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
10163 * nptl/Makeconfig: Moved ...
10164 * sysdeps/nptl/Makeconfig: ... here.
10165 * nptl/configure: File removed.
10166 * nptl/ANNOUNCE: File removed.
10167 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
10168 * sysdeps/unix/sysv/linux/configure: Regenerated.
10170 * nptl/Makefile (routines): Add libc_pthread_init,
10171 libc_multiple_threads, register-atfork and unregister-atfork.
10172 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
10173 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
10174 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
10175 pthread-pi-defines.sym, structsem.sym.
10176 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
10177 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
10178 [$(subdir) = nptl] (tests): Add tst-setgetname.
10179 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
10180 * sysdeps/unix/sysv/linux/sigaction.c: Just include
10181 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
10182 [!LIBC_SIGACTION]: Remove aliases.
10183 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10184 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10185 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10186 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
10187 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10188 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
10189 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10190 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10191 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10192 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
10193 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
10194 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
10195 __libc_allocate_rtsig_private.
10196 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
10197 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
10198 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
10199 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
10200 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
10201 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
10202 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
10203 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
10204 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
10205 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
10206 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
10207 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
10208 * nptl/internaltypes.h: ... here.
10209 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
10210 * sysdeps/nptl/jmp-unwind.c: ... here.
10211 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
10212 * nptl/libc-lowlevellock.c: ... here.
10213 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
10214 * nptl/libc_multiple_threads.c: ... here.
10215 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
10216 * nptl/libc_pthread_init.c: ... here.
10217 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
10218 * nptl/lowlevelbarrier.sym: ... here.
10219 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
10220 * nptl/lowlevelcond.sym: ... here.
10221 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
10222 * nptl/lowlevellock.c: ... here.
10223 * nptl/lowlevellock.h: Moved ...
10224 * sysdeps/nptl/lowlevellock.h: ... here.
10225 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
10226 * nptl/lowlevelrobustlock.c: ... here.
10227 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
10228 * nptl/lowlevelrobustlock.sym: ... here.
10229 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
10230 * nptl/lowlevelrwlock.sym: ... here.
10231 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
10232 * nptl/pt-fork.c: ... here.
10233 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
10234 * nptl/pthread-pi-defines.sym: ... here.
10235 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
10236 * nptl/pthread_attr_getaffinity.c: ... here.
10237 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
10238 * nptl/pthread_attr_setaffinity.c: ... here.
10239 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
10240 * nptl/pthread_mutex_cond_lock.c: ... here.
10241 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10243 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
10244 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
10245 * nptl/pthread_once.c: ... here, replacing old file.
10246 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
10247 * nptl/pthread_yield.c: ... here.
10248 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
10249 * nptl/register-atfork.c: ... here.
10250 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
10251 * nptl/sem_post.c: ... here.
10252 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
10253 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
10254 * nptl/sem_timedwait.c: ... here.
10255 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
10256 * nptl/sem_trywait.c: ... here.
10257 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
10258 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
10259 * nptl/sem_wait.c: ... here.
10260 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
10261 * nptl/structsem.sym: ... here.
10262 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
10263 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
10264 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
10265 * nptl/unregister-atfork.c: ... here.
10266 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
10267 * nptl/unwindbuf.sym: ... here.
10268 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
10269 * sysdeps/nptl/fork.c: ... here.
10270 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
10271 * sysdeps/nptl/fork.h: ... here.
10272 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
10273 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
10274 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
10275 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
10276 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
10277 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
10278 * sysdeps/unix/sysv/linux/getpid.c: ... here.
10279 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
10280 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
10281 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
10282 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
10283 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
10284 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
10285 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
10286 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
10287 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
10288 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
10289 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
10290 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
10291 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
10292 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
10293 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
10294 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
10295 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
10296 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
10297 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
10298 * sysdeps/unix/sysv/linux/raise.c: ... here.
10299 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
10300 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
10301 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
10302 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
10303 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
10304 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
10305 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
10306 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
10307 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
10308 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
10309 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
10310 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
10311 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
10312 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
10313 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
10315 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10317 * sysdeps/generic/memcopy.h: Add comment for
10318 MEMCPY_OK_FOR_FWD_MEMMOVE.
10320 2014-07-04 Will Newton <will.newton@linaro.org>
10322 * string/memchr.c: Merge from gnulib.
10323 [_LIBC]: Remove conditionals.
10324 (__ptr_t): Remove define.
10325 (LONG_MAX_32_BITS): Likewise.
10326 (LONG_MAX): Likewise.
10327 (MEMCHR): Use ANSI prototype and optimize algorithm.
10329 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
10331 2014-07-03 Roland McGrath <roland@hack.frob.com>
10333 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
10334 (lll_futex_timed_wait_bitset): Fix syscall argument count.
10336 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
10337 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
10338 in a bare environment with no <stdlib.h> installed.
10339 * sysdeps/nptl/configure: Regenerated.
10341 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
10343 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
10344 AC_EGREP_CPP for kernel header checks, so they only succeed if
10345 including <linux/version.h> actually works right.
10346 * sysdeps/unix/sysv/linux/configure: Regenerated.
10348 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
10349 value so it's not diagnosed as unused.
10351 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
10352 thing) with "ifeq ($(subdir),rt)".
10354 2014-07-03 Richard Henderson <rth@redhat.com>
10356 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
10357 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
10358 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
10360 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
10361 (math_force_eval): New.
10363 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
10364 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
10366 * sysdeps/alpha/fpu/s_round.c: Remove file.
10367 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
10369 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
10370 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
10371 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
10372 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
10373 (_dl_start, print_statistics): Likewise.
10374 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
10375 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
10377 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10378 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10379 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10380 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10381 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10382 (HP_SMALL_TIMING_AVAIL): Define.
10383 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10384 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
10385 (HP_SMALL_TIMING_AVAIL): Define.
10386 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10387 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10389 * sysdeps/aarch64/hp-timing.h: New file.
10391 * sysdeps/generic/hp-timing.h: Remove dead comment.
10392 * sysdeps/generic/hp-timing-common.h: New file.
10393 * sysdeps/alpha/hp-timing.h: Include it.
10394 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
10395 * sysdeps/i386/i686/hp-timing.h: Likewise.
10396 * sysdeps/ia64/hp-timing.h: Likewise.
10397 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10398 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10399 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10400 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10401 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
10402 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
10403 (hp_timing_t): New.
10405 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
10406 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
10407 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
10408 * elf/rtld.c (_dl_start_final): Likewise.
10409 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
10410 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10411 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10412 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10413 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10414 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10415 (HP_TIMING_DIFF_INIT): Remove.
10416 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10417 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
10418 (HP_TIMING_DIFF_INIT): Remove.
10419 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10420 * sysdeps/i386/i686/hp-timing.c: Remove file.
10421 * sysdeps/x86_64/hp-timing.c: Remove file.
10422 * sysdeps/ia64/hp-timing.c: Remove file.
10423 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
10424 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
10425 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
10426 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
10428 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
10429 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
10430 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
10431 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10432 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10433 (HP_TIMING_ACCUM): Remove.
10434 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10435 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
10436 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10438 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
10439 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
10440 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
10441 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
10442 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
10443 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
10444 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
10445 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
10447 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
10449 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
10451 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
10453 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10455 Sync up with gettext.
10456 * intl/loadmsgcat.c: Define O_BINARY if not defined.
10457 [_MSC_VER]: Include malloc.h
10458 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
10459 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
10460 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
10461 TEMP_FAILURE_RETRY. Cast return of alloca.
10462 [!_LIBC] Call gl_rwlock_init.
10463 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
10465 2014-07-02 Roland McGrath <roland@hack.frob.com>
10467 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
10468 before checking its value.
10470 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10472 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
10474 * debug/memcpy_chk.c: Don't include pagecopy.h.
10475 * debug/mempcpy_chk.c: Likewise.
10476 * string/memcpy.c: Likewise.
10477 * string/memmove.c: Likewise.
10478 * sysdeps/powerpc/memmove.c: Likewise.
10479 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
10480 definition of PAGE_COPY_FWD_MAYBE here...
10481 * sysdeps/generic/pagecopy.h: ... from here.
10482 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
10484 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10485 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10487 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
10488 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
10490 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10491 (__libc_ifunc_impl_list): Likewise.
10492 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
10493 multiarch strcat for PPC64.
10494 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
10495 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
10497 2014-07-02 Roland McGrath <roland@hack.frob.com>
10499 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
10501 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10503 * intl/loadmsgcat.c: Remove declaration of
10504 get_sysdep_segment_value.
10505 (get_sysdep_segment_value): Use ISO C style.
10506 (_nl_load_domain): Use ISO C style. Get rid of redundant
10507 semicolon. Fix typo and formatting in comment.
10508 (_nl_unload_domain): Use ISO C style.
10510 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
10512 2014-07-02 Will Newton <will.newton@linaro.org>
10514 * malloc/obstack.c: Merge from gnulib master.
10515 [HAVE_CONFIG_H]: Remove conditional code.
10516 [!_LIBC]: Include config.h.
10517 [!ELIDE_CODE]: Don't include inttypes.h, include
10518 stdint.h unconditionally.
10519 (print_and_abort): Mark as _Noreturn.
10520 (_obstack_allocated_p): Mark as __attribute_pure__.
10521 (obstack_free): Rename to __obstack_free.
10522 [!__attribute__]: Remove conditional code.
10523 * malloc/obstack.h: Merge from gnulib master.
10524 [__cplusplus]: Move conditional down.
10525 [!__attribute_pure__]: Define __attribute_pure__ here
10526 if it is not already defined.
10527 (_obstack_memory_used): Mark as __attribute_pure__.
10528 [!__obstack_free]: Define as obstack_free.
10529 [__GNUC__]: Remove check for ancient NeXT gcc.
10531 2014-07-02 Will Newton <will.newton@linaro.org>
10532 Paul Eggert <eggert@cs.ucla.edu>
10534 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
10536 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10538 * resolv/gethnamaddr.c: Add comment warning that the file is
10541 2014-07-01 Carlos O'Donell <carlos@redhat.com>
10543 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
10546 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
10547 entry for aio_cancel and aio_cancel64.
10548 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
10549 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
10550 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
10551 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
10552 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
10553 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
10554 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
10555 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
10556 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
10557 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
10558 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
10559 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
10560 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
10562 2014-07-01 Roland McGrath <roland@hack.frob.com>
10564 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
10565 * nptl/pthread_mutex_lock.c: Likewise.
10566 * nptl/pthread_mutex_timedlock.c: Likewise.
10567 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
10569 2014-07-01 Richard henderson <rth@redhat.com>
10571 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
10572 (__isnan, __isnanl): Remove.
10573 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
10575 * sysdeps/alpha/fpu/libm-test-ulps: Update.
10577 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
10579 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10581 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10583 * resolv/nss_dns/dns-host.c (getanswer_r)
10584 [MULTI_PTRS_ARE_ALIASES]: Remove code.
10586 2014-07-01 Joseph Myers <joseph@codesourcery.com>
10588 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10589 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
10591 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
10592 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
10594 2014-07-01 Roland McGrath <roland@hack.frob.com>
10596 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
10597 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
10599 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
10600 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
10602 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
10603 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
10605 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
10606 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
10608 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
10609 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
10610 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
10611 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
10613 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
10614 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
10615 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
10616 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
10617 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
10619 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
10621 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
10622 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
10623 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
10624 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
10625 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
10626 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
10627 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
10628 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
10629 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
10630 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
10631 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
10632 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
10633 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
10634 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
10635 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
10636 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
10637 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
10638 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
10639 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
10640 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
10642 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
10643 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
10644 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
10645 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
10646 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
10647 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
10648 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
10649 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
10651 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
10653 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
10654 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
10655 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
10658 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10662 2014-06-30 Joseph Myers <joseph@codesourcery.com>
10664 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10665 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10667 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10669 * sysdeps/arm/libm-test-ulps: Regenerated.
10671 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
10672 Roland McGrath <roland@hack.frob.com>
10674 * test-skeleton.c (signal_handler): Kill the whole process group
10675 before killing the child individually.
10676 (main): Report any failure on `setpgid'.
10678 2014-06-30 Roland McGrath <roland@hack.frob.com>
10680 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
10681 from _TLS_H to _ARM_NPTL_TLS_H.
10682 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
10683 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
10685 2014-06-30 Joseph Myers <joseph@codesourcery.com>
10688 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
10689 (__expm1l): Return argument unchanged when small but not
10692 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
10693 include macro name.
10694 (_FP_UNPACK_RAW_1_P): Likewise.
10695 (_FP_PACK_RAW_1): Likewise.
10696 (_FP_PACK_RAW_1_P): Likewise.
10697 (_FP_MUL_MEAT_1_wide): Likewise.
10698 (_FP_MUL_MEAT_DW_1_hard): Likewise.
10699 (_FP_MUL_MEAT_1_hard): Likewise.
10700 (_FP_DIV_MEAT_1_imm): Likewise.
10701 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
10702 (_FP_DIV_MEAT_1_udiv): Likewise.
10703 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
10704 (_FP_UNPACK_RAW_2): Likewise.
10705 (_FP_UNPACK_RAW_2_P): Likewise.
10706 (_FP_PACK_RAW_2): Likewise.
10707 (_FP_PACK_RAW_2_P): Likewise.
10708 (_FP_MUL_MEAT_DW_2_wide): Likewise.
10709 (_FP_MUL_MEAT_2_wide): Likewise.
10710 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
10711 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10712 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
10713 (_FP_MUL_MEAT_2_gmp): Likewise.
10714 (_FP_DIV_MEAT_2_udiv): Likewise.
10715 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
10716 (_FP_FRAC_SRL_4): Likewise.
10717 (_FP_FRAC_SRST_4): Likewise.
10718 (_FP_FRAC_SRS_4): Likewise.
10719 (_FP_UNPACK_RAW_4): Likewise.
10720 (_FP_UNPACK_RAW_4_P): Likewise.
10721 (_FP_PACK_RAW_4): Likewise.
10722 (_FP_PACK_RAW_4_P): Likewise.
10723 (_FP_MUL_MEAT_DW_4_wide): Likewise.
10724 (_FP_MUL_MEAT_4_wide): Likewise.
10725 (_FP_MUL_MEAT_4_gmp): Likewise.
10726 (umul_ppppmnnn): Likewise.
10727 (_FP_DIV_MEAT_4_udiv): Likewise.
10728 (__FP_FRAC_ADD_4): Likewise.
10729 (__FP_FRAC_SUB_3): Likewise.
10730 (__FP_FRAC_SUB_4): Likewise.
10731 (__FP_FRAC_DEC_3): Likewise.
10732 (__FP_FRAC_DEC_4): Likewise.
10733 (__FP_FRAC_ADDI_4): Likewise.
10734 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
10735 (_FP_FRAC_SRL_8): Likewise.
10736 (_FP_FRAC_SRS_8): Likewise.
10738 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
10739 include macro name.
10740 (FP_UNPACK_RAW_EP): Likewise.
10741 (FP_PACK_RAW_E): Likewise.
10742 (FP_PACK_RAW_EP): Likewise.
10743 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
10744 (_FP_ISSIGNAN): Likewise.
10745 (_FP_ADD_INTERNAL): Likewise.
10746 (_FP_FMA): Likewise.
10747 (_FP_CMP): Likewise.
10748 (_FP_SQRT): Likewise.
10749 (_FP_TO_INT): Likewise.
10750 (_FP_FROM_INT): Likewise.
10751 (FP_EXTEND): Likewise.
10752 (_FP_DIV_MEAT_N_loop): Likewise.
10754 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
10756 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
10759 2014-06-29 Joseph Myers <joseph@codesourcery.com>
10762 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
10763 result with correct sign in case of exponents that produce
10764 overflow except for X very close to 1.
10766 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
10768 mktime: merge #if/#ifdef usage from glibc
10769 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
10770 as that works with both Glibc's and Gnulib's style.
10771 See thread starting at Siddhesh Poyarekar's bug report at:
10772 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
10774 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10776 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
10777 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
10778 * sysdeps/tile/tilegx/memmove.c: Remove file.
10780 2014-06-27 Joseph Myers <joseph@codesourcery.com>
10782 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
10783 abi-name definition.
10784 * scripts/soversions.awk: Do not handle or generate ABI lines.
10785 * shlib-versions: Remove ABI entries.
10786 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
10787 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
10789 2014-06-27 Roland McGrath <roland@hack.frob.com>
10791 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
10792 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
10793 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
10794 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
10795 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
10796 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
10797 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
10799 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
10801 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
10802 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
10803 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
10804 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
10805 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
10806 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
10807 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
10808 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
10809 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
10810 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
10811 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
10812 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
10813 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
10815 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
10816 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
10817 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
10818 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
10819 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
10820 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
10822 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
10823 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
10825 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
10826 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
10827 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
10828 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
10830 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
10831 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
10832 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
10833 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
10834 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
10835 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
10836 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
10837 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
10839 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
10840 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
10841 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
10842 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
10844 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
10845 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
10847 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
10848 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
10849 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
10850 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
10852 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
10854 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
10855 Identical file removed.
10856 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
10858 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
10859 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
10860 Identical file removed.
10861 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
10862 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
10863 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
10865 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
10866 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
10867 Identical file removed.
10868 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
10869 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
10870 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
10871 Identical file removed.
10872 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
10873 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
10874 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
10875 Identical file removed.
10876 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
10877 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
10878 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
10879 Identical file removed.
10880 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
10882 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
10883 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
10884 Identical file removed.
10885 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
10887 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
10888 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
10889 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
10890 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
10891 Identical file removed.
10892 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
10894 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
10896 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
10897 Identical file removed.
10898 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
10900 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
10901 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
10902 Identical file removed.
10903 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
10905 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
10906 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
10907 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
10908 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
10909 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
10910 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
10912 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
10913 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
10914 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
10916 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
10917 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
10918 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
10919 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
10920 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
10922 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
10925 * nscd/nscd.c (monitor_child): Return exit status of child
10926 instead of return value from wait syscall.
10928 2014-06-27 Joseph Myers <joseph@codesourcery.com>
10930 * configure.ac (libc_commonpagesize): Remove variable.
10931 (libc_relro_required): Likewise.
10932 (libc_cv_z_relro): Remove configure test.
10933 * configure: Regenerated.
10934 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
10936 (libc_relro_required): Likewise.
10937 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
10938 (libc_relro_required): Likewise.
10939 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
10940 (libc_relro_required): Likewise.
10941 * sysdeps/arm/preconfigure: Regenerated.
10942 * sysdeps/ia64/preconfigure: Remove file.
10943 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
10945 (libc_relro_required): Likewise.
10949 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
10950 (__ieee754_yn): Set FE_TONEAREST mode internally and then
10951 recompute overflowing results in original rounding mode.
10952 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
10953 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
10954 recompute overflowing results in original rounding mode.
10955 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
10956 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10957 recompute overflowing results in original rounding mode.
10958 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
10959 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10960 recompute overflowing results in original rounding mode.
10961 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
10962 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10963 recompute overflowing results in original rounding mode.
10964 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
10965 (libc_feholdsetround_ctx): New macro.
10966 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
10967 * sysdeps/i386/fpu/libm-test-ulps: Update.
10968 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
10970 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10972 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
10973 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
10974 corresponding .cpsetup call.
10976 2014-06-26 Roland McGrath <roland@hack.frob.com>
10978 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10979 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10980 * sysdeps/arm/Makefile [$(subdir) = csu]
10981 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10982 (static-only-routines): Add aeabi_read_tp here.
10983 (shared-only-routines): Add libc-aeabi_read_tp here.
10984 (CFLAGS-libc-start.c): Add -fexceptions here.
10985 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10986 (sysdep_routines, static-only-routines, shared-only-routines):
10987 Don't add to these here.
10988 (CFLAGS-libc-start.c): Likewise.
10990 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10991 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10992 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10993 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10994 * sysdeps/arm/Makefile [$(subdir) = rt]
10995 (librt-sysdep_routines, librt-shared-only-routines):
10996 Append rt-aeabi_unwind_cpp_pr1 here.
10997 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10998 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10999 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
11000 (libpthread-sysdep_routines, libpthread-shared-only-routines):
11001 Append nptl-aeabi_unwind_cpp_pr1 here.
11002 (tests): Filter out tst-cleanupx4 here.
11003 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
11004 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
11005 Don't do those here.
11007 2014-06-26 Joseph Myers <joseph@codesourcery.com>
11009 * scripts/list-sources.sh: Do not handle ports specially.
11011 2014-06-26 Roland McGrath <roland@hack.frob.com>
11013 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
11014 * sysdeps/arm/feupdateenv.c: Likewise.
11016 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
11018 2014-06-26 Joseph Myers <joseph@codesourcery.com>
11020 * manual/texinfo.tex: Update to version 2014-05-05.10 with
11021 trailing whitespace removed.
11022 * scripts/config.guess: Update to version 2014-03-23.
11023 * scripts/config.sub: Update to version 2014-05-01
11024 * scripts/install-sh: Update to version 2013-12-25.23.
11025 * scripts/move-if-change: Update from gnulib.
11027 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11029 * debug/memmove_chk.c: Remove pagecopy.h include.
11031 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
11033 * time/mktime.c (leapyear): Remove inline keyword. The code is now
11034 identical to gnulib mktime.
11036 2014-06-26 Joseph Myers <joseph@codesourcery.com>
11038 * configure.ac: Do not test for machine being rs6000. Do not test
11039 for powerpc*-*soft.
11040 * configure: Regenerated.
11043 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
11045 * configure: Regenerated.
11046 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
11047 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
11048 Remove configure test.
11049 * sysdeps/arm/configure: Regenerated.
11050 * sysdeps/nptl/configure.ac: Do not check
11051 libc_cv_asm_cfi_directives.
11052 * sysdeps/nptl/configure: Regenerated.
11053 * sysdeps/x86_64/nptl/configure.ac: Remove file.
11054 * sysdeps/x86_64/nptl/configure: Remove generated file.
11055 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
11057 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
11059 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11061 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
11062 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
11063 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
11066 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
11067 instead of whether it is defined.
11068 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
11069 * sysdeps/hppa/dl-machine.h: Likewise.
11070 * sysdeps/ia64/dl-machine.h: Likewise.
11071 * sysdeps/m68k/dl-machine.h: Likewise.
11072 * sysdeps/microblaze/dl-machine.h: Likewise.
11073 * sysdeps/mips/dl-machine.: Likewise.
11074 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11075 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11076 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11077 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11078 * sysdeps/sh/dl-machine.h: Likewise.
11079 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11080 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11081 * sysdeps/tile/dl-machine.h: Likewise.
11082 * sysdeps/x86_64/dl-machine.h: Likewise.
11084 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
11086 (verify_persistent_db): Likewise.
11088 2014-06-26 Roland McGrath <roland@hack.frob.com>
11090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
11091 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
11092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
11093 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
11094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11096 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
11099 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
11100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
11101 Identical file removed.
11102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
11103 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
11104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
11105 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
11106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
11107 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
11108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
11109 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
11110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
11111 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
11112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11114 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
11115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
11116 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
11117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
11118 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
11119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11121 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
11122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
11123 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
11124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
11125 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
11126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11127 Identical file removed.
11128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
11129 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
11130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
11131 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
11132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11134 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
11137 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
11138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
11139 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
11140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
11141 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
11142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
11143 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
11144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
11145 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
11146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11148 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
11149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
11151 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
11152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
11153 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
11154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11156 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
11157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
11158 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
11160 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
11162 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
11163 * sysdeps/unix/sysv/linux/s390/Versions
11164 (libpthread: GLIBC_2.19): New version set.
11165 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
11166 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
11167 (librt: GLIBC_2.3.3): New version set.
11168 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
11169 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
11170 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
11171 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
11172 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
11173 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
11174 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
11175 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
11176 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
11177 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
11178 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
11179 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
11180 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
11181 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
11182 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
11183 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
11184 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
11185 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
11186 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
11187 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
11188 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
11189 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
11190 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
11191 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
11192 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
11193 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
11194 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
11195 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
11196 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
11197 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
11198 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
11199 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
11200 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
11201 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
11202 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
11203 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
11204 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
11205 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
11206 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
11207 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
11208 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
11209 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
11210 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
11211 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
11212 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
11214 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
11215 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
11216 (__libc_vfork): Define the function under this name.
11217 [!NOT_IN_libc] (__vfork): Make this an alias.
11218 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
11219 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
11220 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
11221 (__libc_vfork): Define the function under this name.
11222 [!NOT_IN_libc] (__vfork): Make this an alias.
11223 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
11224 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
11225 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
11226 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
11227 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
11228 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11230 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
11231 code that was previously under [RESET_PID].
11232 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
11233 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
11234 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
11236 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
11237 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
11238 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
11239 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
11240 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
11241 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
11242 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
11243 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
11244 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
11245 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
11246 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
11248 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
11249 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
11250 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
11251 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
11252 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
11253 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
11254 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
11255 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
11256 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
11257 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
11258 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
11259 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
11260 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
11261 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
11262 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
11263 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
11264 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
11265 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
11266 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
11267 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
11268 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
11269 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
11270 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
11271 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
11272 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
11273 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
11274 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
11275 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
11276 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
11278 2014-06-25 Roland McGrath <roland@hack.frob.com>
11280 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
11281 that was previously under [RESET_PID].
11282 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
11284 2014-06-25 Joseph Myers <joseph@codesourcery.com>
11286 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
11287 not undefine and redefine.
11288 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
11289 [O_CLOEXEC]: Make code unconditional.
11290 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
11291 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
11292 <kernel-features.h>.
11293 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
11294 conditional variable definition.
11295 (shm_open) [O_CLOEXEC]: Make code unconditional.
11296 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
11299 * configure.ac (USE_REGPARMS): Don't define here.
11300 * configure: Regenerated.
11301 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
11302 * sysdeps/i386/configure: Regenerated.
11304 * nptl/createthread.c: Don't include kernel-features.h.
11305 * nptl/pthread_cancel.c: Likewise.
11306 * nptl/pthread_condattr_setclock.c: Likewise.
11307 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
11308 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
11309 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
11310 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
11311 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
11312 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
11313 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11314 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
11315 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11316 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
11317 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
11318 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
11319 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
11320 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
11321 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
11322 * nscd/gai.c: Likewise.
11323 * nss/nss_db/db-open.c: Likewise.
11324 * sysdeps/generic/ldsodefs.h: Likewise.
11325 * sysdeps/sh/nptl/tls.h: Likewise.
11326 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11327 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
11328 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
11329 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
11330 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
11331 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11332 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
11333 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11334 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11335 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
11336 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
11337 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11338 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
11339 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
11340 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
11341 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
11342 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
11343 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
11344 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
11345 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
11346 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
11347 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
11348 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
11349 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
11350 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
11351 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
11352 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
11353 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
11354 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11355 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
11356 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
11357 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
11358 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
11359 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11360 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11361 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11362 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11363 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
11364 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
11365 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11366 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11367 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
11368 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
11369 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11370 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
11371 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
11372 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
11373 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
11374 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
11375 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
11376 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11377 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
11378 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11379 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11380 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
11381 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
11382 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11383 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
11384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
11386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
11387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
11388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
11389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
11390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
11391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
11392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
11395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
11396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
11397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
11398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
11404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
11405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
11406 * sysdeps/unix/sysv/linux/pread.c: Likewise.
11407 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
11408 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
11409 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
11410 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
11411 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
11412 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
11413 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
11414 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
11415 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11416 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
11417 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11418 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
11419 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
11420 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
11421 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
11422 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11423 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
11424 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
11425 * sysdeps/unix/sysv/linux/system.c: Likewise.
11426 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
11427 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
11428 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11429 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11430 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11431 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11432 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11434 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
11435 * configure: Regenerated.
11436 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
11438 * configure.ac (base_machine): Do not set specially for particular
11440 * configure: Regenerated.
11441 * sysdeps/powerpc/preconfigure: Move machine and base_machine
11442 settings from configure.ac.
11443 * sysdeps/i386/preconfigure: New file.
11444 * sysdeps/s390/preconfigure: Likewise.
11445 * sysdeps/sh/preconfigure: Likewise.
11446 * sysdeps/sparc/preconfigure: Likewise.
11448 2014-06-25 Roland McGrath <roland@hack.frob.com>
11450 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
11451 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
11452 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
11453 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
11454 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
11455 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
11456 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
11457 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
11458 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
11459 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
11460 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
11461 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
11462 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
11463 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
11464 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
11465 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
11466 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
11467 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
11468 * sysdeps/sparc/sparc64/Makefile: ... appended here.
11470 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
11471 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
11472 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
11473 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
11474 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
11475 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
11476 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
11477 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
11478 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
11479 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
11480 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
11481 * sysdeps/sparc/sparc32/sem_post.c: ... here.
11482 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
11483 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
11484 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
11485 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
11486 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
11487 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
11488 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
11489 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
11490 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
11491 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
11492 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
11493 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
11494 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
11495 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
11496 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
11497 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
11498 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
11499 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
11500 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
11501 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
11502 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
11503 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
11504 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
11505 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
11506 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
11507 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
11509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
11510 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
11511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
11512 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
11513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11515 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
11518 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
11519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
11520 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
11521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
11523 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
11524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
11525 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
11526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
11527 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
11528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
11529 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
11530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11532 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
11533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11535 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
11536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
11537 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
11538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11540 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
11541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
11542 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
11543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
11544 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
11545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
11546 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
11547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
11548 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
11549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11551 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
11554 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
11555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
11556 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
11557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
11559 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
11560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
11561 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
11562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
11563 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
11564 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
11565 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
11566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11568 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
11569 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11571 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
11572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
11573 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
11574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11576 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
11577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
11578 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
11579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
11580 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
11582 2014-06-25 Joseph Myers <joseph@codesourcery.com>
11584 * timezone/checktab.awk: Update from tzcode 2014e.
11585 * timezone/private.h: Likewise.
11586 * timezone/tzfile.h: Likewise.
11587 * timezone/zdump.c: Likewise.
11588 * timezone/zic.c: Likewise.
11590 * sysdeps/unix/sysv/linux/kernel-features.h
11591 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
11592 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
11593 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
11594 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11595 Remove conditional code.
11597 2014-06-25 Will Newton <will.newton@linaro.org>
11599 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
11600 (_dl_arm_cap_flags): Add HWCAP2 values.
11601 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
11602 (_DL_HWCAP_COUNT): Increase to 37.
11603 (_DL_HWCAP_LAST): New define.
11604 (_DL_HWCAP2_LAST): New define.
11605 (_dl_procinfo): Add support for printing
11607 (_dl_string_hwcap): Use _dl_hwcap_string.
11609 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11613 2014-06-25 Joseph Myers <joseph@codesourcery.com>
11615 * README: Do not mention ports directory.
11617 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
11619 * sysdeps/unix/sysv/linux/futimes.c: Do not include
11620 <kernel-features.h>.
11621 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
11622 conditional variable definition.
11623 (__futimes): Update comment.
11624 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
11625 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
11628 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
11629 arguments close to 0.
11630 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
11632 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
11634 * math/auto-libm-test-in: Add more tests of exp10.
11635 * math/auto-libm-test-out: Regenerated.
11636 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11638 * sysdeps/unix/sysv/linux/kernel-features.h
11639 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
11640 * sysdeps/unix/sysv/linux/readv.c: Do not include
11641 <kernel-features.h>.
11642 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11643 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11644 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11646 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11648 * sysdeps/unix/sysv/linux/writev.c: Do not include
11649 <kernel-features.h>.
11650 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11651 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11652 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11654 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11657 2014-06-25 Will Newton <will.newton@linaro.org>
11659 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
11660 comment changes throughout the file. Remove checks
11661 for HAVE_*_H definitions that are not required.
11662 (__gen_tempname): Call abort if an unknown kind value is
11665 2014-06-25 Andreas Schwab <schwab@suse.de>
11668 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
11669 scalbln, scalblnf, scalblnl in libc.
11671 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11674 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
11675 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11676 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11678 2014-06-24 Roland McGrath <roland@hack.frob.com>
11680 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
11681 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
11682 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
11683 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
11685 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
11686 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
11688 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
11689 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
11690 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
11691 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
11692 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
11693 * sysdeps/x86/bits/pthreadtypes.h: ... here.
11694 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
11695 * sysdeps/x86/bits/semaphore.h: ... here.
11696 * sysdeps/x86/nptl/elide.h: Moved ...
11697 * sysdeps/x86/elide.h: ... here.
11698 * sysdeps/x86_64/nptl/Implies: File removed.
11699 * sysdeps/i386/nptl/Implies: File removed.
11701 2014-06-24 Joseph Myers <joseph@codesourcery.com>
11704 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
11705 return the argument for normal arguments with exponent below -64.
11706 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11708 * math/auto-libm-test-in: Add another test of expm1.
11709 * math/auto-libm-test-out: Regenerated.
11712 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
11713 calling __erfcl for arguments at least 16.
11714 * math/auto-libm-test-in: Add more tests of erf.
11715 * math/auto-libm-test-out: Regenerated.
11717 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
11718 individual architectures.
11719 * sysdeps/unix/sysv/linux/configure: Regenerated.
11720 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
11721 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
11722 * sysdeps/unix/sysv/linux/powerpc/configure.ac
11723 (ldd_rewrite_script): Define variable.
11724 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
11727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
11729 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
11730 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
11731 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
11732 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
11733 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
11734 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
11735 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
11736 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
11738 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11741 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
11742 Rename member __data.d to __data.__elision_data.
11744 2014-06-24 Wilco <wdijkstr@arm.com>
11746 * NEWS: Add 16918 to fixed bug list.
11748 2014-06-24 Wilco <wdijkstr@arm.com>
11750 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
11752 2014-06-24 Wilco <wdijkstr@arm.com>
11754 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
11755 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
11756 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
11757 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
11758 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
11759 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
11760 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
11763 2014-06-24 Wilco <wdijkstr@arm.com>
11765 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
11767 2014-06-24 Wilco <wdijkstr@arm.com>
11769 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
11770 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
11771 * sysdeps/arm/fesetround.c (fesetround): Remove space.
11772 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
11774 2014-06-24 Wilco <wdijkstr@arm.com>
11777 * sysdeps/arm/feupdateenv.c (feupdateenv):
11778 Rewrite to reduce FPSCR accesses and fix return value.
11780 2014-06-24 Wilco <wdijkstr@arm.com>
11782 * sysdeps/arm/fclrexcpt.c (feclearexcept):
11783 Optimize to avoid unnecessary FPSCR writes.
11784 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
11785 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
11786 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
11787 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
11789 2014-06-24 Wilco <wdijkstr@arm.com>
11791 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
11792 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
11793 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
11794 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
11795 Call libc_fetestexcept_vfp.
11796 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
11797 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
11798 __SOFTFP__ ifdef so that they can be built for softfp.
11800 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11802 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
11803 argument type signed char.
11805 * Makerules (check-abi): Dump diff of symlist if the test
11808 2014-06-23 Roland McGrath <roland@hack.frob.com>
11810 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
11813 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11814 Remove unused variable ST.
11816 2014-06-23 Joseph Myers <joseph@codesourcery.com>
11820 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
11821 small arguments before calling __expm1.
11822 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
11823 small arguments before calling __expm1f.
11824 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
11825 small arguments before calling __expm1l.
11826 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11828 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
11829 * math/auto-libm-test-in: Add more cosh tests. Do not allow
11830 spurious underflow for some cosh tests.
11831 * math/auto-libm-test-out: Regenerated.
11832 * sysdeps/i386/fpu/libm-test-ulps: Update.
11835 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
11836 (__ieee754_y1): Set errno if return value overflows.
11837 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
11838 (__ieee754_y1f): Set errno if return value overflows.
11839 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
11840 (__ieee754_y1l): Set errno if return value overflows.
11841 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
11842 (__ieee754_y1l): Set errno if return value overflows.
11843 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
11844 * math/auto-libm-test-out: Regenerated.
11846 * math/gen-auto-libm-tests.c: Document use of
11847 ignore-zero-inf-sign.
11848 (input_flag_type): Add value flag_ignore_zero_inf_sign.
11849 (input_flags): Add ignore-zero-inf-sign.
11850 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
11851 * math/gen-libm-test.pl (generate_testfile): Handle
11852 ignore-zero-inf-sign.
11853 * math/auto-libm-test-in: Mark some cpow tests with
11854 ignore-zero-inf-sign and some with xfail-rounding.
11855 * math/auto-libm-test-out: Regenerated.
11856 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
11857 * sysdeps/i386/fpu/libm-test-ulps: Update.
11858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11861 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
11862 overflowing or underflowing operations take place with sign of
11864 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11865 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11866 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
11867 (__ieee754_pow): Recompute overflowing and underflowing results in
11868 original rounding mode.
11869 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
11870 (__powl_helper): Allow negative argument X and scale negated value
11871 as needed. Avoid passing value outside [-1, 1] to f2xm1.
11872 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
11873 overflowing or underflowing operations take place with sign of
11875 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
11877 * math/auto-libm-test-in: Add more tests of pow.
11878 * math/auto-libm-test-out: Regenerated.
11879 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
11880 (pow_tonearest_test_data): Remove.
11881 (pow_test_tonearest): Likewise.
11882 (pow_towardzero_test_data): Likewise.
11883 (pow_test_towardzero): Likewise.
11884 (pow_downward_test_data): Likewise.
11885 (pow_test_downward): Likewise.
11886 (pow_upward_test_data): Likewise.
11887 (pow_test_upward): Likewise.
11888 (main): Don't call removed functions.
11889 * sysdeps/i386/fpu/libm-test-ulps: Update.
11890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11892 2014-06-23 Roland McGrath <roland@hack.frob.com>
11894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
11896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
11897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
11900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
11903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
11906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
11912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
11914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
11916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
11918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
11920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
11924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
11928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
11930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
11932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
11933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
11935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
11939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
11940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
11942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
11943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
11945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
11946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
11948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
11949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
11951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
11952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
11954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
11955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
11957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
11958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
11959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
11963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
11964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
11970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
12001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
12004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
12011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
12014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
12017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
12020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
12021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
12022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
12025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
12028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
12043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
12046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
12049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
12064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
12066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
12068 2014-06-23 Will Newton <will.newton@linaro.org>
12069 Wilco <wdijkstr@arm.com>
12071 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
12072 implementation. Include get-rounding-mode.h.
12073 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
12074 [!libc_feholdsetround_noex_ctx]: Define
12075 libc_feholdsetround_noex_ctx.
12076 [!libc_feholdsetround_noexf_ctx]: Define
12077 libc_feholdsetround_noexf_ctx.
12078 [!libc_feholdsetround_noexl_ctx]: Define
12079 libc_feholdsetround_noexl_ctx.
12080 (libc_feholdsetround_ctx): New function.
12081 (libc_feresetround_ctx): New function.
12082 (libc_feholdsetround_noex_ctx): New function.
12083 (libc_feresetround_noex_ctx): New function.
12085 2014-06-23 Roland McGrath <roland@hack.frob.com>
12087 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
12088 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
12089 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
12090 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
12091 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
12092 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
12094 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
12095 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
12096 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
12097 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
12098 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
12099 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
12100 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
12101 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
12102 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
12103 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
12104 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
12106 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12108 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
12109 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
12110 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
12111 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
12112 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
12114 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
12115 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
12116 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
12117 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
12118 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
12119 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
12120 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
12121 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
12123 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
12124 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
12126 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
12127 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
12128 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
12129 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
12131 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
12132 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
12133 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
12134 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
12135 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
12136 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
12137 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
12138 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
12139 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
12140 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
12142 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12144 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
12145 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
12146 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
12147 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
12148 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
12149 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
12150 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
12151 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
12152 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
12153 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
12154 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
12155 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
12156 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
12158 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
12159 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
12160 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
12161 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
12162 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
12163 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
12165 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
12166 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
12167 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
12168 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
12169 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
12171 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
12172 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
12173 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
12174 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
12175 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
12176 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
12177 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
12178 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
12179 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
12180 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
12181 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
12182 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
12183 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
12184 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
12185 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
12186 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
12187 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
12188 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
12189 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
12190 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
12191 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
12192 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
12193 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
12194 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
12195 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
12196 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
12197 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
12198 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
12200 2014-06-23 Joseph Myers <joseph@codesourcery.com>
12202 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
12203 (FALLOC_FL_COLLAPSE_RANGE): New macro.
12204 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
12205 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
12206 (IPV6_PMTUDISC_INTERFACE): Likewise.
12207 (IPV6_PMTUDISC_OMIT): Likewise.
12209 2014-06-23 Andreas Schwab <schwab@suse.de>
12211 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
12212 Remove unused errout label.
12214 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12216 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
12217 macro: hardware supports Vector Crypto instructions.
12219 2014-06-23 Will Newton <will.newton@linaro.org>
12221 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
12222 rather than __builtin_expect.
12224 * elf/dl-lookup.c (undefined_msg): Remove variable.
12225 (_dl_lookup_symbol_x): Replace undefined_msg with string
12228 * elf/dl-lookup.c (do_lookup_unique): New function.
12229 (do_lookup_x): Move STB_GNU_UNIQUE handling code
12230 to a separate function.
12232 2014-06-23 Andreas Schwab <schwab@suse.de>
12235 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
12236 before reading the next line.
12238 2014-06-23 Will Newton <will.newton@linaro.org>
12240 * test-skeleton.c (signal_handler): Use printf and %m
12241 rather than perror. Use printf rather than fprintf to
12242 stderr. Use puts rather than fputs to stderr.
12245 2014-06-22 Ludovic Courtès <ludo@gnu.org>
12247 * nscd/nscd.c (thread_info_t): Remove typedef.
12248 (thread_info): Remove variable.
12250 2014-06-21 Allan McRae <allan@archlinux.org>
12252 * NEWS: Mention CVE-2014-4043.
12254 2014-06-20 Roland McGrath <roland@hack.frob.com>
12256 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
12257 * nptl/smp.h: ... here.
12259 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
12261 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
12262 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
12263 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
12264 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
12266 * nptl/allocatestack.c: Include <stack-aliasing.h>.
12267 * nptl/stack-aliasing.h: New file.
12268 * sysdeps/i386/i686/stack-aliasing.h: New file.
12269 * sysdeps/i386/i686/nptl/Makefile: File removed.
12270 * sysdeps/x86_64/stack-aliasing.h: New file.
12271 * sysdeps/x86_64/nptl/Makefile
12272 (CFLAGS-pthread_create.c): Variable removed.
12274 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
12275 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
12277 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
12278 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
12281 2014-06-21 Joseph Myers <joseph@codesourcery.com>
12283 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12284 (__ASSUME_SIGFRAME_V2): Remove macro.
12285 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
12286 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
12287 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
12288 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
12289 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
12290 Declare as function. Remove conditional macro definitions.
12291 (__default_rt_sa_restorer): Likewise.
12292 (__default_sa_restorer_v1): Remove declaration.
12293 (__default_sa_restorer_v2): Likewise.
12294 (__default_rt_sa_restorer_v1): Likewise.
12295 (__default_rt_sa_restorer_v2): Likewise.
12296 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
12297 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
12298 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
12300 2014-06-20 Roland McGrath <roland@hack.frob.com>
12302 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
12303 (libpthread-routines): Add sysdep.
12304 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
12305 * sysdeps/unix/sysv/linux/sparc/Versions
12306 (libpthread: GLIBC_2.3.3): New version set.
12307 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
12308 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
12309 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
12310 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
12311 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
12312 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
12314 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
12315 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
12316 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
12317 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
12318 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
12319 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
12320 * sysdeps/sparc/nptl/sem_init.c: ... here.
12321 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
12322 * sysdeps/sparc/nptl/sem_post.c: ... here.
12323 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
12324 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
12325 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
12326 * sysdeps/sparc/nptl/sem_wait.c: ... here.
12327 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
12328 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
12329 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
12330 (libpthread-routines): Add cpu_relax.
12331 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
12333 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
12334 (librt: GLIBC_2.3.3): New version set.
12335 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
12336 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
12337 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
12338 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
12339 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
12340 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
12341 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
12342 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
12344 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
12345 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
12346 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
12347 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
12348 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
12349 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
12350 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
12351 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
12352 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
12353 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
12355 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
12357 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
12359 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
12361 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
12363 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
12365 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
12367 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
12369 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
12371 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
12373 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
12375 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
12377 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
12378 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
12379 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
12380 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
12381 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
12382 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
12383 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
12384 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
12385 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
12386 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
12387 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12389 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
12390 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
12391 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
12392 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
12393 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
12395 2014-06-20 Joseph Myers <joseph@codesourcery.com>
12397 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
12398 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
12399 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12400 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
12401 * nscd/nscd.c: Likewise.
12402 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
12403 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
12404 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
12405 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
12407 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
12408 <kernel-features.h>.
12409 (init_mq_netlink): Remove conditional have_sock_cloexec
12410 definitions. Remove code conditional on have_sock_cloexec < 0.
12411 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
12412 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
12413 * sysdeps/unix/sysv/linux/opensock.c: Do not include
12414 <kernel-features.h>.
12415 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
12416 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
12418 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
12420 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12421 Add tests for memset_chk and memset.
12423 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
12426 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
12429 * elf/tst-dl-iter-static.c: New file.
12430 * elf/Makefile (tests-static): Add tst-dl-iter-static.
12432 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
12435 2014-06-20 Joseph Myers <joseph@codesourcery.com>
12437 * sysdeps/unix/sysv/linux/kernel-features.h
12438 (__ASSUME_F_GETOWN_EX): Remove macro.
12439 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
12440 <kernel-features.h>.
12441 (miss_F_GETOWN_EX): Remove variable or macro.
12442 (do_fcntl): Do not check miss_F_GETOWN_EX.
12443 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
12445 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
12447 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
12448 [!__ASSUME_AT_RANDOM]: Remove conditional code.
12449 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
12451 * sysdeps/unix/sysv/linux/kernel-features.h
12452 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
12453 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
12454 [ADJ_OFFSET_SS_READ]: Make code unconditional.
12455 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
12457 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
12460 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
12461 Fix calculation of the symbol's value.
12462 * sysdeps/arm/tst-armtlsdescloc.c: New file.
12463 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
12464 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
12465 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
12466 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
12467 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
12468 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
12469 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
12470 (modules-names): Add `tst-armtlsdescmod',
12471 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
12472 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
12473 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
12474 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
12475 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
12476 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
12477 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
12478 ($(objpfx)tst-armtlsdescloc): New dependency.
12479 ($(objpfx)tst-armtlsdescextnow): Likewise.
12480 ($(objpfx)tst-armtlsdescextlazy): Likewise.
12481 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
12482 TLS scheme support.
12483 * sysdeps/arm/configure: Regenerate.
12485 2014-06-20 Joseph Myers <joseph@codesourcery.com>
12487 * include/fcntl.h (__atfct_seterrno): Remove prototype.
12488 (__atfct_seterrno_2): Likewise.
12489 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
12490 <kernel-features.h>.
12491 (__ASSUME_ATFCTS): Do not undefine and redefine.
12492 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
12493 (__have_atfcts): Remove conditional definition.
12494 (__fxstatat([__NR_fstatat64]: Make code unconditional.
12495 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
12496 unreachable if [__ASSUME_ATFCTS].
12497 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
12498 not undefine and redefine.
12499 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
12500 <kernel-features.h>.
12501 (faccessat) [__NR_faccessat]: Make code unconditional.
12502 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
12503 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
12504 <kernel-features.h>.
12505 (fchmodat) [__NR_fchmodat]: Make code unconditional.
12506 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
12507 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
12508 <kernel-features.h>.
12509 (fchownat) [__NR_fchownat]: Make code unconditional.
12510 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
12511 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
12512 <kernel-features.h>.
12513 (futimesat) [__NR_futimesat]: Make code unconditional.
12514 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
12515 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12516 <kernel-features.h>.
12517 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
12518 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12519 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12520 <kernel-features.h>.
12521 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
12522 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
12523 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
12524 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12525 <kernel-features.h>.
12526 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
12527 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12528 * sysdeps/unix/sysv/linux/linkat.c: Do not include
12529 <kernel-features.h>.
12530 (linkat) [__NR_linkat]: Make code unconditional.
12531 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12532 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
12533 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
12534 <kernel-features.h>.
12535 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
12536 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
12537 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
12538 <kernel-features.h>.
12539 (mkdirat) [__NR_mkdirat]: Make code unconditional.
12540 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
12541 * sysdeps/unix/sysv/linux/openat.c: Do not include
12542 <kernel-features.h>.
12543 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
12544 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
12545 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
12546 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
12547 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
12548 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
12549 <kernel-features.h>.
12550 (readlinkat) [__NR_readlinkat]: Make code unconditional.
12551 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
12552 result of INLINE_SYSCALL directly, not via int variable.
12553 * sysdeps/unix/sysv/linux/renameat.c: Do not include
12554 <kernel-features.h>.
12555 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
12556 (renameat) [__NR_renameat]: Make code unconditional.
12557 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
12558 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
12559 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
12560 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
12561 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
12562 (__ASSUME_ATFCTS): Do not undefine and redefine.
12563 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
12564 <kernel-features.h>.
12565 (symlinkat) [__NR_symlinkat]: Make code unconditional.
12566 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12567 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
12568 <kernel-features.h>.
12569 (unlinkat) [__NR_unlinkat]: Make code unconditional.
12570 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12571 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
12572 (__ASSUME_ATFCTS): Do not undefine and redefine.
12573 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12574 <kernel-features.h>.
12575 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
12576 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12577 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12578 <kernel-features.h>.
12579 (__xmknodat) [__NR_mknodat]: Make code unconditional.
12580 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
12582 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
12584 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
12586 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
12589 * posix/regcomp.c (parse_reg_exp): Deallocate partially
12590 constructed tree before returning error.
12591 * posix/bug-regexp36.c: Expand test case.
12593 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12596 * math/libm-test.inc (scalbln_test_date):
12597 Add errno expectations.
12598 * math/w_scalblnf.c: New File.
12599 Add wrapper which checks for setting errno to ERANGE.
12600 Add weak_alias for corresponding scalbln function.
12601 * math/w_scalbln.c: Likewise.
12602 * math/w_scalblnl.c: Likewise.
12603 * math/Makefile (libm-calls): Add w_scalbln.
12604 * sysdeps/ieee754/flt-32/s_scalblnf.c:
12605 Remove weak_alias for corresponding scalbln function.
12606 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12607 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12608 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12609 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12610 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
12611 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12612 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
12613 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12614 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
12615 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
12616 Remove long_double_symbol for scalblnl function in libm, libc.
12617 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
12618 Add wrapper which checks for setting errno to ERANGE.
12619 Add long_double_symbol for scalblnl function in libm, libc.
12620 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
12621 Remove long_double_symbol for scalblnl in libm.
12622 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
12623 Add wrapper which checks for setting errno to ERANGE.
12624 Add long_double_symbol for scalblnl function in libm.
12625 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
12626 Do not use wrapper because of own implementation.
12628 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
12630 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
12631 3 bytes for __pad1 for x32.
12632 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
12634 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
12635 H.J. Lu <hongjiu.lu@intel.com>
12637 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
12638 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
12639 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12640 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12641 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
12643 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
12646 * posix/regcomp.c (parse_expression): Deallocate partially
12647 constructed tree before returning error.
12648 * posix/Makefile.c (tests): Add bug-regex36.
12649 (generated): Add bug-regex36.mtrace.
12650 (tests-special): Add $(objpfx)bug-regex36-mem.out
12651 (bug-regex36-ENV): New variable.
12652 ($(objpfx)bug-regex36-mem.out): New rule.
12653 * posix/bug-regex36.c: New file.
12655 2014-06-19 Will Newton <will.newton@linaro.org>
12657 * malloc/malloc.c (systrim): If extra is zero then return
12660 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12662 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
12664 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
12666 * sysdeps/aarch64/strchr.S: New file.
12668 2014-06-18 Joseph Myers <joseph@codesourcery.com>
12671 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
12672 from arguments -2 or below.
12673 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12674 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
12676 2014-06-18 Andreas Schwab <schwab@suse.de>
12679 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
12680 of a bracket expr not to run off the end of the string.
12681 * posix/Makefile (tests): Add tst-fnmatch3.
12682 * posix/tst-fnmatch3.c: New file.
12684 2014-06-18 Joseph Myers <joseph@codesourcery.com>
12686 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
12687 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12688 [$(cross-compiling) = no]: Likewise.
12689 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12690 [$(cross-compiling) = no]: Likewise.
12692 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12695 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
12696 double, adjusted for any remainder from the high double.
12697 * math/libm-test.inc (nearbyint): Add tests.
12700 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12702 * nptl/sysdeps/powerpc/Makefile: Moved ...
12703 * sysdeps/powerpc/nptl/Makefile: ... here.
12704 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
12705 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
12706 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
12707 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
12708 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
12709 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
12710 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
12711 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
12712 * nptl/sysdeps/powerpc/tls.h: Moved ...
12713 * sysdeps/powerpc/nptl/tls.h: ... here.
12715 2014-06-16 Joseph Myers <joseph@codesourcery.com>
12718 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
12719 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
12720 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
12721 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
12722 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12723 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
12724 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
12725 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12726 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
12728 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
12730 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12732 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
12734 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
12737 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
12740 2014-06-16 Florian Weimer <fweimer@redhat.com>
12743 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
12744 non-executed part of the test.
12746 2014-06-16 Andreas Schwab <schwab@suse.de>
12748 * string/bits/string2.h (strdup, strndup): Update feature guard.
12750 2014-06-14 David S. Miller <davem@davemloft.net>
12752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12754 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
12756 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
12757 that was previously under [RESET_PID].
12758 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
12760 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
12761 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
12762 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
12763 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12764 (__libc_vfork): New strong alias.
12765 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
12767 2014-06-14 Andi Kleen <ak@linux.intel.com>
12769 * sysdeps/generic/elide.h: New file.
12771 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12773 * Makefile (installed-headers): Adjust path of pthread.h header.
12775 2014-06-13 Roland McGrath <roland@hack.frob.com>
12777 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
12778 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
12779 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
12780 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
12782 * nptl/sysdeps/s390/Makefile: Moved ...
12783 * sysdeps/s390/nptl/Makefile: ... here.
12784 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
12785 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
12786 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
12787 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
12788 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
12789 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
12790 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
12791 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
12792 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
12793 * sysdeps/s390/nptl/pthreaddef.h: ... here.
12794 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
12795 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
12796 * nptl/sysdeps/s390/tls.h: Moved ...
12797 * sysdeps/s390/nptl/tls.h: ... here.
12799 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
12800 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
12802 2014-06-13 David S. Miller <davem@davemloft.net>
12804 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
12805 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
12806 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
12807 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
12808 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
12809 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
12810 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
12811 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
12812 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
12813 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
12814 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
12815 Remove RESET_PID cpp guards.
12816 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
12817 Remove RESET_PID cpp guards.
12818 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
12820 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
12822 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
12825 2014-06-13 Andi Kleen <ak@linux.intel.com>
12827 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
12828 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
12829 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
12830 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
12831 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
12832 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
12833 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
12834 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
12835 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
12836 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
12837 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
12838 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
12839 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
12840 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
12841 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
12842 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
12843 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
12844 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
12845 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
12846 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
12848 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
12849 (pthread_rwlock_rdlock): Add elision.
12850 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
12851 (pthread_rwlock_wrlock): Add elision.
12852 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
12853 (pthread_rwlock_trywrlock): Add elision.
12854 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
12855 (pthread_rwlock_tryrdlock): Add elision.
12856 * nptl/pthread_rwlock_unlock.c: Include elide.h.
12857 (pthread_rwlock_tryrdlock): Add elision unlock.
12858 * nptl/sysdeps/pthread/pthread.h:
12859 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
12860 (PTHREAD_RWLOCK_INITIALIZER,
12861 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
12862 Handle new elision field.
12863 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
12864 * sysdeps/arm/nptl/bits/pthreadtypes.h
12865 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12866 * sysdeps/sh/nptl/bits/pthreadtypes.h
12867 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12868 * sysdeps/tile/nptl/bits/pthreadtypes.h
12869 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12870 * sysdeps/a/nptl/bits/pthreadtypes.h
12871 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12872 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12873 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12874 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12875 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12876 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
12877 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12878 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12879 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12880 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12881 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12882 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12883 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12884 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12885 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12886 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
12887 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12888 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
12889 (elision_init): Set try_xbegin to zero when no RTM.
12890 * sysdeps/x86/nptl/bits/pthreadtypes.h
12891 (pthread_rwlock_t): Change __pad1 to __rwelision.
12892 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12894 2014-06-13 Andi Kleen <ak@linux.intel.com>
12896 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
12897 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
12898 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
12899 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
12901 2014-06-13 Meador Inge <meadori@codesourcery.com>
12904 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
12905 that the cached result has been set before returning it.
12907 2014-06-12 Roland McGrath <roland@hack.frob.com>
12909 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
12910 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
12911 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
12912 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
12913 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
12914 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
12916 * nptl/sysdeps/sparc/Makefile: Moved ...
12917 * sysdeps/sparc/nptl/Makefile: ... here.
12918 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
12919 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
12920 * nptl/sysdeps/sparc/tls.h: Moved ...
12921 * sysdeps/sparc/nptl/tls.h: ... here.
12922 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
12923 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
12924 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
12925 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
12926 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
12927 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
12928 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
12929 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
12930 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
12931 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
12932 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
12933 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
12934 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
12935 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
12936 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
12937 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
12938 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
12939 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
12941 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
12942 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
12944 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
12945 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
12947 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
12948 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
12951 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12953 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
12954 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
12956 * sysdeps/pthread/posix-timer.h: Include <list.h>.
12957 (struct list_links): Type removed.
12958 (struct thread_node, struct timer_node): Replace struct list_links
12959 with struct list_head.
12960 (list_unlink_ip): Likewise.
12961 * sysdeps/pthread/timer_routines.c
12962 (timer_free_list, thread_free_list, thread_active_list): Likewise.
12963 (list_append, list_insbefore): Likewise.
12964 (list_init): Function removed.
12965 (thread_init, init_module): Use INIT_LIST_HEAD instead.
12966 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
12967 * sysdeps/pthread/Makefile: ... here, new file.
12969 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
12970 * sysdeps/nptl/Implies: ... here.
12971 * sysdeps/unix/sysv/linux/Implies: Add nptl.
12972 * nptl/sysdeps/pthread/list.h: Moved ...
12973 * include/list.h: ... here.
12974 * nptl/sysdeps/pthread/createthread.c: Moved ...
12975 * nptl/createthread.c: ... here.
12976 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
12977 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
12978 * nptl/pt-longjmp.c: ... here.
12979 * nptl/sysdeps/pthread/Makefile: Moved ...
12980 * sysdeps/nptl/Makefile: ... here.
12981 * nptl/sysdeps/pthread/Subdirs: Moved ...
12982 * sysdeps/nptl/Subdirs: ... here.
12983 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12984 * sysdeps/nptl/aio_misc.h: ... here.
12985 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12986 * sysdeps/nptl/bits/libc-lock.h: ... here.
12987 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12988 * sysdeps/nptl/bits/libc-lockP.h: ... here.
12989 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12990 * sysdeps/nptl/bits/stdio-lock.h: ... here.
12991 * nptl/sysdeps/pthread/configure: Moved ...
12992 * sysdeps/nptl/configure: ... here.
12993 * nptl/sysdeps/pthread/configure.ac: Moved ...
12994 * sysdeps/nptl/configure.ac: ... here.
12995 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12996 * sysdeps/nptl/gai_misc.h: ... here.
12997 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12998 * sysdeps/nptl/librt-cancellation.c: ... here.
12999 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
13000 * sysdeps/nptl/malloc-machine.h: ... here.
13001 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
13002 * sysdeps/nptl/pthread-functions.h: ... here.
13003 * nptl/sysdeps/pthread/pthread.h: Moved ...
13004 * sysdeps/nptl/pthread.h: ... here.
13005 * nptl/sysdeps/pthread/setxid.h: Moved ...
13006 * sysdeps/nptl/setxid.h: ... here.
13007 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
13008 * sysdeps/nptl/sigfillset.c: ... here.
13009 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
13010 * sysdeps/nptl/tcb-offsets.h: ... here.
13011 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
13012 * sysdeps/nptl/tst-mqueue8x.c: ... here.
13013 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
13014 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
13015 * nptl/sysdeps/pthread/allocalim.h: Moved ...
13016 * sysdeps/pthread/allocalim.h: ... here.
13017 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
13018 * sysdeps/pthread/bits/sigthread.h: ... here.
13019 * nptl/sysdeps/pthread/flockfile.c: Moved ...
13020 * sysdeps/pthread/flockfile.c: ... here.
13021 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
13022 * sysdeps/pthread/ftrylockfile.c: ... here.
13023 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
13024 * sysdeps/pthread/funlockfile.c: ... here.
13025 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
13026 * sysdeps/pthread/posix-timer.h: ... here.
13027 * nptl/sysdeps/pthread/timer_create.c: Moved ...
13028 * sysdeps/pthread/timer_create.c: ... here.
13029 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
13030 * sysdeps/pthread/timer_delete.c: ... here.
13031 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
13032 * sysdeps/pthread/timer_getoverr.c: ... here.
13033 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
13034 * sysdeps/pthread/timer_gettime.c: ... here.
13035 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
13036 * sysdeps/pthread/timer_routines.c: ... here.
13037 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
13038 * sysdeps/pthread/timer_settime.c: ... here.
13039 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
13040 * sysdeps/pthread/tst-timer.c: ... here.
13041 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
13042 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
13044 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
13045 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
13047 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
13048 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
13049 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
13050 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
13051 Update #include target.
13052 * nptl/sysdeps/i386/i686/Makefile: Moved ...
13053 * sysdeps/i386/i686/nptl/Makefile: ... here.
13054 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
13055 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
13056 Update #include target.
13057 * nptl/sysdeps/i386/i686/tls.h: Moved ...
13058 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
13059 * nptl/sysdeps/i386/Makefile: Moved ...
13060 * sysdeps/i386/nptl/Makefile: ... here.
13061 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
13062 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
13063 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
13064 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
13065 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
13066 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
13067 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
13068 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
13069 * sysdeps/i386/nptl/pthreaddef.h: ... here.
13070 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
13071 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
13072 * nptl/sysdeps/i386/tls.h: Moved ...
13073 * sysdeps/i386/nptl/tls.h: ... here.
13075 * sysdeps/sh/Makefile [$(subdir) = csu]
13076 (gen-as-const-headers): Add tcb-offsets.sym.
13077 * nptl/sysdeps/sh/Makefile: File removed.
13078 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
13079 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
13080 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
13081 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
13082 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
13083 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
13084 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
13085 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
13086 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
13087 * sysdeps/sh/nptl/pthreaddef.h: ... here.
13088 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
13089 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
13090 * nptl/sysdeps/sh/tls.h: Moved ...
13091 * sysdeps/sh/nptl/tls.h: ... here.
13092 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
13093 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
13094 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
13095 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
13096 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
13097 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
13098 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
13099 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
13100 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
13101 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
13102 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
13103 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
13104 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
13105 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
13106 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
13107 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
13108 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
13109 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
13110 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
13111 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
13112 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
13113 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
13114 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
13115 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
13116 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
13118 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
13119 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
13121 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
13122 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
13123 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
13124 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
13125 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
13126 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
13127 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
13128 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
13129 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
13130 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
13131 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
13132 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
13133 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
13134 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
13135 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
13136 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
13137 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
13138 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
13139 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
13141 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13143 * posix/spawn_faction_addopen.c: Include string.h.
13145 2014-06-11 Roland McGrath <roland@hack.frob.com>
13147 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
13148 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
13149 * nptl/sysdeps/x86_64/Makefile: Moved ...
13150 * sysdeps/x86_64/nptl/Makefile: ... here.
13151 * nptl/sysdeps/x86_64/configure: Moved ...
13152 * sysdeps/x86_64/nptl/configure: ... here.
13153 * nptl/sysdeps/x86_64/configure.ac: Moved ...
13154 * sysdeps/x86_64/nptl/configure.ac: ... here.
13155 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
13156 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
13157 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
13158 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
13159 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
13160 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
13161 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
13162 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
13163 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
13164 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
13165 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
13166 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
13167 * nptl/sysdeps/x86_64/tls.h: Moved ...
13168 * sysdeps/x86_64/nptl/tls.h: ... here.
13169 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
13170 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
13171 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
13172 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
13174 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
13176 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13180 2014-06-11 Joseph Myers <joseph@codesourcery.com>
13182 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
13184 [POSIX] (off_t): Likewise.
13185 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
13186 [POSIX] (S_ISBLK): Require macro.
13187 [POSIX] (S_ISCHR): Likewise.
13188 [POSIX] (S_ISDIR): Likewise.
13189 [POSIX] (S_ISFIFO): Likewise.
13190 [POSIX] (S_ISREG): Likewise.
13191 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
13193 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
13195 [POSIX] (time_t): Likewise.
13196 [POSIX] (timer_t): Likewise.
13198 2014-06-11 Florian Weimer <fweimer@redhat.com>
13201 * posix/spawn_int.h (struct __spawn_action): Make the path string
13202 non-const to support deallocation.
13203 * posix/spawn_faction_addopen.c
13204 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
13205 * posix/spawn_faction_destroy.c
13206 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
13207 path in all spawn_do_open actions.
13208 * posix/tst-spawn.c (do_test): Exercise the copy operation in
13209 posix_spawn_file_actions_addopen.
13211 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
13213 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
13214 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
13215 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
13216 conditional code always true.
13217 (__libc_vfork): New alias.
13219 2014-06-11 Roland McGrath <roland@hack.frob.com>
13221 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13222 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
13224 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
13226 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13227 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
13229 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
13230 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
13232 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13233 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
13235 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13237 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
13238 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
13239 multiarch strcmp for PPC64.
13240 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
13241 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
13242 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
13243 multiarch optimizations.
13244 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13245 (__libc_ifunc_impl_list): Likewise.
13247 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13249 * benchtests/scripts/validate_benchout.py: New script.
13250 * benchtests/Makefile (bench-func): Call it.
13251 * benchtests/scripts/benchout.schema.json: New file.
13253 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
13255 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
13256 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
13257 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
13258 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
13259 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
13260 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
13261 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
13262 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
13263 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
13264 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
13265 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
13266 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
13267 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
13268 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
13269 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
13270 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
13271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
13273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
13275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
13277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
13278 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
13280 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
13282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
13284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
13286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
13288 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
13289 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
13291 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
13293 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
13295 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
13297 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
13299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
13300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
13302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
13304 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
13306 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
13308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
13310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
13312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
13314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
13315 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
13317 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
13319 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
13321 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
13323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
13325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
13327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
13329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
13330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
13332 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
13334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
13336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
13338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
13340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
13341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
13343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
13345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
13347 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
13348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
13350 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
13351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
13353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
13355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
13357 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
13359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
13361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
13363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
13365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
13366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
13368 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
13370 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
13372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
13374 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
13375 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
13376 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
13377 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
13378 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
13380 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
13382 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
13383 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
13384 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
13385 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
13386 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
13387 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
13388 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
13389 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
13390 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
13391 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
13392 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
13393 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
13394 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
13396 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
13397 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
13399 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
13400 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
13401 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
13402 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
13404 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
13405 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
13406 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
13407 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
13408 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
13409 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
13410 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
13412 2014-06-10 Wilco <wdijkstr@arm.com>
13414 * math/test-fenv-return.c: New file.
13415 * math/Makefile: Add new test test-fenv-return.
13417 2014-06-10 Joseph Myers <joseph@codesourcery.com>
13420 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
13421 when x - 1 is zero.
13422 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
13423 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
13424 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
13425 0.0L for an argument of 1.0L.
13426 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
13428 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
13429 value when x - 1 is zero.
13430 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
13431 * sysdeps/i386/fpu/libm-test-ulps: Update.
13432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13434 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
13437 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
13439 2014-06-09 Roland McGrath <roland@hack.frob.com>
13441 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
13442 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
13444 2014-06-09 Roland McGrath <roland@hack.frob.com>
13446 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13447 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
13449 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13450 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
13452 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13453 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
13455 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13456 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
13458 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
13459 if not already defined.
13460 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
13461 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
13462 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
13463 (TLS_INIT_TP): Use it.
13464 (TLS_DEFINE_INIT_TP): New macro.
13465 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
13467 2014-06-09 Joseph Myers <joseph@codesourcery.com>
13469 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
13471 [POSIX] (IXANY): Likewise.
13472 [POSIX] (OLCUC): Likewise.
13473 [POSIX || POSIX2008] (CBAUD): Do not allow.
13474 [POSIX || POSIX2008] (DEFECHO): Likewise.
13475 [POSIX || POSIX2008] (ECHOCTL): Likewise.
13476 [POSIX || POSIX2008] (ECHOKE): Likewise.
13477 [POSIX || POSIX2008] (ECHOPRT): Likewise.
13478 [POSIX || POSIX2008] (EXTA): Likewise.
13479 [POSIX || POSIX2008] (EXTB): Likewise.
13480 [POSIX || POSIX2008] (FLUSHO): Likewise.
13481 [POSIX || POSIX2008] (LOBLK): Likewise.
13482 [POSIX || POSIX2008] (PENDIN): Likewise.
13483 [POSIX || POSIX2008] (SWTCH): Likewise.
13484 [POSIX || POSIX2008] (VDISCARD): Likewise.
13485 [POSIX || POSIX2008] (VDSUSP): Likewise.
13486 [POSIX || POSIX2008] (VLNEXT): Likewise.
13487 [POSIX || POSIX2008] (VREPRINT): Likewise.
13488 [POSIX || POSIX2008] (VSTATUS): Likewise.
13489 [POSIX || POSIX2008] (VWERASE): Likewise.
13490 (B*): Change to B[0123456789]*.
13491 * conform/data/time.h-data [POSIX || UNIX98]
13492 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
13493 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13494 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
13495 [POSIX] (tm_*): Do not allow.
13497 2014-06-07 Joseph Myers <joseph@codesourcery.com>
13499 * Makefile (install): Don't set LANGUAGE.
13500 * Makefile.in (install): Likewise.
13501 * assert/Makefile (test-assert-ENV): Remove variable.
13502 (test-assert-perr-ENV): Likewise.
13503 * elf/Makefile (neededtest4-ENV): Likewise.
13504 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13505 [$(cross-compiling) = no]: Don't set LANGUAGE.
13506 * io/ftwtest-sh (LANG): Remove variable.
13507 * libio/Makefile (tst-widetext-ENV): Likewise.
13508 * manual/install.texi (Running make install): Don't refer to
13509 environment settings for make install.
13510 * INSTALL: Regenerated.
13511 * nptl/tst-tls6.sh: Don't set LANG.
13512 * posix/globtest.sh (LANG): Remove variable.
13513 * string/Makefile (tester-ENV): Likewise.
13514 (inl-tester-ENV): Likewise.
13515 (noinl-tester-ENV): Likewise.
13516 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13517 [$(cross-compiling) = no]: Don't set LANGUAGE.
13518 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
13519 without explicit environment settings.
13521 2014-06-06 Roland McGrath <roland@hack.frob.com>
13523 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
13524 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
13525 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
13526 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
13528 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
13530 * crypt/crypt-private.h [DOS]: Add some includes taken from the
13531 other files in the crypt directory.
13532 * crypt/crypt.c: Remove duplicate includes.
13533 * crypt/crypt-entry.c: Likewise.
13534 * crypt/crypt_util.c: Likewise.
13536 2014-06-06 Joseph Myers <joseph@codesourcery.com>
13538 * Makeconfig (run-program-env): New variable.
13539 (run-program-prefix-before-env): Likewise.
13540 (run-program-prefix-after-env): Likewise.
13541 (run-program-prefix): Define in terms of new variables.
13542 (built-program-cmd-before-env): New variable.
13543 (built-program-cmd-after-env): Likewise.
13544 (built-program-cmd): Define in terms of new variables.
13545 (test-program-prefix-before-env): New variable.
13546 (test-program-prefix-after-env): Likewise.
13547 (test-program-prefix): Define in terms of new variables.
13548 (test-program-cmd-before-env): New variable.
13549 (test-program-cmd-after-env): Likewise.
13550 (test-program-cmd): Define in terms of new variables.
13551 * Rules (make-test-out): Use $(run-program-env).
13552 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
13553 (help): Do not mention environment variables. Mention
13554 --timeoutfactor option.
13555 (timeoutfactor): New variable.
13556 (blacklist_exports): Remove function.
13557 (exports): Remove variable.
13558 (command): Do not include ${exports}.
13559 * manual/install.texi (Configuring and compiling): Do not mention
13560 test wrappers preserving environment variables. Mention that last
13561 assignment to a variable must take precedence.
13562 * INSTALL: Regenerated.
13563 * benchtests/Makefile (run-bench): Use $(run-program-env).
13564 * catgets/Makefile ($(objpfx)test1.cat): Use
13565 $(built-program-cmd-before-env), $(run-program-env) and
13566 $(built-program-cmd-after-env).
13567 ($(objpfx)test2.cat): Do not specify environment variables
13569 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
13570 $(run-program-env) and $(built-program-cmd-after-env).
13571 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
13572 $(run-program-env) and $(test-program-cmd-after-env).
13573 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
13575 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
13576 run_program_env and test_program_cmd_after_env arguments.
13577 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
13578 * elf/tst-pathopt.sh: Use run_program_env argument.
13579 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
13580 $(test-wrapper-env) and $(run-program-env).
13581 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
13582 run_program_env arguments.
13583 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
13584 * intl/Makefile ($(objpfx)tst-gettext.out): Use
13585 $(test-program-prefix-before-env), $(run-program-env) and
13586 $(test-program-prefix-after-env).
13587 ($(objpfx)tst-gettext2.out): Likewise.
13588 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
13589 run_program_env and test_program_prefix_after_env arguments.
13590 * intl/tst-gettext2.sh: Likewise.
13591 * intl/tst-gettext4.sh: Do not set environment variables
13593 * intl/tst-gettext6.sh: Likewise.
13594 * intl/tst-translit.sh: Likewise.
13595 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
13596 $(test-program-prefix-before-env), $(run-program-env) and
13597 $(test-program-prefix-after-env).
13598 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
13599 run_program_env and test_program_prefix_after_env arguments.
13600 * math/Makefile (run-regen-ulps): Use $(run-program-env).
13601 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
13602 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
13603 explicitly with each use of ${test_wrapper_env}.
13604 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
13605 $(test-program-prefix-before-env), $(run-program-env) and
13606 $(test-program-prefix-after-env).
13607 * posix/tst-getconf.sh: Do not set environment variables
13609 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
13610 run_program_env and test_program_prefix_after_env arguments.
13611 * stdio-common/tst-printf.sh: Do not set environment variables
13613 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
13614 $(test-program-prefix-before-env), $(run-program-env) and
13615 $(test-program-prefix-after-env).
13616 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
13617 run_program_env and test_program_prefix_after_env arguments.
13618 Split $test calls into $test_pre and $test.
13619 * timezone/Makefile (build-testdata): Use
13620 $(built-program-cmd-before-env), $(run-program-env) and
13621 $(built-program-cmd-after-env).
13623 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13625 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
13626 strlen for non SHARED builds.
13628 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13630 * nptl/allocatestack.c (check_list): Inlined function...
13631 (__reclaim_stacks): ... here.
13633 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
13636 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13639 2014-06-05 Joseph Myers <joseph@codesourcery.com>
13641 * Rules (make-test-out): Include
13642 LOCPATH=$(common-objpfx)localedata in default environment.
13643 * debug/Makefile (tst-chk1-ENV): Remove variable.
13644 (tst-chk2-ENV): Likewise.
13645 (tst-chk3-ENV): Likewise.
13646 (tst-chk4-ENV): Likewise.
13647 (tst-chk5-ENV): Likewise.
13648 (tst-chk6-ENV): Likewise.
13649 (tst-lfschk1-ENV): Likewise.
13650 (tst-lfschk2-ENV): Likewise.
13651 (tst-lfschk3-ENV): Likewise.
13652 (tst-lfschk4-ENV): Likewise.
13653 (tst-lfschk5-ENV): Likewise.
13654 (tst-lfschk6-ENV): Likewise.
13655 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
13656 (tst-iconv7-ENV): Likewise.
13657 * intl/Makefile (LOCPATH-ENV): Likewise.
13658 (tst-codeset-ENV): Likewise.
13659 (tst-gettext3-ENV): Likewise.
13660 (tst-gettext5-ENV): Likewise.
13661 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
13662 (tst-fopenloc-ENV): Likewise.
13663 (tst-fgetws-ENV): Remove variable.
13664 (tst-ungetwc1-ENV): Likewise.
13665 (tst-ungetwc2-ENV): Likewise.
13666 (bug-ungetwc2-ENV): Likewise.
13667 (tst-swscanf-ENV): Likewise.
13668 (bug-ftell-ENV): Likewise.
13669 (tst-fgetwc-ENV): Likewise.
13670 (tst-fseek-ENV): Likewise.
13671 (tst-ftell-partial-wide-ENV): Likewise.
13672 (tst-ftell-active-handler-ENV): Likewise.
13673 (tst-ftell-append-ENV): Likewise.
13674 * posix/Makefile (tst-fnmatch-ENV): Likewise.
13675 (tst-regexloc-ENV): Likewise.
13676 (bug-regex1-ENV): Likewise.
13677 (tst-regex-ENV): Likewise.
13678 (tst-regex2-ENV): Likewise.
13679 (bug-regex5-ENV): Likewise.
13680 (bug-regex6-ENV): Likewise.
13681 (bug-regex17-ENV): Likewise.
13682 (bug-regex18-ENV): Likewise.
13683 (bug-regex19-ENV): Likewise.
13684 (bug-regex20-ENV): Likewise.
13685 (bug-regex22-ENV): Likewise.
13686 (bug-regex23-ENV): Likewise.
13687 (bug-regex25-ENV): Likewise.
13688 (bug-regex26-ENV): Likewise.
13689 (bug-regex30-ENV): Likewise.
13690 (bug-regex32-ENV): Likewise.
13691 (bug-regex33-ENV): Likewise.
13692 (bug-regex34-ENV): Likewise.
13693 (bug-regex35-ENV): Likewise.
13694 (tst-rxspencer-ENV): Likewise.
13695 (tst-rxspencer-no-utf8-ENV): Likewise.
13696 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
13697 (tst-sscanf-ENV): Likewise.
13698 (tst-swprintf-ENV): Likewise.
13699 (tst-swscanf-ENV): Likewise.
13700 (test-vfprintf-ENV): Likewise.
13701 (scanf13-ENV): Likewise.
13702 (bug14-ENV): Likewise.
13703 (tst-grouping-ENV): Likewise.
13704 * stdlib/Makefile (tst-strtod-ENV): Likewise.
13705 (tst-strtod3-ENV): Likewise.
13706 (tst-strtod4-ENV): Likewise.
13707 (tst-strtod5-ENV): Likewise.
13708 (testmb2-ENV): Likewise./
13709 * string/Makefile (tst-strxfrm-ENV): Likewise.
13710 (tst-strxfrm2-ENV): Likewise.
13711 (bug-strcoll1-ENV): Likewise.
13712 (test-strcasecmp-ENV): Likewise.
13713 (test-strncasecmp-ENV): Likewise.
13714 * time/Makefile (tst-strptime-ENV): Likewise.
13715 (tst-ftime_l-ENV): Likewise.
13716 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
13717 (tst-mbrtowc-ENV): Likewise.
13718 (tst-wcrtomb-ENV): Likewise.
13719 (tst-mbrtowc2-ENV): Likewise.
13720 (tst-c16c32-1-ENV): Likewise.
13721 (tst-mbsnrtowcs-ENV): Likewise.
13723 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
13725 * manual/resource.texi (How to get information about the memory
13726 subsystem?): Fix typo.
13727 Reported by Peon de la Parra Ivan <peon@keba.com>
13729 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
13732 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
13733 (pthread_spin_lock): Branch out of spin loop to proper location.
13734 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
13735 (pthread_spin_lock): Likewise.
13737 * nptl/tst-spin4.c: New test.
13738 * nptl/Makefile (tests): Add tst-spin4.
13740 2014-06-03 Andreas Schwab <schwab@suse.de>
13743 * resolv/res_send.c (send_dg): Reload file descriptor after
13746 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
13748 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13750 2014-06-03 Richard Henderson <rth@redhat.com>
13752 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
13753 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
13754 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
13755 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
13756 in the SAVE_PID block.
13757 (__libc_vfork): New alias.
13758 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
13760 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
13761 child in registers, not on the stack. Remove RESET_PID conditionals.
13762 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
13764 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
13766 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13768 2014-06-03 Wilco <wdijkstr@arm.com>
13770 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
13771 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
13772 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13773 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
13774 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
13777 2014-06-03 Wilco <wdijkstr@arm.com>
13779 * sysdeps/aarch64/fpu/math_private.h
13780 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
13781 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
13782 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
13783 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13786 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13788 * crypt/crypt-private.h: Include ufc-crypt.h.
13789 (__b64_from_24bit): Declare extern.
13790 * crypt/crypt_util.c(__b64_from_24bit): New function.
13791 (b64t): New static const variable.
13792 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
13793 (b64t): Remove variable.
13794 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
13795 * crypt/sha256-crypt.c: Include crypt-private.h.
13796 (b64t): Remove variable.
13797 (__sha256_crypt_r): Remove b64_from_24bit and replace
13798 with __b64_from_24bit.
13799 * crypt/sha512-crypt.c: Likewise.
13801 2014-06-02 Roland McGrath <roland@hack.frob.com>
13803 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
13804 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
13805 Label the code __libc_vfork rather than __vfork.
13806 [!NOT_IN_libc] (vfork): Define as weak alias.
13807 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
13808 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
13809 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
13811 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13813 * malloc/malloc.c (malloc_info): Fix format specifier for
13816 2014-06-02 Wilco <wdijkstr@arm.com>
13818 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
13821 2014-06-02 Wilco <wdijkstr@arm.com>
13824 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
13825 Rewrite to reduce FPCR/FPSR accesses.
13827 2014-06-01 David S. Miller <davem@davemloft.net>
13829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13831 2014-05-31 David S. Miller <davem@davemloft.net>
13833 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
13834 to occur in round to nearest mode when |x| >= 2.0
13836 2014-05-30 Richard Henderson <rth@twiddle.net>
13838 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
13839 (PSEUDO_RET_NOERRNO): Remove.
13840 (ret): Don't redefine.
13841 (ret_NOERRNO): Define in terms of ret.
13842 (ret_ERRVAL): Likewise.
13844 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
13845 use of PSEUDO_RET; perform the error check directly.
13847 2014-05-30 Marko Myllynen <myllynen@redhat.com>
13849 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
13852 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13854 * malloc/malloc (malloc_info): Fix formatting.
13856 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13857 Roland McGrath <roland@hack.frob.com>
13859 * malloc/malloc (malloc_info): Also print mmapped statistics.
13861 2014-05-30 Roland McGrath <roland@hack.frob.com>
13863 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
13864 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
13866 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
13868 * malloc/malloc.c (malloc_info): Inline mi_arena.
13870 2014-05-29 Richard Henderson <rth@twiddle.net>
13872 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
13873 Remove comma before expanding ASM_ARGS_##nr.
13874 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
13875 Make _x0 a strict output; make _x8 a strict input; adjust expansion
13877 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
13878 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
13879 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
13880 (ASM_ARGS_1): Add leading comma.
13882 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
13883 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
13884 to __errno_location.
13885 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
13886 Remove the expected plt for __errno_location.
13888 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13889 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
13892 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13893 Always allocate 64 bytes of stack frame. Use ldp/stp to create
13894 it and break it down.
13895 (DOCARGS_0, DOCARGS_1): Do nothing.
13896 (DOCARGS_2): Update to store into the new stack frame.
13897 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
13898 (UNDOCARGS_1): Update to restore from the new stack frame.
13899 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
13900 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
13902 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13903 (SINGLE_THREAD_P): New parameter for result regno.
13904 (PSEUDO): Update to match; use cbz instead of beq.
13906 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13907 Use ENTRY to define the _nocancel entry point. Share the syscall
13908 and syscall error check paths with the cancel path.
13911 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
13912 whitespace; tabs before and after asm mnemonics.
13914 2014-05-29 Eric Wong <normalperson@yhbt.net>
13917 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13918 Call fstat64 or stat64 internally, depending on arguments passed.
13919 Replace stat buffer argument with file descriptor argument.
13920 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
13921 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13922 Pass fd to __internal_statvfs instead of calling fstat64.
13923 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
13924 Pass fd to __internal_statvfs64 instead of calling fstat64.
13925 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
13926 Pass -1 to __internal_statvfs instead of calling stat64.
13927 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
13928 Pass -1 to __internal_statvfs64 instead of calling stat64.
13930 2014-05-28 Roland McGrath <roland@hack.frob.com>
13932 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
13933 that was previously under [RESET_PID].
13934 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
13936 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
13937 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
13939 2014-05-27 Roland McGrath <roland@hack.frob.com>
13941 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
13943 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
13944 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
13946 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
13948 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
13950 2014-05-27 Andreas Schwab <schwab@suse.de>
13952 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
13954 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
13955 * elf/rtld.c (init_tls, dl_main): Likewise.
13956 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
13957 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
13958 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
13959 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
13960 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
13961 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
13962 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
13963 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
13964 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
13965 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
13966 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
13967 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
13968 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
13969 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
13970 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
13971 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
13972 * sysdeps/generic/tls.h: Update description.
13974 2014-05-27 Will Newton <will.newton@linaro.org>
13977 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
13978 and restore r2 rather than just restoring.
13980 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13983 * libio/tst-ftell-append.c: New test case.
13984 * libio/Makefile (tests): Add test case.
13985 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13987 * libio/wfileops.c (do_ftell_wide): Likewise.
13989 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13993 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13997 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13998 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13999 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
14000 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
14001 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
14002 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
14003 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
14005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
14006 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
14008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
14009 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
14010 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
14011 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
14012 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
14013 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
14015 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
14016 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
14018 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
14020 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
14022 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
14023 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
14024 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
14026 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
14027 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
14028 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
14029 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
14031 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
14033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
14034 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
14036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
14037 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
14039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
14040 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
14044 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
14047 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
14051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
14052 conditional [RESET_PID].
14053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
14054 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
14056 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
14059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
14061 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14062 (__libc_vfork): New strong alias.
14063 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
14065 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
14068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
14070 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
14071 (__libc_vfork): New strong alias.
14072 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
14074 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
14077 2014-05-26 Carlos O'Donell <carlos@redhat.com>
14079 * malloc/malloc.c (mi_arena): New function.
14080 (malloc_info): Remove nested function mi_arena. Call non-nosted
14083 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14085 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
14087 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
14088 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
14089 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
14090 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
14091 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
14092 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
14093 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
14095 2014-05-26 Andreas Schwab <schwab@suse.de>
14098 * locale/programs/repertoire.c (repertoire_read): Add slash
14099 between I18NPATH element and file name.
14100 * locale/programs/locfile.c (locfile_read): Likewise.
14102 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
14104 * nptl/pthread_mutexattr_settype.c
14105 (__pthread_mutexattr_settype):
14106 Disable lock elision for PTHREAD_MUTEX_NORMAL.
14108 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
14110 * nptl/tst-mutex5 (do_test):
14111 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
14113 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14115 * benchtests/README: Document 'init' directive.
14116 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
14118 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
14119 (parse_file): Recognize 'init' directive.
14121 2014-05-26 Kyle McMartin <kyle@redhat.com>
14124 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
14125 alignment of struct pthread.
14127 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14130 * nscd/netgroupcache.c (addgetnetgrentX): Look for
14131 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
14132 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
14133 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
14135 2014-05-25 Richard Henderson <rth@twiddle.net>
14137 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14138 (SINGLE_THREAD_P_PIC): Remove.
14139 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
14140 (SINGLE_THREAD_P_PIC): Remove.
14142 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
14143 branch to syscall error ...
14144 (PSEUDO): ... here.
14145 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
14146 from __local_syscall_error to .Lsyscall_error.
14147 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
14148 (SYSCALL_ERROR): Update label name.
14150 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14151 Do not use DOARGS/UNDOARGS.
14152 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
14153 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
14154 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
14155 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
14156 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
14158 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
14161 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
14162 define if !NOT_IN_libc.
14163 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
14164 define with non-default symbol versions.
14166 2014-05-23 Richard Henderson <rth@twiddle.net>
14168 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
14169 (vfork, __vfork): Define via compat_symbol.
14171 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
14172 [!HAVE_IFUNC] (vfork_compat): Remove.
14173 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
14175 2014-05-23 Joseph Myers <joseph@codesourcery.com>
14178 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
14179 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
14182 2014-05-23 Richard Henderson <rth@twiddle.net>
14184 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
14185 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
14186 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
14187 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
14189 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
14190 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
14191 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
14192 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
14193 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
14194 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
14195 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
14196 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
14197 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
14198 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
14199 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
14200 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
14201 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
14202 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
14203 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
14204 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
14205 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
14206 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
14207 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
14208 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
14209 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
14210 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
14211 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
14212 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
14213 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
14214 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
14215 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
14216 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
14217 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
14218 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
14219 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
14220 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
14221 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
14222 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
14223 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
14224 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
14225 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
14226 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
14227 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
14228 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
14229 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
14230 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
14231 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
14232 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
14233 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
14234 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
14235 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
14236 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
14237 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
14238 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
14239 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
14240 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
14241 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
14242 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
14243 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
14244 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
14246 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
14247 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
14248 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
14249 before exiting on error.
14250 (__libc_vfork): New strong alias.
14251 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
14252 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
14254 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
14255 that was previously under [RESET_PID].
14256 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
14258 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
14260 2014-05-23 Joseph Myers <joseph@codesourcery.com>
14263 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
14264 value when x - 1 is zero.
14265 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
14266 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
14267 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
14268 0.0L for an argument of 1.0L.
14269 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
14271 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
14272 value when x - 1 is zero.
14273 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
14274 * sysdeps/i386/fpu/libm-test-ulps: Update.
14275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14277 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
14279 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
14280 alphasort and versionsort.
14282 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14284 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
14286 [copysignf]: Likewise.
14288 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14290 * crypt/md5-crypt.c: Fix formatting.
14292 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14294 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
14295 (b64_from_24bit): New function.
14297 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14299 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
14300 libc_hidden_builtin_def to ifunc.
14301 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14302 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
14304 2014-05-21 Roland McGrath <roland@hack.frob.com>
14306 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
14307 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
14309 2014-05-21 Joseph Myers <joseph@codesourcery.com>
14311 * nscd/Depend (linuxthreads): Remove.
14313 * resolv/Depend (linuxthreads): Remove.
14314 * rt/Depend (linuxthreads): Remove.
14316 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
14317 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
14318 $(common-objpfx)elf/.
14319 (link-libc-before-gnulib): Likewise.
14320 (elfobjdir): Remove variable.
14321 * Makefile (install): Use $(elf-objpfx) instead of
14322 $(common-objpfx)elf/.
14323 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
14325 (link-libc-deps): Likewise.
14326 ($(common-objpfx)libc.so): Likewise.
14327 ($(common-objpfx)linkobj/libc.so): Likewise.
14328 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
14329 instead of $(common-objpfx)elf/.
14330 (symbolic-link-list): Likewise.
14331 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14332 [$(cross-compiling) = no]: Likewise.
14333 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
14335 (static-gnulib-arch): Likewise.
14336 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14337 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
14338 $(common-objpfx)elf/.
14340 2014-05-21 Richard Henderson <rth@redhat.com>
14342 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14343 (SINGLE_THREAD_P): Use the correct width load. Fold
14344 into the ldr offset.
14346 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
14347 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
14349 2014-05-20 Joseph Myers <joseph@codesourcery.com>
14351 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
14352 (libgcc_s_resume): Use __attribute_used__.
14353 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
14356 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14358 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
14359 optimization when used with float constants.
14361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14363 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
14366 * locale/nl_langinfo_l.c: Make direct reference to every
14367 _nl_current_CATEGORY symbol.
14368 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
14369 (tests-static): Add tst-langinfo-static.
14370 (tests-special): Add tst-langinfo-static.out.
14371 ($(objpfx)tst-langinfo.out): Redirect output.
14372 ($(objpfx)tst-langinfo-static.out): New.
14373 * localedata/tst-langinfo.sh: Send output to stdout.
14374 * localedata/tst-langinfo-static.c: New file.
14377 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
14378 when the shift amount is modulo the limb size.
14380 2014-05-20 Richard Henderson <rth@redhat.com>
14383 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
14384 Change type of sa_flags from unsigned int to int.
14387 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
14389 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
14391 2014-05-20 Will Newton <will.newton@linaro.org>
14393 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14394 Test the return value of the system call in the nocancel case.
14396 2014-05-20 Will Newton <will.newton@linaro.org>
14397 Yvan Roux <yvan.roux@linaro.org>
14399 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
14400 #include of asm/ptrace.h.
14401 (PTRACE_GET_THREAD_AREA): Remove #undef.
14402 (PTRACE_GETHBPREGS): Likewise.
14403 (PTRACE_SETHBPREGS): Likewise.
14404 (struct user_regs_struct): New structure.
14405 (struct user_fpsimd_struct): New structure.
14406 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
14407 #include of asm/ptrace.h and second #include of sys/user.h.
14408 (PTRACE_GET_THREAD_AREA): Remove #undef.
14409 (PTRACE_GETHBPREGS): Likewise.
14410 (PTRACE_SETHBPREGS): Likewise.
14411 (ELF_NGREG): Use new struct user_regs_struct.
14412 (elf_fpregset_t): Use new struct user_fpsimd_struct.
14414 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14416 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
14417 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
14419 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14422 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
14423 membar to avoid block loads/stores to overlap previous stores.
14425 2014-05-17 Richard Henderson <rth@redhat.com>
14427 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
14428 Create the __##syscall_name##_nocancel entry point.
14429 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
14430 Remove; let the sysdep-cancel.h code create it.
14432 2014-05-17 David S. Miller <davem@davemloft.net>
14434 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
14435 Protect with __USE_GNU.
14436 (TIOCSET_TEMPT): Likewise.
14437 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14438 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
14439 these are already provided in bits/ioctl-types.h
14441 2014-05-16 Roland McGrath <roland@hack.frob.com>
14443 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
14444 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
14446 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
14447 Use wait4 regardless of [__NR_waitpid].
14449 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14452 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14453 (_FP_NANSIGN_Q): Set the quiet bit.
14455 2014-05-16 Joseph Myers <joseph@codesourcery.com>
14457 * benchtests/Makefile
14458 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
14459 not $(common-objpfx)math/libm.so.
14460 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
14461 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
14462 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
14463 $(common-objpfx)dlfcn/libdl.so.
14464 ($(objpfx)tst-audit8): Depend on $(libm), not
14465 $(common-objpfx)math/libm.so.
14466 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
14467 not $(common-objpfx)dlfcn/libdl.so.
14469 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14470 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
14471 [$(build-shared) = yes].
14472 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
14473 $(common-objpfx)nptl/libpthread.so.
14474 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
14475 $(common-objpfx)math/libm.so$(libm.so-version) or
14476 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
14477 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
14478 $(common-objpfx)dlfcn/libdl.so.
14479 * setjmp/Makefile (link-libm): Remove variable.
14480 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
14481 * stdio-common/Makefile (link-libm): Remove variable.
14482 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
14483 * stdlib/Makefile (link-libm): Remove variable.
14484 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
14485 ($(objpfx)tst-strtod-round): Likewise.
14486 ($(objpfx)tst-tininess): Likewise.
14487 ($(objpfx)tst-strtod-underflow): Likewise.
14488 ($(objpfx)tst-strtod6): Likewise.
14489 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
14490 $(libdl), not $(common-objpfx)nptl/libpthread.so and
14491 $(common-objpfx)dlfcn/libdl.so.
14493 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14495 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
14496 BSD terminal modes definitions.
14498 2014-05-16 Roland McGrath <roland@hack.frob.com>
14500 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
14501 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
14503 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
14504 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
14505 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
14506 Don't do #include_next.
14507 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
14508 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
14509 Don't do #include_next.
14510 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
14511 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
14512 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
14513 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
14515 2014-05-16 Allan McRae <allan@archlinux.org>
14517 * po/sv.po: Update Swedish translation from translation project.
14519 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
14522 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
14525 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
14526 errno if the TIOCGPTN ioctl fails with an error different than
14528 * login/tst-ptsname.c: New file.
14529 * login/Makefile (tests): Add tst-ptsname.
14532 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
14535 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
14539 herrno to return EAI_AGAIN.
14541 2014-05-14 Roland McGrath <roland@hack.frob.com>
14543 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
14544 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
14545 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
14546 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
14547 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
14548 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
14549 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
14550 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
14551 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
14552 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
14553 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
14554 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
14555 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
14556 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
14557 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
14558 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
14559 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
14560 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
14561 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
14562 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
14563 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
14564 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
14565 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
14566 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
14567 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
14568 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
14569 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
14570 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
14571 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
14572 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
14573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
14574 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
14575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
14576 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
14577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14579 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
14580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
14581 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
14582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
14583 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
14584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
14585 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
14586 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
14587 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
14588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
14589 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
14590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
14591 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
14592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
14593 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
14594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
14595 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
14596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
14597 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
14598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
14599 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
14600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
14601 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
14602 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
14603 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
14604 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
14605 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
14606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
14608 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
14609 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
14610 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
14611 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
14612 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
14613 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
14614 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
14615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
14616 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
14617 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
14618 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
14619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
14620 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
14621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
14622 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
14623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
14624 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
14625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
14626 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
14627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
14629 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
14630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
14631 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
14633 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
14634 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
14635 (libpthread-sysdep_routines): Add elision-related stuff here instead.
14636 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
14637 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
14638 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
14639 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
14640 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
14641 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
14642 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
14643 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
14644 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
14645 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
14646 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
14647 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
14648 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
14649 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
14650 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
14651 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
14652 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
14653 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
14654 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
14655 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
14656 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
14657 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
14658 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
14659 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
14660 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
14661 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
14662 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
14663 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
14665 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
14666 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
14668 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
14669 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
14670 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
14671 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
14672 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
14673 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
14675 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
14676 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14678 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
14679 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14681 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
14682 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
14684 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
14685 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
14686 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
14687 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14689 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
14690 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
14691 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
14692 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
14693 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
14694 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
14695 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
14696 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14698 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
14699 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14701 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14703 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
14704 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
14705 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
14706 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
14707 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14709 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14711 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
14713 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
14714 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
14715 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
14716 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
14717 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
14718 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
14720 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
14721 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14723 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
14724 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14726 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
14727 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
14729 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
14730 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
14731 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
14732 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
14734 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
14735 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
14736 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
14737 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
14738 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
14739 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
14740 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
14741 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14743 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
14744 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14746 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14748 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
14749 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
14750 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
14751 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
14752 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14754 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14756 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
14758 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
14759 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
14760 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
14761 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
14762 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
14763 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
14764 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
14765 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
14766 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
14767 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
14769 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
14770 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14772 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
14773 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14775 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
14776 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
14778 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
14779 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
14780 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
14781 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
14782 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
14783 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14785 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
14786 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
14787 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
14788 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
14789 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
14790 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
14791 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
14792 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14794 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
14795 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14797 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14799 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
14800 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
14801 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
14802 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
14803 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14805 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14807 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
14809 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
14810 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
14811 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
14812 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
14813 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
14814 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
14815 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
14816 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
14817 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
14818 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
14819 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
14821 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
14822 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
14824 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
14825 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
14827 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
14828 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
14829 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
14830 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
14831 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
14832 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
14833 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
14834 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
14835 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
14836 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
14837 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
14838 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
14839 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
14840 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
14841 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
14842 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
14843 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
14844 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
14846 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
14847 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
14848 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
14849 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
14851 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
14852 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
14853 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
14854 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
14855 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
14856 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
14857 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
14858 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
14860 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
14861 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
14863 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
14864 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
14865 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
14866 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
14867 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
14868 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
14869 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
14870 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
14871 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
14872 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
14873 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
14874 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
14875 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
14876 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
14877 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
14878 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
14879 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
14881 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
14882 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
14883 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
14884 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
14885 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
14887 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
14888 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
14889 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
14890 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
14891 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
14892 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
14893 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
14894 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
14895 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
14896 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
14898 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
14899 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
14901 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
14902 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
14903 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
14904 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
14905 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
14906 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
14907 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
14908 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
14909 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
14910 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
14911 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
14912 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
14913 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
14914 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
14915 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
14917 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
14919 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14921 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14923 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14925 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
14927 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
14929 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14931 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
14933 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
14935 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
14936 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
14937 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
14938 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
14939 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
14940 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
14941 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
14942 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
14943 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
14944 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
14945 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
14946 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
14947 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
14948 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
14949 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
14951 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
14952 that was previously under [RESET_PID].
14953 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14954 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
14955 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
14957 * sysdeps/i386/nptl/Implies: New file.
14958 * sysdeps/x86_64/nptl/Implies: New file.
14959 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
14960 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
14961 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
14962 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
14964 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
14965 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14966 (__libc_vfork): New strong alias.
14967 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
14968 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
14970 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
14971 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14972 (__libc_vfork): New strong alias.
14973 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
14974 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
14976 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
14977 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14978 (__libc_vfork): New strong alias.
14979 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14980 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14981 * nptl/pt-vfork.c: New file.
14982 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14983 (libpthread: GLIBC_2.20): New version set (empty).
14985 2014-05-14 Will Newton <will.newton@linaro.org>
14987 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14990 2014-05-14 Joseph Myers <joseph@codesourcery.com>
14993 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14994 arguments with exponent 65 or above.
14995 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14996 arguments 0x1p113L or above.
14997 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14998 to arguments 0x1p107L or above.
14999 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
15000 positive arguments with exponent 65 or above.
15001 * math/auto-libm-test-in: Add more tests of log1p.
15002 * math/auto-libm-test-out: Regenerated.
15005 * math/s_cacos.c (__cacos): Ensure zero real part of result from
15006 non-finite arguments is +0.
15007 * math/s_cacosf.c (__cacosf): Likewise.
15008 * math/s_cacosl.c (__cacosl): Likewise.
15009 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
15010 * sysdeps/i386/fpu/libm-test-ulps: Update.
15011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15014 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
15016 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
15017 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
15018 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
15019 for explicit high bit of mantissa when testing for argument equal
15021 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
15022 * sysdeps/i386/fpu/libm-test-ulps: Update.
15023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15026 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
15027 (__erf): Scale by 16 instead of 8 in potentially underflowing
15028 case. Ensure exception if result actually underflows.
15029 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
15030 (__erff): Scale by 16 instead of 8 in potentially underflowing
15031 case. Ensure exception if result actually underflows.
15032 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
15033 (efx8): Remove variable.
15034 (__erfl): Scale by 16 instead of 8 in potentially underflowing
15035 case. Ensure exception if result actually underflows.
15036 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
15037 (efx8): Remove variable.
15038 (__erfl): Scale by 16 instead of 8 in potentially underflowing
15039 case. Ensure exception if result actually underflows.
15040 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
15041 (efx8): Remove variable.
15042 (__erfl): Scale by 16 instead of 8 in potentially underflowing
15043 case. Ensure exception if result actually underflows.
15044 * math/auto-libm-test-in: Add more tests of erf.
15045 * math/auto-libm-test-out: Regenerated.
15047 2014-05-14 Andreas Schwab <schwab@suse.de>
15049 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
15050 Remove code conditionalized on USE___THREAD.
15052 * config.h.in (HAVE_PT_CHOWN): Define as 0.
15053 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
15056 2014-05-14 Joseph Myers <joseph@codesourcery.com>
15058 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
15059 Define unconditionally.
15060 (__ASSUME_O_CLOEXEC): Likewise.
15061 (__ASSUME_SOCK_CLOEXEC): Likewise.
15062 (__ASSUME_IN_NONBLOCK): Likewise.
15063 (__ASSUME_PIPE2): Likewise.
15064 (__ASSUME_EVENTFD2): Likewise.
15065 (__ASSUME_SIGNALFD4): Likewise.
15066 (__ASSUME_DUP3): Likewise.
15067 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15068 (__ASSUME_DUP3): Do not define.
15069 (__ASSUME_EVENTFD2): Likewise.
15070 (__ASSUME_IN_NONBLOCK): Likewise.
15071 (__ASSUME_O_CLOEXEC): Likewise.
15072 (__ASSUME_PIPE2): Likewise.
15073 (__ASSUME_SIGNALFD4): Likewise.
15074 (__ASSUME_SOCK_CLOEXEC): Likewise.
15075 (__ASSUME_UTIMES): Undefine.
15076 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15077 (__ASSUME_UTIMES): Do not define.
15078 (__ASSUME_O_CLOEXEC): Likewise.
15079 (__ASSUME_SOCK_CLOEXEC): Likewise.
15080 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
15081 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
15083 (__ASSUME_PIPE2): Likewise.
15084 (__ASSUME_EVENTFD2): Likewise.
15085 (__ASSUME_SIGNALFD4): Likewise.
15086 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
15087 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
15089 (__ASSUME_EVENTFD2): Likewise.
15090 (__ASSUME_SIGNALFD4): Likewise.
15091 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15092 (__ASSUME_32BITUIDS): Likewise.
15093 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15094 (__ASSUME_IPC64): Likewise.
15095 (__ASSUME_ST_INO_64_BIT): Likewise.
15096 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
15097 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
15098 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15099 (__ASSUME_UTIMES): Do not define.
15100 (__ASSUME_PSELECT): Likewise.
15101 (__ASSUME_PPOLL): Likewise.
15102 (__ASSUME_O_CLOEXEC): Likewise.
15103 (__ASSUME_SOCK_CLOEXEC): Likewise.
15104 (__ASSUME_IN_NONBLOCK): Likewise.
15105 (__ASSUME_PIPE2): Likewise.
15106 (__ASSUME_EVENTFD2): Likewise.
15107 (__ASSUME_SIGNALFD4): Likewise.
15108 (__ASSUME_DUP3): Likewise.
15109 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15110 (__ASSUME_UTIMES): Likewise.
15111 (__ASSUME_O_CLOEXEC): Likewise.
15112 (__ASSUME_SOCK_CLOEXEC): Likewise.
15113 (__ASSUME_IN_NONBLOCK): Likewise.
15114 (__ASSUME_PIPE2): Likewise.
15115 (__ASSUME_EVENTFD2): Likewise.
15116 (__ASSUME_SIGNALFD4): Likewise.
15117 (__ASSUME_DUP3): Likewise.
15118 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15119 (__ASSUME_UTIMES): Likewise.
15120 (__ASSUME_O_CLOEXEC): Likewise.
15121 (__ASSUME_SOCK_CLOEXEC): Likewise.
15122 (__ASSUME_IN_NONBLOCK): Likewise.
15123 (__ASSUME_PIPE2): Likewise.
15124 (__ASSUME_EVENTFD2): Likewise.
15125 (__ASSUME_SIGNALFD4): Likewise.
15126 (__ASSUME_DUP3): Likewise.
15127 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
15129 (__ASSUME_UTIMES): Likewise.
15130 (__ASSUME_EVENTFD2): Likewise.
15131 (__ASSUME_SIGNALFD4): Likewise.
15132 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15133 (__ASSUME_O_CLOEXEC): Likewise.
15134 (__ASSUME_SOCK_CLOEXEC): Likewise.
15135 (__ASSUME_IN_NONBLOCK): Likewise.
15136 (__ASSUME_PIPE2): Likewise.
15137 (__ASSUME_EVENTFD2): Likewise.
15138 (__ASSUME_SIGNALFD4): Likewise.
15139 (__ASSUME_DUP3): Likewise.
15140 (__ASSUME_UTIMES): Undefine.
15142 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
15143 feclearexcept. Remove symbol versioning code.
15144 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
15145 symbol versioning code.
15146 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
15147 symbol versioning code.
15148 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
15149 feupdateenv. Remove symbol versioning code.
15150 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
15151 fegetexceptflag. Remove symbol versioning code.
15152 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
15153 fesetexceptflag. Remove symbol versioning code.
15154 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
15155 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
15156 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
15157 (__posix_fadvise64_l32): Remove prototype.
15158 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
15161 2014-05-13 Roland McGrath <roland@hack.frob.com>
15163 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
15164 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
15165 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
15166 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
15168 2014-05-13 Sami Kerola <kerolasa@iki.fi>
15170 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
15171 current working directory
15173 2014-05-13 Roland McGrath <roland@hack.frob.com>
15175 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
15176 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
15177 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
15178 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
15179 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
15180 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
15181 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
15182 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
15183 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
15184 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
15185 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
15186 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
15187 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
15188 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
15189 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
15190 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
15191 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
15192 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
15193 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
15194 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
15195 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
15196 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
15197 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
15198 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
15199 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
15200 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
15201 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
15202 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
15203 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
15204 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
15205 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
15206 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
15207 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
15208 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
15209 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
15210 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
15211 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
15212 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
15213 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
15214 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
15215 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
15216 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
15218 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
15219 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
15221 * sysdeps/unix/sysv/linux/arm/Makefile
15222 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
15223 Add rt-aeabi_unwind_cpp_pr1.
15224 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
15225 Add nptl-aeabi_unwind_cpp_pr1.
15226 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
15227 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
15228 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
15229 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15230 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
15231 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15233 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
15234 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
15235 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
15236 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
15238 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
15239 Deconditionalize the code that was previously under [RESET_PID].
15240 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
15242 * sysdeps/generic/exit-thread.h: New file.
15243 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
15244 * include/unistd.h (__exit_thread): Remove declaration.
15245 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
15246 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
15247 * csu/libc-start.c: Include <exit-thread.h>.
15248 (LIBC_START_MAIN): Pass no argument to __exit_thread.
15249 * nptl/pthread_create.c: Include <exit-thread.h>.
15250 (start_thread): Call __exit_thread in place of __exit_thread_inline.
15251 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
15252 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
15253 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
15254 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
15255 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
15256 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
15257 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
15258 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
15259 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
15260 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
15261 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
15262 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
15263 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
15264 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
15265 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
15266 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
15268 2014-05-13 Andreas Schwab <schwab@suse.de>
15270 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
15272 2014-05-12 Joseph Myers <joseph@codesourcery.com>
15274 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15275 (__ASSUME_UTIMES): Do not condition on kernel version.
15276 (__ASSUME_PSELECT): Define unconditionally.
15277 (__ASSUME_PPOLL): Likewise.
15278 (__ASSUME_ATFCTS): Likewise.
15279 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
15280 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
15281 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
15282 (__ASSUME_UTIMENSAT): Define unconditionally.
15283 (__ASSUME_PRIVATE_FUTEX): Likewise.
15284 (__ASSUME_FALLOCATE): Likewise.
15285 (__ASSUME_O_CLOEXEC): Likewise.
15286 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
15287 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
15288 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
15289 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
15290 (__ASSUME_IN_NONBLOCK): Likewise.
15291 (__ASSUME_PIPE2): Likewise.
15292 (__ASSUME_EVENTFD2): Likewise.
15293 (__ASSUME_SIGNALFD4): Likewise.
15294 (__ASSUME_DUP3): Likewise.
15295 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15296 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
15297 (__ASSUME_AT_RANDOM): Likewise.
15298 (__ASSUME_PREADV): Likewise.
15299 (__ASSUME_PWRITEV): Likewise.
15300 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
15301 (__ASSUME_F_GETOWN_EX): Define unconditionally.
15302 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
15303 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15304 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
15305 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15306 (__ASSUME_O_CLOEXEC): Define unconditionally.
15307 (__ASSUME_PSELECT): Do not undefine conditionally.
15308 (__ASSUME_PPOLL): Likewise.
15309 (__ASSUME_ATFCTS): Likewise.
15310 (__ASSUME_SET_ROBUST_LIST): Likewise.
15311 (__ASSUME_UTIMENSAT): Likewise.
15312 (__ASSUME_FDATASYNC): Define unconditionally.
15313 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15314 (__ASSUME_SIGFRAME_V2): Likewise.
15315 )__ASSUME_EVENTFD2): Likewise.
15316 (__ASSUME_SIGNALFD4): Likewise.
15317 (__ASSUME_PSELECT): Do not undefine conditionally.
15318 (__ASSUME_PPOLL): Likewise.
15319 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15320 (__ASSUME_PSELECT): Define unconditionally.
15321 (__ASSUME_PPOLL): Likewise.
15322 (__ASSUME_O_CLOEXEC): Likewise.
15323 (__ASSUME_SOCK_CLOEXEC): Likewise.
15324 (__ASSUME_IN_NONBLOCK): Likewise.
15325 (__ASSUME_PIPE2): Likewise.
15326 (__ASSUME_EVENTFD2): Likewise.
15327 (__ASSUME_SIGNALFD4): Likewise.
15328 (__ASSUME_DUP3): Likewise.
15329 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15330 (__ASSUME_O_CLOEXEC): Likewise.
15331 (__ASSUME_SOCK_CLOEXEC): Likewise.
15332 (__ASSUME_IN_NONBLOCK): Likewise.
15333 (__ASSUME_PIPE2): Likewise.
15334 (__ASSUME_EVENTFD2): Likewise.
15335 (__ASSUME_SIGNALFD4): Likewise.
15336 (__ASSUME_DUP3): Likewise.
15337 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15338 (__ASSUME_EVENTFD2): Likewise.
15339 (__ASSUME_SIGNALFD4): Likewise.
15340 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15342 2014-05-12 Andreas Schwab <schwab@suse.de>
15345 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
15346 (_nss_nis_gethostbyname4_r): Return error if item length is larger
15347 than maximum RPC packet size.
15348 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
15349 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
15350 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
15351 (_nss_nis_getservbyport_r): Likewise.
15353 2014-05-12 Will Newton <will.newton@linaro.org>
15355 * malloc/Makefile (tests): Add tst-mallopt.
15356 * malloc/tst-mallopt.c: New file.
15358 2014-05-09 Roland McGrath <roland@hack.frob.com>
15360 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
15361 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
15363 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15365 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
15366 (tst-tlsmod6.so): Likewise.
15368 2014-05-09 Roland McGrath <roland@hack.frob.com>
15370 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
15372 2014-05-09 Joseph Myers <joseph@codesourcery.com>
15375 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
15376 and <dl-procinfo.h>.
15377 (__fegetenv): Save SSE state in envp->__eip if supported.
15378 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
15379 envp->__eip if supported.
15380 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
15381 and <dl-procinfo.h>.
15382 (__fesetenv): Always set __eip, __cs_selector, __opcode,
15383 __data_offset and __data_selector in environment to 0. Set SSE
15384 state if supported.
15385 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15387 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
15389 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
15391 2014-05-09 Will Newton <will.newton@linaro.org>
15393 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
15394 and libc_relro_required for ARM.
15395 * sysdeps/arm/preconfigure: Regenerate.
15397 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
15398 Stefan Liebler <stli@linux.vnet.ibm.com>
15400 * config.make.in (enable-lock-elision): New Makefile variable.
15401 * configure.ac: Likewise.
15402 * configure: Regenerate.
15403 * sysdeps/s390/configure.ac:
15404 Add check for gcc transactions support.
15405 * sysdeps/s390/configure: Regenerate.
15406 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
15407 Build elision files if enabled.
15408 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
15409 Add lock elision support for s390.
15410 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
15411 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
15412 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
15413 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15414 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
15415 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
15416 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15418 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
15420 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
15422 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
15424 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
15425 (__lll_timedlock_elision, __lll_lock_elision)
15426 (__lll_unlock_elision, __lll_trylock_elision)
15427 (lll_timedlock_elision, lll_lock_elision)
15428 (lll_unlock_elision, lll_trylock_elision): Add.
15429 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15430 (pthread_mutex_t): Add lock elision support for s390.
15432 2014-05-14 Wilco <wdijkstr@arm.com>
15434 * sysdeps/arm/fclrexcpt.c: Cleanup.
15435 * sysdeps/arm/fedisblxcpt.c: Cleanup.
15436 * sysdeps/arm/feenablxcpt.c: Cleanup.
15437 * sysdeps/arm/fegetenv.c: Cleanup.
15438 * sysdeps/arm/fegetexcept.c: Cleanup.
15439 * sysdeps/arm/fegetround.c: Cleanup.
15440 * sysdeps/arm/feholdexcpt.c: Cleanup.
15441 * sysdeps/arm/fesetenv.c: Cleanup.
15442 * sysdeps/arm/fesetround.c: Cleanup.
15443 * sysdeps/arm/feupdateenv.c: Cleanup.
15444 * sysdeps/arm/fgetexcptflg.c: Cleanup.
15445 * sysdeps/arm/fraiseexcpt.c: Cleanup.
15446 * sysdeps/arm/fsetexcptflg.c: Cleanup.
15447 * sysdeps/arm/ftestexcept.c: Cleanup.
15448 * sysdeps/arm/get-rounding-mode.h: Cleanup.
15449 * sysdeps/arm/setfpucw.c: Cleanup.
15451 2014-05-09 Will Newton <will.newton@linaro.org>
15453 * sysdeps/arm/armv7/strcmp.S: New file.
15454 * NEWS: Mention addition of ARMv7 optimized strcmp.
15456 2014-05-08 Roland McGrath <roland@hack.frob.com>
15458 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
15459 look for %.ac rather than %.in.
15461 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
15462 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
15463 * sysdeps/mach/hurd/configure: Regenerated.
15464 * sysdeps/unix/sysv/linux/configure: Regenerated.
15466 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
15468 2014-05-07 Steve Ellcey <sellcey@mips.com>
15471 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
15475 2014-05-07 Andreas Schwab <schwab@suse.de>
15477 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
15478 when skipping over non-matching result from nscd.
15480 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
15483 * nptl/sockperf.c (client): Check socket return value.
15486 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
15487 nscd security class.
15489 2014-05-06 Roland McGrath <roland@hack.frob.com>
15491 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
15492 * sysdeps/arm/unwind.h: ... here.
15494 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
15497 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
15500 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15502 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
15503 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
15504 multiarch strncpy for PPC64.
15505 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
15506 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
15507 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
15508 multiarch optimizations.
15509 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15510 (__libc_ifunc_impl_list): Likewise.
15511 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
15512 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
15513 multiarch stpncpy for PPC64.
15514 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
15515 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
15517 2014-05-06 Andreas Schwab <schwab@suse.de>
15520 * gmon/mcount.c (_MCOUNT_DECL): Use
15521 atomic_compare_and_exchange_bool_acq instead of
15522 catomic_compare_and_exchange_bool_acq.
15524 2014-05-05 Roland McGrath <roland@hack.frob.com>
15526 * elf/Makefile (others, install-bin): Remove pldd.
15527 (pldd-modules): Variable removed.
15528 ($(objpfx)pldd): Target removed.
15529 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
15530 (others, install-bin): Append pldd here.
15531 ($(objpfx)pldd): New target.
15533 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
15534 to 0, so the first #if test emitted later doesn't see it undefined.
15535 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
15536 * sysdeps/gnu/errlist.c: Regenerated.
15538 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15540 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15541 [libc_hidden_builtin_def]: Define to empty value.
15542 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
15543 [libc_hidden_builtin_def]: Likewise.
15544 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
15545 [libc_hidden_builtin_def]: Likewise.
15546 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
15547 [libc_hidden_builtin_def]: Likewise.
15548 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
15549 __redirect_memcpy and define ifunc as default hidden symbol.
15550 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
15551 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
15553 2014-05-04 Adam Conrad <adconrad@0c3.net>
15555 * locale/iso-4217.def: Reintroduce XDR currency.
15557 2014-05-04 Allan McRae <allan@archlinux.org>
15559 * po/eo.po: Update Esperanto translation from translation project.
15561 2014-05-02 Carlos O'Donell <carlos@redhat.com>
15563 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
15564 and FEATURE_INDEX_MAX to 1.
15565 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
15567 2014-05-01 Steve Ellcey <sellcey@mips.com>
15569 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
15570 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
15571 * iconvdata/big5.c (ONE_DIRECTION): Define.
15572 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
15573 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
15574 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
15575 * iconvdata/cp932.c (ONE_DIRECTION): Define.
15576 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
15577 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
15578 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
15579 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
15580 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
15581 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
15582 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
15583 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
15584 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
15585 * iconvdata/gbk.c (ONE_DIRECTION): Define.
15586 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
15587 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
15588 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
15589 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
15590 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
15591 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
15592 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
15593 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
15594 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
15595 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
15596 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
15597 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
15598 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
15599 * iconvdata/iso646.c (ONE_DIRECTION): Define.
15600 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
15601 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
15602 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
15603 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
15604 * iconvdata/johab.c (ONE_DIRECTION): Define.
15605 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
15606 * iconvdata/sjis.c (ONE_DIRECTION): Define.
15607 * iconvdata/t.61.c (ONE_DIRECTION): Define.
15608 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
15609 * iconvdata/tscii.c (ONE_DIRECTION): Define.
15610 * iconvdata/uhc.c (ONE_DIRECTION): Define.
15611 * iconvdata/unicode.c (ONE_DIRECTION): Define.
15612 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
15613 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
15614 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
15616 2014-05-01 Roland McGrath <roland@hack.frob.com>
15618 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
15619 (_IO_JUMPS_OFFSET): Define to 0.
15621 * nptl/sysdeps/pthread/bits/libc-lock.h
15622 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15623 (__libc_lock_define_initialized_recursive): Always define using
15624 initializer. Modern compilers treat uninitialized (implicit zero) and
15625 explicit zero initializers the same (i.e. put the datum in bss).
15627 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
15629 * nscd/nscd-client.h: Include <string.h>.
15631 2014-05-01 David S. Miller <davem@davemloft.net>
15634 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
15635 multiple zero bytes exist at the end of a string.
15636 Reported by Aurelien Jarno <aurelien@aurel32.net>
15638 * string/test-strcmp.c (check): Add explicit test for situations where
15639 there are multiple zero bytes after the first.
15641 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
15644 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
15645 when compiling wprintf.
15646 * stdio-common/tstdiomisc.c (t3): New function.
15649 2014-05-01 Steve Ellcey <sellcey@mips.com>
15651 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
15652 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
15653 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
15654 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
15656 2014-05-01 Steve Ellcey <sellcey@mips.com>
15658 * stdlib/longlong.h: Updated from GCC.
15660 2014-05-01 Will Newton <will.newton@linaro.org>
15661 Bernard Ogden <bernie.ogden@linaro.org>
15663 * NEWS: Update fixed bug list.
15666 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
15668 2014-04-30 David S. Miller <davem@davemloft.net>
15670 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
15671 (libc_feholdexcept_setround_sparc_ctx): New function.
15672 (libc_fesetenv_sparc_ctx): Likewise.
15673 (libc_feupdateenv_sparc_ctx): Likewise.
15674 (libc_feholdsetround_sparc_ctx): Likewise.
15675 (libc_feholdexcept_setround_ctx): Define.
15676 (libc_feholdexcept_setroundf_ctx): Likewise.
15677 (libc_feholdexcept_setroundl_ctx): Likewise.
15678 (libc_fesetenv_ctx): Likewise.
15679 (libc_fesetenvf_ctx): Likewise.
15680 (libc_fesetenvl_ctx): Likewise.
15681 (libc_feupdateenv_ctx): Likewise.
15682 (libc_feupdateenvf_ctx): Likewise.
15683 (libc_feupdateenvl_ctx): Likewise.
15684 (libc_feresetround_ctx): Likewise.
15685 (libc_feresetroundf_ctx): Likewise.
15686 (libc_feresetroundl_ctx): Likewise.
15687 (libc_feholdsetround_ctx): Likewise.
15688 (libc_feholdsetroundf_ctx): Likewise.
15689 (libc_feholdsetroundl_ctx): Likewise.
15691 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15692 with __USE_GNU instead of XOPEN cpp guards.
15694 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
15697 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15698 with XOPEN cpp guards.
15700 2014-04-30 Julian Brown <julian@codesourcery.com>
15703 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
15706 2014-04-30 Joseph Myers <joseph@codesourcery.com>
15709 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
15711 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
15712 * sysdeps/unix/sysv/linux/configure: Regenerated.
15713 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
15714 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
15715 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
15716 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
15717 * README: Update reference to required Linux kernel version.
15718 * manual/install.texi (Linux): Update reference to required Linux
15719 kernel headers version.
15720 * INSTALL: Regenerated.
15722 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
15724 [POSIX] (limits.h): Likewise.
15725 [POSIX] (math.h): Likewise.
15726 [POSIX] (sys/wait.h): Likewise.
15727 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
15729 [POSIX] (stddef.h): Do not allow header inclusion.
15731 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15733 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
15735 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
15737 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15738 Return immediately after lll_futex_wake.
15740 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15743 * nscd/nscd-client.h (datahead_init_common): Initialize entire
15745 (datahead_init_pos): Call datahead_init_common early.
15746 (datahead_init_neg): Likewise.
15748 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
15749 datahead_init_neg): New functions.
15750 * nscd/aicache.c (addhstaiX): Use them.
15751 * nscd/grpcache.c (cache_addgr): Likewise.
15752 * nscd/hstcache.c (cache_addhst): Likewise.
15753 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15754 * nscd/netgroupcache.c (do_notfound): Likewise.
15755 (addgetnetgrentX): Likewise.
15756 (addinnetgrX): Likewise.
15757 * nscd/pwdcache.c (cache_addpw): Likewise.
15758 * nscd/servicescache.c (cache_addserv): Likewise.
15760 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15761 Atsushi Onoe <atsushi@onoe.org>
15766 * resolv/res_query.c (__libc_res_nsearch): Return if at least
15767 one response is valid.
15768 * resolv/res_send.c (send_dg): Check for validity of other
15769 response if the current response is a referral.
15771 2014-04-29 Steve Ellcey <sellcey@mips.com>
15773 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
15775 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
15778 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
15779 Always divide by positive zero when computing -Inf result.
15780 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15781 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15783 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15785 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
15786 FPSCR if value do not change.
15787 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15788 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
15789 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15790 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15791 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
15792 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
15795 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
15797 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
15798 * sysdeps/unix/sysv/linux/hppa: Move directory from
15799 ports/systeps/unix/sysv/linux/hppa.
15800 * README: Update listing for hppa-*-linux-gnu.
15802 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
15805 * manual/stdio.texi (Hook functions): Fix types of stream hook
15808 * socket/sys/socket.h: Fix typo in comment.
15810 2014-04-28 Wilco <wdijkstr@arm.com>
15812 * sysdeps/arm/fenv_private.h: New file.
15813 * sysdeps/arm/math_private.h: New file.
15814 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
15816 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
15818 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
15820 (La_x86_64_retval): Likewise.
15822 2014-04-24 Ian Bolton <ian.bolton@arm.com>
15824 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
15825 fpsr if value didn't change.
15826 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
15827 to fpcr if value didn't change.
15828 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
15829 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
15830 fpsr or fpcr if value didn't change.
15831 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15832 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
15833 fpcr if value didn't change.
15834 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
15835 to fpsr if value didn't change.
15837 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15839 * nptl/tst-sem3.c: Use test-skeleton.c
15840 (main): Rename to do_test. Use return instead of
15842 * nptl/tst-sem4.c: Use test-skeleton.c
15843 (main): Rename to do_test.
15845 2014-04-22 David S. Miller <davem@davemloft.net>
15847 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
15848 (struct sigaction): New struct member __glibc_reserved0, change
15849 type of sa_flags to int.
15851 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
15853 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
15854 (COUNT_LEADING_ZEROS_0): Define for AArch64.
15856 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15858 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
15859 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
15861 2014-04-22 Will Newton <will.newton@linaro.org>
15862 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
15864 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
15865 (__longjmp): Add longjmp and longjmp_target SystemTap
15867 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
15868 (__sigsetjmp): Add setjmp SystemTap probe.
15870 2014-04-17 Carlos O'Donell <carlos@redhat.com>
15872 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
15873 match manual order.
15875 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15877 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
15879 * sysdeps/powerpc/fpu/fenv_private.h
15880 (libc_feholdexcept_setroundl_ctx): Define to
15881 libc_feholdexcept_setround_ppc_ctx.
15882 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
15883 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
15884 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
15885 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
15887 2014-04-17 Ian Bolton <ian.bolton@arm.com>
15889 * sysdeps/aarch64/math-tests.h: New file.
15891 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
15893 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
15895 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15896 Check and set bit_AVX2_Usable.
15897 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
15899 (bit_AVX2): Likewise.
15900 (index_AVX2_Usable): Likewise.
15901 (CPUID_AVX2): Likewise.
15902 (HAS_AVX2): Likewise.
15904 2014-04-17 Will Newton <will.newton@linaro.org>
15906 * manual/setjmp.texi (System V contexts): Add note that
15907 calling setcontext on a context created by a call to a
15908 signal handler is undefined. Update text to note that
15909 setcontext from a signal handler is possible but not
15913 * stdlib/tst-setcontext.c: Include signal.h.
15914 (main): Check that the signal stack before and
15915 after swapcontext is the same.
15917 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
15918 Re-implement to restore registers in user code and avoid
15919 rt_sigreturn system call.
15921 2014-04-17 Wilco <wdijkstr@arm.com>
15923 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
15924 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
15925 * math/test-fenv.c: Skip exception trap tests on targets which only
15926 support non-stop mode.
15928 2014-04-17 Ian Bolton <ian.bolton@arm.com>
15929 Wilco Dijkstra <wilco.dijkstra@arm.com>
15931 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
15932 (libc_feholdsetround_aarch64_ctx)
15933 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
15934 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
15935 (libc_feresetround_ctx, libc_feresetroundf_ctx)
15936 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
15937 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
15938 (libc_feresetround_noexl_ctx): Define.
15940 2014-04-16 Richard Henderson <rth@redhat.com>
15942 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
15944 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
15947 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
15948 const from the non-libc, non-ldso copy.
15950 * sysdeps/alpha/libm-test-ulps: Regenerate.
15952 2014-04-16 Ian Bolton <ian.bolton@arm.com>
15953 Wilco Dijkstra <wilco.dijkstra@arm.com>
15955 * sysdeps/aarch64/fpu/math_private.h: New file.
15957 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
15959 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15961 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
15964 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
15965 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
15966 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
15967 Intel MPX bound registers before _dl_profile_fixup.
15968 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
15969 registers after _dl_profile_fixup. Save and restore bound
15970 registers bnd0/bnd1 when calling _dl_call_pltexit.
15971 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15972 (LR_BND_OFFSET): Likewise.
15973 (LRV_BND0_OFFSET): Likewise.
15974 (LRV_BND1_OFFSET): Likewise.
15976 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15978 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15980 * sysdeps/mach/hurd/i386/tls.h: ... here.
15981 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15982 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15985 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15987 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15989 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15991 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15993 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15996 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15997 * sysdeps/s390/configure: Regenerate.
16000 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
16001 Set round-to-nearest internally to reduce error accumulation.
16003 2014-04-16 Alan Modra <amodra@gmail.com>
16007 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
16008 * math/libm-test.inc (frexp_test_data): Add tests.
16009 * NEWS: Update fixed bug list.
16011 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16013 * benchtests/Makefile: Depend on libraries in build directory.
16014 (bench-math): Separate out math tests.
16015 (bench-pthread): Separate out pthread tests.
16016 (bench): Include math and pthread tests.
16018 2014-04-14 Carlos O'Donell <carlos@redhat.com>
16021 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
16022 _dl_debug_initialize.
16024 * configure.ac: Remove SELinux header check.
16025 * configure: Regenerate.
16026 * nscd/selinux.c (perms): Array of const char* to permission names.
16027 (nscd_request_avc_has_perm): Call security_deny_unknown to find
16028 default policy. Call string_to_security_class and string_to_av_perm to
16029 translate strings. Enforce default policy and call avs_has_perm with
16030 results of translated strings.
16032 2014-04-13 David S. Miller <davem@davemloft.net>
16034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16036 2014-04-12 Allan McRae <allan@archlinux.org>
16039 * manual/string.texi (Collation Functions): Fix qsort argument
16041 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16043 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
16045 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
16046 Make the test a no-op if there are no exceptions defined.
16048 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
16050 * elf/Makefile (tests): make tst-dlopen-aout conditional on
16051 enable-hardcoded-path-in-tests
16053 2014-04-11 Will Newton <will.newton@linaro.org>
16055 * benchtests/Makefile (extra-objs): Add json-lib.o.
16056 (bench-func): Tidy up JSON output.
16057 * benchtests/bench-skeleton.c: Include json-lib.h.
16058 (main): Use JSON library functions to do output of
16060 * benchtests/bench-timing-type.c (main): Output the
16061 timing type simply, leaving formatting to the user.
16062 * benchtests/json-lib.c: New file.
16063 * benchtests/json-lib.h: Likewise.
16065 2014-04-11 Torvald Riegel <triegel@redhat.com>
16068 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
16069 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
16070 memory barriers. Add comments.
16071 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
16072 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
16073 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
16074 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
16075 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
16076 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
16078 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16080 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
16081 * sysdeps/s390/s390-64/configure.ac: ... this ...
16082 * sysdeps/s390/configure.ac: ... to here.
16083 * sysdeps/s390/s390-32/configure: Delete file.
16084 * sysdeps/s390/s390-64/configure: Delete file.
16085 * sysdeps/s390/configure: Regenerate.
16087 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
16089 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
16091 2014-04-11 Will Newton <will.newton@linaro.org>
16093 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
16094 to zero if it is not defined elsewhere. (mtrim): Test
16095 the value of MALLOC_DEBUG with #if rather than #ifdef.
16097 2014-04-10 Torvald Riegel <triegel@redhat.com>
16099 * benchtests/pthread_once-inputs: New file.
16100 * benchtests/pthread_once-source.c: New file.
16101 * benchtests/README: Update documentation.
16103 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
16104 H.J. Lu <hongjiu.lu@intel.com>
16107 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
16108 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
16109 * sysdeps/x86_64/configure: Regenerated.
16110 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
16112 (REGISTER_SAVE_RAX): Likewise.
16113 (REGISTER_SAVE_RCX): Likewise.
16114 (REGISTER_SAVE_RDX): Likewise.
16115 (REGISTER_SAVE_RSI): Likewise.
16116 (REGISTER_SAVE_RDI): Likewise.
16117 (REGISTER_SAVE_R8): Likewise.
16118 (REGISTER_SAVE_R9): Likewise.
16119 (REGISTER_SAVE_BND0): Likewise.
16120 (REGISTER_SAVE_BND1): Likewise.
16121 (REGISTER_SAVE_BND2): Likewise.
16122 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
16123 bound registers when calling _dl_fixup.
16125 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16127 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
16128 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
16130 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
16131 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
16132 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
16133 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
16134 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
16135 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
16136 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
16138 2014-04-09 Peter Brett <peter@peter-b.co.uk>
16141 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
16142 pathconf(_PC_NAME_MAX).
16144 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16146 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
16147 Remove macro usage.
16148 (__PTHREAD_SPINS): Move definition to ...
16149 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16150 (__PTHREAD_SPINS): ... here.
16151 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16152 (__PTHREAD_SPIN): Likewise.
16153 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
16154 (__PTHREAD_SPIN): Likewise.
16155 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
16156 (__PTHREAD_SPIN): Likewise.
16157 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
16158 (__PTHREAD_SPIN): Likewise.
16159 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16160 (__PTHREAD_SPIN): Likewise.
16161 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16162 (__PTHREAD_SPIN): Likewise.
16163 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
16164 (__PTHREAD_SPIN): Likewise.
16165 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16166 (__PTHREAD_SPIN): Likewise.
16167 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16168 (__PTHREAD_SPIN): Likewise.
16169 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16170 (__PTHREAD_SPIN): Likewise.
16171 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16172 (__PTHREAD_SPIN): Likewise.
16173 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
16174 (__PTHREAD_SPIN): Likewise.
16176 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
16177 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
16178 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
16179 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
16181 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
16182 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
16183 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
16184 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
16185 correct imply path.
16186 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
16187 strlen symbol for non multi-arch builds.
16188 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
16189 missing hidden_def and weak_alias.
16191 2014-04-08 Carlos O'Donell <carlos@redhat.com>
16193 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
16195 2014-04-07 Will Newton <will.newton@linaro.org>
16197 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
16198 and contents. [!_LIBC] Remove #ifndef and contents.
16199 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
16200 * string/memccpy.c (__memccpy): Use ANSI prototype.
16201 * string/memfrob.c (memfrob): Likewise.
16202 * string/strcoll.c (STRCOLL): Likewise.
16203 * string/strlen.c (strlen): Likewise.
16204 * string/strtok.c (STRTOK): Likewise.
16205 * string/strcat.c: Remove unused #include of memcopy.h.
16206 (strcat): Use ANSI prototype.
16207 * string/strchr.c: Remove unused #include of memcopy.h.
16208 (strchr): Use ANSI prototype.
16209 * string/strcmp.c: Remove unused #include of memcopy.h.
16210 (strcmp): Use ANSI prototype.
16211 * string/strcpy.c: Remove unused #include of memcopy.h.
16212 (strcpy): Use ANSI prototype.
16214 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16216 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
16217 * config.make.in (config-extra-cppflags): Set it from
16218 libc_extra_cppflags.
16219 * configure.ac (libc_extra_cflags): Make it accumulate over
16220 configure fragments.
16221 (libc_extra_cppflags): New flag.
16222 * configure. Regenerate.
16223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
16224 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
16225 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
16226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16229 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
16230 result for FE_DOWNWARD rounding mode.
16231 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
16233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16235 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
16237 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
16238 in function argument name.
16240 2014-04-03 David Svoboda <svoboda@cert.org>
16243 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
16246 2014-04-03 Roland McGrath <roland@hack.frob.com>
16248 * elf/dl-unmap-segments.h: New file.
16249 * sysdeps/generic/ldsodefs.h
16250 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
16251 * elf/dl-close.c: Include <dl-unmap-segments.h>.
16252 * elf/dl-fptr.c: Likewise.
16253 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
16254 * sysdeps/aarch64/tlsdesc.c: Likewise.
16255 * sysdeps/arm/tlsdesc.c: Likewise.
16256 * sysdeps/i386/tlsdesc.c: Likewise.
16257 * sysdeps/tile/dl-runtime.c: Likewise.
16258 * sysdeps/x86_64/tlsdesc.c: Likewise.
16259 * elf/dl-load.h: New file.
16260 * elf/dl-load.c: Include it.
16261 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
16262 Macros moved to dl-load.h.
16263 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
16264 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
16265 Use _dl_unmap_segments in place of __munmap.
16266 Break out segment-mapping loop into ...
16267 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
16269 2014-04-03 Will Newton <will.newton@linaro.org>
16271 * elf/dl-lookup.c (do_lookup_x): Remove comment
16272 referring to nested function and move variable
16273 declarations down to before first use.
16275 2014-04-02 Joseph Myers <joseph@codesourcery.com>
16279 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
16281 * math/s_catanf.c (__catanf): Likewise.
16282 * math/s_catanh.c (__catanh): Likewise.
16283 * math/s_catanhf.c (__catanhf): Likewise.
16284 * math/s_catanhl.c (__catanhl): Likewise.
16285 * math/s_catanl.c (__catanl): Likewise.
16286 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
16287 by positive zero when computing -Inf result.
16288 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
16289 (catanh_test): Likewise.
16290 * sysdeps/i386/fpu/libm-test-ulps: Update.
16291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16294 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
16295 instead of using underflowing value in computing result.
16296 * math/s_clog10.c (__clog10): Likewise.
16297 * math/s_clog10f.c (__clog10f): Likewise.
16298 * math/s_clog10l.c (__clog10l): Likewise.
16299 * math/s_clogf.c (__clogf): Likewise.
16300 * math/s_clogl.c (__clogl): Likewise.
16301 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
16302 (clog10_test): Likewise.
16303 * sysdeps/i386/fpu/libm-test-ulps: Update.
16304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16306 2014-04-02 Alan Modra <amodra@gmail.com>
16309 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
16310 output when value is near a power of two. Use int64_t for lx and
16311 remove casts. Use decimal rather than hex exponent constants.
16312 Don't use long double multiplication when double will suffice.
16313 * math/libm-test.inc (nextafter_test_data): Add tests.
16314 * NEWS: Add 16739 and 16786 to bug list.
16316 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
16318 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
16320 2014-04-01 Will Newton <will.newton@linaro.org>
16322 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
16323 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
16325 2014-04-01 Florian Weimer <fweimer@redhat.com>
16328 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
16329 * nptl/tst-setuid2.c: New file.
16330 * nptl/Makefile (xtests): Add tst-setuid2.
16332 2014-04-01 Alan Modra <amodra@gmail.com>
16335 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
16337 2014-03-31 Joseph Myers <joseph@codesourcery.com>
16341 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
16342 set errno as appropriate.
16343 * math/w_scalbf.c (__scalbf): Likewise.
16344 * math/w_scalbl.c (__scalbl): Likewise.
16345 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
16346 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
16347 * math/libm-test.inc (scalb_test_data): Add errno expectations.
16348 Add more NaN tests.
16351 * math/w_atan2.c: Include <errno.h>.
16352 (__atan2): Set errno for result underflowing to zero.
16353 * math/w_atan2f.c: Include <errno.h>.
16354 (__atan2f): Set errno for result underflowing to zero.
16355 * math/w_atan2l.c: Include <errno.h>.
16356 (__atan2l): Set errno for result underflowing to zero.
16357 * math/auto-libm-test-in: Don't allow missing errno for some atan2
16359 * math/auto-libm-test-out: Regenerated.
16361 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16363 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
16364 Encode instruction correctly in little endian.
16365 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
16367 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
16369 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
16371 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
16374 2014-03-31 Joseph Myers <joseph@codesourcery.com>
16377 * sysdeps/unix/sysv/linux/kernel-features.h
16378 [__sparc__ && !__arch64__ && !__sparc_v9__]
16379 (__ASSUME_SET_ROBUST_LIST): Do not define.
16380 [__sparc__ && !__arch64__ && !__sparc_v9__]
16381 (__ASSUME_FUTEX_LOCK_PI): Likewise.
16382 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
16384 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16385 (__ASSUME_FUTEX_LOCK_PI): Undefine.
16386 (__ASSUME_REQUEUE_PI): Likewise.
16387 (__ASSUME_SET_ROBUST_LIST): Likewise.
16388 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16389 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
16391 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16392 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
16394 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
16396 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
16398 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16399 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
16401 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
16402 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
16406 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16407 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
16408 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
16410 2014-03-31 Will Newton <will.newton@linaro.org>
16412 * benchtests/Makefile (bench): Add ffs and ffsll to list
16414 * benchtests/ffs-inputs: New file.
16415 * benchtests/ffsll-inputs: Likewise.
16417 2014-03-29 Joseph Myers <joseph@codesourcery.com>
16420 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
16421 too large before casting to int.
16422 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
16423 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
16424 * math/libm-test.inc (scalb_test_data): Add more tests.
16426 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16428 * benchtests/Makefile (DETAILED_OPT): New make option.
16429 (bench-func): Run benchmark program with -d if DETAILED_OPT is
16431 * benchtests/bench-skeleton.c: Include stdbool.h.
16432 (main): Store and print timings per input.
16433 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
16434 member to each argument value.
16435 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
16436 (_print_arg_data): Initialize per-input timing to 0.
16438 * benchtests/Makefile (timing-type): New binary.
16439 (bench-clean): Also remove bench-timing-type.
16440 (bench): New target for timing-type.
16441 (bench-func): Print output in JSON format.
16442 * benchtests/bench-skeleton.c (main): Print output in JSON
16444 * benchtests/bench-timing-type.c: New file.
16445 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
16446 (TIMING_PRINT_STATS): Remove.
16447 * benchtests/scripts/bench.py (_print_arg_data): Store variant
16450 * benchtests/bench-modf.c: Remove.
16451 * benchtests/modf-inputs: New inputs file.
16453 2014-03-28 Joseph Myers <joseph@codesourcery.com>
16456 * math/s_clog10.c (M_PI_LOG10E): New macro.
16457 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
16458 imaginary parts are 0.
16459 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
16460 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
16461 imaginary parts are 0.
16462 * math/s_clog10l.c (M_PI_LOG10El): New macro.
16463 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
16464 imaginary parts are 0.
16465 * math/libm-test.inc (clog10_test_data): Update expected results
16466 for when real and imaginary parts are 0.
16468 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
16470 * elf/dl-load.c: Finish conversion of __builtin_expect into
16471 __glibc_{un}likely.
16473 2014-03-27 Joseph Myers <joseph@codesourcery.com>
16476 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
16477 1+x for argument with exponent below -67.
16478 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
16480 * math/auto-libm-test-in: Add more tests of exp.
16481 * math/auto-libm-test-out: Regenerated.
16483 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16486 * inet/getnetgrent_r.c (get_nonempty_val): New function.
16487 (nscd_getnetgrent): Use it.
16490 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
16493 2014-03-27 Andi Kleen <ak@linux.intel.com>
16495 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
16496 (lll_robust_lock, lll_cond_lock, lll_timedlock)
16497 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
16498 (lll_robust_unlock): Remove out of line section. Use cfi
16500 (LLL_STUB_UNWIND_INFO*): Remove.
16501 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
16502 (lll_robust_lock, lll_cond_lock, lll_timedlock)
16503 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
16504 (lll_robust_unlock): Remove out of line section. Use cfi
16506 (LLL_STUB_UNWIND_INFO*): Remove.
16508 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16511 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
16514 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
16516 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
16518 2014-03-26 Joseph Myers <joseph@codesourcery.com>
16521 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
16523 * math/test-fenv-preserve.c: New file.
16524 * math/Makefile (tests): Add test-fenv-preserve.
16526 2014-03-26 Will Newton <will.newton@linaro.org>
16528 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
16530 2014-03-25 Roland McGrath <roland@hack.frob.com>
16532 * scripts/versionlist.awk: Partition the version sets and emit all
16533 GLIBC_* (sorted) before all others (sorted).
16535 2014-03-25 Joseph Myers <joseph@codesourcery.com>
16537 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
16538 GLIBC_2.2.5 version.
16540 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16542 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
16545 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
16548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16550 2014-03-25 Andreas Schwab <schwab@suse.de>
16552 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
16553 label to be used after in6ailist is initialized.
16555 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16557 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16558 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
16560 2014-03-25 Joseph Myers <joseph@codesourcery.com>
16564 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
16566 (fp_formats): Update initializers.
16567 (init_fp_formats): Initialize new field.
16568 (output_for_one_input_case): Allow underflow for results up to
16570 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
16571 * math/auto-libm-test-in: Don't mark some underflows from asin and
16573 * math/auto-libm-test-out: Regenerated.
16574 * sysdeps/i386/fpu/libm-test-ulps: Update.
16575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16577 2014-03-25 Andreas Schwab <schwab@suse.de>
16579 * libio/Makefile (tst-ftell-partial-wide-ENV)
16580 (tst-ftell-active-handler-ENV): Define.
16582 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
16584 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
16586 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
16588 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
16590 2014-03-24 Joseph Myers <joseph@codesourcery.com>
16592 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
16593 * sysdeps/x86_64/fpu/multiarch/e_exp.c
16594 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16596 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
16599 * elf/dl-load.c (open_verify): Add mode parameter.
16600 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
16601 (open_path): Change from boolean 'secure' to complete flag 'mode'
16602 (_dl_map_object): Adjust.
16603 * elf/Makefile (tests): Add tst-dlopen-aout.
16604 * elf/tst-dlopen-aout.c: New test.
16606 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16609 * sysdeps/unix/sysv/linux/s390/bits/stat.h
16610 (struct stat): Rename member pad0 to __glibc_reserved0.
16613 * sysdeps/s390/s390-32/bits/wordsize.h
16614 (__WORDSIZE32_SIZE_ULONG): New define.
16615 * sysdeps/s390/s390-64/bits/wordsize.h
16616 (__WORDSIZE32_SIZE_ULONG): Likewise.
16617 * sysdeps/generic/stdint.h (SIZE_MAX):
16618 Define as UL if __WORDSIZE32_SIZE_ULONG.
16621 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
16622 (__glibc_reserved0): New variable.
16623 (sa_flags): Change type to int.
16625 * posix/Makefile (before-compile): Use += before-compile instead
16628 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16629 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
16631 2014-03-20 Andreas Schwab <schwab@suse.de>
16634 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
16635 non-matching result from nscd.
16637 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16639 * scripts/bench.py: Moved to ...
16640 * benchtests/scripts/bench.py: ... here.
16641 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
16643 2014-03-24 Andreas Schwab <schwab@suse.de>
16646 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
16647 alloca_account and account alloca use for struct in6ailist.
16649 2014-03-24 Joseph Myers <joseph@codesourcery.com>
16652 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
16653 rounding mode to recompute results that overflow to infinity or
16655 * math/auto-libm-test-in: Don't mark tests as expected to fail for
16657 * math/auto-libm-test-out: Regenerated.
16658 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
16659 (ccosh_test): Likewise.
16660 (csin_test_data): Use plus_oflow.
16661 (csin_test): Use ALL_RM_TEST.
16662 (csinh_test_data): Use plus_oflow.
16663 (csinh_test): Use ALL_RM_TEST.
16664 * sysdeps/i386/fpu/libm-test-ulps: Update.
16665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16667 2014-03-21 Joseph Myers <joseph@codesourcery.com>
16669 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
16670 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
16671 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
16674 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
16675 when x - 1 is zero.
16676 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
16677 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
16678 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16679 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
16681 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
16682 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
16684 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
16685 * sysdeps/i386/fpu/libm-test-ulps: Update.
16686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16688 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16690 * scripts/bench.pl: Remove file.
16691 * scripts/bench.py: New benchmark script.
16692 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
16693 * benchtests/README: Mention python dependency.
16694 * scripts/pylintrc: New file.
16695 * scripts/pylint: New file.
16697 * bits/mathdef.h: Use #ifdef instead of #if.
16698 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
16699 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16700 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
16701 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16702 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
16703 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16705 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16706 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16708 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
16709 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
16710 and strpbrk-ppc64 objects.
16711 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16712 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
16713 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
16714 multiarch strpbrk for POWER7.
16715 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
16716 multiarch strpbrk for PPC64.
16717 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
16719 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
16720 strpbrk for POWER7.
16722 2014-03-20 Joseph Myers <joseph@codesourcery.com>
16724 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
16725 (atan_test): Likewise.
16726 (atanh_test_data): Use NO_TEST_INLINE for two tests.
16727 (atanh_test): Use ALL_RM_TEST.
16728 (atan2_test_data): Likewise.
16729 (cabs_test): Likewise.
16730 (cacosh_test): Likewise.
16731 (carg_test): Likewise.
16732 (casin_test): Likewise.
16733 (casinh_test): Likewise.
16734 (cbrt_test): Likewise.
16735 (csqrt_test): Likewise.
16736 (erf_test): Likewise.
16737 (erfc_test): Likewise.
16738 (pow10_test): Likewise.
16739 (exp2_test): Likewise.
16740 (hypot_test): Likewise.
16741 (j0_test): Likewise.
16742 (j1_test): Likewise.
16743 (lgamma_test): Likewise.
16744 (gamma_test): Likewise.
16745 (sincos_test): Likewise.
16746 (tanh_test): Likewise.
16747 (y0_test): Likewise.
16748 (y1_test): Likewise.
16749 * sysdeps/i386/fpu/libm-test-ulps: Update.
16750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16752 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16754 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
16755 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
16756 and strcspn-ppc64 objects.
16757 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16758 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
16759 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
16760 multiarch strcspn for POWER7.
16761 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
16762 multiarch strcspn for PPC64.
16763 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
16765 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
16766 strcspn for POWER7.
16768 2014-03-20 Joseph Myers <joseph@codesourcery.com>
16770 * math/gen-libm-test.pl (generate_testfile): Expect only function
16771 name as argument to AUTO_TESTS_* and pass results for all rounding
16772 modes to parse_args.
16773 (parse_auto_input): Separate inputs of automatic tests from
16774 outputs before storing in %auto_tests.
16775 * math/libm-test.inc (acos_test_data): Update call to
16777 (acos_test): Use ALL_RM_TEST.
16778 (acos_tonearest_test_data): Remove.
16779 (acos_test_tonearest): Likewise.
16780 (acos_towardzero_test_data): Likewise.
16781 (acos_test_towardzero): Likewise.
16782 (acos_downward_test_data): Likewise.
16783 (acos_test_downward): Likewise.
16784 (acos_upward_test_data): Likewise.
16785 (acos_test_upward): Likewise.
16786 (acosh_test_data): Update call to AUTO_TESTS_f_f.
16787 (asin_test_data): Likewise.
16788 (asin_test): Use ALL_RM_TEST.
16789 (asin_tonearest_test_data): Remove.
16790 (asin_test_tonearest): Likewise.
16791 (asin_towardzero_test_data): Likewise.
16792 (asin_test_towardzero): Likewise.
16793 (asin_downward_test_data): Likewise.
16794 (asin_test_downward): Likewise.
16795 (asin_upward_test_data): Likewise.
16796 (asin_test_upward): Likewise.
16797 (asinh_test_data): Update call to AUTO_TESTS_f_f.
16798 (atan_test_data): Likewise.
16799 (atanh_test_data): Likewise.
16800 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
16801 (cabs_test_data): Update call to AUTO_TESTS_c_f.
16802 (carg_test_data): Likewise.
16803 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
16804 (ccos_test_data): Update call to AUTO_TESTS_c_c.
16805 (ccosh_test_data): Likewise.
16806 (cexp_test_data): Likewise.
16807 (clog_test_data): Likewise.
16808 (clog10_test_data): Likewise.
16809 (cos_test_data): Update call to AUTO_TESTS_f_f.
16810 (cos_test): Use ALL_RM_TEST.
16811 (cos_tonearest_test_data): Remove.
16812 (cos_test_tonearest): Likewise.
16813 (cos_towardzero_test_data): Likewise.
16814 (cos_test_towardzero): Likewise.
16815 (cos_downward_test_data): Likewise.
16816 (cos_test_downward): Likewise.
16817 (cos_upward_test_data): Likewise.
16818 (cos_test_upward): Likewise.
16819 (cosh_test_data): Update call to AUTO_TESTS_f_f.
16820 (cosh_test): Use ALL_RM_TEST.
16821 (cosh_tonearest_test_data): Remove.
16822 (cosh_test_tonearest): Likewise.
16823 (cosh_towardzero_test_data): Likewise.
16824 (cosh_test_towardzero): Likewise.
16825 (cosh_downward_test_data): Likewise.
16826 (cosh_test_downward): Likewise.
16827 (cosh_upward_test_data): Likewise.
16828 (cosh_test_upward): Likewise.
16829 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
16830 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
16831 (ctan_test_data): Likewise.
16832 (ctan_test): Use ALL_RM_TEST.
16833 (ctan_tonearest_test_data): Remove.
16834 (ctan_test_tonearest): Likewise.
16835 (ctan_towardzero_test_data): Likewise.
16836 (ctan_test_towardzero): Likewise.
16837 (ctan_downward_test_data): Likewise.
16838 (ctan_test_downward): Likewise.
16839 (ctan_upward_test_data): Likewise.
16840 (ctan_test_upward): Likewise.
16841 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
16842 (ctanh_test): Use ALL_RM_TEST.
16843 (ctanh_tonearest_test_data): Remove.
16844 (ctanh_test_tonearest): Likewise.
16845 (ctanh_towardzero_test_data): Likewise.
16846 (ctanh_test_towardzero): Likewise.
16847 (ctanh_downward_test_data): Likewise.
16848 (ctanh_test_downward): Likewise.
16849 (ctanh_upward_test_data): Likewise.
16850 (ctanh_test_upward): Likewise.
16851 (erf_test_data): Update call to AUTO_TESTS_f_f.
16852 (erfc_test_data): Likewise.
16853 (exp_test_data): Likewise.
16854 (exp_test): Use ALL_RM_TEST.
16855 (exp_tonearest_test_data): Remove.
16856 (exp_test_tonearest): Likewise.
16857 (exp_towardzero_test_data): Likewise.
16858 (exp_test_towardzero): Likewise.
16859 (exp_downward_test_data): Likewise.
16860 (exp_test_downward): Likewise.
16861 (exp_upward_test_data): Likewise.
16862 (exp_test_upward): Likewise.
16863 (exp10_test_data): Update call to AUTO_TESTS_f_f.
16864 (exp10_test): Use ALL_RM_TEST.
16865 (exp10_tonearest_test_data): Remove.
16866 (exp10_test_tonearest): Likewise.
16867 (exp10_towardzero_test_data): Likewise.
16868 (exp10_test_towardzero): Likewise.
16869 (exp10_downward_test_data): Likewise.
16870 (exp10_test_downward): Likewise.
16871 (exp10_upward_test_data): Likewise.
16872 (exp10_test_upward): Likewise.
16873 (exp2_test_data): Update call to AUTO_TESTS_f_f.
16874 (expm1_test_data): Likewise.
16875 (expm1_test): Use ALL_RM_TEST.
16876 (expm1_tonearest_test_data): Remove.
16877 (expm1_test_tonearest): Likewise.
16878 (expm1_towardzero_test_data): Likewise.
16879 (expm1_test_towardzero): Likewise.
16880 (expm1_downward_test_data): Likewise.
16881 (expm1_test_downward): Likewise.
16882 (expm1_upward_test_data): Likewise.
16883 (expm1_test_upward): Likewise.
16884 (fma_test_data): Update call to AUTO_TESTS_fff_f.
16885 (fma_test): Use ALL_RM_TEST.
16886 (fma_towardzero_test_data): Remove.
16887 (fma_test_towardzero): Likewise.
16888 (fma_downward_test_data): Likewise.
16889 (fma_test_downward): Likewise.
16890 (fma_upward_test_data): Likewise.
16891 (fma_test_upward): Likewise.
16892 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
16893 (j0_test_data): Update call to AUTO_TESTS_f_f.
16894 (j1_test_data): Likewise.
16895 (jn_test_data): Update call to AUTO_TESTS_if_f.
16896 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
16897 (log_test_data): Update call to AUTO_TESTS_f_f.
16898 (log10_test_data): Likewise.
16899 (log1p_test_data): Likewise.
16900 (log2_test_data): Likewise.
16901 (pow_test_data): Update call to AUTO_TESTS_ff_f.
16902 (pow_tonearest_test_data): Likewise.
16903 (sin_test_data): Update call to AUTO_TESTS_f_f.
16904 (sin_test): Use ALL_RM_TEST.
16905 (sin_tonearest_test_data): Remove.
16906 (sin_test_tonearest): Likewise.
16907 (sin_towardzero_test_data): Likewise.
16908 (sin_test_towardzero): Likewise.
16909 (sin_downward_test_data): Likewise.
16910 (sin_test_downward): Likewise.
16911 (sin_upward_test_data): Likewise.
16912 (sin_test_upward): Likewise.
16913 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
16914 (sinh_test_data): Update call to AUTO_TESTS_f_f.
16915 (sinh_test): Use ALL_RM_TEST.
16916 (sinh_tonearest_test_data): Remove.
16917 (sinh_test_tonearest): Likewise.
16918 (sinh_towardzero_test_data): Likewise.
16919 (sinh_test_towardzero): Likewise.
16920 (sinh_downward_test_data): Likewise.
16921 (sinh_test_downward): Likewise.
16922 (sinh_upward_test_data): Likewise.
16923 (sinh_test_upward): Likewise.
16924 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
16925 (sqrt_test): Use ALL_RM_TEST.
16926 (sqrt_tonearest_test_data): Remove.
16927 (sqrt_test_tonearest): Likewise.
16928 (sqrt_towardzero_test_data): Likewise.
16929 (sqrt_test_towardzero): Likewise.
16930 (sqrt_downward_test_data): Likewise.
16931 (sqrt_test_downward): Likewise.
16932 (sqrt_upward_test_data): Likewise.
16933 (sqrt_test_upward): Likewise.
16934 (tan_test_data): Update call to AUTO_TESTS_f_f.
16935 (tan_test): Use ALL_RM_TEST.
16936 (tan_tonearest_test_data): Remove.
16937 (tan_test_tonearest): Likewise.
16938 (tan_towardzero_test_data): Likewise.
16939 (tan_test_towardzero): Likewise.
16940 (tan_downward_test_data): Likewise.
16941 (tan_test_downward): Likewise.
16942 (tan_upward_test_data): Likewise.
16943 (tan_test_upward): Likewise.
16944 (tanh_test_data): Update call to AUTO_TESTS_f_f.
16945 (tgamma_test_data): Likewise.
16946 (y0_test_data): Likewise.
16947 (y1_test_data): Likewise.
16948 (yn_test_data): Update call to AUTO_TESTS_if_f.
16949 (main): Do not call removed functions.
16951 2014-03-19 Joseph Myers <joseph@codesourcery.com>
16953 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
16954 (ldexp_test_data): Remove.
16955 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
16957 (scalb_test): Use ALL_RM_TEST.
16959 2014-03-19 Andreas Schwab <schwab@suse.de>
16961 * nscd/nscd.service: Also invalidate netgroup cache on reload.
16963 2014-03-19 Joseph Myers <joseph@codesourcery.com>
16966 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16967 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
16968 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
16969 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16970 (__ASSUME_PREADV): Undefine.
16971 (__ASSUME_PWRITEV): Likewise.
16973 2014-03-18 Roland McGrath <roland@hack.frob.com>
16975 * bits/mman-linux.h: Add comment about non-Linux use.
16976 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
16977 bits/mman-linux.h resting place.
16979 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16980 * bits/mman-linux.h: ... here.
16982 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16984 * conform/conformtest.pl: Add standard definition when calling C
16985 preprocessor on data files.
16986 (checknamespace): Remove unused variable.
16988 2014-03-18 Joseph Myers <joseph@codesourcery.com>
16990 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16991 minus_oflow, plus_uflow and minus_uflow in expected results.
16992 * math/libm-test.inc (scalbn_test_data): Add more tests of
16993 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
16995 (scalbn_test): Use ALL_RM_TEST.
16996 (scalbln_test_data): Add more tests of negative arguments. Use
16997 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16998 (scalbln_test): Use ALL_RM_TEST.
17000 2014-03-18 Roland McGrath <roland@hack.frob.com>
17002 * scripts/abilist.awk: Ignore symbols marked with .hidden.
17004 2014-03-18 Will Newton <will.newton@linaro.org>
17006 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
17007 inaccurate comment.
17009 2014-03-18 Joseph Myers <joseph@codesourcery.com>
17011 * Makerules [!subdir] (check-abi): Exit with error status if a
17014 2014-03-17 Joseph Myers <joseph@codesourcery.com>
17016 * math/libm-test.inc (nearbyint_test_data): Include all tests used
17017 for rint. Include results for all rounding modes.
17018 (nearbyint_test): Use ALL_RM_TEST.
17019 (rint_test_data): Include all tests used for nearbyint.
17021 2014-03-17 Will Newton <will.newton@linaro.org>
17023 * nptl/sysdeps/pthread/pthread.h: Revert previous
17026 * sysdeps/generic/ldsodefs.h: Revert previous
17029 * libio/genops.c: Revert previous change.
17030 * libio/libioP.h: Likewise.
17031 * stdio-common/vfprintf.c: Likewise.
17033 * sysdeps/generic/math_private.h: Revert previous
17036 * sysdeps/generic/math_private.h: Check whether
17037 HAVE_RM_CTX is defined with #ifdef rather
17040 * argp/argp-fmtstream.h: Check whether
17041 __STRICT_ANSI__ is defined with #ifdef rather
17043 * argp/argp.h: Likewise.
17045 * libio/genops.c: Check whether
17046 _IO_JUMPS_OFFSET is defined with #ifdef rather
17048 * libio/libioP.h: Likewise.
17049 * stdio-common/vfprintf.c: Likewise.
17051 * sysdeps/generic/ldsodefs.h: Check whether
17052 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
17055 * nptl/sysdeps/pthread/pthread.h: Check
17056 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
17059 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17061 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
17063 * libio/tst-ftell-active-handler.c (do_append_test): Add a
17067 * libio/fileops.c (_IO_file_open): Seek to end of file but
17068 don't cache the offset.
17069 (get_file_offset): Remove function.
17070 (do_ftell): Use cached offset when available.
17071 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
17072 don't cache the offset.
17073 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
17075 (do_one_test): Call it.
17076 (do_ftell_test): Fix up expected old offset for a+ mode.
17077 * libio/wfileops.c (do_ftell_wide): Used cached offset when
17080 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
17081 up test status with function return status.
17082 (do_write_test): Likewise.
17083 (do_append_test): Likewise.
17085 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
17086 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
17089 2014-03-17 Joseph Myers <joseph@codesourcery.com>
17091 * math/gen-libm-test.pl (parse_args): Handle results specified for
17092 each rounding mode separately.
17093 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
17094 tests and results from lrint_tonearest_test_data,
17095 lrint_towardzero_test_data, lrint_downward_test_data and
17096 lrint_upward_test_data.
17097 (lrint_test): Use ALL_RM_TEST.
17098 (lrint_tonearest_test_data): Remove.
17099 (lrint_test_tonearest): Likewise.
17100 (lrint_towardzero_test_data): Likewise.
17101 (lrint_test_towardzero): Likewise.
17102 (lrint_downward_test_data): Likewise.
17103 (lrint_test_downward): Likewise.
17104 (lrint_upward_test_data): Likewise.
17105 (lrint_test_upward): Likewise.
17106 (llrint_test_data): Merge in per-rounding-mode tests and results
17107 from llrint_tonearest_test_data, llrint_towardzero_test_data,
17108 llrint_downward_test_data and llrint_upward_test_data.
17109 (llrint_test): Use ALL_RM_TEST.
17110 (llrint_tonearest_test_data): Remove.
17111 (llrint_test_tonearest): Likewise.
17112 (llrint_towardzero_test_data): Likewise.
17113 (llrint_test_towardzero): Likewise.
17114 (llrint_downward_test_data): Likewise.
17115 (llrint_test_downward): Likewise.
17116 (llrint_upward_test_data): Likewise.
17117 (llrint_test_upward): Likewise.
17118 (rint_test_data): Merge in per-rounding-mode tests and results
17119 from rint_tonearest_test_data, rint_towardzero_test_data,
17120 rint_downward_test_data and rint_upward_test_data. Add
17121 per-rounding-mode results for tests not in those arrays.
17122 (rint_test): Use ALL_RM_TEST.
17123 (rint_tonearest_test_data): Remove.
17124 (rint_test_tonearest): Likewise.
17125 (rint_towardzero_test_data): Likewise.
17126 (rint_test_towardzero): Likewise.
17127 (rint_downward_test_data): Likewise.
17128 (rint_test_downward): Likewise.
17129 (rint_upward_test_data): Likewise.
17130 (rint_test_upward): Likewise.
17131 (main): Don't call removed functions.
17133 2014-03-14 Roland McGrath <roland@hack.frob.com>
17135 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
17136 "Compiled on ..." crapola. It is anti-useful.
17138 2014-03-14 Joseph Myers <joseph@codesourcery.com>
17140 * scripts/evaluate-test.sh: Handle fourth argument to determine
17141 whether test run should stop on failure.
17142 * Makeconfig (stop-on-test-failure): New variable.
17143 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
17144 $(stop-on-test-failure).
17145 * Makefile (tests): Give a summary of results from testing and
17146 exit with failure status if they include an ERROR or FAIL.
17147 (xtests): Likewise.
17148 * manual/install.texi (Configuring and compiling): Mention
17149 stop-on-test-failure=y.
17150 * INSTALL: Regenerated.
17152 2014-03-14 Roland McGrath <roland@hack.frob.com>
17154 * scripts/versionlist.awk: New file.
17155 * Makerules [$(build-shared) = yes]
17156 (postclean-generated): Add Versions.def, not Versions.def.v and
17158 ($(common-objpfx)Versions.def.v.i): Target removed.
17159 ($(common-objpfx)Versions.def): New target.
17160 ($(common-objpfx)Versions.all): Depend on that rather that
17161 $(common-objpfx)Versions.def.v.
17162 * Versions.def: File removed.
17164 * Makeconfig (+gccwarn): Add -Wundef.
17165 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
17166 a dl-sysdep.h breaking its contract.
17167 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
17168 * include/stackinfo.h: New file.
17169 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
17170 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
17171 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
17172 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
17173 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
17174 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
17175 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17176 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17177 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17178 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17179 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17180 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
17181 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17182 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17183 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17185 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17188 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
17190 * math/libm-test.inc (round_test_data): Add more tests.
17193 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
17195 * math/libm-test.inc (nearbyint_test_data): Add more tests.
17198 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
17200 * math/libm-test.inc (ceil_test_data): Add more tests.
17202 * math/libm-test.inc (trunc_test_data): Add more tests related to
17205 2014-03-14 Roland McGrath <roland@hack.frob.com>
17207 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
17208 with #if rather than #ifdef.
17209 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
17211 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
17213 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
17214 first. Disable AVX-512 GCC support if assembler doesn't support
17216 * sysdeps/x86_64/configure: Regenerated.
17218 2014-03-13 Carlos O'Donell <carlos@redhat.com>
17220 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
17221 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
17222 (__old_pthread_attr_setstack): Likewise.
17223 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
17224 [!_STACK_GROWS_DOWN]: Likewise.
17226 2014-03-13 Mike Frysinger <vapier@gentoo.org>
17228 * config.make.in (have-bash2): Delete.
17229 * configure.ac (libc_cv_have_bash2): Delete.
17230 * configure: Regenerate.
17231 * elf/Makefile (common-ldd-rewrite): Rename to ...
17232 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
17233 (sh-ldd-rewrite): Delete.
17234 (bash-ldd-rewrite): Delete.
17235 (have-bash2): Delete checks.
17236 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
17239 * config.make.in (have-ksh): Delete.
17241 * configure.ac (libc_cv_have_ksh): Delete.
17242 * configure: Regenerate.
17244 * elf/Makefile: Delete $(have-ksh) check.
17245 ($(objpfx)sotruss): Change KSH to BASH.
17246 * elf/sotruss.ksh: Rename to ...
17247 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
17248 function style to match POSIX. Drop ksh vim mode setting.
17250 * manual/time.texi (Specifying the Time Zone with TZ): Change
17251 Tuesday to Thursday.
17253 * debug/tst-longjmp_chk2.c: Update header comment.
17254 (stackoverflow_handler): Add comment. Call assert on pass value.
17256 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
17259 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
17260 (HAVE_AVX512_ASM_SUPPORT): Likewise.
17261 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
17262 (La_x86_64_vector): Add zmm.
17263 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
17264 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
17265 ($(objpfx)tst-audit10): New target.
17266 ($(objpfx)tst-audit10.out): Likewise.
17267 (tst-audit10-ENV): New.
17268 (AVX512-CFLAGS): Likewise.
17269 (CFLAGS-tst-audit10.c): Likewise.
17270 (CFLAGS-tst-auditmod10a.c): Likewise.
17271 (CFLAGS-tst-auditmod10b.c): Likewise.
17272 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
17273 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
17274 * sysdeps/x86_64/configure: Regenerated.
17275 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
17276 AVX-512 zmm register support.
17277 (_dl_x86_64_save_sse): Likewise.
17278 (_dl_x86_64_restore_sse): Likewise.
17279 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
17280 size vector registers.
17281 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
17282 (ZMM_SIZE): Likewise.
17283 * sysdeps/x86_64/tst-audit10.c: New file.
17284 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
17285 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
17287 2014-03-13 Roland McGrath <roland@hack.frob.com>
17289 * configure.ac (HAVE_EHDR_START): New check.
17290 * configure: Regenerated.
17291 * config.h.in (HAVE_EHDR_START): New #undef.
17292 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
17293 assuming the lowest-addressed segment maps the start of the file.
17295 2014-03-13 Joseph Myers <joseph@codesourcery.com>
17297 * INSTALL: Regenerated.
17299 2014-03-13 Will Newton <will.newton@linaro.org>
17301 * manual/setjmp.texi (System V contexts): Improve
17302 clarity and grammar of documentation.
17304 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
17307 * elf/Makefile (tests): Add tst-pie2.
17308 (tests-pie): Add tst-pie2.
17309 * elf/tst-pie2.c: New file.
17310 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
17312 * elf/rtld.c (map_doit): Load executable as lt_executable.
17313 (dl_main): Likewise.
17315 2014-03-12 Joseph Myers <joseph@codesourcery.com>
17318 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17319 (__ASSUME_PSELECT): Undefine.
17321 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17324 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
17325 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
17327 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
17328 selector for static builds.
17330 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17333 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
17336 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17338 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
17339 IFUNC selector for static builds.
17341 2014-03-11 Joseph Myers <joseph@codesourcery.com>
17343 * sysdeps/mips/math_private.h [__mips_hard_float]
17344 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
17345 libc_feresetround_mips_ctx.
17346 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
17347 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
17348 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
17351 * math/s_nextafter.c (__nextafter): Do not return value from
17352 overflowing computation.
17353 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
17354 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
17355 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
17357 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
17359 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
17360 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
17362 2014-03-11 Roland McGrath <roland@hack.frob.com>
17364 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
17365 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
17366 Move sfi_sp use from the load-multiple (that no longer sets sp) to
17367 the new mov targetting sp.
17369 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17372 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
17373 Define it for static builds as well.
17374 (NO_BZERO_IMPL): Likewise.
17376 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17378 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
17379 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
17380 multiarch strspn for PPC64.
17381 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
17382 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
17383 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17384 (__libc_ifunc_impl_list): Likewise.
17385 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
17386 multiarch optimizations
17387 * string/strspn.c (strspn): Using macro to redefine symbol name.
17389 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17390 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17392 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
17393 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
17394 multiarch strncat for PPC64.
17395 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
17396 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
17397 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17398 (__libc_ifunc_impl_list): Likewise.
17399 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
17400 multiarch optimizations
17402 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17405 * nscd/nscd.service: Make service type forking.
17407 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17409 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
17410 sign in non default rounding modes.
17411 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
17413 2014-03-08 Joseph Myers <joseph@codesourcery.com>
17415 * math/libm-test.inc (ALL_RM_TEST): New macro.
17416 (ceil_test): Use ALL_RM_TEST.
17417 (cimag_test): Likewise.
17418 (conj_test): Likewise.
17419 (copysign_test): Likewise.
17420 (cproj_test): Likewise.
17421 (creal_test): Likewise.
17422 (fabs_test): Likewise.
17423 (floor_test): Likewise.
17424 (fmax_test): Likewise.
17425 (fmin_test): Likewise.
17426 (fmod_test): Likewise.
17427 (fpclassify_test): Likewise.
17428 (frexp_test): Likewise.
17429 (ilogb_test): Likewise.
17430 (isfinite_test): Likewise.
17431 (finite_test): Likewise.
17432 (isgreater_test): Likewise.
17433 (isgreaterequal_test): Likewise.
17434 (isinf_test): Likewise.
17435 (isless_test): Likewise.
17436 (islessequal_test): Likewise.
17437 (islessgreater_test): Likewise.
17438 (isnan_test): Likewise.
17439 (isnormal_test): Likewise.
17440 (issignaling_test): Likewise.
17441 (isunordered_test): Likewise.
17442 (logb_test): Likewise.
17443 (logb_downward_test_data): Remove.
17444 (logb_test_downward): Likewise.
17445 (lround_test): Use ALL_RM_TEST.
17446 (llround_test): Likewise.
17447 (modf_test): Likewise.
17448 (nexttoward_test): Likewise.
17449 (remainder_test): Likewise.
17450 (drem_test): Likewise.
17451 (remainder_tonearest_test_data): Likewise.
17452 (remainder_test_tonearest): Likewise.
17453 (drem_test_tonearest): Likewise.
17454 (remainder_towardzero_test_data): Likewise.
17455 (remainder_test_towardzero): Likewise.
17456 (drem_test_towardzero): Likewise.
17457 (remainder_downward_test_data): Likewise.
17458 (remainder_test_downward): Likewise.
17459 (drem_test_downward): Likewise.
17460 (remainder_upward_test_data): Likewise.
17461 (remainder_test_upward): Likewise.
17462 (drem_test_upward): Likewise.
17463 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
17464 (round_test): Use ALL_RM_TEST.
17465 (signbit_test): Likewise.
17466 (trunc_test): Likewise.
17467 (significand_test): Likewise.
17468 (main): Don't call removed functions.
17470 2014-03-07 Joseph Myers <joseph@codesourcery.com>
17473 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
17474 || __USE_XOPEN2K8].
17475 (ILL_ILLOPN): Likewise.
17476 (ILL_ILLADR): Likewise.
17477 (ILL_ILLTRP): Likewise.
17478 (ILL_PRVOPC): Likewise.
17479 (ILL_PRVREG): Likewise.
17480 (ILL_COPROC): Likewise.
17481 (ILL_BADSTK): Likewise.
17482 (FPE_INTDIV): Likewise.
17483 (FPE_INTOVF): Likewise.
17484 (FPE_FLTDIV): Likewise.
17485 (FPE_FLTOVF): Likewise.
17486 (FPE_FLTUND): Likewise.
17487 (FPE_FLTRES): Likewise.
17488 (FPE_FLTINV): Likewise.
17489 (FPE_FLTSUB): Likewise.
17490 (SEGV_MAPERR): Likewise.
17491 (SEGV_ACCERR): Likewise.
17492 (BUS_ADRALN): Likewise.
17493 (BUS_ADRERR): Likewise.
17494 (BUS_OBJERR): Likewise.
17495 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17496 (TRAP_TRACE): Likewise.
17497 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17499 (CLD_KILLED): Likewise.
17500 (CLD_DUMPED): Likewise.
17501 (CLD_TRAPPED): Likewise.
17502 (CLD_STOPPED): Likewise.
17503 (CLD_CONTINUED): Likewise.
17504 (POLL_IN): Likewise.
17505 (POLL_OUT): Likewise.
17506 (POLL_MSG): Likewise.
17507 (POLL_ERR): Likewise.
17508 (POLL_PRI): Likewise.
17509 (POLL_HUP): Likewise.
17510 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
17512 (ILL_ILLOPN): Likewise.
17513 (ILL_ILLADR): Likewise.
17514 (ILL_ILLTRP): Likewise.
17515 (ILL_PRVOPC): Likewise.
17516 (ILL_PRVREG): Likewise.
17517 (ILL_COPROC): Likewise.
17518 (ILL_BADSTK): Likewise.
17519 (FPE_INTDIV): Likewise.
17520 (FPE_INTOVF): Likewise.
17521 (FPE_FLTDIV): Likewise.
17522 (FPE_FLTOVF): Likewise.
17523 (FPE_FLTUND): Likewise.
17524 (FPE_FLTRES): Likewise.
17525 (FPE_FLTINV): Likewise.
17526 (FPE_FLTSUB): Likewise.
17527 (SEGV_MAPERR): Likewise.
17528 (SEGV_ACCERR): Likewise.
17529 (BUS_ADRALN): Likewise.
17530 (BUS_ADRERR): Likewise.
17531 (BUS_OBJERR): Likewise.
17532 (BUS_MCEERR_AR): Likewise.
17533 (BUS_MCEERR_AO): Likewise.
17534 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17535 (TRAP_TRACE): Likewise.
17536 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17538 (CLD_KILLED): Likewise.
17539 (CLD_DUMPED): Likewise.
17540 (CLD_TRAPPED): Likewise.
17541 (CLD_STOPPED): Likewise.
17542 (CLD_CONTINUED): Likewise.
17543 (POLL_IN): Likewise.
17544 (POLL_OUT): Likewise.
17545 (POLL_MSG): Likewise.
17546 (POLL_ERR): Likewise.
17547 (POLL_PRI): Likewise.
17548 (POLL_HUP): Likewise.
17549 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
17550 (ILL_ILLOPN): Likewise.
17551 (ILL_ILLADR): Likewise.
17552 (ILL_ILLTRP): Likewise.
17553 (ILL_PRVOPC): Likewise.
17554 (ILL_PRVREG): Likewise.
17555 (ILL_COPROC): Likewise.
17556 (ILL_BADSTK): Likewise.
17557 (FPE_INTDIV): Likewise.
17558 (FPE_INTOVF): Likewise.
17559 (FPE_FLTDIV): Likewise.
17560 (FPE_FLTOVF): Likewise.
17561 (FPE_FLTUND): Likewise.
17562 (FPE_FLTRES): Likewise.
17563 (FPE_FLTINV): Likewise.
17564 (FPE_FLTSUB): Likewise.
17565 (SEGV_MAPERR): Likewise.
17566 (SEGV_ACCERR): Likewise.
17567 (BUS_ADRALN): Likewise.
17568 (BUS_ADRERR): Likewise.
17569 (BUS_OBJERR): Likewise.
17570 (BUS_MCEERR_AR): Likewise.
17571 (BUS_MCEERR_AO): Likewise.
17572 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17573 (TRAP_TRACE): Likewise.
17574 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17576 (CLD_KILLED): Likewise.
17577 (CLD_DUMPED): Likewise.
17578 (CLD_TRAPPED): Likewise.
17579 (CLD_STOPPED): Likewise.
17580 (CLD_CONTINUED): Likewise.
17581 (POLL_IN): Likewise.
17582 (POLL_OUT): Likewise.
17583 (POLL_MSG): Likewise.
17584 (POLL_ERR): Likewise.
17585 (POLL_PRI): Likewise.
17586 (POLL_HUP): Likewise.
17587 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
17589 (ILL_ILLOPN): Likewise.
17590 (ILL_ILLADR): Likewise.
17591 (ILL_ILLTRP): Likewise.
17592 (ILL_PRVOPC): Likewise.
17593 (ILL_PRVREG): Likewise.
17594 (ILL_COPROC): Likewise.
17595 (ILL_BADSTK): Likewise.
17596 (ILL_BADIADDR): Likewise.
17597 (ILL_BREAK): Likewise.
17598 (FPE_INTDIV): Likewise.
17599 (FPE_INTOVF): Likewise.
17600 (FPE_FLTDIV): Likewise.
17601 (FPE_FLTOVF): Likewise.
17602 (FPE_FLTUND): Likewise.
17603 (FPE_FLTRES): Likewise.
17604 (FPE_FLTINV): Likewise.
17605 (FPE_FLTSUB): Likewise.
17606 (FPE_DECOVF): Likewise.
17607 (FPE_DECDIV): Likewise.
17608 (FPE_DECERR): Likewise.
17609 (FPE_INVASC): Likewise.
17610 (FPE_INVDEC): Likewise.
17611 (SEGV_MAPERR): Likewise.
17612 (SEGV_ACCERR): Likewise.
17613 (SEGV_PSTKOVF): Likewise.
17614 (BUS_ADRALN): Likewise.
17615 (BUS_ADRERR): Likewise.
17616 (BUS_OBJERR): Likewise.
17617 (BUS_MCEERR_AR): Likewise.
17618 (BUS_MCEERR_AO): Likewise.
17619 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17620 (TRAP_TRACE): Likewise.
17621 (TRAP_BRANCH): Likewise.
17622 (TRAP_HWBKPT): Likewise.
17623 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17625 (CLD_KILLED): Likewise.
17626 (CLD_DUMPED): Likewise.
17627 (CLD_TRAPPED): Likewise.
17628 (CLD_STOPPED): Likewise.
17629 (CLD_CONTINUED): Likewise.
17630 (POLL_IN): Likewise.
17631 (POLL_OUT): Likewise.
17632 (POLL_MSG): Likewise.
17633 (POLL_ERR): Likewise.
17634 (POLL_PRI): Likewise.
17635 (POLL_HUP): Likewise.
17636 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
17637 (ILL_ILLOPN): Likewise.
17638 (ILL_ILLADR): Likewise.
17639 (ILL_ILLTRP): Likewise.
17640 (ILL_PRVOPC): Likewise.
17641 (ILL_PRVREG): Likewise.
17642 (ILL_COPROC): Likewise.
17643 (ILL_BADSTK): Likewise.
17644 (FPE_INTDIV): Likewise.
17645 (FPE_INTOVF): Likewise.
17646 (FPE_FLTDIV): Likewise.
17647 (FPE_FLTOVF): Likewise.
17648 (FPE_FLTUND): Likewise.
17649 (FPE_FLTRES): Likewise.
17650 (FPE_FLTINV): Likewise.
17651 (FPE_FLTSUB): Likewise.
17652 (SEGV_MAPERR): Likewise.
17653 (SEGV_ACCERR): Likewise.
17654 (BUS_ADRALN): Likewise.
17655 (BUS_ADRERR): Likewise.
17656 (BUS_OBJERR): Likewise.
17657 (BUS_MCEERR_AR): Likewise.
17658 (BUS_MCEERR_AO): Likewise.
17659 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17660 (TRAP_TRACE): Likewise.
17661 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17663 (CLD_KILLED): Likewise.
17664 (CLD_DUMPED): Likewise.
17665 (CLD_TRAPPED): Likewise.
17666 (CLD_STOPPED): Likewise.
17667 (CLD_CONTINUED): Likewise.
17668 (POLL_IN): Likewise.
17669 (POLL_OUT): Likewise.
17670 (POLL_MSG): Likewise.
17671 (POLL_ERR): Likewise.
17672 (POLL_PRI): Likewise.
17673 (POLL_HUP): Likewise.
17674 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
17675 (ILL_ILLOPN): Likewise.
17676 (ILL_ILLADR): Likewise.
17677 (ILL_ILLTRP): Likewise.
17678 (ILL_PRVOPC): Likewise.
17679 (ILL_PRVREG): Likewise.
17680 (ILL_COPROC): Likewise.
17681 (ILL_BADSTK): Likewise.
17682 (FPE_INTDIV): Likewise.
17683 (FPE_INTOVF): Likewise.
17684 (FPE_FLTDIV): Likewise.
17685 (FPE_FLTOVF): Likewise.
17686 (FPE_FLTUND): Likewise.
17687 (FPE_FLTRES): Likewise.
17688 (FPE_FLTINV): Likewise.
17689 (FPE_FLTSUB): Likewise.
17690 (SEGV_MAPERR): Likewise.
17691 (SEGV_ACCERR): Likewise.
17692 (BUS_ADRALN): Likewise.
17693 (BUS_ADRERR): Likewise.
17694 (BUS_OBJERR): Likewise.
17695 (BUS_MCEERR_AR): Likewise.
17696 (BUS_MCEERR_AO): Likewise.
17697 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17698 (TRAP_TRACE): Likewise.
17699 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17701 (CLD_KILLED): Likewise.
17702 (CLD_DUMPED): Likewise.
17703 (CLD_TRAPPED): Likewise.
17704 (CLD_STOPPED): Likewise.
17705 (CLD_CONTINUED): Likewise.
17706 (POLL_IN): Likewise.
17707 (POLL_OUT): Likewise.
17708 (POLL_MSG): Likewise.
17709 (POLL_ERR): Likewise.
17710 (POLL_PRI): Likewise.
17711 (POLL_HUP): Likewise.
17712 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
17713 (ILL_ILLOPN): Likewise.
17714 (ILL_ILLADR): Likewise.
17715 (ILL_ILLTRP): Likewise.
17716 (ILL_PRVOPC): Likewise.
17717 (ILL_PRVREG): Likewise.
17718 (ILL_COPROC): Likewise.
17719 (ILL_BADSTK): Likewise.
17720 (FPE_INTDIV): Likewise.
17721 (FPE_INTOVF): Likewise.
17722 (FPE_FLTDIV): Likewise.
17723 (FPE_FLTOVF): Likewise.
17724 (FPE_FLTUND): Likewise.
17725 (FPE_FLTRES): Likewise.
17726 (FPE_FLTINV): Likewise.
17727 (FPE_FLTSUB): Likewise.
17728 (SEGV_MAPERR): Likewise.
17729 (SEGV_ACCERR): Likewise.
17730 (BUS_ADRALN): Likewise.
17731 (BUS_ADRERR): Likewise.
17732 (BUS_OBJERR): Likewise.
17733 (BUS_MCEERR_AR): Likewise.
17734 (BUS_MCEERR_AO): Likewise.
17735 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17736 (TRAP_TRACE): Likewise.
17737 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17739 (CLD_KILLED): Likewise.
17740 (CLD_DUMPED): Likewise.
17741 (CLD_TRAPPED): Likewise.
17742 (CLD_STOPPED): Likewise.
17743 (CLD_CONTINUED): Likewise.
17744 (POLL_IN): Likewise.
17745 (POLL_OUT): Likewise.
17746 (POLL_MSG): Likewise.
17747 (POLL_ERR): Likewise.
17748 (POLL_PRI): Likewise.
17749 (POLL_HUP): Likewise.
17750 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
17751 (ILL_ILLOPN): Likewise.
17752 (ILL_ILLADR): Likewise.
17753 (ILL_ILLTRP): Likewise.
17754 (ILL_PRVOPC): Likewise.
17755 (ILL_PRVREG): Likewise.
17756 (ILL_COPROC): Likewise.
17757 (ILL_BADSTK): Likewise.
17758 (ILL_DBLFLT): Likewise.
17759 (ILL_HARDWALL): Likewise.
17760 (FPE_INTDIV): Likewise.
17761 (FPE_INTOVF): Likewise.
17762 (FPE_FLTDIV): Likewise.
17763 (FPE_FLTOVF): Likewise.
17764 (FPE_FLTUND): Likewise.
17765 (FPE_FLTRES): Likewise.
17766 (FPE_FLTINV): Likewise.
17767 (FPE_FLTSUB): Likewise.
17768 (SEGV_MAPERR): Likewise.
17769 (SEGV_ACCERR): Likewise.
17770 (BUS_ADRALN): Likewise.
17771 (BUS_ADRERR): Likewise.
17772 (BUS_OBJERR): Likewise.
17773 (BUS_MCEERR_AR): Likewise.
17774 (BUS_MCEERR_AO): Likewise.
17775 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17776 (TRAP_TRACE): Likewise.
17777 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17779 (CLD_KILLED): Likewise.
17780 (CLD_DUMPED): Likewise.
17781 (CLD_TRAPPED): Likewise.
17782 (CLD_STOPPED): Likewise.
17783 (CLD_CONTINUED): Likewise.
17784 (POLL_IN): Likewise.
17785 (POLL_OUT): Likewise.
17786 (POLL_MSG): Likewise.
17787 (POLL_ERR): Likewise.
17788 (POLL_PRI): Likewise.
17789 (POLL_HUP): Likewise.
17790 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
17791 (ILL_ILLOPN): Likewise.
17792 (ILL_ILLADR): Likewise.
17793 (ILL_ILLTRP): Likewise.
17794 (ILL_PRVOPC): Likewise.
17795 (ILL_PRVREG): Likewise.
17796 (ILL_COPROC): Likewise.
17797 (ILL_BADSTK): Likewise.
17798 (FPE_INTDIV): Likewise.
17799 (FPE_INTOVF): Likewise.
17800 (FPE_FLTDIV): Likewise.
17801 (FPE_FLTOVF): Likewise.
17802 (FPE_FLTUND): Likewise.
17803 (FPE_FLTRES): Likewise.
17804 (FPE_FLTINV): Likewise.
17805 (FPE_FLTSUB): Likewise.
17806 (SEGV_MAPERR): Likewise.
17807 (SEGV_ACCERR): Likewise.
17808 (BUS_ADRALN): Likewise.
17809 (BUS_ADRERR): Likewise.
17810 (BUS_OBJERR): Likewise.
17811 (BUS_MCEERR_AR): Likewise.
17812 (BUS_MCEERR_AO): Likewise.
17813 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17814 (TRAP_TRACE): Likewise.
17815 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17817 (CLD_KILLED): Likewise.
17818 (CLD_DUMPED): Likewise.
17819 (CLD_TRAPPED): Likewise.
17820 (CLD_STOPPED): Likewise.
17821 (CLD_CONTINUED): Likewise.
17822 (POLL_IN): Likewise.
17823 (POLL_OUT): Likewise.
17824 (POLL_MSG): Likewise.
17825 (POLL_ERR): Likewise.
17826 (POLL_PRI): Likewise.
17827 (POLL_HUP): Likewise.
17828 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
17829 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17832 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
17833 before #include of <time.h>.
17834 [!__USE_XOPEN2K] (__need_timespec): Likewise.
17835 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
17836 (test-xfail-UNIX98/sched.h/conform): Likewise.
17838 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
17840 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
17841 error absence of trapping exception support.
17842 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17844 2014-03-07 Joseph Myers <joseph@codesourcery.com>
17846 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
17847 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
17848 * timezone/Makefile (testdata): Move definition above include of
17850 (test-zones): New variable.
17851 (tests-special): Add zone files.
17852 (build-testdata): Use $(evaluate-test).
17854 * elf/Makefile (tests-special): Rename tests to end with .out.
17855 ($(objpfx)noload-mem): Likewise.
17856 ($(objpfx)tst-leaks1-mem): Likewise.
17857 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
17858 * iconv/Makefile (xtests-special): Change test-iconvconfig to
17859 $(objpfx)test-iconvconfig.out.
17860 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
17861 set -e inside subshell and redirect output to file.
17862 * iconvdata/Makefile (generated): Rename tests to end with .out.
17864 (tests-special): Rename tests to end with .out.
17865 ($(objpfx)mtrace-tst-loading): Likewise.
17866 * intl/Makefile (generated): Likewise.
17867 (tests-special): Likewise.
17868 ($(objpfx)mtrace-tst-gettext): Likewise.
17869 * misc/Makefile (generated): Likewise.
17870 (tests-special): Likewise.
17871 ($(objpfx)tst-error1-mem): Likewise.
17872 * nptl/Makefile (tests-special): Likewise.
17873 ($(objpfx)tst-stack3-mem): Likewise.
17874 (generated): Likewise.
17875 * posix/Makefile (generated): Likewise.
17876 (tests-special): Likewise.
17877 (xtests-special): Likewise.
17878 ($(objpfx)tst-fnmatch-mem): Likewise.
17879 ($(objpfx)bug-regex2-mem): Likewise.
17880 ($(objpfx)bug-regex14-mem): Likewise.
17881 ($(objpfx)bug-regex21-mem): Likewise.
17882 ($(objpfx)bug-regex31-mem): Likewise.
17883 ($(objpfx)tst-vfork3-mem): Likewise.
17884 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17885 ($(objpfx)tst-pcre-mem): Likewise.
17886 ($(objpfx)tst-boost-mem): Likewise.
17887 ($(objpfx)bug-ga2-mem): Likewise.
17888 ($(objpfx)bug-glob2-mem): Likewise.
17889 * resolv/Makefile (generate): Likewise.
17890 (tests-special): Likewise.
17891 (xtests-special): Likewise.
17892 (generated): Likewise.
17893 ($(objpfx)mtrace-tst-leaks): Likewise.
17894 ($(objpfx)mtrace-tst-leaks2): Likewise.
17896 * scripts/merge-test-results.sh: New file.
17897 * Makefile (tests-special-notdir): New variable.
17898 (tests): Run merge-test-results.sh.
17899 (xtests): Likewise.
17900 * Rules (tests-special-notdir): New variable.
17901 (xtests-special-notdir): Likewise.
17902 (tests): Run merge-test-results.sh
17903 (xtests): Likewise.
17905 * Makeconfig (test-xfail-name): New variable.
17906 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
17907 compute variable name for expected failures.
17908 * conform/Makefile (conformtest-headers-data): New variable.
17909 (conformtest-standards): Likewise.
17910 (conformtest-headers-ISO): Likewise.
17911 (conformtest-headers-ISO99): Likewise.
17912 (conformtest-headers-ISO11): Likewise.
17913 (conformtest-headers-POSIX): Likewise.
17914 (conformtest-headers-XPG3): Likewise.
17915 (conformtest-headers-XPG4): Likewise.
17916 (conformtest-headers-UNIX98): Likewise.
17917 (conformtest-headers-XOPEN2K): Likewise.
17918 (conformtest-headers-POSIX2008): Likewise.
17919 (conformtest-headers-XOPEN2K8): Likewise.
17920 (conformtest-header-list-base): Likewise.
17921 (conformtest-header-list-tests): Likewise.
17922 (conformtest-header-base): Likewise.
17923 (conformtest-header-tests): Likewise.
17924 (tests-special): Add $(conformtest-header-list-tests). If
17925 [$(fast-check) && !$(cross-compiling)], add
17926 $(conformtest-header-tests) instead of
17927 $(objpfx)run-conformtest.out.
17928 (generated): Add $(conformtest-header-list-base). If
17929 [$(fast-check) && !$(cross-compiling)], add
17930 $(conformtest-header-base). Remove previous setting.
17931 ($(conformtest-header-list-tests)): New target.
17932 (test-xfail-run-conformtest): Remove variable.
17933 ($(objpfx)run-conformtest.out): Remove target.
17934 (test-xfail-ISO11/complex.h/conform): New variable.
17935 (test-xfail-ISO11/stdalign.h/conform): Likewise.
17936 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17937 (test-xfail-XPG3/varargs.h/conform): Likewise.
17938 (test-xfail-XPG4/varargs.h/conform): Likewise.
17939 (test-xfail-UNIX98/varargs.h/conform): Likewise.
17940 (test-xfail-XPG4/ndbm.h/conform): Likewise.
17941 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
17942 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
17943 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
17944 (test-xfail-XPG3/fcntl.h/conform): Likewise.
17945 (test-xfail-XPG3/ftw.h/conform): Likewise.
17946 (test-xfail-XPG3/grp.h/conform): Likewise.
17947 (test-xfail-XPG3/langinfo.h/conform): Likewise.
17948 (test-xfail-XPG3/limits.h/conform): Likewise.
17949 (test-xfail-XPG3/pwd.h/conform): Likewise.
17950 (test-xfail-XPG3/search.h/conform): Likewise.
17951 (test-xfail-XPG3/signal.h/conform): Likewise.
17952 (test-xfail-XPG3/stdio.h/conform): Likewise.
17953 (test-xfail-XPG3/stdlib.h/conform): Likewise.
17954 (test-xfail-XPG3/string.h/conform): Likewise.
17955 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
17956 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
17957 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17958 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17959 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
17960 (test-xfail-XPG3/sys/types.h/conform): Likewise.
17961 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
17962 (test-xfail-XPG3/termios.h/conform): Likewise.
17963 (test-xfail-XPG3/time.h/conform): Likewise.
17964 (test-xfail-XPG3/unistd.h/conform): Likewise.
17965 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
17966 (test-xfail-XPG4/fcntl.h/conform): Likewise.
17967 (test-xfail-XPG4/langinfo.h/conform): Likewise.
17968 (test-xfail-XPG4/netdb.h/conform): Likewise.
17969 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
17970 (test-xfail-XPG4/signal.h/conform): Likewise.
17971 (test-xfail-XPG4/stdio.h/conform): Likewise.
17972 (test-xfail-XPG4/stdlib.h/conform): Likewise.
17973 (test-xfail-XPG4/stropts.h/conform): Likewise.
17974 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17975 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17976 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17977 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17978 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17979 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17980 (test-xfail-XPG4/sys/time.h/conform): Likewise.
17981 (test-xfail-XPG4/sys/types.h/conform): Likewise.
17982 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17983 (test-xfail-XPG4/termios.h/conform): Likewise.
17984 (test-xfail-XPG4/ucontext.h/conform): Likewise.
17985 (test-xfail-XPG4/unistd.h/conform): Likewise.
17986 (test-xfail-XPG4/utmpx.h/conform): Likewise.
17987 (test-xfail-POSIX/sched.h/conform): Likewise.
17988 (test-xfail-POSIX/signal.h/conform): Likewise.
17989 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17990 (test-xfail-POSIX/tar.h/conform): Likewise.
17991 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17992 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17993 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17994 (test-xfail-UNIX98/netdb.h/conform): Likewise.
17995 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17996 (test-xfail-UNIX98/sched.h/conform): Likewise.
17997 (test-xfail-UNIX98/signal.h/conform): Likewise.
17998 (test-xfail-UNIX98/stdio.h/conform): Likewise.
17999 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
18000 (test-xfail-UNIX98/stropts.h/conform): Likewise.
18001 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
18002 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
18003 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
18004 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
18005 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
18006 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
18007 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
18008 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
18009 (test-xfail-UNIX98/unistd.h/conform): Likewise.
18010 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
18011 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
18012 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
18013 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
18014 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
18015 (test-xfail-XOPEN2K/math.h/conform): Likewise.
18016 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
18017 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
18018 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
18019 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
18020 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
18021 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
18022 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
18023 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
18024 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
18025 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
18026 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
18027 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
18028 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
18029 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
18030 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
18031 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
18032 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
18033 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
18034 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
18035 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
18036 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
18037 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
18038 (test-xfail-POSIX2008/signal.h/conform): Likewise.
18039 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
18040 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
18041 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
18042 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
18043 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
18044 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
18045 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
18046 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
18047 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
18048 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
18049 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
18050 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
18051 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
18052 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
18053 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
18054 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
18055 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
18056 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
18057 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
18058 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
18059 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
18060 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
18061 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
18062 (conformtest-cc-flags): Likewise.
18063 ($(conformtest-header-tests): New target.
18064 * conform/check-header-lists.sh: New file.
18065 * conform/run-conformtest.sh: Remove.
18067 * conform/conformtest.pl: Allow ' and \ in values given for
18069 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
18071 [POSIX] (sys/types.h): Likewise.
18072 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
18074 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
18076 * conform/data/signal.h-data (SIGIO): Remove expectation.
18077 [XPG3] (SIGBUS): Do not expect.
18078 [POSIX || XPG3] (SIGPOLL): Likewise.
18079 [POSIX || XPG3] (SIGPROF): Likewise.
18080 [POSIX || XPG3] (SIGSYS): Likewise.
18081 [XPG3] (SIGTRAP): Likewise.
18082 [POSIX || XPG3] (SIGURG): Likewise.
18083 [POSIX || XPG3] (SIGVTALRM): Likewise.
18084 [POSIX || XPG3] (SIGXCPU): Likewise.
18085 [POSIX || XPG3] (SIGXFSZ): Likewise.
18086 [POSIX] (SA_SIGINFO): Expect.
18087 [XPG3] (siginfo_t): Do not expect type or contents.
18088 [POSIX] (si_pid): Do not expect element.
18089 [POSIX] (si_uid): Likewise.
18090 [POSIX] (si_addr): Likewise.
18091 [POSIX] (si_status): Likewise.
18092 [POSIX] (si_band): Likewise.
18093 [XPG4] (si_value): Likewise.
18094 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
18095 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
18096 [POSIX || XPG3] (ILL_ILLADR): Likewise.
18097 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
18098 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
18099 [POSIX || XPG3] (ILL_PRVREG): Likewise.
18100 [POSIX || XPG3] (ILL_COPROC): Likewise.
18101 [POSIX || XPG3] (ILL_BADSTK): Likewise.
18102 [POSIX || XPG3] (FPE_INTDIV): Likewise.
18103 [POSIX || XPG3] (FPE_INTOVF): Likewise.
18104 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
18105 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
18106 [POSIX || XPG3] (FPE_FLTUND): Likewise.
18107 [POSIX || XPG3] (FPE_FLTRES): Likewise.
18108 [POSIX || XPG3] (FPE_FLTINV): Likewise.
18109 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
18110 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
18111 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
18112 [POSIX || XPG3] (BUS_ADRALN): Likewise.
18113 [POSIX || XPG3] (BUS_ADRERR): Likewise.
18114 [POSIX || XPG3] (BUS_OBJERR): Likewise.
18115 [POSIX || XPG3] (CLD_EXITED): Likewise.
18116 [POSIX || XPG3] (CLD_KILLED): Likewise.
18117 [POSIX || XPG3] (CLD_DUMPED): Likewise.
18118 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
18119 [POSIX || XPG3] (CLD_STOPPED): Likewise.
18120 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
18121 [POSIX || XPG3] (POLL_IN): Likewise.
18122 [POSIX || XPG3] (POLL_OUT): Likewise.
18123 [POSIX || XPG3] (POLL_MSG): Likewise.
18124 [POSIX || XPG3] (POLL_ERR): Likewise.
18125 [POSIX || XPG3] (POLL_PRI): Likewise.
18126 [POSIX || XPG3] (POLL_HUP): Likewise.
18127 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
18128 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
18129 (SIG*): Do not allow.
18130 [XPG3] (si_*): Likewise.
18131 [XPG3] (SI_*): Likewise.
18132 [XPG3 || XPG4] (sigev_*): Likewise.
18133 [XPG3 || XPG4] (SIGEV_*): Likewise.
18134 [XPG3 || XPG4] (sival_*): Likewise.
18135 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
18136 [POSIX || XPG3] (BUS_*): Likewise.
18137 [POSIX || XPG3] (CLD_*): Likewise.
18138 [POSIX || XPG3] (FPE_*): Likewise.
18139 [POSIX || XPG3] (ILL_*): Likewise.
18140 [POSIX || XPG3] (POLL_*): Likewise.
18141 [POSIX || XPG3] (SEGV_*): Likewise.
18142 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
18143 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
18144 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
18145 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
18146 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
18147 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
18148 Specify type and value.
18149 (TVERSLEN): Likewise.
18150 (REGTYPE): Likewise.
18151 (AREGTYPE): Likewise.
18152 (LNKTYPE): Likewise.
18153 (SYMTYPE): Likewise.
18154 (CHRTYPE): Likewise.
18155 (BLKTYPE): Likewise.
18156 (DIRTYPE): Likewise.
18157 (FIFOTYPE): Likewise.
18158 (CONTTYPE): Likewise.
18162 (TUREAD): Likewise.
18163 (TUWRITE): Likewise.
18164 (TUEXEC): Likewise.
18165 (TGREAD): Likewise.
18166 (TGWRITE): Likewise.
18167 (TGEXEC): Likewise.
18168 (TOREAD): Likewise.
18169 (TOWRITE): Likewise.
18170 (TOEXEC): Likewise.
18171 [POSIX] (TSVTX): Expect constant.
18173 2014-03-06 Joseph Myers <joseph@codesourcery.com>
18175 * Makefile (tests): Change dependencies to ....
18176 (tests-special): ... additions to this variable.
18177 (tests): Depend on $(tests-special).
18178 * Makerules (check-abi-list): New variable.
18179 (check-abi): Depend on $(check-abi-list).
18180 [$(subdir) = elf] (tests-special): Add
18181 $(objpfx)check-abi-libc.out.
18182 [$(build-shared) = yes && subdir] (tests-special): Add
18184 [$(build-shared) = yes && subdir] (tests): Do not depend on
18186 * Rules (tests): Depend on $(tests-special).
18187 (xtests): Depend on $(xtests-special).
18188 * catgets/Makefile (tests): Change dependencies to ....
18189 (tests-special): ... additions to this variable.
18190 * conform/Makefile (tests): Change dependencies to ....
18191 (tests-special): ... additions to this variable.
18192 * elf/Makefile (tests): Change dependencies to ....
18193 (tests-special): ... additions to this variable.
18194 * grp/Makefile (tests): Change dependencies to ....
18195 (tests-special): ... additions to this variable.
18196 * iconv/Makefile (xtests): Change dependencies to ....
18197 (xtests-special): ... additions to this variable.
18198 * iconvdata/Makefile (tests): Change dependencies to ....
18199 (tests-special): ... additions to this variable.
18200 * intl/Makefile (tests): Change dependencies to ....
18201 (tests-special): ... additions to this variable. Also add
18202 $(objpfx)tst-gettext.out.
18203 * io/Makefile (tests): Change dependencies to ....
18204 (tests-special): ... additions to this variable.
18205 * libio/Makefile (tests): Change dependencies to ....
18206 (tests-special): ... additions to this variable.
18207 * malloc/Makefile (tests): Change dependencies to ....
18208 (tests-special): ... additions to this variable.
18209 * misc/Makefile (tests): Change dependencies to ....
18210 (tests-special): ... additions to this variable.
18211 * nptl/Makefile (tests): Change dependencies to ....
18212 (tests-special): ... additions to this variable.
18213 * nptl_db/Makefile (tests): Change dependencies to ....
18214 (tests-special): ... additions to this variable.
18215 * posix/Makefile (tests): Change dependencies to ....
18216 (tests-special): ... additions to this variable.
18217 (xtests): Change dependencies to ....
18218 (xtests-special): ... additions to this variable.
18219 * resolv/Makefile (tests): Change dependencies to ....
18220 (tests-special): ... additions to this variable.
18221 (xtests): Change dependencies to ....
18222 (xtests-special): ... additions to this variable.
18223 * stdio-common/Makefile (tests): Change dependencies to ....
18224 (tests-special): ... additions to this variable.
18225 (do-tst-unbputc): Remove target.
18226 (do-tst-printf): Likewise.
18227 * stdlib/Makefile (tests): Change dependencies to ....
18228 (tests-special): ... additions to this variable.
18229 * string/Makefile (tests): Change dependencies to ....
18230 (tests-special): ... additions to this variable.
18231 * sysdeps/x86/Makefile (tests): Change dependencies to ....
18232 (tests-special): ... additions to this variable.
18234 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
18236 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
18238 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
18239 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
18241 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
18242 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
18243 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
18244 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
18245 * conform/data/libgen.h-data [XPG3]: Likewise.
18246 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
18247 * conform/data/ndbm.h-data [XPG3]: Likewise.
18248 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
18249 * conform/data/netdb.h-data [XPG3]: Likewise.
18250 * conform/data/netinet/in.h-data [XPG3]: Likewise.
18251 * conform/data/poll.h-data [XPG3]: Likewise.
18252 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
18253 * conform/data/strings.h-data [XPG3]: Likewise.
18254 * conform/data/stropts.h-data [XPG3]: Likewise.
18255 * conform/data/sys/mman.h-data [XPG3]: Likewise.
18256 * conform/data/sys/resource.h-data [XPG3]: Likewise.
18257 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
18259 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
18260 * conform/data/sys/time.h-data [XPG3]: Likewise.
18261 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
18262 * conform/data/sys/uio.h-data [XPG3]: Likewise.
18263 * conform/data/sys/un.h-data [XPG3]: Likewise.
18264 * conform/data/syslog.h-data [XPG3]: Likewise.
18265 * conform/data/ucontext.h-data [XPG3]: Likewise.
18266 * conform/data/utmpx.h-data [XPG3]: Likewise.
18267 * conform/data/varargs.h-data [UNIX98]: Enable file.
18269 * manual/Makefile (INSTALL_INFO): Remove variable setting.
18271 * math/libm-test.inc (struct test_f_f_data): Move expected results
18272 into structure for each rounding mode.
18273 (struct test_ff_f_data): Likewise.
18274 (struct test_ff_f_data_nexttoward): Likewise.
18275 (struct test_fi_f_data): Likewise.
18276 (struct test_fl_f_data): Likewise.
18277 (struct test_if_f_data): Likewise.
18278 (struct test_fff_f_data): Likewise.
18279 (struct test_c_f_data): Likewise.
18280 (struct test_f_f1_data): Likewise.
18281 (struct test_fF_f1_data): Likewise.
18282 (struct test_ffI_f1_data): Likewise.
18283 (struct test_c_c_data): Likewise.
18284 (struct test_cc_c_data): Likewise.
18285 (struct test_f_i_data): Likewise.
18286 (struct test_ff_i_data): Likewise.
18287 (struct test_f_l_data): Likewise.
18288 (struct test_f_L_data): Likewise.
18289 (struct test_fFF_11_data): Likewise.
18291 (RM_FE_DOWNWARD): Likewise.
18292 (RM_FE_TONEAREST): Likewise.
18293 (RM_FE_TOWARDZERO): Likewise.
18294 (RM_FE_UPWARD): Likewise.
18295 (RUN_TEST_LOOP_f_f): Update references to expected results.
18296 (RUN_TEST_LOOP_2_f): Likewise.
18297 (RUN_TEST_LOOP_fff_f): Likewise.
18298 (RUN_TEST_LOOP_c_f): Likewise.
18299 (RUN_TEST_LOOP_f_f1): Likewise.
18300 (RUN_TEST_LOOP_fF_f1): Likewise.
18301 (RUN_TEST_LOOP_fI_f1): Likewise.
18302 (RUN_TEST_LOOP_ffI_f1): Likewise.
18303 (RUN_TEST_LOOP_c_c): Likewise.
18304 (RUN_TEST_LOOP_cc_c): Likewise.
18305 (RUN_TEST_LOOP_f_i): Likewise.
18306 (RUN_TEST_LOOP_f_i_tg): Likewise.
18307 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18308 (RUN_TEST_LOOP_f_b): Likewise.
18309 (RUN_TEST_LOOP_f_b_tg): Likewise.
18310 (RUN_TEST_LOOP_f_l): Likewise.
18311 (RUN_TEST_LOOP_f_L): Likewise.
18312 (RUN_TEST_LOOP_fFF_11): Likewise.
18313 * math/gen-libm-test.pl (parse_args): Output four copies of
18314 expected results for each test.
18316 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18317 (__ASSUME_UTIMES): Remove.
18318 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18319 (__ASSUME_UTIMES): Likewise.
18321 * math/gen-auto-libm-tests.c: Update comment on output format.
18322 (output_for_one_input_case): Generate before-rounding and
18323 after-rounding information as conditions on output flags not
18324 floating-point format.
18325 * math/auto-libm-test-out: Regenerated.
18326 * math/gen-libm-test.pl (cond_value): New function.
18327 (or_cond_value): Use cond_value.
18328 (generate_testfile): Handle conditional exceptions.
18330 2014-03-05 Joseph Myers <joseph@codesourcery.com>
18332 * math/libm-test.inc (max_valid_error): New variable.
18333 (init_max_error): Take new argument specifying whether function
18334 results are exactly determined. Set max_valid_error and bound
18335 other variables for errors based on this argument.
18336 (set_max_error): Do not record results above max_valid_error.
18337 (check_float_internal): Only accept errors of up to 0.5ulps if
18338 also at most max_valid_error.
18339 (START): Take new argument EXACT and pass it to init_max_error.
18340 (acos_test): Update call to START.
18341 (acos_test_tonearest): Likewise.
18342 (acos_test_towardzero): Likewise.
18343 (acos_test_downward): Likewise.
18344 (acos_test_upward): Likewise.
18345 (acosh_test): Likewise.
18346 (asin_test): Likewise.
18347 (asin_test_tonearest): Likewise.
18348 (asin_test_towardzero): Likewise.
18349 (asin_test_downward): Likewise.
18350 (asin_test_upward): Likewise.
18351 (asinh_test): Likewise.
18352 (atan_test): Likewise.
18353 (atanh_test): Likewise.
18354 (atan2_test): Likewise.
18355 (cabs_test): Likewise.
18356 (cacos_test): Likewise.
18357 (cacosh_test): Likewise.
18358 (carg_test): Likewise.
18359 (casin_test): Likewise.
18360 (casinh_test): Likewise.
18361 (catan_test): Likewise.
18362 (catanh_test): Likewise.
18363 (cbrt_test): Likewise.
18364 (ccos_test): Likewise.
18365 (ccosh_test): Likewise.
18366 (ceil_test): Likewise.
18367 (cexp_test): Likewise.
18368 (cimag_test): Likewise.
18369 (clog_test): Likewise.
18370 (clog10_test): Likewise.
18371 (conj_test): Likewise.
18372 (copysign_test): Likewise.
18373 (cos_test): Likewise.
18374 (cos_test_tonearest): Likewise.
18375 (cos_test_towardzero): Likewise.
18376 (cos_test_downward): Likewise.
18377 (cos_test_upward): Likewise.
18378 (cosh_test): Likewise.
18379 (cosh_test_tonearest): Likewise.
18380 (cosh_test_towardzero): Likewise.
18381 (cosh_test_downward): Likewise.
18382 (cosh_test_upward): Likewise.
18383 (cpow_test): Likewise.
18384 (cproj_test): Likewise.
18385 (creal_test): Likewise.
18386 (csin_test): Likewise.
18387 (csinh_test): Likewise.
18388 (csqrt_test): Likewise.
18389 (ctan_test): Likewise.
18390 (ctan_test_tonearest): Likewise.
18391 (ctan_test_towardzero): Likewise.
18392 (ctan_test_downward): Likewise.
18393 (ctan_test_upward): Likewise.
18394 (ctanh_test): Likewise.
18395 (ctanh_test_tonearest): Likewise.
18396 (ctanh_test_towardzero): Likewise.
18397 (ctanh_test_downward): Likewise.
18398 (ctanh_test_upward): Likewise.
18399 (erf_test): Likewise.
18400 (erfc_test): Likewise.
18401 (exp_test): Likewise.
18402 (exp_test_tonearest): Likewise.
18403 (exp_test_towardzero): Likewise.
18404 (exp_test_downward): Likewise.
18405 (exp_test_upward): Likewise.
18406 (exp10_test): Likewise.
18407 (exp10_test_tonearest): Likewise.
18408 (exp10_test_towardzero): Likewise.
18409 (exp10_test_downward): Likewise.
18410 (exp10_test_upward): Likewise.
18411 (pow10_test): Likewise.
18412 (exp2_test): Likewise.
18413 (expm1_test): Likewise.
18414 (expm1_test_tonearest): Likewise.
18415 (expm1_test_towardzero): Likewise.
18416 (expm1_test_downward): Likewise.
18417 (expm1_test_upward): Likewise.
18418 (fabs_test): Likewise.
18419 (fdim_test): Likewise.
18420 (floor_test): Likewise.
18421 (fma_test): Likewise.
18422 (fma_test_towardzero): Likewise.
18423 (fma_test_downward): Likewise.
18424 (fma_test_upward): Likewise.
18425 (fmax_test): Likewise.
18426 (fmin_test): Likewise.
18427 (fmod_test): Likewise.
18428 (fpclassify_test): Likewise.
18429 (frexp_test): Likewise.
18430 (hypot_test): Likewise.
18431 (ilogb_test): Likewise.
18432 (isfinite_test): Likewise.
18433 (finite_test): Likewise.
18434 (isgreater_test): Likewise.
18435 (isgreaterequal_test): Likewise.
18436 (isinf_test): Likewise.
18437 (isless_test): Likewise.
18438 (islessequal_test): Likewise.
18439 (islessgreater_test): Likewise.
18440 (isnan_test): Likewise.
18441 (isnormal_test): Likewise.
18442 (issignaling_test): Likewise.
18443 (isunordered_test): Likewise.
18444 (j0_test): Likewise.
18445 (j1_test): Likewise.
18446 (jn_test): Likewise.
18447 (ldexp_test): Likewise.
18448 (lgamma_test): Likewise.
18449 (gamma_test): Likewise.
18450 (lrint_test): Likewise.
18451 (lrint_test_tonearest): Likewise.
18452 (lrint_test_towardzero): Likewise.
18453 (lrint_test_downward): Likewise.
18454 (lrint_test_upward): Likewise.
18455 (llrint_test): Likewise.
18456 (llrint_test_tonearest): Likewise.
18457 (llrint_test_towardzero): Likewise.
18458 (llrint_test_downward): Likewise.
18459 (llrint_test_upward): Likewise.
18460 (log_test): Likewise.
18461 (log10_test): Likewise.
18462 (log1p_test): Likewise.
18463 (log2_test): Likewise.
18464 (logb_test): Likewise.
18465 (logb_test_downward): Likewise.
18466 (lround_test): Likewise.
18467 (llround_test): Likewise.
18468 (modf_test): Likewise.
18469 (nearbyint_test): Likewise.
18470 (nextafter_test): Likewise.
18471 (nexttoward_test): Likewise.
18472 (pow_test): Likewise.
18473 (pow_test_tonearest): Likewise.
18474 (pow_test_towardzero): Likewise.
18475 (pow_test_downward): Likewise.
18476 (pow_test_upward): Likewise.
18477 (remainder_test): Likewise.
18478 (drem_test): Likewise.
18479 (remainder_test_tonearest): Likewise.
18480 (drem_test_tonearest): Likewise.
18481 (remainder_test_towardzero): Likewise.
18482 (drem_test_towardzero): Likewise.
18483 (remainder_test_downward): Likewise.
18484 (drem_test_downward): Likewise.
18485 (remainder_test_upward): Likewise.
18486 (drem_test_upward): Likewise.
18487 (remquo_test): Likewise.
18488 (rint_test): Likewise.
18489 (rint_test_tonearest): Likewise.
18490 (rint_test_towardzero): Likewise.
18491 (rint_test_downward): Likewise.
18492 (rint_test_upward): Likewise.
18493 (round_test): Likewise.
18494 (scalb_test): Likewise.
18495 (scalbn_test): Likewise.
18496 (scalbln_test): Likewise.
18497 (signbit_test): Likewise.
18498 (sin_test): Likewise.
18499 (sin_test_tonearest): Likewise.
18500 (sin_test_towardzero): Likewise.
18501 (sin_test_downward): Likewise.
18502 (sin_test_upward): Likewise.
18503 (sincos_test): Likewise.
18504 (sinh_test): Likewise.
18505 (sinh_test_tonearest): Likewise.
18506 (sinh_test_towardzero): Likewise.
18507 (sinh_test_downward): Likewise.
18508 (sinh_test_upward): Likewise.
18509 (sqrt_test): Likewise.
18510 (sqrt_test_tonearest): Likewise.
18511 (sqrt_test_towardzero): Likewise.
18512 (sqrt_test_downward): Likewise.
18513 (sqrt_test_upward): Likewise.
18514 (tan_test): Likewise.
18515 (tan_test_tonearest): Likewise.
18516 (tan_test_towardzero): Likewise.
18517 (tan_test_downward): Likewise.
18518 (tan_test_upward): Likewise.
18519 (tanh_test): Likewise.
18520 (tgamma_test): Likewise.
18521 (trunc_test): Likewise.
18522 (y0_test): Likewise.
18523 (y1_test): Likewise.
18524 (yn_test): Likewise.
18525 (significand_test): Likewise.
18527 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
18528 individual tests in comment.
18529 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
18530 (prev_max_error): New variable.
18531 (prev_real_max_error): Likewise.
18532 (prev_imag_max_error): Likewise.
18533 (compare_ulp_data): Don't refer to test names in comment.
18534 (find_test_ulps): Remove function.
18535 (find_function_ulps): Likewise.
18536 (find_complex_function_ulps): Likewise.
18537 (init_max_error): Take function name as argument. Look up ulps
18539 (print_ulps): Remove function.
18540 (print_max_error): Use prev_max_error instead of calling
18541 find_function_ulps.
18542 (print_complex_max_error): Use prev_real_max_error and
18543 prev_imag_max_error instead of calling find_complex_function_ulps.
18544 (check_float_internal): Take max_ulp parameter instead of calling
18545 find_test_ulps. Don't call print_ulps.
18546 (check_float): Update call to check_float_internal.
18547 (check_complex): Update calls to check_float_internal.
18548 (START): Pass argument to init_max_error.
18549 * math/gen-libm-test.pl (%results): Don't include "kind"
18551 (parse_ulps): Don't handle ulps of individual tests.
18552 (print_ulps_file): Likewise.
18553 (output_ulps): Likewise.
18554 * math/README.libm-test: Update.
18555 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
18557 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
18558 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
18559 * sysdeps/arm/libm-test-ulps: Likewise.
18560 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18561 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
18562 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
18563 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
18564 * sysdeps/microblaze/libm-test-ulps: Likewise.
18565 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18566 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18567 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18568 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
18569 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18570 * sysdeps/sh/libm-test-ulps: Likewise.
18571 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18572 * sysdeps/tile/libm-test-ulps: Likewise.
18573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18575 2014-03-04 Joseph Myers <joseph@codesourcery.com>
18577 * math/libm-test.inc (print_complex_max_error): Check separately
18578 whether real and imaginary errors are within allowed range and
18579 pass 0 to print_complex_function_ulps instead of value within
18582 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18584 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
18586 (get_handles_fopen): Likewise.
18587 (do_write_test): Likewise.
18589 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
18591 * libio/fileops.c (do_ftell): Use cached offset when
18593 * libio/iofwide.c (do_ftell_wide): Likewise.
18594 * libio/iofdopen.c (_IO_new_fdopen): Don't use
18596 * libio/wfileops.c (_IO_fwide): Don't cache offset.
18599 * libio/libioP.h (get_file_offset): New function.
18600 * libio/fileops.c (get_file_offset): Likewise.
18601 (do_ftell): Likewise.
18602 (_IO_new_file_seekoff): Split out ftell logic.
18603 * libio/wfileops.c (do_ftell_wide): Likewise.
18604 (_IO_wfile_seekoff): Split out ftell logic.
18605 * libio/tst-ftell-active-handler.c: New test case.
18606 * libio/Makefile (tests): Add it.
18608 2014-03-03 Roland McGrath <roland@hack.frob.com>
18610 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
18611 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
18613 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18616 * nscd/connections.c (nscd_init): Call do_exit.
18617 (start_threads): Call do_exit and notify_parent.
18618 (begin_drop_privileges): Call do_exit.
18619 (finish_drop_privileges): Likewise.
18620 * nscd/selinux.c (preserve_capabilities): Likewise.
18621 (install_real_capabilities): Likewise.
18622 (nscd_selinux_enabled): Likewise.
18623 (avc_create_thread): Likewise.
18624 (avc_alloc_lock): Likewise.
18625 (nscd_avc_init): Likewise.
18626 * nscd/nscd.c (parent_fd): New static variable.
18627 (main): Create a pipe between parent and child processes.
18628 Skip closing parent_fd.
18629 (monitor_child): New function.
18630 (do_exit): Likewise.
18631 (notify_parent): Likewise.
18632 * nscd/nscd.h (notify_parent): Likewise.
18633 (do_exit): Likewise.
18635 2014-03-03 Carlos O'Donell <carlos@redhat.com>
18637 * malloc/malloc.c (__libc_calloc): Revert last change.
18639 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18643 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18645 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
18646 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
18648 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18649 (__libc_ifunc_impl_list): Likewise.
18650 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
18651 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
18652 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
18653 * string/strrchr.c: Define STRRCHR.
18655 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
18657 * benchtest/bench-strtok.c (simple_strtok): Delete.
18658 (strtok_string): Use as benchmark.
18659 * string/strtok (STRTOK): New macro.
18661 2014-02-28 Carlos O'Donell <carlos@redhat.com>
18663 * manual/threads.texi: Add header and standard comments to all
18666 * elf/dl-lookup.c (check_match): New function.
18667 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
18668 (do_lookup_x): Remove nested function check_match. Use non-nested
18669 function check_match.
18671 2014-02-28 Roland McGrath <roland@hack.frob.com>
18673 * csu/Makefile (generated, before-compile): Use += rather than =.
18674 * catgets/Makefile (generated, generated-dirs): Likewise.
18675 * debug/Makefile (generated): Likewise.
18676 * dlfcn/Makefile (generated): Likewise.
18677 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
18678 * iconvdata/Makefile (before-compile, generated): Likewise.
18679 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
18680 * libio/Makefile (generated): Likewise.
18681 * malloc/Makefile (generated): Likewise.
18682 * manual/Makefile (generated, generated-dirs): Likewise.
18683 * misc/Makefile (generated): Likewise.
18684 * posix/Makefile (generated): Likewise.
18685 * resolv/Makefile (generated): Likewise.
18686 * sunrpc/Makefile (generated, generated-dirs): Likewise.
18687 * timezone/Makefile (generated, generated-dirs): Likewise.
18689 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
18691 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18693 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18694 power8 implementation.
18695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
18696 file: POWER8 llround ifunc implementation.
18697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
18698 (__lllround): Add POWER8 implementation.
18699 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
18700 POWER8 llround implementation.
18702 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
18703 power8 implementation.
18704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
18705 file: POWER8 llrint ifunc implementation.
18706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
18707 Add POWER8 implementation.
18708 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
18709 POWER8 llrint implementation.
18711 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
18712 power8 implementation.
18713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
18714 file: POWER8 finite ifunc implementation.
18715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
18716 Add POWER8 implementation.
18717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
18719 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
18720 POWER8 finite implementation.
18721 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
18723 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
18724 power8 implementation.
18725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
18726 file: POWER8 isinf ifunc implementation.
18727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
18728 POWER8 implementation.
18729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
18731 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
18732 isinf implementation.
18733 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
18735 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18736 (INIT_ARCH): Add hwcap2 initialization.
18737 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18738 power8 implementation.
18739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
18740 file: POWER8 isnan ifunc implementation.
18741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
18742 POWER8 implementation.
18743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
18745 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
18746 isnan implementation.
18747 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
18749 2014-02-27 Joey Ye <joey.ye@arm.com>
18751 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18752 (_FP_NANFRAC_Q): Set to zero.
18754 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18757 * math/auto-libm-test-in: New test inputs.
18758 * math/auto-libm-test-out: Regenerate.
18759 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
18762 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18764 2014-02-27 Joseph Myers <joseph@codesourcery.com>
18766 * scripts/evaluate-test.sh: Take new argument indicating whether
18767 failure is expected.
18768 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
18769 indicating whether failure is expected.
18770 * conform/Makefile (test-xfail-run-conformtest): New variable.
18771 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
18773 * posix/Makefile (test-xfail-annexc): New variable.
18774 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
18776 2014-02-26 Joseph Myers <joseph@codesourcery.com>
18778 * argp/Makefile: Include Makeconfig immediately after defining
18780 * assert/Makefile: Likewise.
18781 * benchtests/Makefile: Likewise.
18782 * catgets/Makefile: Likewise.
18783 * conform/Makefile: Likewise.
18784 * crypt/Makefile: Likewise.
18785 * csu/Makefile: Likewise.
18786 (all): Remove target.
18787 * ctype/Makefile: Include Makeconfig immediately after defining
18789 * debug/Makefile: Likewise.
18790 * dirent/Makefile: Likewise.
18791 * dlfcn/Makefile: Likewise.
18792 * gmon/Makefile: Likewise.
18793 * gnulib/Makefile: Likewise.
18794 * grp/Makefile: Likewise.
18795 * gshadow/Makefile: Likewise.
18796 * hesiod/Makefile: Likewise.
18797 * hurd/Makefile: Likewise.
18798 (all): Remove target.
18799 * iconvdata/Makefile: Include Makeconfig immediately after
18801 * inet/Makefile: Likewise.
18802 * intl/Makefile: Likewise.
18803 * io/Makefile: Likewise.
18804 * libio/Makefile: Likewise.
18805 (all): Remove target.
18806 * locale/Makefile: Include Makeconfig immediately after defining
18808 * login/Makefile: Likewise.
18809 * mach/Makefile: Likewise.
18810 (all): Remove target.
18811 * malloc/Makefile: Include Makeconfig immediately after defining
18813 (all): Remove target.
18814 * manual/Makefile: Include Makeconfig immediately after defining
18816 * math/Makefile: Likewise.
18817 * misc/Makefile: Likewise.
18818 * nis/Makefile: Likewise.
18819 * nss/Makefile: Likewise.
18820 * po/Makefile: Likewise.
18821 (all): Remove target.
18822 * posix/Makefile: Include Makeconfig immediately after defining
18824 * pwd/Makefile: Likewise.
18825 * resolv/Makefile: Likewise.
18826 * resource/Makefile: Likewise.
18827 * rt/Makefile: Likewise.
18828 * setjmp/Makefile: Likewise.
18829 * shadow/Makefile: Likewise.
18830 * signal/Makefile: Likewise.
18831 * socket/Makefile: Likewise.
18832 * soft-fp/Makefile: Likewise.
18833 * stdio-common/Makefile: Likewise.
18834 * stdlib/Makefile: Likewise.
18835 * streams/Makefile: Likewise.
18836 * string/Makefile: Likewise.
18837 * sunrpc/Makefile: Likewise.
18838 (all): Remove target.
18839 * sysvipc/Makefile: Include Makeconfig immediately after defining
18841 * termios/Makefile: Likewise.
18842 * time/Makefile: Likewise.
18843 * timezone/Makefile: Likewise.
18844 (all): Remove target.
18845 * wcsmbs/Makefile: Include Makeconfig immediately after defining
18847 * wctype/Makefile: Likewise.
18849 2014-02-26 Steve Ellcey <sellcey@mips.com>
18851 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
18852 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
18853 (libc_feholdexcept_setround_mips): Ditto.
18854 (libc_feholdsetround): New.
18855 (libc_feholdsetroundf): New.
18856 (libc_feholdsetroundl): New.
18857 (libc_feupdateenv_test_mips): New.
18858 (libc_feupdateenv_test): New.
18859 (libc_feupdateenv_testf): New.
18860 (libc_feupdateenv_testl): New.
18861 (libc_feresetround): New.
18862 (libc_feresetroundf): New.
18863 (libc_feresetroundl): New.
18864 (libc_fetestexcept_mips): New.
18865 (libc_fetestexcept): New.
18866 (libc_fetestexceptf): New.
18867 (libc_fetestexceptl): New.
18868 (HAVE_RM_CTX): New.
18869 (libc_feholdexcept_setround_mips_ctx): New.
18870 (libc_feholdexcept_setround_ctx): New.
18871 (libc_feholdexcept_setroundf_ctx): New.
18872 (libc_feholdexcept_setroundl_ctx): New.
18873 (libc_fesetenv_mips_ctx): New.
18874 (libc_fesetenv_ctx): New.
18875 (libc_fesetenv_ctxf): New.
18876 (libc_fesetenv_ctxl): New.
18877 (libc_feupdateenv_mips_ctx): New.
18878 (libc_feupdateenv_ctx): New.
18879 (libc_feupdateenvf_ctx): New.
18880 (libc_feupdateenvl_ctx): New.
18881 (libc_feholdsetround_mips_ctx): New.
18882 (libc_feholdsetround_ctx): New.
18883 (libc_feholdsetroundf_ctx): New.
18884 (libc_feholdsetroundl_ctx): New.
18885 (libc_feresetround_mips_ctx): New.
18886 (libc_feresetround_ctx): New.
18887 (libc_feresetroundf_ctx): New.
18888 (libc_feresetroundl_ctx): New.
18890 2014-02-26 Carlos O'Donell <carlos@redhat.com>
18892 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
18894 * manual/ipc.texi: New file.
18895 * manual/Makefile (chapters): Add ipc.
18896 * manual/job.texi: Add "Inter-Process Communication" to next.
18897 * manual/process.texi: Add "Inter-Process Communication" to prev.
18899 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18903 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
18905 * malloc/malloc.c (__libc_calloc): Simplify implementation.
18907 * manual/arith.texi: Fix spaces after sentences.
18908 * manual/charset.texi: Likewise.
18909 * manual/errno.texi: Likewise.
18910 * manual/install.texi: Likewise.
18911 * manual/llio.texi: Likewise.
18912 * manual/locale.texi: Likewise.
18913 * manual/maint.texi: Likewise.
18914 * manual/math.texi: Likewise.
18915 * manual/memory.texi: Likewise.
18916 * manual/message.texi: Likewise.
18917 * manual/probes.texi: Likewise.
18918 * manual/resource.texi: Likewise.
18919 * manual/signal.texi: Likewise.
18920 * manual/socket.texi: Likewise.
18921 * manual/stdio.texi: Likewise.
18922 * manual/string.texi: Likewise.
18923 * manual/time.texi: Likewise.
18924 * manual/users.texi: Likewise.
18926 2014-02-25 Carlos O'Donell <carlos@redhat.com>
18929 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
18930 _DEFAULT_SOURCE is defined.
18932 2014-02-25 Ulrich Drepper <drepper@gmail.com>
18933 Carlos O'Donell <carlos@redhat.com>
18936 * elf/dl-tls.c (_dl_count_modids): New function.
18937 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
18938 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
18939 audit library and increment generation counter.
18940 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
18941 * elf/tst-audit9.c: New file.
18942 * elf/tst-auditmod9a.c: New file.
18943 * elf/tst-auditmod9b.c: New file.
18944 * elf/Makefile: Add rules to build and run tst-audit9.
18946 2014-02-25 Florian Weimer <fweimer@redhat.com>
18949 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
18951 2014-02-25 Will Newton <will.newton@linaro.org>
18953 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
18954 (__longjmp): Restore sp and lr before restoring callee
18955 saved registers. Add longjmp and longjmp_target
18956 SystemTap probe point.
18957 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
18958 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
18959 Define to zero to match jmpbuf layout.
18960 * sysdeps/arm/setjmp.S: Include stap-probe.h.
18961 (__sigsetjmp): Save sp and lr before saving callee
18962 saved registers. Add setjmp SystemTap probe point.
18964 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18966 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18968 2014-02-24 Andreas Schwab <schwab@suse.de>
18971 * elf/pldd.c (wait_for_ptrace_stop): New function.
18972 (main): Call it after attaching.
18974 2014-02-22 Roland McGrath <roland@hack.frob.com>
18976 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
18977 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
18978 Versions files is now verboten.
18979 * hurd/Versions (libc: GLIBC_2.0):
18980 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18981 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18982 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18983 * mach/Versions: Likewise.
18985 * csu/Versions: Remove unused %include.
18986 * resolv/Versions: Likewise.
18988 2014-02-21 Joseph Myers <joseph@codesourcery.com>
18990 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18991 ($(objpfx)check-local-headers.out): Likewise.
18992 ($(objpfx)begin-end-check.out): Likewise.
18993 * Makerules (check-abi-%.out): Likewise.
18994 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18995 ($(objpfx)test2.cat): Likewise.
18996 ($(objpfx)de/libc.cat): Likewise.
18997 ($(objpfx)test-gencat.out): Likewise.
18998 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18999 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
19000 ($(objpfx)noload-mem): Likewise.
19001 ($(objpfx)tst-pathopt.out): Likewise.
19002 ($(objpfx)tst-rtld-load-self.out): Likewise.
19003 ($(objpfx)tst-array1-cmp.out): Likewise.
19004 ($(objpfx)tst-array1-static-cmp.out): Likewise.
19005 ($(objpfx)tst-array2-cmp.out): Likewise.
19006 ($(objpfx)tst-array3-cmp.out): Likewise.
19007 ($(objpfx)tst-array4-cmp.out): Likewise.
19008 ($(objpfx)tst-array5-cmp.out): Likewise.
19009 ($(objpfx)tst-array5-static-cmp.out): Likewise.
19010 ($(objpfx)check-textrel.out): Likewise.
19011 ($(objpfx)check-execstack.out): Likewise.
19012 ($(objpfx)check-localplt.out): Likewise.
19013 ($(objpfx)order2-cmp.out): Likewise.
19014 ($(objpfx)tst-leaks1-mem): Likewise.
19015 ($(objpfx)tst-leaks1-static-mem): Likewise.
19016 ($(objpfx)tst-initorder-cmp.out): Likewise.
19017 ($(objpfx)tst-initorder2-cmp.out): Likewise.
19018 ($(objpfx)tst-unused-dep.out): Likewise.
19019 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
19020 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
19021 * iconv/Makefile (test-iconvconfig): Likewise.
19022 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
19023 ($(objpfx)iconv-test.out): Likewise.
19024 ($(objpfx)tst-tables.out): Likewise.
19025 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
19026 ($(objpfx)tst-gettext.out): Likewise.
19027 ($(objpfx)tst-translit.out): Likewise.
19028 ($(objpfx)tst-gettext2.out): Likewise.
19029 ($(objpfx)tst-gettext4.out): Likewise.
19030 ($(objpfx)tst-gettext6.out): Likewise.
19031 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
19032 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
19033 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
19034 ($(objpfx)tst-fopenloc-mem.out): Likewise.
19035 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
19036 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
19037 * posix/Makefile ($(objpfx)globtest.out): Likewise.
19038 ($(objpfx)wordexp-tst.out): Likewise.
19039 ($(objpfx)annexc.out): Likewise.
19040 ($(objpfx)tst-fnmatch-mem): Likewise.
19041 ($(objpfx)bug-regex2-mem): Likewise.
19042 ($(objpfx)bug-regex14-mem): Likewise.
19043 ($(objpfx)bug-regex21-mem): Likewise.
19044 ($(objpfx)bug-regex31-mem): Likewise.
19045 ($(objpfx)tst-vfork3-mem): Likewise.
19046 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19047 ($(objpfx)tst-pcre-mem): Likewise.
19048 ($(objpfx)tst-boost-mem): Likewise.
19049 ($(objpfx)tst-getconf.out): Likewise.
19050 ($(objpfx)bug-ga2-mem): Likewise.
19051 ($(objpfx)bug-glob2-mem): Likewise.
19052 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
19053 ($(objpfx)mtrace-tst-leaks2): Likewise.
19054 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
19055 ($(objpfx)tst-printf.out): Likewise.
19056 ($(objpfx)tst-setvbuf1.out): Likewise.
19057 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
19058 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
19059 ($(objpfx)tst-fmtmsg.out): Likewise.
19060 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
19061 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
19063 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
19064 * bits/sigaction.h [__USE_MISC]: Likewise.
19065 * bits/waitstatus.h: Update #endif comments.
19066 * ctype/ctype.h: Likewise.
19067 * dirent/dirent.h: Likewise.
19068 [__USE_MISC]: Remove redundant conditionals.
19069 * grp/grp.h: Update #endif comments.
19070 [__USE_GNU]: Remove redundant conditionals.
19071 [__USE_MISC]: Likewise.
19072 * inet/netinet/in.h [__USE_GNU]: Likewise.
19073 * io/sys/stat.h [__USE_MISC]: Likewise.
19074 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
19075 * libio/bits/stdio.h: Update #endif comments.
19076 [__USE_MISC]: Remove redundant conditionals.
19077 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
19078 * libio/stdio.h: Update #endif comments.
19079 [__USE_MISC]: Remove redundant conditionals.
19080 * math/bits/math-finite.h [__USE_MISC]: Likewise.
19081 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
19082 * math/math.h: Update #else and #endif comments.
19083 [__USE_MISC]: Remove redundant conditionals.
19084 * misc/sys/uio.h: Update #endif comments.
19085 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
19086 * posix/glob.h [__USE_MISC]: Likewise.
19087 * posix/sys/types.h: Update #endif comments.
19088 [__USE_MISC]: Remove redundant conditionals.
19089 * posix/sys/wait.h: Update #endif comments.
19090 [__USE_MISC]: Remove redundant conditionals.
19091 * posix/unistd.h: Update #endif comments.
19092 [__USE_MISC]: Remove redundant conditionals.
19093 * pwd/pwd.h [__USE_GNU]: Likewise.
19094 [__USE_MISC]: Likewise.
19095 * resolv/netdb.h [__USE_GNU]: Likewise.
19096 * signal/signal.h: Update #endif comments.
19097 [__USE_MISC]: Remove redundant conditionals.
19098 * stdlib/stdlib.h: Update #else and #endif comments.
19099 [__USE_MISC]: Remove redundant conditionals.
19100 [__USE_GNU]: Likewise.
19101 * string/bits/string2.h [__USE_MISC]: Likewise.
19102 * string/string.h: Update #endif comments.
19103 [__USE_MISC]: Remove redundant conditionals.
19104 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
19106 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
19107 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
19108 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
19110 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
19112 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
19114 [__USE_MISC]: Remove redundant conditionals.
19115 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
19116 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
19117 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
19118 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
19119 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
19121 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
19122 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
19124 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
19125 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
19127 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
19129 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
19130 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
19132 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
19134 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
19135 * sysdeps/x86/bits/string.h: Update #endif comments.
19136 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
19138 * time/sys/time.h: Update #endif comments.
19139 * time/time.h: Likewise.
19140 [__USE_MISC]: Remove redundant conditionals.
19142 2014-02-21 Yury Gribov <y.gribov@samsung.com>
19145 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
19147 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
19149 * Versions.def (librt): Add GLIBC_2.17.
19151 2014-02-21 Adam Conrad <adconrad@0c3.net>
19153 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
19154 synonym for _SYS_AUXV_H to allow direct inclusion.
19155 * sysdeps/sparc/bits/hwcap.h: Likewise.
19156 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
19157 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
19158 * sysdeps/sparc/sysdep.h: Likewise.
19160 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19162 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
19164 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19166 * benchtests/bench-strrchr.c: Print length instead of position.
19168 2014-02-20 Joseph Myers <joseph@codesourcery.com>
19171 * sysdeps/unix/sysv/linux/kernel-features.h
19172 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
19173 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
19174 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
19175 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
19177 [__i386__ || __powerpc__ || __sh__ || __sparc__]
19178 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19179 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
19180 (__ASSUME_SENDMMSG): Define instead of using previous
19181 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
19182 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19183 (__ASSUME_SENDMMSG_SYSCALL): Define.
19184 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19185 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
19187 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19188 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19190 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19191 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19193 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
19194 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
19195 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
19196 [__ASSUME_SENDMMSG]: Change conditionals to
19197 [__ASSUME_SENDMMSG_SOCKETCALL].
19198 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19199 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
19201 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19202 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
19204 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
19205 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
19206 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
19207 [!__ASSUME_SENDMMSG]: Change conditional to
19208 [!__ASSUME_SENDMMSG_SOCKETCALL].
19209 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19210 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19214 * sysdeps/unix/sysv/linux/kernel-features.h
19215 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
19216 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
19217 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
19218 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
19219 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19220 [__i386__ || __sparc__]
19221 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19222 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
19223 (__ASSUME_RECVMMSG): Define instead of using previous
19224 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
19225 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19226 (__ASSUME_RECVMMSG_SYSCALL): Define.
19227 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19228 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19230 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19231 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19233 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19234 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19236 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
19237 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
19238 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
19239 [__ASSUME_RECVMMSG]: Change condition to
19240 [__ASSUME_RECVMMSG_SOCKETCALL].
19241 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19242 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19244 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19245 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19246 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19248 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
19249 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
19250 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
19251 [!__ASSUME_RECVMMSG]: Change condition to
19252 [!__ASSUME_RECVMMSG_SOCKETCALL].
19253 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19254 (__ASSUME_RECVMMSG_SYSCALL): Define.
19257 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
19258 __powerpc__ || __s390__ || __sh__ || __sparc__]
19259 (__ASSUME_SOCKETCALL): Define.
19260 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
19261 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
19262 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
19263 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
19264 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19265 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
19266 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
19267 (__ASSUME_ACCEPT4): Define instead of using previous
19268 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
19269 __powerpc__ || __sparc__ || __s390__)] condition.
19270 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19271 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
19272 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
19273 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
19274 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
19275 [!__ASSUME_ACCEPT4]: Change condition to
19276 [!__ASSUME_ACCEPT4_SOCKETCALL].
19277 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19278 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
19279 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
19280 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19281 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
19282 __ASSUME_ACCEPT4_SYSCALL.
19283 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
19284 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
19285 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19286 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
19287 __ASSUME_ACCEPT4_SYSCALL.
19288 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
19289 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
19290 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
19291 [__ASSUME_ACCEPT4]: Change condition to
19292 [__ASSUME_ACCEPT4_SOCKETCALL].
19293 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19294 (__ASSUME_SOCKETCALL): Define.
19295 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
19296 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19297 (__ASSUME_SOCKETCALL): Define.
19298 (__ASSUME_ACCEPT4): Remove.
19299 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
19301 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19302 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
19304 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19305 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
19307 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
19309 (HWCAP_ARM_LPAE): Likewise.
19310 (HWCAP_ARM_EVTSTRM): Likewise.
19311 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
19312 Add vpfd32, lpae and evtstrm.
19313 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
19316 2014-02-19 Joseph Myers <joseph@codesourcery.com>
19318 * math/auto-libm-test-in: Add tests of clog10.
19319 * math/auto-libm-test-out: Regenerated.
19320 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
19321 * sysdeps/i386/fpu/libm-test-ulps: Update.
19322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19324 2014-02-18 Andreas Schwab <schwab@suse.de>
19327 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
19328 Store non-zero if the second buffer was newly allocated.
19329 (send_dg): Likewise.
19330 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
19331 to send_vc and send_dg.
19332 (res_nsend): Pass NULL for ansp2_malloced.
19333 * resolv/res_query.c (__libc_res_nquery): Add parameter
19334 answerp2_malloced and pass it down to __libc_res_nsend.
19335 (res_nquery): Pass additional NULL to __libc_res_nquery.
19336 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
19337 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
19338 second answer buffer if answerp2_malloced was set.
19339 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
19340 (__libc_res_nquerydomain): Add parameter
19341 answerp2_malloced and pass it down to __libc_res_nquery.
19342 (res_nquerydomain): Pass additional NULL to
19343 __libc_res_nquerydomain.
19344 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
19345 additional NULL to __libc_res_nsend and __libc_res_nquery.
19346 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
19347 additional NULL to __libc_res_nsearch.
19348 (_nss_dns_gethostbyname4_r): Revert last change. Use new
19349 parameter of __libc_res_nsearch to check for separately allocated
19351 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
19353 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
19354 additional NULL to __libc_res_nquery.
19355 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
19356 __libc_res_nsearch.
19357 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
19358 * include/resolv.h: Update prototypes of __libc_res_nquery,
19359 __libc_res_nsearch, __libc_res_nsend.
19361 2014-02-18 Joseph Myers <joseph@codesourcery.com>
19363 * math/auto-libm-test-in: Add tests of fma.
19364 * math/auto-libm-test-out: Regenerated.
19365 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
19366 (fma_towardzero_test_data): Likewise.
19367 (fma_downward_test_data): Likewise.
19368 (fma_upward_test_data): Likewise.
19369 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
19371 (rounding_modes): Add values for new field.
19372 (func_calc_method): Add value mpfr_fff_f.
19373 (func_calc_desc): Add mpfr_fff_f union field.
19374 (test_function): Add field exact_args.
19375 (FUNC): Add macro argument EXACT_ARGS.
19376 (FUNC_mpfr_f_f): Update call to FUNC.
19377 (FUNC_mpfr_f_f): Likewise.
19378 (FUNC_mpfr_ff_f): Likewise.
19379 (FUNC_mpfr_if_f): Likewise.
19380 (FUNC_mpc_c_f): Likewise.
19381 (FUNC_mpc_c_c): Likewise.
19382 (test_functions): Add fma. Update calls to FUNC.
19383 (handle_input_arg): Add argument exact_args.
19384 (add_test): Update call to handle_input_arg.
19385 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
19386 (output_for_one_input_case): Update call to calc_generic_results.
19387 Recalculate exact zero results in each rounding mode.
19389 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
19390 non-negative before setting low bit.
19391 * math/auto-libm-test-in: Mark one asin test possibly having
19392 spurious underflow.
19393 * math/auto-libm-test-out: Regenerated.
19394 * sysdeps/i386/fpu/libm-test-ulps: Update.
19395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19397 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
19399 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
19400 * sysdeps/unix/sysv/linux/microblaze: Move directory from
19401 ports/sysdeps/unix/sysv/linux/microblaze.
19402 * README: Add missing listing for microblaze*-*-linux-gnu.
19404 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
19406 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
19409 2014-02-16 Mike Frysinger <vapier@gentoo.org>
19411 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
19412 * sysdeps/unix/sysv/linux/ia64: Move directory from
19413 ports/sysdeps/unix/sysv/linux/ia64.
19414 * README: Update listing for ia64-*-linux-gnu.
19416 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
19417 Joseph Myers <joseph@codesourcery.com>
19419 * Makeconfig (test-name): New variable.
19420 (evaluate-test): Likewise.
19421 * Makerules (do-test-clean): Remove .test-result files.
19422 (common-mostlyclean): Likewise.
19423 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
19424 * scripts/evaluate-test.sh: New file.
19426 2014-02-14 Joseph Myers <joseph@codesourcery.com>
19428 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
19429 separate $(objpfx)tst-fopenloc-cmp.out and
19430 $(objpfx)tst-fopenloc-mem.out targets.
19431 (tests): Update dependencies.
19432 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
19433 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
19434 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
19435 (tst-rxspencer-no-utf8-ARGS): New variable.
19436 (tst-rxspencer-no-utf8-ENV): Likewise.
19437 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
19438 instead of $(objpfx)tst-rxspencer-mem.
19439 ($(objpfx)tst-rxspencer-mem): Change target to
19440 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
19441 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
19442 * posix/tst-rxspencer-no-utf8.c: New file.
19444 * elf/Makefile ($(objpfx)order.out): Remove rule.
19445 [$(run-built-tests) = yes] (tests): Depend on
19446 $(objpfx)order-cmp.out.
19447 ($(objpfx)order-cmp.out): New rule.
19448 [$(run-built-tests) = yes] (tests): Depend on
19449 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
19450 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
19451 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
19452 $(objpfx)tst-array5-static-cmp.out.
19453 ($(objpfx)tst-array1.out): Remove rule.
19454 ($(objpfx)tst-array1-cmp.out): New rule.
19455 ($(objpfx)tst-array1-static.out): Remove rule.
19456 ($(objpfx)tst-array1-static-cmp.out): New rule.
19457 ($(objpfx)tst-array2.out): Remove rule.
19458 ($(objpfx)tst-array2-cmp.out): New rule.
19459 ($(objpfx)tst-array3.out): Remove rule.
19460 ($(objpfx)tst-array3-cmp.out): New rule.
19461 ($(objpfx)tst-array4.out): Remove rule.
19462 ($(objpfx)tst-array4-cmp.out): New rule.
19463 ($(objpfx)tst-array5.out): Remove rule.
19464 ($(objpfx)tst-array5-cmp.out): New rule.
19465 ($(objpfx)tst-array5-static.out): Remove rule.
19466 ($(objpfx)tst-array5-static-cmp.out): New rule.
19467 [$(run-built-tests) = yes] (tests): Depend on
19468 $(objpfx)order2-cmp.out.
19469 ($(objpfx)order2.out): Remove rule.
19470 ($(objpfx)order2-cmp.out): New rule.
19471 ($(objpfx)tst-initorder.out): Remove rule.
19472 [$(run-built-tests) = yes] (tests): Depend on
19473 $(objpfx)tst-initorder-cmp.out.
19474 ($(objpfx)tst-initorder-cmp.out): New rule.
19475 ($(objpfx)tst-initorder2.out): Remove rule.
19476 [$(run-built-tests) = yes] (tests): Depend on
19477 $(objpfx)tst-initorder2-cmp.out.
19478 ($(objpfx)tst-initorder2-cmp.out): New rule.
19479 [$(run-built-tests) = yes] (tests): Depend on
19480 $(objpfx)tst-unused-dep-cmp.out.
19481 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
19482 ($(objpfx)tst-unused-dep-cmp.out): New rule.
19483 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
19484 on $(objpfx)tst-setvbuf1-cmp.out.
19485 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
19486 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
19487 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
19488 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
19489 ($(objpfx)tst-svc.out): Remove rule.
19490 ($(objpfx)tst-svc-cmp.out): New rule.
19492 2014-02-13 Joseph Myers <joseph@codesourcery.com>
19494 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
19495 * ctype/ctype.h [__USE_MISC]: Likewise.
19496 * dirent/dirent.h [__USE_MISC]: Likewise.
19497 * grp/grp.h [__USE_MISC]: Likewise.
19498 * io/fcntl.h [__USE_MISC]: Likewise.
19499 * io/sys/stat.h [__USE_MISC]: Likewise.
19500 * libio/stdio.h [__USE_MISC]: Likewise.
19501 * posix/unistd.h [__USE_MISC]: Likewise.
19502 * pwd/pwd.h [__USE_MISC]: Likewise.
19503 * stdlib.h [__USE_MISC]: Likewise.
19504 * string/bits/string2.h [__USE_MISC]: Likewise.
19505 * string/string.h [__USE_MISC]: Likewise.
19506 * time/time.h [__USE_MISC]: Likewise.
19508 2014-02-13 Andreas Schwab <schwab@suse.de>
19511 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
19512 second answer buffer if it was separately allocated.
19514 2014-02-12 Joseph Myers <joseph@codesourcery.com>
19516 * sysdeps/mips/math-tests.h: Include <features.h>.
19517 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
19518 (ROUNDING_TESTS_long_double): Do not define.
19519 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
19520 (EXCEPTION_TESTS_long_double): Likewise.
19521 * sysdeps/mips/mips64/libm-test-ulps: Update.
19523 * include/features.h (__USE_BSD): Remove macro definitions.
19524 (__USE_SVID): Likewise.
19525 (_BSD_SOURCE): Likewise.
19526 (_SVID_SOURCE): Likewise.
19527 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
19528 from definition of _DEFAULT_SOURCE.
19529 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
19531 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
19532 * bits/mman.h [__USE_BSD]: Likewise.
19533 * bits/termios.h [__USE_BSD]: Likewise.
19534 * bits/waitstatus.h [__USE_BSD]: Likewise.
19535 * ctype/ctype.h [__USE_SVID]: Likewise.
19536 * dirent/dirent.h [__USE_BSD]: Likewise.
19537 * grp/grp.h [__USE_SVID]: Likewise.
19538 [__USE_BSD]: Likewise.
19539 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
19540 * io/fcntl.h [__USE_BSD]: Likewise.
19541 * io/ftw.h [__USE_BSD]: Likewise.
19542 * io/sys/stat.h [__USE_BSD]: Likewise.
19543 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
19544 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
19545 * libio/stdio.h [__USE_SVID]: Likewise.
19546 [__USE_BSD]: Likewise.
19547 * math/math.h [__USE_SVID]: Likewise.
19548 [__USE_BSD]: Likewise.
19549 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
19550 * misc/bits/syslog.h [__USE_BSD]: Likewise.
19551 * misc/search.h [__USE_SVID]: Likewise.
19552 * misc/sys/mman.h [__USE_BSD]: Likewise.
19553 * misc/sys/syslog.h [__USE_BSD]: Likewise.
19554 * misc/sys/uio.h [__USE_BSD]: Likewise.
19555 * posix/bits/unistd.h [__USE_BSD]: Likewise.
19556 * posix/glob.h [__USE_BSD]: Likewise.
19557 * posix/regex.h [__USE_BSD]: Likewise.
19558 * posix/sys/types.h [__USE_BSD]: Likewise.
19559 [__USE_SVID]: Likewise.
19560 * posix/sys/utsname.h [__USE_SVID]: Likewise.
19561 * posix/sys/wait.h [__USE_BSD]: Likewise.
19562 [__USE_SVID]: Likewise.
19563 * posix/unistd.h [__USE_BSD]: Likewise.
19564 [__USE_SVID]: Likewise.
19565 * pwd/pwd.h [__USE_SVID]: Likewise.
19566 * resolv/netdb.h [__USE_BSD]: Likewise.
19567 * setjmp/setjmp.h [__USE_BSD]: Likewise.
19568 * signal/signal.h [__USE_BSD]: Likewise.
19569 [__USE_SVID]: Likewise.
19570 * socket/sys/socket.h [__USE_BSD]: Likewise.
19571 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
19572 * stdlib/stdlib.h [__USE_BSD]: Likewise.
19573 [__USE_SVID]: Likewise.
19574 * string/bits/string2.h [__USE_BSD]: Likewise.
19575 [__USE_SVID]: Likewise.
19576 * string/bits/string3.h [__USE_BSD]: Likewise.
19577 * string/endian.h [__USE_BSD]: Likewise.
19578 * string/string.h [__USE_SVID]: Likewise.
19579 [__USE_BSD]: Likewise.
19580 * string/strings.h [__USE_BSD]: Likewise.
19581 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
19582 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
19583 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
19584 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
19585 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
19586 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
19588 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
19590 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
19591 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
19593 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
19594 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
19596 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
19598 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
19599 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
19600 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
19602 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
19604 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
19605 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
19606 * termios/termios.h [__USE_BSD]: Likewise.
19607 * time/sys/time.h [__USE_BSD]: Likewise.
19608 * time/time.h [__USE_BSD]: Likewise.
19609 [__USE_SVID]: Likewise.
19611 * Makefile (subdir_targets): Remove subdir_lint.out.
19613 * stdio-common/Makefile (do-tst-unbputc): Remove target.
19614 (do-tst-printf): Likewise.
19615 (tests): Depend directly on $(objpfx)tst-unbputc.out and
19616 $(objpfx)tst-printf.out.
19618 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
19620 * Makerules (check-abi-%): Change target to
19621 $(objpfx)check-abi-%.out.
19622 (check-abi target): Update dependencies.
19623 (check-abi-pattern variable): Redirect output of diff to $@.
19624 (check-abi variable): Likewise.
19625 * elf/Makefile (check-abi): Update dependencies.
19627 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
19629 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
19630 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
19632 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
19633 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
19634 value has largest subnormal exponent.
19635 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
19636 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
19637 * sysdeps/aarch64/soft-fp/sfp-machine.h
19638 (_FP_TININESS_AFTER_ROUNDING): New macro.
19639 * sysdeps/alpha/soft-fp/sfp-machine.h
19640 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19641 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19643 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
19644 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19645 * sysdeps/mips/soft-fp/sfp-machine.h
19646 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19647 * sysdeps/powerpc/soft-fp/sfp-machine.h
19648 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19649 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19651 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19652 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19653 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19654 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19655 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19658 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
19661 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
19664 2014-02-12 Richard Henderson <rth@redhat.com>
19666 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
19667 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
19668 * sysdeps/unix/sysv/linux/alpha: Move directory from
19669 ports/sysdeps/unix/sysv/linux/alpha.
19670 * README: Update listing for alpha-*-linux-gnu.
19672 2014-02-11 Joseph Myers <joseph@codesourcery.com>
19674 * include/features.h: Update comment documenting feature test
19676 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
19678 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
19679 (_SVID_SOURCE): Likewise.
19680 (_DEFAULT_SOURCE): Update description of default features.
19681 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
19683 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
19684 (S_ISVTX): Likewise.
19685 * manual/math.texi (Mathematical Constants): Likewise.
19686 * manual/signal.texi (Interrupted Primitives): Likewise.
19687 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
19688 * math/test-matherr.c (_SVID_SOURCE): Do not define.
19689 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
19690 Don't refer to _SVID_SOURCE in warning text.
19692 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19694 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
19696 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
19697 * sysdeps/mips/dl-lookup.c: Remove.
19698 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
19700 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19703 * math/auto-libm-test-in: Add testcase for expl.
19704 * math/auto-libm-test-out: Regenerate.
19705 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
19706 calculation of unsafe.
19707 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
19709 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
19711 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
19712 * sysdeps/unix/sysv/linux/aarch64: Move directory from
19713 ports/sysdeps/unix/sysv/linux/aarch64.
19714 * README: Update listing for aarch64*-*-linux-gnu.
19716 2014-02-11 Will Newton <will.newton@linaro.org>
19718 * manual/probes.texi (Mathematical Function Probes): Use
19719 "triggered" instead of "hit".
19721 * manual/probes.texi (Internal Probes): Add documentation
19722 of setjmp, longjmp and longjmp_target probes.
19724 * include/stap-probe.h: Add comment about probe argument
19727 * malloc/mtrace.c (attribute_hidden): Remove unused macro
19728 definition. (tr_where, tr_freehook, tr_mallochook,
19729 tr_reallochook, tr_memalignhook): Use ANSI protoype.
19731 2014-02-11 David S. Miller <davem@davemloft.net>
19733 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
19734 processing int_tests.
19736 2014-02-10 Joseph Myers <joseph@codesourcery.com>
19738 * sysdeps/mips: Move directory from ports/sysdeps/mips.
19739 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
19740 * sysdeps/unix/sysv/linux/mips: Move directory from
19741 ports/sysdeps/unix/sysv/linux/mips.
19742 * README: Update listing for mips-*-linux-gnu and
19743 mips64-*-linux-gnu.
19745 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
19747 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
19748 * sysdeps/unix/sysv/linux/m68k: Move directory from
19749 ports/sysdeps/unix/sysv/linux/m68k.
19750 * README: Update listing for m68k-*-linux-gnu.
19752 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
19754 * sysdeps/tile: Move directory from ports/sysdeps/tile.
19755 * sysdeps/unix/sysv/linux/generic: Move directory from
19756 ports/sysdeps/unix/sysv/linux/generic.
19757 * sysdeps/unix/sysv/linux/tile: Move directory from
19758 ports/sysdeps/unix/sysv/linux/tile.
19759 * README: Update listing for tile*-*-linux-gnu.
19761 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
19763 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
19765 * benchtests/bench-memmem.c (simple_memmem): Likewise.
19766 * catgets/open_catalog.c (__open_catalog): Likewise.
19767 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
19768 * debug/confstr_chk.c: Likewise.
19769 * debug/fread_chk.c (__fread_chk): Likewise.
19770 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
19771 * debug/getgroups_chk.c: Likewise.
19772 * debug/mbsnrtowcs_chk.c: Likewise.
19773 * debug/mbsrtowcs_chk.c: Likewise.
19774 * debug/mbstowcs_chk.c: Likewise.
19775 * debug/memcpy_chk.c: Likewise.
19776 * debug/memmove_chk.c: Likewise.
19777 * debug/mempcpy_chk.c: Likewise.
19778 * debug/memset_chk.c: Likewise.
19779 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19780 * debug/strcat_chk.c (__strcat_chk): Likewise.
19781 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
19782 * debug/strncat_chk.c (__strncat_chk): Likewise.
19783 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
19784 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
19785 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
19786 * debug/wcpncpy_chk.c: Likewise.
19787 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19788 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
19789 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
19790 * debug/wcsncpy_chk.c: Likewise.
19791 * debug/wcsnrtombs_chk.c: Likewise.
19792 * debug/wcsrtombs_chk.c: Likewise.
19793 * debug/wcstombs_chk.c: Likewise.
19794 * debug/wmemcpy_chk.c: Likewise.
19795 * debug/wmemmove_chk.c: Likewise.
19796 * debug/wmempcpy_chk.c: Likewise.
19797 * debug/wmemset_chk.c: Likewise.
19798 * dirent/scandirat.c (SCANDIRAT): Likewise.
19799 * dlfcn/dladdr1.c (dladdr1): Likewise.
19800 * dlfcn/dladdr.c (dladdr): Likewise.
19801 * dlfcn/dlclose.c (dlclose_doit): Likewise.
19802 * dlfcn/dlerror.c (__dlerror): Likewise.
19803 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
19804 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
19805 * dlfcn/dlopen.c (dlopen_doit): Likewise.
19806 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19807 * dlfcn/dlsym.c (dlsym_doit): Likewise.
19808 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
19809 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
19810 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
19812 * elf/dl-conflict.c: Likewise.
19813 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
19814 * elf/dl-dst.h: Likewise.
19815 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
19816 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
19817 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
19818 * elf/dl-init.c (call_init, _dl_init): Likewise.
19819 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
19820 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
19821 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
19823 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
19825 * elf/dl-minimal.c (__libc_memalign): Likewise.
19826 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
19827 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19828 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
19829 * elf/dl-sym.c (do_sym): Likewise.
19830 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
19831 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
19832 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
19833 * elf/dl-writev.h (_dl_writev): Likewise.
19834 * elf/ldconfig.c (search_dir): Likewise.
19835 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
19836 (dl_main): Likewise.
19837 * elf/setup-vdso.h (setup_vdso): Likewise.
19838 * grp/compat-initgroups.c (compat_call): Likewise.
19839 * grp/fgetgrent.c (fgetgrent): Likewise.
19840 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
19841 * grp/putgrent.c (putgrent): Likewise.
19842 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19844 * hurd/hurdinit.c: Likewise.
19845 * iconvdata/8bit-gap.c (struct): Likewise.
19846 * iconvdata/ansi_x3.110.c : Likewise.
19847 * iconvdata/big5.c : Likewise.
19848 * iconvdata/big5hkscs.c : Likewise.
19849 * iconvdata/cp1255.c: Likewise.
19850 * iconvdata/cp1258.c : Likewise.
19851 * iconvdata/cp932.c : Likewise.
19852 * iconvdata/euc-cn.c: Likewise.
19853 * iconvdata/euc-jisx0213.c : Likewise.
19854 * iconvdata/euc-jp.c: Likewise.
19855 * iconvdata/euc-jp-ms.c : Likewise.
19856 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
19857 * iconvdata/gb18030.c : Likewise.
19858 * iconvdata/gbbig5.c (const): Likewise.
19859 * iconvdata/gbgbk.c: Likewise.
19860 * iconvdata/gbk.c : Likewise.
19861 * iconvdata/ibm1364.c : Likewise.
19862 * iconvdata/ibm930.c : Likewise.
19863 * iconvdata/ibm932.c: Likewise.
19864 * iconvdata/ibm933.c : Likewise.
19865 * iconvdata/ibm935.c : Likewise.
19866 * iconvdata/ibm937.c : Likewise.
19867 * iconvdata/ibm939.c : Likewise.
19868 * iconvdata/ibm943.c: Likewise.
19869 * iconvdata/iso_11548-1.c: Likewise.
19870 * iconvdata/iso-2022-cn.c : Likewise.
19871 * iconvdata/iso-2022-cn-ext.c : Likewise.
19872 * iconvdata/iso-2022-jp-3.c: Likewise.
19873 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
19874 * iconvdata/iso-2022-kr.c : Likewise.
19875 * iconvdata/iso646.c (gconv_end): Likewise.
19876 * iconvdata/iso_6937-2.c : Likewise.
19877 * iconvdata/iso_6937.c : Likewise.
19878 * iconvdata/iso8859-1.c: Likewise.
19879 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
19880 * iconvdata/shift_jisx0213.c : Likewise.
19881 * iconvdata/sjis.c : Likewise.
19882 * iconvdata/t.61.c : Likewise.
19883 * iconvdata/tcvn5712-1.c : Likewise.
19884 * iconvdata/tscii.c: Likewise.
19885 * iconvdata/uhc.c : Likewise.
19886 * iconvdata/unicode.c (gconv_end): Likewise.
19887 * iconvdata/utf-16.c (gconv_end): Likewise.
19888 * iconvdata/utf-32.c (gconv_end): Likewise.
19889 * iconvdata/utf-7.c (base64): Likewise.
19890 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
19891 * iconv/gconv_close.c (__gconv_close): Likewise.
19892 * iconv/gconv_open.c (__gconv_open): Likewise.
19893 * iconv/gconv_simple.c (internal_ucs4_loop_single)
19894 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
19895 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
19896 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
19897 (ucs4le_internal_loop_single): Likewise.
19898 * iconv/iconv.c (iconv): Likewise.
19899 * iconv/iconv_close.c: Likewise.
19900 * iconv/loop.c (SINGLE): Likewise.
19901 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
19902 * include/atomic.h: Likewise.
19903 * inet/inet6_option.c (option_alloc): Likewise.
19904 * intl/bindtextdom.c (set_binding_values): Likewise.
19905 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
19906 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
19907 * intl/localealias.c (read_alias_file): Likewise.
19908 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19909 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
19910 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
19911 * libio/fmemopen.c (fmemopen): Likewise.
19912 * libio/iofgets.c (_IO_fgets): Likewise.
19913 * libio/iofgets_u.c (fgets_unlocked): Likewise.
19914 * libio/iofgetws.c (fgetws): Likewise.
19915 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19916 * libio/iogetdelim.c (_IO_getdelim): Likewise.
19917 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
19918 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
19919 * locale/findlocale.c (_nl_find_locale): Likewise.
19920 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
19921 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
19923 * locale/setlocale.c (setlocale): Likewise.
19924 * login/programs/pt_chown.c (main): Likewise.
19925 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
19926 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
19927 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
19928 (mmap, mmap64, mremap, munmap): Likewise.
19929 * math/e_exp2l.c: Likewise.
19930 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
19931 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
19932 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
19933 * math/s_catan.c (__catan): Likewise.
19934 * math/s_catanf.c (__catanf): Likewise.
19935 * math/s_catanh.c (__catanh): Likewise.
19936 * math/s_catanhf.c (__catanhf): Likewise.
19937 * math/s_catanhl.c (__catanhl): Likewise.
19938 * math/s_catanl.c (__catanl): Likewise.
19939 * math/s_ccosh.c (__ccosh): Likewise.
19940 * math/s_ccoshf.c (__ccoshf): Likewise.
19941 * math/s_ccoshl.c (__ccoshl): Likewise.
19942 * math/s_cexp.c (__cexp): Likewise.
19943 * math/s_cexpf.c (__cexpf): Likewise.
19944 * math/s_cexpl.c (__cexpl): Likewise.
19945 * math/s_clog10.c (__clog10): Likewise.
19946 * math/s_clog10f.c (__clog10f): Likewise.
19947 * math/s_clog10l.c (__clog10l): Likewise.
19948 * math/s_clog.c (__clog): Likewise.
19949 * math/s_clogf.c (__clogf): Likewise.
19950 * math/s_clogl.c (__clogl): Likewise.
19951 * math/s_csin.c (__csin): Likewise.
19952 * math/s_csinf.c (__csinf): Likewise.
19953 * math/s_csinh.c (__csinh): Likewise.
19954 * math/s_csinhf.c (__csinhf): Likewise.
19955 * math/s_csinhl.c (__csinhl): Likewise.
19956 * math/s_csinl.c (__csinl): Likewise.
19957 * math/s_csqrt.c (__csqrt): Likewise.
19958 * math/s_csqrtf.c (__csqrtf): Likewise.
19959 * math/s_csqrtl.c (__csqrtl): Likewise.
19960 * math/s_ctan.c (__ctan): Likewise.
19961 * math/s_ctanf.c (__ctanf): Likewise.
19962 * math/s_ctanh.c (__ctanh): Likewise.
19963 * math/s_ctanhf.c (__ctanhf): Likewise.
19964 * math/s_ctanhl.c (__ctanhl): Likewise.
19965 * math/s_ctanl.c (__ctanl): Likewise.
19966 * math/w_pow.c: Likewise.
19967 * math/w_powf.c: Likewise.
19968 * math/w_powl.c: Likewise.
19969 * math/w_scalb.c (sysv_scalb): Likewise.
19970 * math/w_scalbf.c (sysv_scalbf): Likewise.
19971 * math/w_scalbl.c (sysv_scalbl): Likewise.
19972 * misc/error.c (error_tail): Likewise.
19973 * misc/pselect.c (__pselect): Likewise.
19974 * nis/nis_callback.c (__nis_create_callback): Likewise.
19975 * nis/nis_call.c (__nisfind_server): Likewise.
19976 * nis/nis_creategroup.c (nis_creategroup): Likewise.
19977 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
19978 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19979 * nis/nis_getservlist.c (nis_getservlist): Likewise.
19980 * nis/nis_lookup.c (nis_lookup): Likewise.
19981 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
19982 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19983 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
19984 * nis/nis_xdr.c (xdr_endpoint): Likewise.
19985 * nis/nss_compat/compat-grp.c (getgrent_next_file)
19986 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19987 * nis/nss_compat/compat-initgroups.c (add_group)
19988 (internal_getgrent_r): Likewise.
19989 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19990 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19991 * nis/nss_compat/compat-spwd.c (getspent_next_file)
19992 (internal_getspnam_r): Likewise.
19993 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19994 (_nss_nis_getaliasbyname_r): Likewise.
19995 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19996 (_nss_nis_getntohost_r): Likewise.
19997 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19998 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19999 (_nss_nis_getgrgid_r): Likewise.
20000 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
20001 (internal_nis_gethostent_r, internal_gethostbyname2_r)
20002 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
20003 (_nss_nis_gethostbyname4_r): Likewise.
20004 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
20005 (initgroups_netid): Likewise.
20006 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
20007 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
20008 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
20009 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
20010 (_nss_nis_getprotobynumber_r): Likewise.
20011 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
20012 (_nss_nis_getsecretkey): Likewise.
20013 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
20014 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
20015 (_nss_nis_getpwuid_r): Likewise.
20016 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
20017 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
20018 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
20019 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
20020 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
20021 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
20022 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
20024 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
20025 (_nss_nisplus_getntohost_r): Likewise.
20026 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
20027 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
20028 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
20029 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
20031 * nis/nss_nisplus/nisplus-initgroups.c
20032 (_nss_nisplus_initgroups_dyn): Likewise.
20033 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
20034 (_nss_nisplus_getnetbyaddr_r): Likewise.
20035 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
20036 (_nss_nisplus_getprotobynumber_r): Likewise.
20037 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
20038 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
20039 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
20041 * nis/nss_nisplus/nisplus-service.c
20042 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
20043 (_nss_nisplus_getservbyport_r): Likewise.
20044 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
20045 (_nss_nisplus_getspnam_r): Likewise.
20046 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
20048 * nscd/aicache.c (addhstaiX): Likewise.
20049 * nscd/cache.c (cache_search, prune_cache): Likewise.
20050 * nscd/connections.c (register_traced_file, send_ro_fd)
20051 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
20052 (main_loop_epoll): Likewise.
20053 * nscd/grpcache.c (addgrbyX): Likewise.
20054 * nscd/hstcache.c (addhstbyX): Likewise.
20055 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20056 * nscd/mem.c (gc, mempool_alloc): Likewise.
20057 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
20058 (addinnetgrX): Likewise.
20059 * nscd/nscd-client.h (__nscd_acquire_maplock)
20060 (__nscd_drop_map_ref): Likewise.
20061 * nscd/nscd_getai.c (__nscd_getai): Likewise.
20062 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
20063 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
20065 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
20066 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20067 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
20068 (__nscd_get_map_ref): Likewise.
20069 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
20070 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
20072 * nscd/pwdcache.c (addpwbyX): Likewise.
20073 * nscd/selinux.c (preserve_capabilities): Likewise.
20074 * nscd/servicescache.c (addservbyX): Likewise.
20075 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
20076 * posix/fnmatch.c (fnmatch): Likewise.
20077 * posix/getopt.c (_getopt_internal_r): Likewise.
20078 * posix/glob.c (glob, glob_in_dir): Likewise.
20079 * posix/wordexp.c (exec_comm_child): Likewise.
20080 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
20081 (getanswer_r, gaih_getanswer_slice): Likewise.
20082 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
20083 * resolv/res_init.c: Likewise.
20084 * resolv/res_mkquery.c (res_nmkquery): Likewise.
20085 * resolv/res_query.c (__libc_res_nquery): Likewise.
20086 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
20088 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
20089 * stdio-common/perror.c (perror): Likewise.
20090 * stdio-common/printf_fp.c (___printf_fp): Likewise.
20091 * stdio-common/tmpnam.c (tmpnam): Likewise.
20092 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20093 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
20094 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20096 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
20097 * stdlib/putenv.c (putenv): Likewise.
20098 * stdlib/setenv.c (__add_to_environ): Likewise.
20099 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20100 * stdlib/strtol_l.c (INTERNAL): Likewise.
20101 * string/memmem.c (memmem): Likewise.
20102 * string/strerror.c (strerror): Likewise.
20103 * string/strnlen.c (__strnlen): Likewise.
20104 * string/test-memmem.c (simple_memmem): Likewise.
20105 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
20106 * sunrpc/pm_getport.c (__get_socket): Likewise.
20107 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
20108 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
20109 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
20110 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
20112 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
20113 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20114 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
20115 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
20116 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
20117 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
20119 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
20121 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
20122 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
20123 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20124 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20125 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20126 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
20127 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20128 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
20129 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
20130 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
20131 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20132 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20134 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
20136 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
20138 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
20139 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20140 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
20141 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
20142 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
20143 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
20144 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20145 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
20146 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
20147 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
20148 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
20149 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20150 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20151 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
20152 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20153 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
20155 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
20157 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
20159 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
20161 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20162 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20163 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
20165 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
20166 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
20167 * sysdeps/posix/opendir.c (__opendirat): Likewise.
20168 * sysdeps/posix/sleep.c: Likewise.
20169 * sysdeps/posix/tempname.c: Likewise.
20170 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
20171 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20173 * sysdeps/powerpc/powerpc32/dl-machine.h
20174 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
20175 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20176 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20177 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
20178 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
20180 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
20181 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
20182 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
20183 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
20184 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
20185 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
20186 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
20187 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
20188 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20189 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
20190 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
20191 (elf_machine_lazy_rel): Likewise.
20192 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20193 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
20194 (elf_machine_lazy_rel): Likewise.
20195 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
20196 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
20197 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
20198 * sysdeps/unix/grantpt.c (grantpt): Likewise.
20199 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
20200 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
20201 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
20202 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20204 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20205 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20206 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
20207 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
20208 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20209 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20210 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
20211 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
20212 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
20213 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20214 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
20216 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
20217 (__posix_fallocate64_l64): Likewise.
20218 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
20219 (posix_fallocate): Likewise.
20220 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
20222 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20223 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
20224 (getifaddrs_internal): Likewise.
20225 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
20226 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
20227 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
20228 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
20229 * sysdeps/unix/sysv/linux/posix_fallocate64.c
20230 (__posix_fallocate64_l64): Likewise.
20231 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
20233 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
20234 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
20235 (__get_clockfreq): Likewise.
20236 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
20237 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20238 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
20239 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20240 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20241 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
20242 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
20243 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
20245 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
20246 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
20247 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
20248 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
20249 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20250 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
20251 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
20253 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20254 (posix_fallocate): Likewise.
20255 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20256 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
20257 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
20258 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
20259 (elf_machine_rela, elf_machine_rela_relative)
20260 (elf_machine_lazy_rel): Likewise.
20261 * time/asctime.c (asctime_internal): Likewise.
20262 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
20263 * time/tzset.c (__tzset_parse_tz): Likewise.
20264 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20265 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
20266 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
20267 * wcsmbs/wcsmbsload.h: Likewise.
20270 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
20272 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
20273 (arena_get2): Remove THREAD_STATS conditionals.
20274 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
20275 (__malloc_stats, int): Likewise.
20277 2014-02-08 Mike Frysinger <vapier@gentoo.org>
20279 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
20280 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
20282 * manual/setjmp.texi: Fix typos/grammar errors.
20284 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
20285 Only return early when n is <= 0. Delete unused return statement.
20287 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
20288 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20289 * debug/tst-longjmp_chk3.c: New file.
20291 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
20292 (test_main): Replace code with set_fortify_handler call.
20293 * debug/test-strcpy_chk.c: Likewise.
20294 * debug/tst-chk1.c: Likewise.
20295 * debug/tst-longjmp_chk.c: Likewise.
20296 * test-skeleton.c: Include fcntl.h & paths.h
20297 (set_fortify_handler): Define.
20299 * debug/tst-longjmp_chk.c: Add header comment and include
20300 ../test-skeleton.c.
20301 (do_test): Mark static.
20302 (TEST_FUNCTION): Define.
20304 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
20305 (IP_PMTUDISC_INTERFACE): Likewise.
20306 (IP_MULTICAST_IF): Likewise.
20307 (IP_MULTICAST_TTL): Likewise.
20308 (IP_MULTICAST_LOOP): Likewise.
20309 (IP_ADD_MEMBERSHIP): Likewise.
20310 (IP_DROP_MEMBERSHIP): Likewise.
20311 (IP_UNBLOCK_SOURCE): Likewise.
20312 (IP_BLOCK_SOURCE): Likewise.
20313 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
20314 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
20315 (IP_MSFILTER): Likewise.
20316 (MCAST_JOIN_GROUP): Likewise.
20317 (MCAST_BLOCK_SOURCE): Likewise.
20318 (MCAST_UNBLOCK_SOURCE): Likewise.
20319 (MCAST_LEAVE_GROUP): Likewise.
20320 (MCAST_JOIN_SOURCE_GROUP): Likewise.
20321 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
20322 (MCAST_MSFILTER): Likewise.
20323 (IP_MULTICAST_ALL): Likewise.
20324 (IP_UNICAST_IF): Likewise.
20326 * timezone/Makefile: Delete $(have-ksh) check.
20327 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
20328 * timezone/tzselect.ksh: Add +x mode bits.
20330 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
20331 (ANON_INODE_FS_MAGIC): Likewise.
20332 (BDEVFS_MAGIC): Likewise.
20333 (BINFMTFS_MAGIC): Likewise.
20334 (BTRFS_TEST_MAGIC): Likewise.
20335 (CRAMFS_MAGIC_WEND): Likewise.
20336 (DEBUGFS_MAGIC): Likewise.
20337 (ECRYPTFS_SUPER_MAGIC): Likewise.
20338 (EXT3_SUPER_MAGIC): Likewise.
20339 (EXT4_SUPER_MAGIC): Likewise.
20340 (FUTEXFS_SUPER_MAGIC): Likewise.
20341 (HOSTFS_SUPER_MAGIC): Likewise.
20342 (HUGETLBFS_MAGIC): Likewise.
20343 (MINIX3_SUPER_MAGIC): Likewise.
20344 (MTD_INODE_FS_MAGIC): Likewise.
20345 (NILFS_SUPER_MAGIC): Likewise.
20346 (OPENPROM_SUPER_MAGIC): Likewise.
20347 (PIPEFS_MAGIC): Likewise.
20348 (PSTOREFS_MAGIC): Likewise.
20349 (QNX6_SUPER_MAGIC): Likewise.
20350 (RAMFS_MAGIC): Likewise.
20351 (REISERFS_SUPER_MAGIC_STRING): Likewise.
20352 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
20353 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
20354 (SECURITYFS_MAGIC): Likewise.
20355 (SELINUX_MAGIC): Likewise.
20356 (SMACK_MAGIC): Likewise.
20357 (SOCKFS_MAGIC): Likewise.
20358 (SQUASHFS_MAGIC): Likewise.
20359 (STACK_END_MAGIC): Likewise.
20360 (TMPFS_MAGIC): Likewise.
20361 (USBDEVICE_SUPER_MAGIC): Likewise.
20362 (V9FS_MAGIC): Likewise.
20363 (XENFS_SUPER_MAGIC): Likewise.
20364 (CRAMFS_MAGIC): Fix typo in comment.
20365 (EXT2_SUPER_MAGIC): Update comment.
20366 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
20368 2014-02-08 Joseph Myers <joseph@codesourcery.com>
20370 * sysdeps/arm: Move directory from ports/sysdeps/arm.
20371 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
20372 * sysdeps/unix/sysv/linux/arm: Move directory from
20373 ports/sysdeps/unix/sysv/linux/arm.
20374 * README: Update listing for arm-*-linux-gnueabi.
20376 * README: Remove mention of am33.
20378 2014-02-07 Roland McGrath <roland@hack.frob.com>
20380 * bits/sigset.h (__sigemptyset): Use a statement expression rather
20381 than the comma operator, to avoid "rhs of comma has no effect"
20383 (__sigfillset, __sigandset, __sigorset): Likewise.
20384 * include/signal.h (__sigemptyset): Likewise.
20385 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
20387 2014-02-07 Allan McRae <allan@archlinux.org>
20389 * version.h (RELEASE): Set to "development".
20390 (VERSION): Set to "2.19.90"
20391 * NEWS: Add 2.20 section.
20393 2014-02-06 Carlos O'Donell <carlos@redhat.com>
20396 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
20398 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20400 * manual/contrib.texi: Update entry for Carlos O'Donell,
20401 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
20403 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
20405 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
20407 * sysdeps/unix/sysv/linux/kernel-features.h
20408 [__LINUX_KERNEL_VERSION >= 0x020621]
20409 (__ASSUME_PROC_PID_TASK_COMM): Define.
20411 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20414 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
20415 conversion when destination buffer does not have enough space.
20416 * libio/tst-ftell-partial-wide.c: New test case.
20417 * libio/Makefile (tests): Add tst-ftell-partial-wide.
20419 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
20420 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
20421 Leonard and Allan McRae.
20423 2014-02-04 David S. Miller <davem@davemloft.net>
20425 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
20428 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
20432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
20434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
20436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
20438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
20440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
20442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
20444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
20446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
20448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
20450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
20452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
20454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
20457 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20459 * nptl/shlib-versions: Change powerpc*le start to 2.17.
20460 * shlib-versions: Likewise.
20462 2014-02-04 Roland McGrath <roland@hack.frob.com>
20463 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20465 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
20466 (abilist-pattern): New variable, set to %-le.abilist.
20468 * Makerules (abilist-pattern): New variable.
20469 (vpath): Use $(abilist-pattern) in place of %.abilist.
20470 (check-abi-% pattern rule): Likewise.
20471 (check-abi, update-abi): Likewise.
20473 2014-02-04 Eric Wong <normalperson@yhbt.net>
20475 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20477 2014-02-03 Carlos O'Donell <carlos@redhat.com>
20479 * manual/startup.texi: Add next, previous, and top entries for
20480 the `Program Arguments' and `Environment Variables' nodes.
20482 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
20484 * manual/macros.texi: Add comments before MTASC-safety macros.
20486 * manual/users.texi: Document MTASC-safety properties.
20488 * manual/threads.texi (pthread_key_create, pthread_key_delete)
20489 (pthread_getspecific, pthread_setspecific): Format with
20490 @deftypefun, and add @safety note.
20491 * manual/signal.texi: Move comments that analyze the above
20492 functions to their home place.
20494 2014-02-03 Allan McRae <allan@archlinux.org>
20496 * po/sl.po: Update Slovenian translation from translation project.
20498 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
20500 * manual/time.texi (timegm): Add missing blank after @c.
20501 Reported by Joseph Myers <joseph@codesourcery.com>.
20503 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
20505 * manual/check-safety.sh: New.
20506 * manual/Makefile ($(objpfx)stamp-summary): Run it.
20508 * manual/terminal.texi: Document MTASC-safety properties.
20510 * manual/filesys.texi: Document MTASC-safety properties.
20512 * manual/errno.texi: Document MTASC-safety properties.
20514 * manual/intro.texi: Document safety identifiers and
20517 * manual/string.texi (wcstok): Fix prototype.
20518 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
20520 * manual/time.texi: Document MTASC-safety properties.
20522 * manual/string.texi: Document MTASC-safety properties.
20524 * manual/threads.texi: Document MTASC-safety properties.
20526 * manual/stdio.texi: Document MTASC-safety properties.
20528 * manual/syslog.texi: Document MTASC-safety properties.
20530 * manual/sysinfo.texi: Document MTASC-safety properties.
20532 * manual/startup.texi: Document MTASC-safety properties.
20534 * manual/socket.texi: Document MTASC-safety properties.
20536 * manual/signal.texi: Document MTASC-safety properties.
20538 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
20540 * manual/setjmp.texi: Document MTASC-safety properties.
20542 * manual/search.texi: Document MTASC-safety properties.
20544 * manual/resource.texi: Document MTASC-safety properties.
20546 * manual/process.texi: Document MTASC-safety properties.
20548 * manual/platform.texi: Document MTASC-safety properties.
20550 * manual/pipe.texi: Document MTASC-safety properties.
20552 * manual/pattern.texi: Document MTASC-safety properties.
20554 * manual/message.texi: Document MTASC-safety properties.
20557 * manual/memory.texi: Document MTASC-safety properties.
20559 * manual/math.texi: Document MTASC-safety properties.
20561 * manual/locale.texi: Document MTASC-safety properties.
20563 * manual/llio.texi: Document MTASC-safety properties.
20565 * manual/libdl.texi: New.
20567 * manual/lang.texi: Document MTASC-safety properties.
20569 * manual/job.texi: Document MTASC-safety properties.
20571 * manual/getopt.texi: Document MTASC-safety properties.
20573 * manual/ctype.texi: Document MTASC-safety properties.
20575 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
20578 * csu/libc-tls.c (static_map): Remove variable.
20579 (__libc_setup_tls): Use main executable's link map for TLS data.
20580 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
20581 casing for LM_ID_BASE and GL(dl_nns).
20582 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
20583 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
20584 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
20585 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
20586 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
20588 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
20591 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
20593 * manual/debug.texi: Document MTASC-safety properties.
20595 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
20598 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
20599 of __x86_64__ when disabling x87 inline functions.
20601 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
20603 * manual/charset.texi: Document MTASC-safety properties.
20605 * manual/crypt.texi: Document MTASC-safety properties.
20607 * manual/conf.texi: Document MTASC-safety properties.
20609 * manual/arith.texi: Document MTASC-safety properties.
20611 * manual/argp.texi: Document MTASC-safety properties.
20613 * manual/macros.texi: Introduce macros to document multi
20614 thread, asynchronous signal and asynchronous cancellation
20616 * manual/intro.texi: Introduce the properties themselves.
20618 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20620 * sysdeps/sh/sh4/Makefile: New file.
20622 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
20624 * math/gen-libm-test.pl ($srcdir): New variable.
20625 ($auto_input): Use it.
20627 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20630 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
20631 access beyond array bounds when parsing netgroups file.
20633 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
20634 the old buffer before realloc.
20636 2014-01-27 Allan McRae <allan@archlinux.org>
20638 * po/fr.po: Update French translation from translation project.
20640 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20642 * sysdeps/sh/libm-test-ulps: Regenerate.
20644 2014-01-24 David S. Miller <davem@davemloft.net>
20646 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
20648 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20650 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
20651 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
20653 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20656 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
20657 string pointers after reallocation.
20659 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20661 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
20662 __SH4A__ instead of __SH_FPU_ANY__.
20664 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20666 * sysdeps/sh/fpu_control.h: New file.
20667 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
20668 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
20669 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
20670 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
20671 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
20672 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
20673 * sysdeps/sh/sys/ucontext.h: Remove.
20674 * sysdeps/sh/sys: Remove directory.
20676 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20678 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
20679 s390/sys/ucontext.h.
20680 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
20681 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
20683 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
20686 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
20688 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20691 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20692 Adjust the vDSO correctly for internal calls.
20693 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
20695 2014-01-20 Allan McRae <allan@archlinux.org>
20697 * po/ca.po: Update Catalan translation from translation project.
20699 2014-01-16 Mike Frysinger <vapier@gentoo.org>
20701 * sysdeps/s390/sotruss-lib.c: New file.
20703 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20706 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
20707 (__GI___gettimeofday): Alias for a different internal symbol to avoid
20708 local calls issues by not having a PLT stub required for IFUNC calls.
20709 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
20711 2014-01-16 Joseph Myers <joseph@codesourcery.com>
20713 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
20714 * math/test-fpucw-static.c: Likewise.
20716 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20719 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
20721 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20723 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
20724 implementation for powerpc.
20726 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
20729 * sysdeps/posix/system.c (__libc_system): Do not enable
20730 asynchronous cancellation.
20732 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20735 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
20736 handling only for numbers special also in the IEEE case.
20738 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20740 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20742 2014-01-11 Allan McRae <allan@archlinux.org>
20744 * po/bg.po: Update Bulgarian translation from translation project.
20746 * po/de.po: Update German translation from translation project.
20748 2014-01-10 Roland McGrath <roland@hack.frob.com>
20750 * sysdeps/generic/gcc-compat.h: New file.
20752 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20754 * benchtests/asin-inputs: Correct slow inputs.
20755 * benchtests/acos-inputs: Likewise.
20757 2014-01-10 Allan McRae <allan@archlinux.org>
20759 * po:sv.po: Update Swedish translation from translation project.
20761 * po/vi.po: Update Vietnamese translation from translation project.
20763 * po/eo.po: Update Esperanto translation from translation project.
20765 * po/cs.po: Update Czech translation from translation project.
20767 * po/nl.po: Update Dutch translation from translation project.
20769 * po/pl.po: Update Polish translation from translation project.
20771 * po/ru.po: Update Russian translation from translation project.
20773 * po/uk.po: Update Ukrainian translation from translation project.
20775 2014-01-08 Brooks Moses <bmoses@google.com>
20777 * elf/dl-load.c: Fix comment typo.
20779 2014-01-08 Carlos O'Donell <carlos@redhat.com>
20781 * po/header.pot: Rename to...
20782 * po/pot.header: ... this.
20783 * po/Makefile: Use pot.header.
20785 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
20786 Maxim Kuvyrkov <maxim@kugelworks.com>
20789 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
20790 SRC and DEST against LEN.
20792 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20795 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
20797 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
20799 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20803 2014-01-08 Joseph Myers <joseph@codesourcery.com>
20806 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
20807 for large positive arguments.
20809 2014-01-07 Joseph Myers <joseph@codesourcery.com>
20811 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20813 * math/auto-libm-test-in: Mark various tests with
20814 xfail-rounding:ldbl-128ibm.
20815 * math/auto-libm-test-out: Regenerated.
20818 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
20819 Increase overflow threshold.
20821 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
20824 * stdio-common/vfprintf.c: Check for integer overflow.
20826 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20828 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
20829 the first argument and return value of __tls_get_addr_internal.
20831 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20833 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
20834 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
20836 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20838 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
20839 * sysdeps/s390/rtld-global-offsets.sym: New file.
20840 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
20842 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
20843 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
20844 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
20846 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
20847 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
20849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20853 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
20854 halfs of GPRs for high_gprs contexts.
20855 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
20856 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
20858 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
20860 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
20862 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
20863 for high GPRs (uc_high_gprs) and for future extensions
20865 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
20866 for future extensions (__reserved).
20867 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
20869 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
20870 SC_HIGHGPRS offset definition.
20871 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
20872 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
20874 * Versions.def: Add GLIBC_2.19 for libpthread.
20875 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
20876 siglongjmp for libpthread with GLIBC_2.19 symver.
20877 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
20878 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
20879 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
20880 * sysdeps/s390/__longjmp.c: New file.
20881 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
20882 * sysdeps/s390/longjmp.c: New file.
20883 * sysdeps/s390/setjmp.S: New file.
20884 * sysdeps/s390/sigjmp.S: New file.
20885 * sysdeps/s390/v1-longjmp.c: New file.
20886 * sysdeps/s390/v1-setjmp.h: New file.
20887 * sysdeps/s390/v1-sigjmp.c: New file.
20888 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
20889 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
20890 GLIBC_2.19 version.
20891 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
20892 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
20893 versioned symbols for ____longjmp_chk.
20894 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
20896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20904 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
20905 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
20906 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
20907 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
20908 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
20909 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
20910 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
20911 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
20912 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
20913 * sysdeps/s390/rtld-__longjmp.c: New file.
20914 * sysdeps/s390/rtld-setjmp.S: New file.
20916 2014-01-06 Joseph Myers <joseph@codesourcery.com>
20919 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20920 Return -__logl (x) for small positive arguments without evaluating
20923 2014-01-06 Mike Frysinger <vapier@gentoo.org>
20925 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
20927 (__ptrace_peeksiginfo_args): ... this.
20928 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20929 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20930 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20932 2014-01-06 Allan McRae <allan@archlinux.org>
20934 * inet/netinet/in.h: Fix typo in comment.
20936 2014-01-05 Andreas Jaeger <aj@suse.de>
20938 * sysdeps/i386/fpu/libm-test-ulps: Update.
20940 2014-01-05 Allan McRae <allan@archlinux.org>
20942 * po/libc.pot: Regenerated.
20944 * malloc/memusagestat.c: Fix gettext call formatting.
20946 2014-01-04 Sami Kerola <kerolasa@iki.fi>
20948 * nscd/nscd.c: Improve usage() output.
20950 2014-01-04 Mike Frysinger <vapier@gentoo.org>
20952 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
20953 * sysdeps/unix/sysv/linux/configure: Regenerated.
20954 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
20955 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
20957 2014-01-03 Joseph Myers <joseph@codesourcery.com>
20960 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20961 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
20963 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20965 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
20966 extra tokens at end of #undef directive.
20967 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20968 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20969 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20971 2014-01-03 Joseph Myers <joseph@codesourcery.com>
20973 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20975 * math/auto-libm-test-in: Mark various tests with
20976 xfail-rounding:ldbl-128ibm.
20977 * math/auto-libm-test-out: Regenerated.
20979 2014-01-02 Joseph Myers <joseph@codesourcery.com>
20982 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20983 numbers with subnormal high part when calculating exponent.
20986 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20990 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20992 (__ieee754_acoshl): Use __log1pl not __log1p.
20994 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
20996 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20997 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20998 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20999 (grow_heap, heap_trim, _int_new_arena, get_free_list)
21000 (reused_arena, arena_get2): Convert to GNU style.
21001 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
21002 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
21003 (memalign_check, __malloc_set_state): Likewise.
21004 * malloc/mallocbug.c (main): Likewise.
21005 * malloc/malloc.c (__malloc_assert, malloc_init_state)
21006 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
21007 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
21008 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
21009 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
21010 (__posix_memalign, malloc_info): Likewise.
21011 * malloc/malloc.h: Likewise.
21012 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
21013 (mallochook, memalignhook, reallochook, mabort): Likewise.
21014 * malloc/mcheck.h: Likewise.
21015 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
21016 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
21017 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
21018 * malloc/morecore.c (__default_morecore): Likewise.
21019 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
21020 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
21021 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
21022 (print_and_abort): Likewise.
21023 * malloc/obstack.h: Likewise.
21024 * malloc/set-freeres.c (__libc_freeres): Likewise.
21025 * malloc/tst-mallocstate.c (main): Likewise.
21026 * malloc/tst-mtrace.c (main): Likewise.
21027 * malloc/tst-realloc.c (do_test): Likewise.
21029 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21032 * nscd/netgroupcache.c (do_notfound): New function.
21033 (addgetnetgrentX): Use it.
21036 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
21037 NSS_STATUS_NOTFOUND.
21039 2014-01-01 Joseph Myers <joseph@codesourcery.com>
21041 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21044 2014-01-01 Allan McRae <allan@archlinux.org>
21046 * scripts/update-copyrights: Update configure input file suffix.
21048 * NEWS: Update copyright year.
21049 * catgets/gencat.c: Likewise.
21050 * csu/version.c: Likewise.
21051 * debug/catchsegv.sh: Likewise.
21052 * debug/pcprofiledump.c: Likewise.
21053 * debug/xtrace.sh: Likewise.
21054 * elf/ldconfig.c: Likewise.
21055 * elf/ldd.bash.in: Likewise.
21056 * elf/pldd.c: Likewise.
21057 * elf/sotruss.ksh: Likewise.
21058 * elf/sprof.c: Likewise.
21059 * iconv/iconv_prog.c: Likewise.
21060 * iconv/iconvconfig.c: Likewise.
21061 * locale/programs/locale.c: Likewise.
21062 * locale/programs/localedef.c: Likewise.
21063 * login/programs/pt_chown.c: Likewise.
21064 * malloc/memusage.sh: Likewise.
21065 * malloc/memusagestat.c: Likewise.
21066 * malloc/mtrace.pl: Likewise.
21067 * manual/libc.texinfo: Likewise.
21068 * nscd/nscd.c: Likewise.
21069 * nss/getent.c: Likewise.
21070 * nss/makedb.c: Likewise.
21071 * posix/getconf.c: Likewise.
21072 * scripts/test-installation.pl: Likewise.
21074 * All files with FSF copyright notices: Update copyright dates
21075 using scripts/update-copyrights.
21076 * intl/plural.c: Regenerated.
21077 * locale/programs/charmap-kw.h: Likewise.
21078 * locale/programs/locfile-kw.h: Likewise.
21080 2013-12-31 Mike Frysinger <vapier@gentoo.org>
21082 * sysdeps/unix/sysv/linux/configure: Regenerated.
21083 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
21084 the linux/fanotify.h header.
21085 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
21086 HAVE_LINUX_FANOTIFY_H is defined.
21088 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21090 * benchtests/cos-inputs: New inputs.
21091 * benchtests/sin-inputs: Likewise.
21093 * benchtests/atan-inputs: New inputs. Fix name of multiple
21094 precision fallback inputs.
21096 * benchtests/atanh-inputs: New inputs.
21097 * benchtests/tanh-inputs: Likewise.
21099 * benchtests/acosh-inputs: New inputs.
21100 * benchtests/asinh-inputs: Likewise.
21102 * benchtests/cosh-inputs: New inputs.
21103 * benchtests/sinh-inputs: Likewise.
21105 * benchtests/acos-inputs: Add more inputs.
21106 * benchtests/asin-inputs: Likewise.
21108 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
21111 * manual/arith.texi: Fix spelling.
21112 * manual/charset.texi: Likewise.
21113 * manual/errno.texi: Likewise.
21114 * manual/filesys.texi: Likewise.
21115 * manual/lang.texi: Likewise.
21116 * manual/llio.texi: Likewise.
21117 * manual/locale.texi: Likewise.
21118 * manual/message.texi: Likewise.
21119 * manual/resource.texi: Likewise.
21120 * manual/search.texi: Likewise.
21121 * manual/setjmp.texi: Likewise.
21122 * manual/stdio.texi: Likewise.
21123 * manual/string.texi: Likewise.
21124 * manual/sysinfo.texi: Likewise.
21125 * manual/time.texi: Likewise.
21127 2013-12-27 Carlos O'Donell <carlos@redhat.com>
21129 * po/sl.po: New file.
21131 2013-12-27 Mike Frysinger <vapier@gentoo.org>
21133 * .gitignore: Add core/.gdbinit/.gdb_history.
21135 2013-12-27 Allan McRae <allan@archlinux.org>
21138 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
21139 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
21141 2013-12-24 Brooks Moses <bmoses@google.com>
21143 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
21144 all compilers that claim C++98 compliance, not just GCC.
21145 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
21148 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
21150 * NEWS: Restore accidentally deleted bug-fix entries.
21152 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
21153 Ondřej Bílka <neleai@seznam.cz>
21156 * malloc/malloc.c (_int_free): Perform sanity check only if we
21159 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
21162 * manual/stdio.texi (String Input Conversions): Clarify that character
21163 classes are not supported.
21165 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21169 2013-12-22 Joseph Myers <joseph@codesourcery.com>
21172 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21173 Calculate results for small negative arguments directly rather
21174 than using reflection formula with special underflow handling.
21176 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
21177 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
21178 sysdeps/unix/bsd/bsd4.4/syscalls.list.
21179 (fchflags): Likewise.
21180 (revoke): Likewise.
21181 (setlogin): Likewise.
21182 (sigaltstack): Likewise.
21184 (sigblock): Remove.
21185 (sigsetmask): Likewise.
21187 (waitpid): Likewise.
21188 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
21189 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
21191 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
21192 * sysdeps/unix/bsd/Makefile: ... here.
21193 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
21194 * sysdeps/unix/bsd/Versions: ... here.
21195 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
21196 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
21197 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
21198 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
21199 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
21200 * sysdeps/unix/bsd/sigblock.c: ... here.
21201 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
21202 * sysdeps/unix/bsd/sigsetmask.c: ... here.
21203 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
21204 * sysdeps/unix/bsd/sigvec.c: ... here.
21205 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
21206 * sysdeps/unix/bsd/tcdrain.c: ... here.
21207 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
21208 * sysdeps/unix/bsd/tcgetattr.c: ... here.
21209 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
21210 * sysdeps/unix/bsd/tcsetattr.c: ... here.
21211 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
21212 * sysdeps/unix/bsd/wait.c: ... here.
21213 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
21214 * sysdeps/unix/bsd/wait3.c: ... here.
21215 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
21216 * sysdeps/unix/bsd/waitpid.c: ... here.
21218 2013-12-21 Joseph Myers <joseph@codesourcery.com>
21221 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
21222 round-to-nearest for [!USE_AS_EXPM1L].
21223 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
21224 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
21225 more tests of exp and exp10. Expect some exp10 tests to miss
21226 exceptions or fail in directed rounding modes.
21227 * math/auto-libm-test-out: Regenerated.
21228 * math/libm-test.inc (exp10_tonearest_test_data): New array.
21229 (exp10_test_tonearest): New function.
21230 (exp10_towardzero_test_data): New array.
21231 (exp10_test_towardzero): New function.
21232 (exp10_downward_test_data): New array.
21233 (exp10_test_downward): New function.
21234 (exp10_upward_test_data): New array.
21235 (exp10_test_upward): New function.
21236 (main): Call the new functions.
21237 * sysdeps/i386/fpu/libm-test-ulps: Update.
21238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21240 2013-12-20 Joseph Myers <joseph@codesourcery.com>
21242 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21243 asinh, atan, atan2, atanh, cbrt, cos and cosh.
21244 * math/auto-libm-test-out: Regenerated.
21245 * math/libm-test.inc (acosh_test_data): Add more tests.
21246 (atanh_test_data): Likewise.
21247 (ceil_test_data): Likewise.
21248 (copysign_test_data): Likewise.
21249 * sysdeps/i386/fpu/libm-test-ulps: Update.
21250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21252 * timezone/checktab.awk: Update from tzcode 2013i.
21253 * timezone/private.h: Likewise.
21254 * timezone/scheck.c: Likewise.
21255 * timezone/tzfile.h: Likewise.
21256 * timezone/tzselect.ksh: Likewise.
21257 * timezone/zdump.c: Likewise.
21258 * timezone/zic.c: Likewise.
21260 * math/auto-libm-test-in: Add tests of cpow.
21261 * math/auto-libm-test-out: Regenerated.
21262 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
21263 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21265 (func_calc_desc): Add mpc_cc_c union field.
21266 (test_functions): Add cpow.
21267 (special_fill_2pi): New function.
21268 (special_real_inputs): Add 2pi.
21269 (calc_generic_results): Handle mpc_cc_c.
21270 * sysdeps/i386/fpu/libm-test-ulps: Update.
21271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21273 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
21274 csqrt, ctan and ctanh.
21275 * math/auto-libm-test-out: Regenerated.
21276 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21277 (TEST_COND_x86): Likewise.
21278 (ccos_test_data): Use AUTO_TESTS_c_c.
21279 (ccosh_test_data): Likewise.
21280 (cexp_test_data): Likewise.
21281 (clog_test_data): Likewise.
21282 (csqrt_test_data): Likewise.
21283 (ctan_test_data): Likewise.
21284 (ctan_tonearest_test_data): Likewise.
21285 (ctan_towardzero_test_data): Likewise.
21286 (ctan_downward_test_data): Likewise.
21287 (ctan_upward_test_data): Likewise.
21288 (ctanh_test_data): Likewise.
21289 (ctanh_tonearest_test_data): Likewise.
21290 (ctanh_towardzero_test_data): Likewise.
21291 (ctanh_downward_test_data): Likewise.
21292 (ctanh_upward_test_data): Likewise.
21293 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21295 (func_calc_desc): Add mpc_c_c union field.
21296 (FUNC_mpc_c_c): New macro.
21297 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
21298 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
21300 (special_fill_min_subnorm_p120): New function.
21301 (special_real_inputs): Add min_subnorm_p120.
21302 (calc_generic_results): Handle mpc_c_c.
21303 * sysdeps/i386/fpu/libm-test-ulps: Update.
21304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21306 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21308 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
21309 (do_sin_slow): New functions.
21310 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
21311 (cslow2, csloww1, csloww2): Use the new functions.
21313 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
21314 Use M to change sign of result instead of X. Assume X is
21316 (csloww1): Likewise.
21320 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
21321 arguments A and DA.
21325 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
21327 (sloww1): Don't adjust sign of DX.
21328 (csloww1): Likewise.
21329 (sloww2): Use X directly and don't adjust sign of DX.
21330 (csloww2): Likewise.
21332 2013-12-19 Joseph Myers <joseph@codesourcery.com>
21334 * math/auto-libm-test-in: Add tests of cabs and carg.
21335 * math/auto-libm-test-out: Regenerated.
21336 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
21337 (carg_test_data): Likewise.
21338 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21340 (func_calc_desc): Add mpc_c_f union field.
21341 (test_functions): Add cabs and carg.
21342 (calc_generic_results): Handle mpc_c_f.
21344 * sysdeps/powerpc/powerpc32/libgcc-compat.S
21345 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
21346 as a macro and a compat symbol.
21347 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
21348 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
21349 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
21350 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
21351 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
21352 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
21354 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
21356 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
21358 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
21360 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
21362 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
21364 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
21365 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
21368 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21372 2013-12-19 Joseph Myers <joseph@codesourcery.com>
21374 * manual/texinfo.tex: Update to version 2013-11-26.10 with
21375 trailing whitespace removed.
21376 * scripts/config.guess: Update to version 2013-11-29.
21377 * scripts/config.sub: Update to version 2013-10-01.
21379 * math/auto-libm-test-in: Add tests of sincos.
21380 * math/auto-libm-test-out: Regenerated.
21381 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
21382 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21384 (func_calc_desc): Add mpfr_f_11 union field.
21385 (test_functions): Add sincos.
21386 (calc_generic_results): Handle mpfr_f_11.
21387 * sysdeps/i386/fpu/libm-test-ulps: Update.
21388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21390 2013-12-19 Andreas Schwab <schwab@suse.de>
21392 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
21394 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21395 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
21396 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
21398 2013-12-19 Joseph Myers <joseph@codesourcery.com>
21400 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
21401 * sysdeps/i386/fpu/libm-test-ulps: Update.
21402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21405 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
21406 round-to-nearest mode when using frndint.
21407 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
21408 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21409 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
21411 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
21413 * math/auto-libm-test-out: Regenerated.
21414 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
21415 (TEST_COND_x86): Likewise.
21416 (expm1_tonearest_test_data): New array.
21417 (expm1_test_tonearest): New function.
21418 (expm1_towardzero_test_data): New array.
21419 (expm1_test_towardzero): New function.
21420 (expm1_downward_test_data): New array.
21421 (expm1_test_downward): New function.
21422 (expm1_upward_test_data): New array.
21423 (expm1_test_upward): New function.
21424 (main): Run the new test functions.
21425 * sysdeps/i386/fpu/libm-test-ulps: Update.
21426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21428 * include/features.h: Update comment documenting feature test
21429 macros. Mention _DEFAULT_SOURCE in comment.
21430 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
21431 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
21432 _BSD_SOURCE and _SVID_SOURCE.
21433 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
21434 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
21435 !_SVID_SOURCE]: Likewise.
21436 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21437 (__USE_POSIX_IMPLICITLY): Define.
21438 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21439 (_POSIX_SOURCE): Undefine and redefine.
21440 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21441 (_POSIX_C_SOURCE): Likewise.
21442 * manual/creature.texi (_DEFAULT_SOURCE): Document.
21443 (Feature Test Macros): Update documentation of default features.
21445 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21447 * benchtests/Makefile: Add bench-strtok.
21448 * benchtests/bench-strtok.c: New file: strtok benchtest.
21450 2013-12-19 Allan McRae <allan@archlinux.org>
21452 * manual/install.texi: Suppress menu for plain text output.
21453 * INSTALL: Regenerated.
21455 2013-12-18 Brooks Moses <bmoses@google.com>
21458 * misc/getauxval.c: Include errno.h.
21459 (__getauxval): Set errno to ENOENT if the requested type is not
21461 * misc/sys/auxv.h (getauxval): Document that it may set errno;
21462 don't declare with __attribute_const__.
21463 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
21464 * manual/startup.texi: Document that getauxval sets errno.
21466 2013-12-18 Joseph Myers <joseph@codesourcery.com>
21468 * math/auto-libm-test-in: Add tests of jn and yn.
21469 * math/auto-libm-test-out: Regenerated.
21470 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
21471 (yn_test_data): Likewise.
21472 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21474 (func_calc_desc): Add mpfr_if_f union field.
21475 (FUNC_mpfr_if_f): New macro.
21476 (test_functions): Add jn and yn.
21477 (calc_generic_results): Assert type of second input for
21478 mpfr_ff_f. Handle mpfr_if_f.
21479 (output_for_one_input_case): Disable all checking for arguments
21480 fitting floating-point types in case of an integer argument.
21481 * sysdeps/i386/fpu/libm-test-ulps: Update.
21482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21485 Don't expect fegetround reference in libm.so.
21487 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21489 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
21490 $(config-cflags-nofma).
21492 2013-12-18 Joseph Myers <joseph@codesourcery.com>
21494 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
21495 * math/auto-libm-test-out: Regenerated.
21498 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
21499 to determine exponent and adjust argument to have exponent of -1.
21500 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
21502 * math/auto-libm-test-out: Regenerated.
21503 * sysdeps/i386/fpu/libm-test-ulps: Update.
21504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21506 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
21508 * manual/probes.texi: Remove cases when per-thread arenas are
21511 2013-12-18 Andreas Schwab <schwab@suse.de>
21513 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
21514 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
21515 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
21516 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
21517 * sysdeps/i386/i686/multiarch/Makefile: Update.
21518 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
21520 2013-12-17 Joseph Myers <joseph@codesourcery.com>
21522 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
21523 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
21525 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
21528 Support TZ transition times < 00:00:00.
21529 This is needed for version-3 tz-format files; it supports time
21530 stamps past 2037 for America/Godthab (the only entry in the tz
21531 database for which this change is relevant).
21532 * manual/time.texi (TZ Variable): Document transition times
21533 from -167:59:59 through -00:00:01.
21534 * time/tzset.c (tz_rule): Time of day is now signed.
21535 (__tzset_parse_tz): Parse negative time of day.
21537 Document TZ transition times >= 25:00:00.
21538 * manual/time.texi (TZ Variable): Document transition times from
21539 25:00:00 through 167:59:59. These are already supported, and this
21540 support will help with version-3 tz-format files.
21542 * manual/time.texi (TZ Variable): Modernize North America example
21543 to reflect current (i.e., 2007-and-later) daylight saving rules.
21545 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
21547 2013-12-17 Joseph Myers <joseph@codesourcery.com>
21549 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
21550 * sysdeps/unix/bsd/bits/stat.h: Likewise.
21551 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
21552 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21553 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
21554 * sysdeps/unix/bsd/bsdstat.h: Likewise.
21555 * sysdeps/unix/bsd/clock.c: Likewise.
21556 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
21557 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
21558 * sysdeps/unix/bsd/init-posix.c: Likewise.
21559 * sysdeps/unix/bsd/poll.c: Likewise.
21560 * sysdeps/unix/bsd/ptsname.c: Likewise.
21561 * sysdeps/unix/bsd/seekdir.c: Likewise.
21562 * sysdeps/unix/bsd/setegid.c: Likewise.
21563 * sysdeps/unix/bsd/seteuid.c: Likewise.
21564 * sysdeps/unix/bsd/setgid.c: Likewise.
21565 * sysdeps/unix/bsd/setrgid.c: Likewise.
21566 * sysdeps/unix/bsd/setruid.c: Likewise.
21567 * sysdeps/unix/bsd/setsid.c: Likewise.
21568 * sysdeps/unix/bsd/setuid.c: Likewise.
21569 * sysdeps/unix/bsd/sigaction.c: Likewise.
21570 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
21571 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
21572 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
21573 * sysdeps/unix/bsd/telldir.c: Likewise.
21574 * sysdeps/unix/bsd/times.c: Likewise.
21575 * sysdeps/unix/bsd/usleep.c: Likewise.
21577 * misc/Makefile (install-lib): Remove libbsd-compat.a.
21578 ($(objpfx)libbsd-compat.a): Remove rule.
21580 * include/features.h (__FAVOR_BSD): Do not define.
21581 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
21582 features conflicting with POSIX.
21583 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
21584 (_BSD_SOURCE): Remove description of not being a subset of other
21585 feature test macros.
21586 * manual/job.texi (getpgrp): Do not document BSD version.
21587 (getpgid): Do not document by reference to BSD getpgrp.
21588 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
21589 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
21590 * signal/signal.h [__FAVOR_BSD]: Likewise.
21591 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
21592 instead of making contents conditional on [__FAVOR_BSD].
21593 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
21595 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21599 2013-12-17 Joseph Myers <joseph@codesourcery.com>
21602 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
21603 values below 2**-450, not 2**-500.
21604 * math/auto-libm-test-in: Don't allow spurious underflow from
21606 * math/auto-libm-test-out: Regenerated.
21610 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
21611 values of ha and hb and sort them after adjusting subnormal
21613 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
21615 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
21616 values of ea and eb and sort them after adjusting subnormal
21618 * math/auto-libm-test-in: Do not expect some hypot tests of
21619 subnormals to fail. Add more hypot tests.
21620 * math/auto-libm-test-out: Regenerated.
21622 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21625 * sysdeps/sh/s_fma.c: New file.
21626 * sysdeps/sh/s_fmaf.c: New file.
21627 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
21629 * sysdeps/sh/Implies: Add sh/soft-fp.
21631 2013-12-16 Roland McGrath <roland@hack.frob.com>
21633 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
21634 level of indirection to members `objname', `errstring', `malloced'.
21635 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
21636 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
21637 it as the __longjmp argument (just pass 1 instead).
21638 (_dl_catch_error): Initialize C with argument pointers and address of
21639 volatile local ERRCODE rather than copying values out of C at return.
21641 2013-12-16 Joseph Myers <joseph@codesourcery.com>
21643 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
21644 * math/auto-libm-test-out: Regenerated.
21645 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
21646 (hypot_test_data): Likewise.
21647 (pow_test_data): Likewise.
21648 (pow_tonearest_test_data): Likewise.
21649 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21651 (func_calc_desc): Add mpfr_ff_f union field.
21652 (FUNC_mpfr_ff_f): New macro.
21653 (test_functions): Add atan2, hypot and pow.
21654 (special_fill_min): New function.
21655 (special_fill_minus_min): Likewise.
21656 (special_fill_min_subnorm): Likewise.
21657 (special_fill_minus_min_subnorm): Likewise.
21658 (special_real_inputs): Add min, -min, min_subnorm and
21660 (calc_generic_results): Handle mpfr_ff_f.
21661 * sysdeps/i386/fpu/libm-test-ulps: Update.
21662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21664 2013-12-16 Will Newton <will.newton@linaro.org>
21666 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
21667 (Aligned Memory Blocks): Add documentation for aligned_alloc
21668 and suggest it as an alternative to posix_memalign.
21669 (Hooks for Malloc): Document __memalign_hook is also called
21670 for aligned_alloc. (Summary of Malloc): Add summary for
21671 aligned alloc. Document __memalign_hook is also called
21674 2013-12-16 Will Newton <will.newton@linaro.org>
21676 * manual/memory.texi (Malloc Examples): Clarify default
21677 alignment documentation. Suggest posix_memalign rather
21678 than memalign or valloc.
21679 (Aligned Memory Blocks): Remove suggestion to use memalign
21680 or valloc. Remove obsolete comment about BSD.
21681 Document memalign errno values and mark the function obsolete.
21682 Document posix_memalign returned error codes. Mark valloc
21683 as obsolete. (Hooks for Malloc): __memalign_hook is also
21684 called for posix_memalign and valloc.
21685 (Summary of Malloc): Add posix_memalign to function summary.
21686 __memalign_hook is also called for posix_memalign and valloc.
21688 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21690 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
21694 (sloww): Use mynumber union. Expand ternary operator into
21695 if-else statements.
21696 (cslow): use mynumber union.
21698 2013-12-16 Allan McRae <allan@archlinux.org>
21700 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
21701 * configure: Regenerated.
21703 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
21706 * configure.ac: Added --enable-maintainer-mode. Check for
21707 autoconf when enabled.
21708 * configure: Regenerated.
21710 * nscd/nscd.service: New file.
21711 * nscd/nscd.tmpfiles: New file.
21713 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
21716 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
21717 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
21718 * sysdeps/x86_64/multiarch/strstr.c: ... here.
21719 (strstr): Add __strstr_sse2_unaligned ifunc.
21720 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
21721 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
21722 (strcasestr): Remove __strcasestr_sse42 ifunc.
21723 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
21724 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21725 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21727 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21729 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
21730 * sysdeps/sh/bits/fenv.h: ... here.
21731 * sysdeps/sh/sh4/fpu/bits: Remove directory.
21733 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21735 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
21737 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
21738 hypotf multiarch implementations.
21739 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
21740 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
21741 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
21742 multiarch hypot for PPC64.
21743 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
21744 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
21745 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
21746 multiarch hypotf for PPC64.
21748 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
21749 modff multiarch implementations.
21750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
21751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
21752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
21753 multiarch modf for PPC64.
21754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
21755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
21756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
21757 multiarch modff for PPC64.
21759 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
21760 and logl multiarch implementations.
21761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
21762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
21763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
21764 multiarch logb for PPC64.
21765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
21766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
21767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
21768 multiarch logb for PPC64.
21769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
21770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
21771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
21772 multiarch logb for PPC64.
21774 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
21775 isinff multiarch implementation.
21776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
21778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
21779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
21780 multiarch isinf for PPC64.
21781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
21783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
21784 multiarch isinff for PPC64.
21786 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
21787 finitef multiarch implementation.
21788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
21790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
21791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
21792 multiarch finite for PPC64.
21793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
21795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
21796 multiarch finitef for PPC64.
21798 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
21799 lrint multiarch implementation.
21800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
21802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
21803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
21804 multiarch llrint for PPC64.
21805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
21806 multiarch lrint for PPC64.
21808 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
21809 copysignf multiarch implementation.
21810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
21812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
21814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
21815 multiarch copysign for PPC64.
21816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
21817 multiarch copysignf for PPC64.
21819 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
21820 multiarch implementation.
21821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
21823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
21825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
21827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
21829 multiarch llround for PPC64.
21830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
21831 multiarch trunc for PPC64.
21832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
21833 multiarch truncf for PPC64.
21835 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
21836 multiarch implementation.
21837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
21839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
21841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
21843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
21845 multiarch llround for PPC64.
21846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
21847 multiarch round for PPC64.
21848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
21849 multiarch roundf for PPC64.
21851 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
21852 multiarch implementation.
21853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
21855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
21857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
21859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
21861 multiarch llround for PPC64.
21862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
21863 multiarch floor for PPC64.
21864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
21865 multiarch floorf for PPC64.
21867 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
21868 multiarch implementation.
21869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
21871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
21873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
21875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
21877 multiarch llround for PPC64.
21878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
21879 multiarch ceil for PPC64.
21880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
21881 multiarch ceilf for PPC64.
21883 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21884 multiarch implementation.
21885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
21887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
21889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
21891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
21892 multiarch llround for PPC64.
21893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
21894 multiarch lround for PPC64.
21896 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21897 multiarch implementation.
21898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
21899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
21900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
21902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
21903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
21904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
21905 multiarch isnan for PPC64.
21906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
21907 multiarch isnanf for PPC64.
21909 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
21910 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
21911 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
21912 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
21913 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
21914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
21916 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
21917 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21918 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21919 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21921 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
21922 multiarch implementations.
21923 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21924 (__libc_ifunc_impl_list): Likewise.
21925 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
21926 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
21927 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
21928 multiarch stpcpy for PPC64.
21930 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
21931 multiarch implementations.
21932 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21933 (__libc_ifunc_impl_list): Likewise.
21934 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
21935 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
21936 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
21937 multiarch strcpy for PPC64.
21939 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
21940 redefine function name.
21941 (_wordcopy_fwd_dest_aligned): Likewise.
21942 (_wordcopy_bwd_aligned): Likewise.
21943 (_wordcopy_bwd_dest_aligned): Likewise.
21944 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
21945 multiarch implementations.
21946 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21947 (__libc_ifunc_impl_list): Likewise.
21948 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
21949 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
21950 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
21951 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
21952 multiarch wcscpy for PPC64.
21954 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
21955 multiarch implementations.
21956 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21957 (__libc_ifunc_impl_list): Likewise.
21958 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
21959 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
21960 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
21961 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
21962 multiarch wcscpy for PPC64.
21964 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
21965 multiarch implementations.
21966 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21967 (__libc_ifunc_impl_list): Likewise.
21968 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
21969 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
21970 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
21971 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
21972 multiarch wcsrchr for PPC64.
21974 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
21975 multiarch implementations.
21976 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21977 (__libc_ifunc_impl_list): Likewise.
21978 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21979 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21980 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21981 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21982 multiarch wcschr for PPC64.
21984 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21985 multiarch implementations.
21986 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21987 (__libc_ifunc_impl_list): Likewise.
21988 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21989 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21990 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21991 multiarch strchrnul for PPC64.
21993 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21995 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21996 (__libc_ifunc_impl_list): Likewise.
21997 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21998 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21999 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
22000 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
22003 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
22005 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22006 (__libc_ifunc_impl_list): Likewise.
22007 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
22008 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
22009 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
22010 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
22013 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
22014 multiarch implementations.
22015 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22016 (__libc_ifunc_impl_list): Likewise.
22017 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
22018 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
22019 strncasecmp for PPC64.
22020 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
22021 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
22022 multiarch strncasecmp_l for PPC64.
22024 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
22025 multiarch implementations.
22026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22027 (__libc_ifunc_impl_list): Likewise.
22028 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
22029 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
22030 multiarch strcasecmp for PPC64.
22031 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
22033 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
22034 multiarch strcasecmp_l for PPC64.
22036 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
22038 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22039 (__libc_ifunc_impl_list): Likewise.
22040 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
22041 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
22042 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
22045 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
22047 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22048 (__libc_ifunc_impl_list): Likewise.
22049 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
22050 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
22051 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
22054 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
22056 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22057 (__libc_ifunc_impl_list): Likewise.
22058 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
22059 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
22060 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
22061 rawmemrchr for PPC64.
22063 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
22065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22066 (__libc_ifunc_impl_list): Likewise.
22067 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
22068 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
22069 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
22072 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
22074 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22075 (__libc_ifunc_impl_list): Likewise.
22076 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
22077 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
22078 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
22081 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
22083 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22084 (__libc_ifunc_impl_list): Likewise.
22085 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
22086 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
22087 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
22090 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
22091 avoid cretion of __bzero symbol.
22092 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
22094 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
22096 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
22098 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
22099 multiarch implementations.
22100 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22101 (__libc_ifunc_impl_list): Likewise.
22102 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
22103 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
22104 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
22105 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
22107 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
22108 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
22109 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
22110 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
22111 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
22113 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
22115 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
22116 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
22118 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22119 (__libc_ifunc_impl_list): Likewise.
22120 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
22121 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
22122 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
22123 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
22126 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
22127 multiarch for POWER/PPC64.
22128 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
22129 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
22130 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
22131 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
22132 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
22133 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
22134 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
22135 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
22136 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
22139 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
22140 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
22141 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
22142 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
22143 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
22144 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
22145 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
22146 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
22147 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
22148 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
22149 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
22150 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
22151 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
22152 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
22153 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
22154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
22155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
22156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
22157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
22158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
22159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
22160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
22162 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22164 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
22166 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22168 * benchtests/Makefile (bench): Add exp2 and log2.
22169 (LDLIBS-bench-exp2): Add -lm.
22170 (LDLIBS-bench-log2): Likewise.
22171 * benchtests/exp2-inputs: New inputs file.
22172 * benchtests/log2-inputs: New inputs file.
22173 * benchtests/log-inputs: Add new inputs.
22174 * benchtests/tan-inputs: Likewise.
22176 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22178 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
22180 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
22181 (csloww2): ... from here.
22183 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
22184 instead of structures.
22185 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
22186 (POLYNOMIAL): Likewise.
22187 (TAYLOR_SLOW): Likewise.
22193 (sloww1); Likewise.
22194 (sloww2): Likewise.
22195 (bsloww1): Likewise.
22196 (bsloww2): Likewise.
22197 (cslow2): Likewise.
22198 (csloww): Likewise.
22199 (csloww1): Likewise.
22200 (csloww2): Likewise.
22202 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
22204 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
22205 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
22206 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
22207 * malloc/hooks.c (realloc_check): Likewise.
22209 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
22210 * malloc/arena.c: Remove PER_THREAD conditional.
22211 [!PER_THREAD]: Remove code.
22212 (ptmalloc_unlock_all2): Likewise.
22213 (ptmalloc_init): Likewise.
22214 (_int_new_arena): Likewise.
22215 (arena_get2): Likewise.
22216 * malloc/hooks.c (__malloc_get_state): Likewise.
22217 (__malloc_set_state): Likewise.
22218 * malloc/malloc.c: Likewise.
22219 (struct malloc_state): Likewise.
22220 (struct malloc_par): Likewise.
22221 (__libc_realloc): Likewise.
22222 (__libc_mallopt): Likewise.
22224 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22226 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
22228 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
22230 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
22231 macro to a function. Check for zero perturb_byte.
22232 (_int_malloc, _int_free): Remove zero perturb_byte checks.
22234 * malloc/malloc.c: (force_reg): Remove.
22235 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
22236 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
22237 force_reg by atomic_forced_read.
22238 * malloc/arena.c (ptmalloc_init): Likewise.
22239 * malloc/hooks.c (top_check): Likewise.
22241 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22245 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
22247 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22249 2013-12-08 Joseph Myers <joseph@codesourcery.com>
22251 * math/auto-libm-test-in: Add tests of lgamma.
22252 * math/auto-libm-test-out: Regenerated.
22253 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
22254 (M_LOG_2_SQRT_PIl): Likewise.
22255 (lgamma_test_data): Use AUTO_TESTS_f_f1.
22256 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22258 (func_calc_desc): Add mpfr_f_f1 union field.
22259 (ARGS1): New macro.
22267 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
22268 (test_functions): Add lgamma.
22269 (calc_generic_results): Handle mpfr_f_f1.
22270 * sysdeps/i386/fpu/libm-test-ulps: Update.
22271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22273 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22275 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
22276 __mpn_add_n for PowerPC64/POWER7.
22277 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
22278 __mpn_sub_n for PowerPC64/POWER7.
22280 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
22281 __mpn_addmul_1 for PowerPC64.
22282 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
22283 __mpn_submul_1 for PowerPC64.
22284 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
22286 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
22289 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
22292 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
22294 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22296 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
22298 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
22299 add multiarch folders.
22300 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
22301 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
22302 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
22303 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
22304 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
22305 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
22306 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
22307 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
22308 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
22309 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
22310 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
22311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
22312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
22313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
22314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
22315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
22316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
22318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
22319 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
22320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
22322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
22324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
22325 multiarch __ieee754_hypot for PowerPC32.
22326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
22328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
22330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
22331 multiarch __ieee754_hypotf for PowerPC32.
22333 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
22334 long_double_symbol only if __logbl is defined.
22335 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
22336 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
22337 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
22338 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
22339 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
22340 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
22341 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
22342 path for implementation.
22343 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
22344 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
22345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
22346 logb, and logbl multiarch implementations for PowerPC32.
22347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
22349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
22351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
22352 multiarch logb for PowerPC32.
22353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
22355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
22357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
22358 multiarch logbf for PowerPC32.
22359 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
22360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
22362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
22363 multiarch logbl implementation for PowerPC32.
22365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
22366 and modff multiarch implementations.
22367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
22369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
22371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
22372 multiarch modf for PowerPC32.
22373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
22375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
22377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
22378 multiarch modff for PowerPC32.
22380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
22381 and lrintf multiarch implementations.
22382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
22384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
22386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
22387 multiarch lrint for PowerPC32.
22388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
22389 file: multiarch lrintf for PowerPC32.
22391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
22392 and lroundf multiarch implementations.
22393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
22395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
22397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
22399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
22400 multiarch lround for PowerPC32.
22401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
22402 file: multiarch lroundf for PowerPC32.
22404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
22405 copysign and copysignf multiarch implementations.
22406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
22408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
22410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
22411 file: multiarch copysign for PowerPC32.
22412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
22413 file: multiarch copysignf for PowerPC32.
22415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
22416 and truncf multiarch implementations.
22417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
22419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
22421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
22422 multiarch trunc for PowerPC32.
22423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
22425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
22427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
22428 multiarch truncf for PowerPC32.
22430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
22431 and roundf multiarch implementations.
22432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
22434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
22436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
22437 multiarch round for PowerPC32.
22438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
22440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
22442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
22443 multiarch roundf for PowerPC32.
22445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
22446 and floorf multiarch implementations.
22447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
22449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
22451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
22452 multiarch floor for PowerPC32.
22453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
22455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
22457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
22458 multiarch floorf for PowerPC32.
22460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
22461 and ceilf multiarch implementations.
22462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
22464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
22466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
22467 multiarch ceil for PowerPC32.
22468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
22470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
22472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
22473 multiarch ceilf for PowerPC32.
22475 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
22477 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
22478 FINITEF is defined.
22479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
22480 and finitef multiarch implementations.
22481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
22483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
22485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
22486 multiarch finite for PowerPC32.
22487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
22489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
22490 file: multiarch finitef for PowerPC32.
22492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
22493 and isinff multiarch implementations.
22494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
22496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
22498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
22499 multiarch isinf for PowerPC32.
22500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
22502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
22503 multiarch isinff for PowerPC32.
22505 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
22506 alias when __isnan is defined.
22507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
22508 and isnanf multiarch implementations.
22509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
22511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
22513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
22515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
22517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
22518 multiarch isnan for PowerPC32.
22519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
22521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
22523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
22524 multiarch isnanf for PowerPC32.
22526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
22527 and sqrtf multiarch implementations.
22528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
22530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
22532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
22533 multiarch sqrt for PowerPC32.
22534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
22536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
22538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
22539 multiarch sqrtf for PowerPC32.
22541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
22542 and llroundf multiarch implementations.
22543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
22545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
22547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
22549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
22550 file: multiarch llround for PowerPC32.
22551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
22552 file: multiarch llroundf for PowerPC32.
22554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
22555 multiarch PowerPC32 fpu implementations.
22556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
22558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
22560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
22561 multiarch llrint for PowerPC32.
22562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
22564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
22566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
22569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
22571 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
22573 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
22575 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
22577 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
22578 multiarch wordcopy for PPC32.
22579 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
22581 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22582 (__libc_ifunc_impl_list): Likewise.
22583 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
22584 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
22585 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
22586 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
22587 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
22588 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
22590 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
22591 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
22593 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
22595 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
22597 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
22598 multiarch wcscpy for PPC32.
22599 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
22601 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22602 (__libc_ifunc_impl_list): Likewise.
22603 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22604 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22605 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
22606 sysdeps/powerpc/power6/wcscpy.c.
22608 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
22609 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
22611 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
22613 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
22615 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
22616 multiarch wcsrchr for PPC32.
22617 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22619 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22620 (__libc_ifunc_impl_list): Likewise.
22621 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22622 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22623 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
22624 sysdeps/powerpc/power6/wcsrchr.c.
22626 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
22628 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
22630 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
22631 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
22632 multiarch wcschr for PPc32.
22633 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22635 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22636 (__libc_ifunc_impl_list): Likewise.
22637 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
22638 * sysdeps/powerpc/power6/wcschr.c: ... to here.
22639 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
22640 sysdeps/powerpc/power6/wcschr.c.
22642 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
22643 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
22645 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
22646 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
22647 file: multiarch strchr for PPC32.
22648 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
22650 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22651 (__libc_ifunc_impl_list): Likewise.
22653 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
22655 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
22657 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
22659 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
22660 multiarch strchrnul for PPC32.
22661 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
22663 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22664 (__libc_ifunc_impl_list): Likewise.
22666 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
22668 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
22669 multiarch strncasecmp for PPC32.
22670 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
22672 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
22673 multiarch strncasecmp_l for PPC32.
22674 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
22675 strncasecmp multiarch objects.
22676 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22677 (__libc_ifunc_impl_list): Likewise.
22679 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
22681 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
22682 multiarch strncasecmp for PPC32.
22683 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
22685 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
22686 multiarch strcasecmp_l for PPC32.
22687 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
22689 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22690 (__libc_ifunc_impl_list): Likewise.
22692 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
22694 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
22696 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
22697 multiarch strncmp for PPC32.
22698 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
22700 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22701 (__libc_ifunc_impl_list): Likewise.
22703 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
22704 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
22706 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
22707 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
22708 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
22710 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22711 (__libc_ifunc_impl_list): Likewise.
22713 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
22715 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
22717 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
22718 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
22720 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22721 (__libc_ifunc_impl_list): Likewise.
22723 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
22725 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
22727 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
22728 multiarch rawmemchr for PPC32.
22729 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
22731 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22732 (__libc_ifunc_impl_list): Likewise.
22734 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
22736 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
22738 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
22739 file: memrchr multiarch for PPC32.
22740 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
22742 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22743 (__libc_ifunc_impl_list): Likewise.
22745 * string/memchr.c (__memchr): Using macro to redefine symbol name.
22746 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
22748 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
22749 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
22750 multiarch memchr for PPC32.
22751 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
22753 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22754 (__libc_ifunc_impl_list): Likewise.
22756 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
22757 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
22759 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
22761 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
22762 file: multiarch mempcpy for PPC32.
22763 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
22765 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22766 (__libc_ifunc_impl_list): Likewise.
22768 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
22769 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
22770 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
22771 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
22772 multiarch bzero for PPC32.
22773 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
22775 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
22777 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
22778 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
22779 file: multiarch memset for PPC32.
22780 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
22781 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
22782 memset multiarch objects.
22783 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22784 (__libc_ifunc_impl_list): Likewise.
22786 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
22788 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
22789 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
22791 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
22792 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
22794 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22795 (__libc_ifunc_impl_list): Likewise.
22797 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
22798 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
22799 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
22801 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
22803 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
22805 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
22806 multiarch memcpy for PPC32.
22807 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
22809 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22810 (__libc_ifunc_impl_list): Likewise.
22812 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
22813 support multiarch for POWER/PPC32.
22814 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
22816 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
22818 Implies file to make multiarch folder appers before the fpu and
22819 default folder for power4 configuration.
22821 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22823 * scripts/bench.pl: Append volatile keyword to type.
22825 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22827 * sysdeps/sh/sotruss-lib.c: New file.
22828 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
22830 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22834 2013-12-05 Joseph Myers <joseph@codesourcery.com>
22837 * math/w_tgamma.c: Include <errno.h>.
22838 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
22839 * math/w_tgammaf.c: Include <errno.h>.
22840 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
22841 * math/w_tgammal.c: Include <errno.h>.
22842 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
22843 * math/auto-libm-test-in: Do not allow missing errno on tgamma
22844 underflow. Add more tgamma tests.
22845 * math/auto-libm-test-out: Regenerated.
22846 * sysdeps/i386/fpu/libm-test-ulps: Update.
22847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22849 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
22850 sin, sinh, tan, tanh, tgamma, y0 and y1.
22851 * math/auto-libm-test-out: Regenerated.
22852 * math/libm-test.inc (TEST_COND_x86_64): New macro.
22853 (TEST_COND_x86): Likewise.
22854 (M_E2l): Remove macro.
22856 (M_2_SQRT_PIl): Likewise.
22857 (M_SQRT_PIl): Likewise.
22858 (M_1_DIV_El): Likewise.
22859 (log_test_data): Use AUTO_TESTS_f_f.
22860 (log10_test_data): Likewise.
22861 (log1p_test_data): Likewise.
22862 (log2_test_data): Likewise.
22863 (sin_test_data): Likewise.
22864 (sin_tonearest_test_data): Likewise.
22865 (sin_towardzero_test_data): Likewise.
22866 (sin_downward_test_data): Likewise.
22867 (sin_upward_test_data): Likewise.
22868 (sinh_test_data): Likewise.
22869 (sinh_tonearest_test_data): Likewise.
22870 (sinh_towardzero_test_data): Likewise.
22871 (sinh_downward_test_data): Likewise.
22872 (sinh_upward_test_data): Likewise.
22873 (tan_test_data): Likewise.
22874 (tan_tonearest_test_data): Likewise.
22875 (tan_towardzero_test_data): Likewise.
22876 (tan_downward_test_data): Likewise.
22877 (tan_upward_test_data): Likewise.
22878 (tanh_test_data): Likewise.
22879 (tgamma_test_data): Likewise.
22880 (y0_test_data): Likewise.
22881 (y1_test_data): Likewise.
22882 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
22883 (special_real_inputs): Add pi/4.
22884 * sysdeps/i386/fpu/libm-test-ulps: Update.
22885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22887 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22889 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
22890 "longjmp_target" static probes.
22891 (__longjmp): Rename to __longjmp_symbol.
22892 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22893 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
22894 on which longjmp to generate.
22895 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22896 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
22898 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22899 (__sigjmp_save): Rename to __sigjmp_save_symbol.
22900 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22901 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
22902 and __sigjmp_save_symbol based on which sigsetjmp to generated.
22903 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
22904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
22905 __longjmp_symbol based on which __longjmp to generate.
22906 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
22908 (setjmp): Rename to setjmp_symbol.
22909 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22910 (_setjmp): Rename to _setjmp_symbol.
22911 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22912 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
22913 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
22914 which setjmp to generate.
22915 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
22916 "longjmp_target" static probes.
22918 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22920 * benchtests/README: Add note about output arguments.
22921 * benchtests/bench-sincos.c: Remove file.
22922 * benchtests/sincos-inputs: New file.
22923 * scripts/bench.pl: Identify output arguments and define
22924 static variables for them.
22926 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
22929 * Makefile (INSTALL): Add install-plain.texi as the primary
22931 * manual/install-plain.texi: New file.
22932 * manual/install.texi: Include node directive only for
22933 non-plaintext output.
22935 2013-12-04 Joseph Myers <joseph@codesourcery.com>
22937 * stdlib/longlong.h: Update from GCC.
22941 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
22942 * math/w_j0f.c (y0f): Likewise.
22943 * math/w_j0l.c (__y0l): Likewise.
22944 * math/w_j1.c (y1): Likewise.
22945 * math/w_j1f.c (y1f): Likewise.
22946 * math/w_j1l.c (__y1l): Likewise
22947 * math/w_jn.c (yn): Likewise.
22948 * math/w_jnf.c (ynf): Likewise.
22949 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
22950 Bessel function pole errors in _POSIX_ mode. Use NAN as return
22951 value for Bessel function domain errors outside _SVID_ mode.
22952 Adjust sign of return value for yn (negative integer, 0).
22953 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
22954 by zero in return for negative x and set sign appropriately for
22956 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
22957 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22958 * math/libm-test.inc (y0_test_data): Add more tests and adjust
22959 expectations in error cases.
22960 (y1_test_data): Likewise.
22961 (yn_test_data): Likewise.
22962 * sysdeps/i386/fpu/libm-test-ulps: Update.
22963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22965 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22967 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
22968 "64" to "64-v1". Add "64-v2".
22969 (abi-64-options): Rename to ...
22970 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
22971 (abi-64-condition): Rename to ...
22972 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
22973 (abi-64-ld-soname): Rename to ...
22974 (abi-64-v1-ld-soname): ... this.
22975 (abi-64-v2-options): Define.
22976 (abi-64-v2-condition): Likewise.
22977 (abi-64-v2-ld-soname): Likewise.
22978 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22979 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22984 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22985 Alan Modra <amodra@gmail.com>
22987 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22988 New versions for use with the ELFv2 ABI.
22989 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22990 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22992 (struct La_ppc64v2_retval): Likewise.
22993 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22994 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22995 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22996 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22997 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22998 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22999 Do not save or restore CR.
23000 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
23001 (_dl_profile_resolve): Do no save or restore CR. Support extended
23002 return values for ELFv2 ABI. Fix location of FPR return registers.
23003 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
23004 updated values for _CALL_ELF == 2.
23005 (La_regs, La_retval, int_retval): Likewise.
23007 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23009 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
23010 (FRAME_MIN_SIZE_PARM): Likewise.
23011 (FRAME_BACKCHAIN): Likewise.
23012 (FRAME_CR_SAVE): Likewise.
23013 (FRAME_LR_SAVE): Likewise.
23014 (FRAME_TOC_SAVE): Likewise.
23015 (FRAME_PARM_SAVE): Likewise.
23016 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
23017 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
23018 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
23019 (call_mcount_parm_offset): New macro.
23020 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
23021 (PROF): Use symbolic stack frame offsets.
23022 (TAIL_CALL_SYSCALL_ERROR): Likewise.
23023 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
23024 Redefine in terms of FRAME_MIN_SIZE.
23025 (_dl_runtime_resolve): Use symbolic stack frame offsets.
23026 (_dl_profile_resolve): Likewise. Update comment.
23027 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
23028 symbols stack frame offsets.
23029 (__sigsetjmp): Likewise.
23030 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
23031 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
23032 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
23033 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
23035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
23036 (FRAME_BACKCHAIN): Remove.
23037 (FRAME_CR_SAVE): Likewise.
23038 (FRAME_LR_SAVE): Likewise.
23039 (FRAME_COMPILER_DW): Likewise.
23040 (FRAME_LINKER_DW): Likewise.
23041 (FRAME_TOC_SAVE): Likewise.
23042 (FRAME_PARM_SAVE): Likewise.
23043 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
23044 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
23045 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
23046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
23047 (CHECK_SP): Use symbolic stack frame offsets.
23048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
23049 zone" instead of caller's parameter save area for temp storage.
23050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23051 Likewise. Also, use symbolic stack frame offsets.
23052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
23053 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
23054 our own stack frame instead of the caller's.
23055 (__socket): Use symbolic stack frame offsets.
23057 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23058 Alan Modra <amodra@gmail.com>
23060 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
23062 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
23063 (PPC64_LOCAL_ENTRY_OFFSET): Define.
23064 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
23066 (elf_machine_fixup_plt): Call it.
23067 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
23069 (elf_machine_rela): Update call to elf_machine_plt_conflict.
23070 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
23071 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
23072 r2 before calling target.
23074 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23075 Alan Modra <amodra@gmail.com>
23077 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
23078 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
23079 versions of macros to support ELFv2 ABI.
23080 (LOCALENTRY): New macro.
23081 (ENTRY, EALIGN): Use it.
23082 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
23083 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
23084 fall through into ENTRY entry point.
23085 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
23086 Only define if _CALL_ELF != 2.
23088 (elf_machine_matches_host): Verify ABI version matches.
23089 (RTLD_START): Use LOCALENTRY.
23090 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
23091 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
23092 (PLT_ENTRY_WORDS): New macro.
23093 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
23094 (elf_machine_runtime_setup): Support ELFv2 ABI.
23095 (elf_machine_fixup_plt): Likewise.
23096 (elf_machine_plt_conflict): Likewise.
23097 (resolve_ifunc): Likewise.
23098 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23099 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
23102 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
23103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23104 (makecontext): Support ELFv2 ABI.
23105 * elf/elf.h (EF_PPC64_ABI): Define.
23107 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23109 * sysdeps/powerpc/powerpc64/sysdep.h
23110 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
23111 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
23112 (ENTRY) [ASSEMBLER]: ... but instead here ...
23113 (EALIGN) [ASSEMBLER]: ... and here.
23114 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
23115 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
23116 (ENTRY_2) [!ASSEMBLER]: Use it.
23117 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
23118 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
23119 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
23120 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
23121 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
23122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
23123 Use PPC64_LOAD_FUNCPTR.
23125 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
23127 2013-12-04 Alan Modra <amodra@gmail.com>
23129 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
23130 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
23131 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
23132 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
23134 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
23135 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
23136 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
23137 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
23138 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
23139 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
23141 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23144 (__makecontext): Fix incorrect CFI when backtracing out of
23145 context created via makecontext.
23146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
23147 (__setcontext): Fix incorrect CFI during switch to new context.
23148 (__novec_setcontext): Likewise.
23150 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
23153 * time/strptime_l.c (__strptime_internal): Allow modifiers
23155 * time/tst-strptime.c (day_tests): Add testcase.
23157 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23159 * scripts/bench.pl: Skip over blank lines.
23161 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
23164 * manual/time.texi (Calendar Time): Clarify what timezone functions
23167 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23171 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
23173 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
23175 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
23176 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
23177 * debug/memset_chk.c (__memset_chk): Likewise.
23178 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
23179 * debug/strncpy_chk.c: Likewise.
23181 2013-12-03 Joseph Myers <joseph@codesourcery.com>
23185 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
23186 (__ieee754_exp): For possibly underflowing results, check size of
23187 result and force underflow exception if required.
23188 * math/auto-libm-test-in: Add more tests of exp.
23189 * math/auto-libm-test-out: Regenerated.
23190 * sysdeps/i386/fpu/libm-test-ulps: Update.
23191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23194 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
23195 * math/w_exp2f.c (__exp2f): Likewise.
23196 * math/w_exp2l.c (__exp2l): Likewise.
23197 * math/auto-libm-test-in: Do not allow missing errno on exp2
23199 * math/auto-libm-test-out: Regenerated.
23201 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
23204 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
23205 handle filename validation.
23206 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
23209 2013-12-03 Joseph Myers <joseph@codesourcery.com>
23212 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
23213 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
23214 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
23216 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
23217 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
23218 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23219 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
23220 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23221 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
23222 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23223 * math/auto-libm-test-in: Don't allow missing errno from erfc.
23224 Add more erfc tests.
23225 * math/auto-libm-test-out: Regenerated.
23226 * sysdeps/i386/fpu/libm-test-ulps: Update.
23227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23229 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
23230 exp2, expm1, j0 and j1.
23231 * math/auto-libm-test-out: Regenerated.
23232 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
23233 (erfc_test_data): Likewise.
23234 (exp_test_data): Likewise.
23235 (exp_tonearest_test_data): Likewise.
23236 (exp_towardzero_test_data): Likewise.
23237 (exp_downward_test_data): Likewise.
23238 (exp_upward_test_data): Likewise.
23239 (exp10_test_data): Likewise.
23240 (exp2_test_data): Likewise.
23241 (expm1_test_data): Likewise.
23242 (j0_test_data): Likewise.
23243 (j1_test_data): Likewise.
23244 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
23245 (input_flag_type): Add flag_xfail_rounding.
23246 (input_flags): Add xfail-rounding.
23247 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
23248 (output_for_one_input_case): Handle flag_xfail_rounding.
23249 * sysdeps/i386/fpu/libm-test-ulps: Update.
23250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23252 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
23255 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
23258 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23261 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
23262 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
23263 (STAP_PROBE0): New macro.
23264 (STAP_PROBE1): Likewise.
23265 (STAP_PROBE2): Likewise.
23266 (STAP_PROBE3): Likewise.
23267 (STAP_PROBE4): Likewise.
23269 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
23271 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
23273 2013-12-02 Steve Ellcey <sellcey@mips.com>
23275 * benchtests/Makefile (bench): Add sqrt.
23276 (LDLIBS-bench-sqrt): New.
23277 * benchtests/sqrt-input: New.
23279 2013-12-02 Pavel Simerda <psimerda@redhat.com>
23281 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
23282 (GAIH_EAI): Likewise.
23283 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
23284 (gaih_inet): Likewise.
23285 (getaddrinfo): Don't use GAIH_EAI.
23287 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
23288 (struct gaih): Remove definition.
23290 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23292 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
23293 Use HERRNOP directly.
23295 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23299 2013-11-30 Joseph Myers <joseph@codesourcery.com>
23301 * math/gen-auto-libm-tests.c (test_functions): Add more
23302 single-argument functions.
23303 (special_fill_pi_2): New function.
23304 (special_fill_minus_pi_2): Likewise.
23305 (special_fill_pi_6): Likewise.
23306 (special_fill_minus_pi_6): Likewise.
23307 (special_fill_pi_3): Likewise.
23308 (special_fill_2pi_3): Likewise.
23309 (special_fill_e): Likewise.
23310 (special_fill_1_e): Likewise.
23311 (special_fill_e_minus_1): Likewise.
23312 (special_real_inputs): Add more special inputs.
23313 (output_for_one_input_case): Do not require ERANGE on underflow to
23314 zero if round-to-nearest result does not underflow to zero, unless
23315 exact results required.
23316 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
23317 atan, atanh, cbrt, cos and cosh.
23318 * math/auto-libm-test-out: Regenerated.
23319 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
23320 (acos_tonearest_test_data): Likewise.
23321 (acos_towardzero_test_data): Likewise.
23322 (acos_downward_test_data): Likewise.
23323 (acos_upward_test_data): Likewise.
23324 (acosh_test_data): Likewise.
23325 (asin_test_data): Likewise.
23326 (asin_tonearest_test_data): Likewise.
23327 (asin_towardzero_test_data): Likewise.
23328 (asin_upward_test_data): Likewise.
23329 (asinh_test_data): Likewise.
23330 (atan_test_data): Likewise.
23331 (atanh_test_data): Likewise.
23332 (cbrt_test_data): Likewise.
23333 (cos_test_data): Likewise.
23334 (cos_tonearest_test_data): Likewise.
23335 (cos_towardzero_test_data): Likewise.
23336 (cos_downward_test_data): Likewise.
23337 (cos_upward_test_data): Likewise.
23338 (cosh_test_data): Likewise.
23339 (cosh_tonearest_test_data): Likewise.
23340 (cosh_towardzero_test_data): Likewise.
23341 (cosh_downward_test_data): Likewise.
23342 (cosh_upward_test_data): Likewise.
23343 * sysdeps/i386/fpu/libm-test-ulps: Update.
23344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23346 2013-11-29 Joseph Myers <joseph@codesourcery.com>
23349 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
23350 * math/w_exp10f.c (__exp10f): Likewise.
23351 * math/w_exp10l.c (__exp10l): Likewise.
23352 * math/libm-test.inc (exp10_test_data): Add more tests and expect
23353 errno settings in existing tests.
23356 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
23357 precision control set to double precision.
23358 * sysdeps/i386/fpu/w_sqrt.c: New file.
23359 * math/auto-libm-test-in: Add more tests.
23360 * math/auto-libm-test-out: Update.
23362 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
23363 (sqrt_test_tonearest): New function.
23364 (sqrt_towardzero_test_data): New variable.
23365 (sqrt_test_towardzero): New function.
23366 (sqrt_downward_test_data): New variable.
23367 (sqrt_test_downward): New function.
23368 (sqrt_upward_test_data): New variable.
23369 (sqrt_test_upward): New function.
23370 (main): Call the new functions.
23372 * math/gen-auto-libm-tests.c: New file.
23373 * math/auto-libm-test-in: Likewise.
23374 * math/auto-libm-test-out: New generated file.
23375 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
23377 (%beautify): Add generated representations of zero.
23378 (top level): Set $auto_input and call parse_auto_input.
23379 (beautify): Remove trailing "f" from hex float constants.
23380 (parse_args): Handle XFAIL_TEST.
23381 (convert_condition): New function.
23382 (or_value): Likewise.
23383 (or_cond_value): Likewise.
23384 (generate_testfile): Handle AUTO_TESTS_* lines.
23385 (parse_auto_input): New function.
23386 * math/libm-test.inc (XFAIL_TEST): New macro.
23387 (ERRNO_UNCHANGED): Update value.
23388 (ERRNO_EDOM): Likewise.
23389 (ERRNO_ERANGE): Likewise.
23390 (IGNORE_RESULT): Likewise.
23391 (TEST_COND_flt_32): New macro.
23392 (TEST_COND_dbl_64): Likewise.
23393 (TEST_COND_ldbl_96_intel): Likewise.
23394 (TEST_COND_ldbl_96_m68k): Likewise.
23395 (TEST_COND_ldbl_128): Likewise.
23396 (TEST_COND_ldbl_128ibm): Likewise.
23397 (TEST_COND_long32): Likewise.
23398 (TEST_COND_long64): Likewise.
23399 (TEST_COND_before_rounding): Likewise.
23400 (TEST_COND_after_rounding): Likewise.
23401 (enable_test): Handle XFAIL_TEST flag.
23402 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
23403 with finite results.
23404 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
23405 auto-libm-test-out.
23407 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23408 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23411 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
23412 __tls_get_addr_internal instead of __tls_get_offset in order to
23413 avoid GOT pointer dependency. Make rtld export
23414 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
23415 __tls_get_addr since we are a __tls_get_offset platform.
23416 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
23417 GOT pointer being set up before.
23418 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
23420 2013-11-28 Joseph Myers <joseph@codesourcery.com>
23422 * manual/math.texi (Errors in Math Functions): Document accuracy
23426 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
23427 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
23428 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23429 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23430 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23431 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23432 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23433 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23434 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23435 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23436 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23437 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23438 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23439 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23440 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23441 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23443 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
23444 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
23445 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
23446 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
23447 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
23449 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
23451 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
23453 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
23454 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
23455 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
23456 atomic-feupdateenv and flt-rounds.
23457 * sysdeps/powerpc/nofpu/Versions (libc): Add
23458 __atomic_feholdexcept, __atomic_feclearexcept,
23459 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
23460 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
23461 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
23462 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
23463 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
23465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
23468 * manual/arith.texi (FP Exceptions): Document that exceptions may
23469 not be raised when matherr is used.
23470 (Math Error Reporting): Document overflow in directed rounding
23471 modes. Document that errno may not be set when finite values are
23472 returned on overflow. Document intent to set errno on underflow
23473 only for underflow to zero.
23476 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
23477 round-to-nearest then adjust result for other rounding modes.
23478 * include/fenv.h (fegetround): Use libm_hidden_proto.
23479 * math/fegetround.c (fegetround): Use libm_hidden_def.
23480 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
23481 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
23482 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23483 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
23485 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
23486 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23487 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
23488 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
23490 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23493 * nss/Versions (libnss_files): Add
23494 _nss_files_gethostbyname3_r.
23495 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
23497 (HOST_DB_LOOKUP): Remove macro.
23498 (_nss_files_gethostbyname_r): Implement function without the
23499 HOST_DB_LOOKUP macro.
23500 (_nss_files_gethostbyname2_r): Likewise.
23502 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
23504 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
23506 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
23508 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
23509 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
23512 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23514 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
23515 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
23516 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
23517 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23518 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
23519 __fe_nomask_env_priv and attribute_hidden.
23520 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
23521 (libc_feupdateenv_test_ppc): Likewise.
23522 (libc_feresetround_ppc): Likewise.
23523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23524 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
23525 compat_symbol macro.
23526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23527 (__fe_nomask_env): Likewise.
23528 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
23530 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
23532 * string/Makefile: Remove ifunc tests.
23533 * string/test-string.h: Define TEST_IFUNC.
23534 * string/test-bcopy-ifunc.c: Remove.
23535 * string/test-bzero-ifunc.c: Likewise.
23536 * string/test-memccpy-ifunc.c: Likewise.
23537 * string/test-memchr-ifunc.c: Likewise.
23538 * string/test-memcmp-ifunc.c: Likewise.
23539 * string/test-memcpy-ifunc.c: Likewise.
23540 * string/test-memmem-ifunc.c: Likewise.
23541 * string/test-memmove-ifunc.c: Likewise.
23542 * string/test-mempcpy-ifunc.c: Likewise.
23543 * string/test-memrchr-ifunc.c: Likewise.
23544 * string/test-memset-ifunc.c: Likewise.
23545 * string/test-rawmemchr-ifunc.c: Likewise.
23546 * string/test-stpcpy-ifunc.c: Likewise.
23547 * string/test-stpncpy-ifunc.c: Likewise.
23548 * string/test-strcasecmp-ifunc.c: Likewise.
23549 * string/test-strcasestr-ifunc.c: Likewise.
23550 * string/test-strcat-ifunc.c: Likewise.
23551 * string/test-strchr-ifunc.c: Likewise.
23552 * string/test-strchrnul-ifunc.c: Likewise.
23553 * string/test-strcmp-ifunc.c: Likewise.
23554 * string/test-strcpy-ifunc.c: Likewise.
23555 * string/test-strcspn-ifunc.c: Likewise.
23556 * string/test-strlen-ifunc.c: Likewise.
23557 * string/test-strncasecmp-ifunc.c: Likewise.
23558 * string/test-strncat-ifunc.c: Likewise.
23559 * string/test-strncmp-ifunc.c: Likewise.
23560 * string/test-strncpy-ifunc.c: Likewise.
23561 * string/test-strnlen-ifunc.c: Likewise.
23562 * string/test-strpbrk-ifunc.c: Likewise.
23563 * string/test-strrchr-ifunc.c: Likewise.
23564 * string/test-strspn-ifunc.c: Likewise.
23565 * string/test-strstr-ifunc.c: Likewise.
23567 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
23569 * benchtests/Makefile: Remove ifunc tests.
23570 * benchtests/bench-string.h: Define TEST_IFUNC.
23571 * benchtests/bench-bcopy-ifunc.c: Remove.
23572 * benchtests/bench-bzero-ifunc.c: Likewise.
23573 * benchtests/bench-memccpy-ifunc.c: Likewise.
23574 * benchtests/bench-memchr-ifunc.c: Likewise.
23575 * benchtests/bench-memcmp-ifunc.c: Likewise.
23576 * benchtests/bench-memcpy-ifunc.c: Likewise.
23577 * benchtests/bench-memmem-ifunc.c: Likewise.
23578 * benchtests/bench-memmove-ifunc.c: Likewise.
23579 * benchtests/bench-mempcpy-ifunc.c: Likewise.
23580 * benchtests/bench-memrchr-ifunc.c: Likewise.
23581 * benchtests/bench-memset-ifunc.c: Likewise.
23582 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
23583 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
23584 * benchtests/bench-stpcpy-ifunc.c: Likewise.
23585 * benchtests/bench-stpncpy-ifunc.c: Likewise.
23586 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
23587 * benchtests/bench-strcasestr-ifunc.c: Likewise.
23588 * benchtests/bench-strcat-ifunc.c: Likewise.
23589 * benchtests/bench-strchr-ifunc.c: Likewise.
23590 * benchtests/bench-strchrnul-ifunc.c: Likewise.
23591 * benchtests/bench-strcmp-ifunc.c: Likewise.
23592 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
23593 * benchtests/bench-strcpy-ifunc.c: Likewise.
23594 * benchtests/bench-strcspn-ifunc.c: Likewise.
23595 * benchtests/bench-strlen-ifunc.c: Likewise.
23596 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
23597 * benchtests/bench-strncat-ifunc.c: Likewise.
23598 * benchtests/bench-strncmp-ifunc.c: Likewise.
23599 * benchtests/bench-strncpy-ifunc.c: Likewise.
23600 * benchtests/bench-strnlen-ifunc.c: Likewise.
23601 * benchtests/bench-strpbrk-ifunc.c: Likewise.
23602 * benchtests/bench-strrchr-ifunc.c: Likewise.
23603 * benchtests/bench-strsep-ifunc.c: Likewise.
23604 * benchtests/bench-strspn-ifunc.c: Likewise.
23605 * benchtests/bench-strstr-ifunc.c: Likewise.
23607 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
23609 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
23611 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
23613 * resolv/netdb.h: Use __glibc_reserved instead __unused.
23614 * rt/aio.h: Likewise.
23615 * sysdeps/gnu/bits/utmp.h: Likewise.
23616 * sysdeps/gnu/bits/utmpx.h: Likewise.
23617 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23618 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
23619 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
23620 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
23621 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
23622 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
23623 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
23624 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
23625 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
23626 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
23627 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
23628 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
23629 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
23630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
23631 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23632 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
23633 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
23634 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
23635 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
23636 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
23637 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
23638 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
23639 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
23640 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23641 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
23642 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23643 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
23644 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
23645 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
23646 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
23647 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
23648 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
23649 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
23650 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
23651 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
23652 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
23653 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
23654 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
23655 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
23656 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
23657 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
23658 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23660 2013-11-25 Carlos O'Donell <carlos@redhat.com>
23663 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
23664 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
23666 2013-11-25 Joseph Myers <joseph@codesourcery.com>
23668 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
23669 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23672 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23674 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
23675 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
23676 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
23677 (__fesetround): Remove define.
23678 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
23679 rounding and exceptions handling.
23680 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
23681 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
23682 (__fe_nomask_env): Likewise.
23683 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
23684 __fegetround instead of fegetround.
23685 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23686 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
23688 2013-11-21 Roland McGrath <roland@hack.frob.com>
23690 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
23693 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
23695 2013-11-21 Meador Inge <meadori@codesourcery.com>
23698 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
23699 (encrypt_r): Likewise.
23700 * malloc/obstack.h (obstack_free): Likewise.
23701 * posix/unistd.h (encrypt): Likewise.
23703 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
23705 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
23706 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
23707 DL_CALL_DT_FINI() that call the functions directly.
23708 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
23709 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
23710 * elf/dl-fini.c: Likewise.
23712 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
23714 * malloc/hooks.c (memalign_check): Add alignment rounding.
23715 * malloc/malloc.c (_mid_memalign): New function.
23716 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
23717 Implement by calling _mid_memalign.
23718 * manual/probes.texi (Memory Allocation Probes): Remove
23719 memory_valloc_retry and memory_pvalloc_retry.
23721 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23723 * locale/programs/locarchive.c (open_archive): Add const
23724 qualifier to ARCHIVEFNAME and copy default fname to
23728 * libio/tst-widetext.input: Rename Oriya to Odia.
23729 * locale/iso-639.def: Likewise.
23731 * manual/probes.texi (Mathematical Function Probes): Add
23732 documentation for sin, cos, asin and acos probes.
23733 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
23734 (__sin32): Add slowasin probe.
23735 (__cos32): Add slowacos probe.
23736 (__mpsin): Add slowsin probe.
23737 (__mpcos): Add slowcos probe.
23739 2013-11-19 Joseph Myers <joseph@codesourcery.com>
23742 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
23743 thread-local __sim_exceptions_thread and global
23744 __sim_exceptions_global.
23745 (__sim_disabled_exceptions): Change to thread-local
23746 __sim_disabled_exceptions_thread and global
23747 __sim_disabled_exceptions_global.
23748 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23749 and global __sim_round_mode_global.
23750 (__simulate_exceptions): Use thread-local floating-point state and
23751 set global state from it as needed.
23752 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
23753 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
23754 __sim_round_mode_thread.
23755 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
23756 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
23757 and global __sim_exceptions_global.
23758 (__sim_disabled_exceptions): Change to thread-local
23759 __sim_disabled_exceptions_thread and global
23760 __sim_disabled_exceptions_global.
23761 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23762 and global __sim_round_mode_global.
23763 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
23764 (SIM_SET_GLOBAL): Likewise.
23765 * sysdeps/powerpc/soft-fp/sfp-machine.h
23766 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
23767 __sim_round_mode_thread.
23768 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
23769 __sim_disabled_exceptions_thread.
23770 (__sim_exceptions): Change to __sim_exceptions_thread.
23771 (__sim_disabled_exceptions): Change to
23772 __sim_disabled_exceptions_thread.
23773 (__sim_round_mode): Change to __sim_round_mode_thread.
23774 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
23775 thread-local floating-point state and set global state from it as
23777 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
23778 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
23779 (__sim_disabled_exceptions): Remove extern declaration.
23780 (feenableexcept): Use thread-local floating-point state and set
23781 global state from it as needed.
23782 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
23783 extern declaration.
23784 (__sim_disabled_exceptions): Likewise.
23785 (__sim_round_mode): Likewise.
23786 (__fegetenv): Use thread-local floating-point state.
23787 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
23788 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23789 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
23790 floating-point state and set global state from it as needed.
23791 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
23792 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23793 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
23795 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23796 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
23798 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
23799 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
23800 Use __sim_round_mode_thread.
23801 * math/test-fenv-tls.c: New file.
23802 * math/Makefile (tests): Add test-fenv-tls.
23803 ($(objpfx)test-fenv-tls): Depend on
23804 $(common-objpfx)nptl/libpthread.so.
23806 2013-11-19 Andreas Schwab <schwab@suse.de>
23808 * locale/programs/locale.c (show_info): Decode wordarray elements.
23809 * locale/categories.def (LC_MONETARY): Add element for
23810 _NL_MONETARY_CRNCYSTR.
23811 * locale/C-monetary.c (conversion_rate): New variable.
23812 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
23815 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
23817 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
23818 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
23820 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23822 * elf/Makefile (tst-auxv): New test.
23823 * elf/tst-auxv.c: New
23824 * elf/rtld.c (dl_main): Adjust AT_EXECFN
23826 2013-11-18 Joseph Myers <joseph@codesourcery.com>
23828 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
23829 (hidden_proto): Caller changed.
23830 (hidden_tls_proto): New macro.
23831 (libc_hidden_tls_proto): Likewise.
23832 (rtld_hidden_tls_proto): Likewise.
23833 (libm_hidden_tls_proto): Likewise.
23834 (libresolv_hidden_tls_proto): Likewise.
23835 (librt_hidden_tls_proto): Likewise.
23836 (libdl_hidden_tls_proto): Likewise.
23837 (libnss_files_hidden_tls_proto): Likewise.
23838 (libnsl_hidden_tls_proto): Likewise.
23839 (libnss_nisplus_hidden_tls_proto): Likewise.
23840 (libutil_hidden_tls_proto): Likewise.
23842 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
23845 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
23846 (decompose_rpath): Defer expansion to fillin_rpath.
23847 (_dl_init_paths): Pass linkmap to fillin_rpath.
23849 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23851 * benchtests/Makefile: Add strsep.
23852 * benchtests/bench-strsep.c: New file: strsep benchtest.
23853 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
23855 2013-11-18 Andreas Schwab <schwab@suse.de>
23857 * locale/programs/locale.c (show_info) [case byte]: Check for
23858 '\377' instead of '\177'.
23859 * locale/C-monetary.c (not_available): Always use "\377".
23860 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
23861 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
23862 detect unavailable sign_posn locale elements.
23863 * locale/localeconv.c (__localeconv): For grouping and
23864 mon_grouping handle "\177" and "\377" like no grouping.
23865 (INT_ELEM): New macro. Use it to set all numeric members.
23866 * locale/programs/ld-monetary.c (monetary_read)
23867 <tok_mon_grouping>: Normalize single -1 to the empty string.
23868 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
23871 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
23874 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
23875 when we match (nil).
23876 * stdio-common/tst-sscanf.c (struct test): Add testcase.
23878 2013-11-16 Joseph Myers <joseph@codesourcery.com>
23880 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
23881 (NO_TEST_INLINE): Update value.
23882 (ERRNO_UNCHANGED): Likewise.
23883 (ERRNO_EDOM): Likewise.
23884 (ERRNO_ERANGE): Likewise.
23885 (IGNORE_RESULT): Likewise.
23886 (check_float_internal): Check signs of NaN results if
23887 TEST_NAN_SIGN used.
23888 (check_complex): Pass TEST_NAN_SIGN flag through to second
23889 check_float_internal call.
23890 (copysign_test_data): Add tests with quiet NaNs as second
23891 argument. Use TEST_NAN_SIGN.
23892 (fabs_test_data): Add test of negative quiet NaN argument. Use
23894 (signbit_test_data): Add tests of quiet NaN argument.
23895 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
23897 * math/gen-libm-test.pl (show_exceptions): Take extra argument
23899 (parse_args): Handle function results specified as IGNORE.
23900 * math/libm-test.inc (IGNORE_RESULT): New macro.
23901 (check_float_internal): Do not check numerical result if flag
23903 (check_complex): Pass through IGNORE_RESULT to second
23904 check_float_internal call.
23905 (check_int): Do not check numerical result if flag IGNORE_RESULT
23907 (check_long): Likewise.
23908 (check_bool): Likewise.
23909 (check_longlong): Likewise.
23910 (lrint_test_data): Add tests of infinite and NaN arguments.
23911 (lrint_tonearest_test_data): Likewise.
23912 (lrint_towardzero_test_data): Likewise.
23913 (lrint_downward_test_data): Likewise.
23914 (lrint_upward_test_data): Likewise.
23915 (llrint_test_data): Likewise.
23916 (llrint_tonearest_test_data): Likewise.
23917 (llrint_towardzero_test_data): Likewise.
23918 (llrint_downward_test_data): Likewise.
23919 (llrint_upward_test_data): Likewise.
23920 (lround_test_data): Likewise.
23921 (llround_test_data): Likewise.
23923 * math/libm-test.inc (NO_TEST_INLINE): New macro.
23924 (ERRNO_UNCHANGED): Update value.
23925 (ERRNO_EDOM): Likewise.
23926 (ERRNO_ERANGE): Likewise.
23927 (NO_TEST_INLINE_FLOAT): New macro.
23928 (NO_TEST_INLINE_DOUBLE): Likewise.
23929 (enable_test): New function.
23930 (RUN_TEST_f_f): Check enable_test before running test.
23931 (RUN_TEST_2_f): Likewise.
23932 (RUN_TEST_fff_f): Likewise.
23933 (RUN_TEST_c_f): Likewise.
23934 (RUN_TEST_f_f1): Likewise.
23935 (RUN_TEST_fF_f1): Likewise.
23936 (RUN_TEST_fI_f1): Likewise.
23937 (RUN_TEST_ffI_f1): Likewise.
23938 (RUN_TEST_c_c): Likewise.
23939 (RUN_TEST_cc_c): Likewise.
23940 (RUN_TEST_f_i): Likewise.
23941 (RUN_TEST_f_i_tg): Likewise.
23942 (RUN_TEST_ff_i_tg): Likewise.
23943 (RUN_TEST_f_b): Likewise.
23944 (RUN_TEST_f_b_tg): Likewise.
23945 (RUN_TEST_f_l): Likewise.
23946 (RUN_TEST_f_L): Likewise.
23947 (RUN_TEST_fFF_11): Likewise.
23948 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
23950 (cosh_test_data): Likewise.
23951 (exp_test_data): Likewise.
23952 (expm1_test_data): Likewise.
23953 (hypot_test_data): Likewise.
23954 (pow_test_data): Likewise.
23955 (sinh_test_data): Likewise.
23956 (tanh_test_data): Likewise.
23957 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
23960 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
23961 tests with quiet NaN input and output.
23962 (acosh_test_data): Likewise.
23963 (asin_test_data): Likewise.
23964 (asinh_test_data): Likewise.
23965 (atan_test_data): Likewise.
23966 (atanh_test_data): Likewise.
23967 (atan2_test_data): Likewise.
23968 (cbrt_test_data): Likewise.
23969 (cos_test_data): Likewise.
23970 (cosh_test_data): Likewise.
23971 (erf_test_data): Likewise.
23972 (erfc_test_data): Likewise.
23973 (exp_test_data): Likewise.
23974 (exp10_test_data): Likewise.
23975 (exp2_test_data): Likewise.
23976 (expm1_test_data): Likewise.
23977 (hypot_test_data): Likewise.
23978 (j0_test_data): Likewise.
23979 (j1_test_data): Likewise.
23980 (jn_test_data): Likewise.
23981 (lgamma_test_data): Likewise.
23982 (log_test_data): Likewise.
23983 (log10_test_data): Likewise.
23984 (log1p_test_data): Likewise.
23985 (log2_test_data): Likewise.
23986 (pow_test_data): Likewise.
23987 (scalb_test_data): Likewise.
23988 (sin_test_data): Likewise.
23989 (sincos_test_data): Likewise.
23990 (sinh_test_data): Likewise.
23991 (tan_test_data): Likewise.
23992 (tanh_test_data): Likewise.
23993 (tgamma_test_data): Likewise.
23994 (y0_test_data): Likewise.
23995 (y1_test_data): Likewise.
23996 (yn_test_data): Likewise.
23999 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
24000 argument being NaN and avoid computations with second argument in
24002 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24003 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
24004 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24006 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
24008 * locale/iso-639.def: Add Chitwani Tharu (the).
24010 2013-11-14 Andreas Schwab <schwab@suse.de>
24012 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
24013 word instead of empty string.
24015 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24018 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
24019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24020 (__fe_nomask_env): Likewise.
24022 2013-11-13 Steve Ellcey <sellcey@mips.com>
24024 * benchtests/bench-timing.h: Include time.h.
24026 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
24029 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
24031 * sysdeps/unix/sysv/linux/configure: Regenerated.
24033 2013-11-13 Joseph Myers <joseph@codesourcery.com>
24036 * stdlib/strtod_l.c (round_and_return): Do not consider
24037 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
24038 exponent one less than half the least subnormal exponent.
24039 * stdlib/test-strtod-round-data: Add more tests.
24040 * stdlib/tst-strtod-round.c (tests): Regenerated.
24042 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24045 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
24046 (__fe_mask_env): Likewise.
24047 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
24048 libm_hidden_proto and add function prototype.
24049 (__fe_mask_env): Add function prototype.
24050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24051 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
24052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24053 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
24054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24055 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
24057 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24059 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
24060 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
24062 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24064 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
24065 of htab_find_slot().
24067 2013-11-11 David S. Miller <davem@davemloft.net>
24070 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
24071 symbol in the non-vis3 case in static builds.
24072 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
24073 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
24074 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
24075 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
24077 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
24080 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
24083 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24085 * benchtests/Makefile: Add bench-strtod.
24086 * benchtests/bench-strtod.c: New file: strtod benchtest
24088 2013-11-11 Andreas Schwab <schwab@suse.de>
24091 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
24092 terminating NUL in key length.
24094 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24096 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24097 Add artificial ODP entry for vDSO symbol for PPC64.
24098 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
24099 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
24101 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
24104 * nss/getent.c (services_keys): Recognize services starting with digit.
24106 2013-11-06 David S. Miller <davem@davemloft.net>
24109 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
24110 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
24112 2013-11-06 Will Newton <will.newton@linaro.org>
24114 * manual/memory.texi (Malloc Examples): Remove register
24115 keyword from examples.
24117 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
24119 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
24121 2013-11-04 Joseph Myers <joseph@codesourcery.com>
24124 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
24125 depending on [__GCC_IEC_559 > 0].
24126 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
24127 depending on [__GCC_IEC_559_COMPLEX > 0].
24129 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
24131 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
24134 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
24136 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
24138 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
24141 * malloc/malloc (malloc_info): Do not handle first bin as
24144 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
24146 * locale/iso-639.def: Add Central Nahuatl (nhn).
24148 2013-11-01 Bruno Haible <bruno@clisp.org>
24151 * manual/math.texi (BSD Random): Specify range upper bound as
24154 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
24156 * locale/iso-639.def: Add Meadow Mari (mhr).
24158 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
24160 [BZ #14752], [BZ #15763]
24161 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
24163 * rt/tst_shm.c: Add test for escaping directory.
24165 2013-10-31 Andreas Schwab <schwab@suse.de>
24168 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
24169 followed by 'x' as part of digit sequence.
24170 * stdio-common/tst-sscanf.c (double_tests2): New tests.
24172 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
24175 * configure.ac: allow GNU Make 4.0 and greater.
24176 * configure: Regenerated.
24178 2013-10-30 Will Newton <will.newton@linaro.org>
24181 * malloc/hooks.c (memalign_check): Limit alignment to the
24182 maximum representable power of two.
24183 * malloc/malloc.c (__libc_memalign): Likewise.
24184 * malloc/tst-memalign.c (do_test): Add test for very
24185 large alignment values.
24186 * malloc/tst-posix_memalign.c (do_test): Likewise.
24188 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
24191 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
24192 (munmap_chunk): Likewise.
24193 (mremap_chunk): Likewise.
24195 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
24198 * stdlib/div.c (div): Remove obsolete code.
24199 * stdlib/ldiv.c (ldiv): Likewise.
24200 * stdlib/lldiv.c (lldiv): Likewise.
24202 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24205 * nss/nss_files/files-XXX.c (get_contents_ret): New
24207 (get_contents): New function.
24208 (internal_getent): Use it. Expand size of LINEBUFLEN.
24210 2013-10-30 Mike Frysinger <vapier@gentoo.org>
24212 * configure.in: Moved to ...
24213 * configure.ac: ... here. Change reference to configure.in
24215 * sysdeps/arm/preconfigure.ac: ... here.
24216 configure.in to configure.ac.
24217 * sysdeps/gnu/configure.in: Moved to ...
24218 * sysdeps/gnu/configure.ac: ... here.
24219 * sysdeps/i386/configure.in: Moved to ...
24220 * sysdeps/i386/configure.ac: ... here.
24221 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
24222 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
24223 * sysdeps/mach/configure.in: Moved to ...
24224 * sysdeps/mach/configure.ac: ... here.
24225 * sysdeps/mach/hurd/configure.in: Moved to ...
24226 * sysdeps/mach/hurd/configure.ac: ... here.
24227 * sysdeps/powerpc/configure.in: Moved to ...
24228 * sysdeps/powerpc/configure.ac: ... here.
24229 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
24230 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
24231 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
24232 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
24233 * sysdeps/s390/s390-32/configure.in: Moved to ...
24234 * sysdeps/s390/s390-32/configure.ac: ... here.
24235 * sysdeps/s390/s390-64/configure.in: Moved to ...
24236 * sysdeps/s390/s390-64/configure.ac: ... here.
24237 * sysdeps/sh/configure.in: Moved to ...
24238 * sysdeps/sh/configure.ac: ... here.
24239 * sysdeps/sparc/configure.in: Moved to ...
24240 * sysdeps/sparc/configure.ac: ... here.
24241 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
24242 * sysdeps/unix/sysv/linux/configure.ac: ... here.
24243 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
24244 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
24245 * sysdeps/x86_64/configure.in: Moved to ...
24246 * sysdeps/x86_64/configure.ac: ... here.
24247 * sysdeps/x86_64/preconfigure.in: Moved to ...
24248 * sysdeps/x86_64/preconfigure.ac: ... here.
24249 * aclocal.m4: Change reference to configure.in to configure.ac.
24250 * config.h.in: Likewise.
24251 * manual/install.texi: Likewise.
24252 * manual/maint.texi: Likewise.
24253 * Makefile: Likewise.
24254 * malloc/Makefile: Likewise.
24255 * nscd/Makefile: Likewise.
24256 * Makeconfig: Change reference to configure.in and
24257 preconfigure.in to configure.ac and preconfigure.ac
24259 * INSTALL: Regenerated.
24260 * configure: Likewise.
24261 * sysdeps/gnu/configure: Likewise.
24262 * sysdeps/i386/configure: Likewise.
24263 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
24264 * sysdeps/mach/configure: Likewise.
24265 * sysdeps/mach/hurd/configure: Likewise.
24266 * sysdeps/powerpc/configure: Likewise.
24267 * sysdeps/powerpc/powerpc32/configure: Likewise.
24268 * sysdeps/powerpc/powerpc64/configure: Likewise.
24269 * sysdeps/s390/s390-32/configure: Likewise.
24270 * sysdeps/s390/s390-64/configure: Likewise.
24271 * sysdeps/sh/configure: Likewise.
24272 * sysdeps/sparc/configure: Likewise.
24273 * sysdeps/unix/sysv/linux/configure: Likewise.
24274 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
24275 * sysdeps/x86_64/configure: Likewise.
24276 * sysdeps/x86_64/preconfigure: Likewise.
24278 2013-10-29 Andreas Schwab <schwab@suse.de>
24280 * stdio-common/Makefile (tst-swscanf-ENV): Define.
24282 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24284 * benchtests/pow-inputs: Add new inputs.
24286 * benchtests/exp-inputs: Add new inputs.
24288 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
24289 conditional check for return value.
24290 (__cos32): Likewise.
24292 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24294 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
24295 to provide a boost for large inputs with word alignment.
24296 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
24297 implementation based on optimized PPC64 strcpy.
24298 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
24299 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
24300 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
24301 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
24303 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
24306 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
24308 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
24311 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
24312 * time/tst-strptime.c (day_tests): Add testcase.
24314 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
24317 * manual/pattern.texi: Acknowledge that fnmatch can fail.
24319 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
24322 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
24323 MAP_FAILED on error.
24325 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24328 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
24329 heap for large requests.
24331 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
24334 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
24335 result if the result has no associated interface.
24336 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
24337 interface for all 127.X.Y.Z addresses.
24339 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
24341 * locale/iso-639.def: Add Ligurian (lij)
24343 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
24346 * sunrpc/rpc_main.c: Document rpcgen -5.
24348 2013-10-19 Michael Stahl <mstahl@redhat.com>
24350 * elf/rtld.c (do_preload): Print the reason why preloading failed.
24352 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
24355 * posix/glob.c: Match only directories when trailing slash is present.
24356 * posix/tst-gnuglob.c (my_opendir): Do not open files.
24357 (main): Add testcase.
24359 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
24362 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
24364 2013-10-18 Carlos O'Donell <carlos@redhat.com>
24366 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
24367 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
24368 AUTH_DES and cindex for FIPS 140-2.
24369 (DES Encryption): Add cindex FIPS 46-3.
24371 * locale/locarchive.h (struct locarhandle): Add fname.
24372 * locale/programs/localedef.c (main): Pass ARGV[remaining]
24373 if an optional argument was specified to --list-archive,
24375 * locale/programs/locarchive.c (show_archive_content): Take new
24376 argument fname and pass it via ah.fname to open_archive.
24377 * locale/programs/localedef.h: Update decl.
24378 (open_archive): If AH->fname is non-null, open that file
24379 rather than the default file name, and don't ignore ENOENT.
24380 (create_archive): Set AH.fname to NULL.
24381 (delete_locales_from_archive): Likewise.
24382 (add_locales_to_archive): Likewise.
24383 * locale/programs/locfile.c (write_all_categories): Likewise.
24385 2013-10-18 Joseph Myers <joseph@codesourcery.com>
24386 Aldy Hernandez <aldyh@redhat.com>
24388 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
24389 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
24390 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
24391 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
24392 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
24393 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
24394 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
24395 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
24396 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
24397 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
24398 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
24399 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
24400 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
24401 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
24402 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
24404 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
24406 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
24408 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
24410 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
24411 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
24413 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
24414 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
24415 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
24416 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
24418 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
24419 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
24420 * sysdeps/powerpc/preconfigure: Likewise.
24421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
24423 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
24424 Replace contents of file by #include of <fenv_libc.h>.
24425 * sysdeps/powerpc/soft-fp/sfp-machine.h
24426 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
24428 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
24429 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
24430 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
24431 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
24432 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
24433 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
24434 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
24435 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
24436 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
24437 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
24438 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
24439 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
24440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24441 Allow copysignl PLT reference to be missing.
24443 2013-10-18 Richard Sandiford <richard@codesourcery.com>
24444 Joseph Myers <joseph@codesourcery.com
24447 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
24449 (add_to_tablewc): Assert sequence of wide characters is nonempty.
24451 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24453 * elf/tst-tls-dlinfo.c: Don't include tls.h.
24454 * elf/tst-tls1.c: Likewise.
24455 * elf/tst-tls10.h: Likewise.
24456 * elf/tst-tls14.c: Likewise.
24457 * elf/tst-tls2.c: Likewise.
24458 * elf/tst-tls3.c: Likewise.
24459 * elf/tst-tls4.c: Likewise.
24460 * elf/tst-tls5.c: Likewise.
24461 * elf/tst-tls6.c: Likewise.
24462 * elf/tst-tls7.c: Likewise.
24463 * elf/tst-tls8.c: Likewise.
24464 * elf/tst-tls9.c: Likewise.
24465 * elf/tst-tlsmod1.c: Likewise.
24466 * elf/tst-tlsmod13.c: Likewise.
24467 * elf/tst-tlsmod13a.c: Likewise.
24468 * elf/tst-tlsmod14a.c: Likewise.
24469 * elf/tst-tlsmod16a.c: Likewise.
24470 * elf/tst-tlsmod16b.c: Likewise.
24471 * elf/tst-tlsmod2.c: Likewise.
24472 * elf/tst-tlsmod3.c: Likewise.
24473 * elf/tst-tlsmod4.c: Likewise.
24474 * elf/tst-tlsmod5.c: Likewise.
24475 * elf/tst-tlsmod6.c: Likewise.
24477 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
24480 * malloc/malloc.c: remove checks for statistics.
24482 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
24485 * inet/inet_net.c (inet_network): Detect additional invalid strings.
24486 * inet/tst-network.c: Add testcase.
24488 2013-10-17 Andreas Schwab <schwab@suse.de>
24491 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
24492 to determine canonical name.
24494 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
24496 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
24497 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
24498 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24499 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24500 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24501 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24502 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24503 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24504 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
24505 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24506 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24507 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24508 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24509 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24510 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24511 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24512 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24513 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24514 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24515 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24516 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24517 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24518 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24519 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
24520 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
24521 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24522 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24523 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
24524 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24525 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
24526 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24527 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24528 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24529 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24530 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24531 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24532 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24533 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24534 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24535 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24536 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24537 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24538 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24539 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24540 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24541 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24542 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24543 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24544 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24545 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24546 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24547 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24548 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24549 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24550 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24551 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24552 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24553 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24555 2013-10-17 Joseph Myers <joseph@codesourcery.com>
24558 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
24559 make result into a quiet NaN.
24561 2013-10-16 Joseph Myers <joseph@codesourcery.com>
24563 * soft-fp/adddf3.c: Fix horizontal whitespace.
24564 * soft-fp/addsf3.c: Likewise.
24565 * soft-fp/addtf3.c: Likewise.
24566 * soft-fp/divdf3.c: Likewise.
24567 * soft-fp/divsf3.c: Likewise.
24568 * soft-fp/divtf3.c: Likewise.
24569 * soft-fp/double.h: Likewise.
24570 * soft-fp/eqdf2.c: Likewise.
24571 * soft-fp/eqsf2.c: Likewise.
24572 * soft-fp/eqtf2.c: Likewise.
24573 * soft-fp/extenddftf2.c: Likewise.
24574 * soft-fp/extended.h: Likewise.
24575 * soft-fp/extendsfdf2.c: Likewise.
24576 * soft-fp/extendsftf2.c: Likewise.
24577 * soft-fp/extendxftf2.c: Likewise.
24578 * soft-fp/fixdfdi.c: Likewise.
24579 * soft-fp/fixdfsi.c: Likewise.
24580 * soft-fp/fixdfti.c: Likewise.
24581 * soft-fp/fixsfdi.c: Likewise.
24582 * soft-fp/fixsfsi.c: Likewise.
24583 * soft-fp/fixsfti.c: Likewise.
24584 * soft-fp/fixtfdi.c: Likewise.
24585 * soft-fp/fixtfsi.c: Likewise.
24586 * soft-fp/fixtfti.c: Likewise.
24587 * soft-fp/fixunsdfdi.c: Likewise.
24588 * soft-fp/fixunsdfsi.c: Likewise.
24589 * soft-fp/fixunsdfti.c: Likewise.
24590 * soft-fp/fixunssfdi.c: Likewise.
24591 * soft-fp/fixunssfsi.c: Likewise.
24592 * soft-fp/fixunssfti.c: Likewise.
24593 * soft-fp/fixunstfdi.c: Likewise.
24594 * soft-fp/fixunstfsi.c: Likewise.
24595 * soft-fp/fixunstfti.c: Likewise.
24596 * soft-fp/floatdidf.c: Likewise.
24597 * soft-fp/floatdisf.c: Likewise.
24598 * soft-fp/floatditf.c: Likewise.
24599 * soft-fp/floatsidf.c: Likewise.
24600 * soft-fp/floatsisf.c: Likewise.
24601 * soft-fp/floatsitf.c: Likewise.
24602 * soft-fp/floattidf.c: Likewise.
24603 * soft-fp/floattisf.c: Likewise.
24604 * soft-fp/floattitf.c: Likewise.
24605 * soft-fp/floatundidf.c: Likewise.
24606 * soft-fp/floatundisf.c: Likewise.
24607 * soft-fp/floatunditf.c: Likewise.
24608 * soft-fp/floatunsidf.c: Likewise.
24609 * soft-fp/floatunsisf.c: Likewise.
24610 * soft-fp/floatunsitf.c: Likewise.
24611 * soft-fp/floatuntidf.c: Likewise.
24612 * soft-fp/floatuntisf.c: Likewise.
24613 * soft-fp/floatuntitf.c: Likewise.
24614 * soft-fp/fmadf4.c: Likewise.
24615 * soft-fp/fmasf4.c: Likewise.
24616 * soft-fp/fmatf4.c: Likewise.
24617 * soft-fp/gedf2.c: Likewise.
24618 * soft-fp/gesf2.c: Likewise.
24619 * soft-fp/getf2.c: Likewise.
24620 * soft-fp/ledf2.c: Likewise.
24621 * soft-fp/lesf2.c: Likewise.
24622 * soft-fp/letf2.c: Likewise.
24623 * soft-fp/muldf3.c: Likewise.
24624 * soft-fp/mulsf3.c: Likewise.
24625 * soft-fp/multf3.c: Likewise.
24626 * soft-fp/negdf2.c: Likewise.
24627 * soft-fp/negsf2.c: Likewise.
24628 * soft-fp/negtf2.c: Likewise.
24629 * soft-fp/op-1.h: Likewise.
24630 * soft-fp/op-2.h: Likewise.
24631 * soft-fp/op-4.h: Likewise.
24632 * soft-fp/op-8.h: Likewise.
24633 * soft-fp/op-common.h: Likewise.
24634 * soft-fp/quad.h: Likewise.
24635 * soft-fp/single.h: Likewise.
24636 * soft-fp/soft-fp.h: Likewise.
24637 * soft-fp/sqrtdf2.c: Likewise.
24638 * soft-fp/sqrtsf2.c: Likewise.
24639 * soft-fp/sqrttf2.c: Likewise.
24640 * soft-fp/subdf3.c: Likewise.
24641 * soft-fp/subsf3.c: Likewise.
24642 * soft-fp/subtf3.c: Likewise.
24643 * soft-fp/truncdfsf2.c: Likewise.
24644 * soft-fp/trunctfdf2.c: Likewise.
24645 * soft-fp/trunctfsf2.c: Likewise.
24646 * soft-fp/trunctfxf2.c: Likewise.
24647 * soft-fp/unorddf2.c: Likewise.
24648 * soft-fp/unordsf2.c: Likewise.
24649 * soft-fp/unordtf2.c: Likewise.
24651 2013-10-15 Joseph Myers <joseph@codesourcery.com>
24653 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
24654 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
24656 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
24658 * elf/dl-libc.c: Clear initfini list after freeing.
24660 2013-10-14 Joseph Myers <joseph@codesourcery.com>
24662 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
24663 * soft-fp/addsf3.c: Likewise.
24664 * soft-fp/addtf3.c: Likewise.
24665 * soft-fp/divdf3.c: Likewise.
24666 * soft-fp/divsf3.c: Likewise.
24667 * soft-fp/divtf3.c: Likewise.
24668 * soft-fp/double.h: Likewise.
24669 * soft-fp/eqdf2.c: Likewise.
24670 * soft-fp/eqsf2.c: Likewise.
24671 * soft-fp/eqtf2.c: Likewise.
24672 * soft-fp/extenddftf2.c: Likewise.
24673 * soft-fp/extended.h: Likewise.
24674 * soft-fp/extendsfdf2.c: Likewise.
24675 * soft-fp/extendsftf2.c: Likewise.
24676 * soft-fp/extendxftf2.c: Likewise.
24677 * soft-fp/fixdfdi.c: Likewise.
24678 * soft-fp/fixdfsi.c: Likewise.
24679 * soft-fp/fixdfti.c: Likewise.
24680 * soft-fp/fixsfdi.c: Likewise.
24681 * soft-fp/fixsfsi.c: Likewise.
24682 * soft-fp/fixsfti.c: Likewise.
24683 * soft-fp/fixtfdi.c: Likewise.
24684 * soft-fp/fixtfsi.c: Likewise.
24685 * soft-fp/fixtfti.c: Likewise.
24686 * soft-fp/fixunsdfdi.c: Likewise.
24687 * soft-fp/fixunsdfsi.c: Likewise.
24688 * soft-fp/fixunsdfti.c: Likewise.
24689 * soft-fp/fixunssfdi.c: Likewise.
24690 * soft-fp/fixunssfsi.c: Likewise.
24691 * soft-fp/fixunssfti.c: Likewise.
24692 * soft-fp/fixunstfdi.c: Likewise.
24693 * soft-fp/fixunstfsi.c: Likewise.
24694 * soft-fp/fixunstfti.c: Likewise.
24695 * soft-fp/floatdidf.c: Likewise.
24696 * soft-fp/floatdisf.c: Likewise.
24697 * soft-fp/floatditf.c: Likewise.
24698 * soft-fp/floatsidf.c: Likewise.
24699 * soft-fp/floatsisf.c: Likewise.
24700 * soft-fp/floatsitf.c: Likewise.
24701 * soft-fp/floattidf.c: Likewise.
24702 * soft-fp/floattisf.c: Likewise.
24703 * soft-fp/floattitf.c: Likewise.
24704 * soft-fp/floatundidf.c: Likewise.
24705 * soft-fp/floatundisf.c: Likewise.
24706 * soft-fp/floatunsidf.c: Likewise.
24707 * soft-fp/floatunsisf.c: Likewise.
24708 * soft-fp/floatuntidf.c: Likewise.
24709 * soft-fp/floatuntisf.c: Likewise.
24710 * soft-fp/floatuntitf.c: Likewise.
24711 * soft-fp/fmadf4.c: Likewise.
24712 * soft-fp/fmasf4.c: Likewise.
24713 * soft-fp/fmatf4.c: Likewise.
24714 * soft-fp/gedf2.c: Likewise.
24715 * soft-fp/gesf2.c: Likewise.
24716 * soft-fp/getf2.c: Likewise.
24717 * soft-fp/ledf2.c: Likewise.
24718 * soft-fp/lesf2.c: Likewise.
24719 * soft-fp/letf2.c: Likewise.
24720 * soft-fp/muldf3.c: Likewise.
24721 * soft-fp/mulsf3.c: Likewise.
24722 * soft-fp/multf3.c: Likewise.
24723 * soft-fp/negdf2.c: Likewise.
24724 * soft-fp/negsf2.c: Likewise.
24725 * soft-fp/negtf2.c: Likewise.
24726 * soft-fp/op-1.h: Likewise.
24727 * soft-fp/op-2.h: Likewise.
24728 * soft-fp/op-4.h: Likewise.
24729 * soft-fp/op-8.h: Likewise.
24730 * soft-fp/op-common.h: Likewise.
24731 * soft-fp/quad.h: Likewise.
24732 * soft-fp/single.h: Likewise.
24733 * soft-fp/soft-fp.h: Likewise.
24734 * soft-fp/sqrtdf2.c: Likewise.
24735 * soft-fp/sqrtsf2.c: Likewise.
24736 * soft-fp/sqrttf2.c: Likewise.
24737 * soft-fp/subdf3.c: Likewise.
24738 * soft-fp/subsf3.c: Likewise.
24739 * soft-fp/subtf3.c: Likewise.
24740 * soft-fp/truncdfsf2.c: Likewise.
24741 * soft-fp/trunctfdf2.c: Likewise.
24742 * soft-fp/trunctfsf2.c: Likewise.
24743 * soft-fp/trunctfxf2.c: Likewise.
24744 * soft-fp/unorddf2.c: Likewise.
24745 * soft-fp/unordsf2.c: Likewise.
24746 * soft-fp/unordtf2.c: Likewise.
24748 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
24751 * misc/error.c (error_tail): Fix possible buffer overflow.
24753 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
24756 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
24759 2013-10-14 P. J. McDermott <pj@pehjota.net>
24762 * elf/ldd.bash.in (try_trace): New function. Delete previous code
24763 testing pipefail option.
24765 2013-10-12 Joseph Myers <joseph@codesourcery.com>
24767 * soft-fp/double.h: Indent preprocessor directives inside #if.
24768 * soft-fp/extended.h: Likewise.
24769 * soft-fp/op-2.h: Likewise.
24770 * soft-fp/op-4.h: Likewise.
24771 * soft-fp/op-common.h: Likewise.
24772 * soft-fp/quad.h: Likewise.
24773 * soft-fp/single.h: Likewise.
24774 * soft-fp/soft-fp.h: Likewise.
24776 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
24778 * iconv/iconv_prog.c: Fix typos.
24779 * stdio-common/psiginfo-data.h: Likewise.
24781 2013-10-12 Reuben Thomas <rrt@sc3d.org>
24784 * locale/setlocale.c: Fix typo.
24786 2013-10-12 Joseph Myers <joseph@codesourcery.com>
24789 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
24790 signaling NaN arguments.
24791 * soft-fp/unordsf2.c (__unordsf2): Likewise.
24792 * soft-fp/unordtf2.c (__unordtf2): Likewise.
24795 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
24796 unordered operands.
24797 * soft-fp/gesf2.c (__gesf2): Likewise.
24798 * soft-fp/getf2.c (__getf2): Likewise.
24799 * soft-fp/ledf2.c (__ledf2): Likewise.
24800 * soft-fp/lesf2.c (__lesf2): Likewise.
24801 * soft-fp/letf2.c (__letf2): Likewise.
24803 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
24804 * soft-fp/eqsf2.c (__eqsf2): Likewise.
24805 * soft-fp/eqtf2.c (__eqtf2): Likewise.
24806 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
24807 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
24808 * soft-fp/fixdfti.c (__fixdfti): Likewise.
24809 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
24810 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
24811 * soft-fp/fixsfti.c (__fixsfti): Likewise.
24812 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
24813 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
24814 * soft-fp/fixtfti.c (__fixtfti): Likewise.
24815 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
24816 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
24817 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
24818 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
24819 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
24820 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
24821 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
24822 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
24823 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
24824 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
24825 * soft-fp/floatdisf.c (__floatdisf): Likewise.
24826 * soft-fp/floatsisf.c (__floatsisf): Likewise.
24827 * soft-fp/floattidf.c (__floattidf): Likewise.
24828 * soft-fp/floattisf.c (__floattisf): Likewise.
24829 * soft-fp/floattitf.c (__floattitf): Likewise.
24830 * soft-fp/floatundidf.c (__floatundidf): Likewise.
24831 * soft-fp/floatundisf.c (__floatundisf): Likewise.
24832 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
24833 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
24834 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
24835 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
24836 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
24837 * soft-fp/gesf2.c (__gesf2): Likewise.
24838 * soft-fp/getf2.c (__getf2): Likewise.
24839 * soft-fp/ledf2.c (__ledf2): Likewise.
24840 * soft-fp/lesf2.c (__lesf2): Likewise.
24841 * soft-fp/letf2.c (__letf2): Likewise.
24843 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
24844 Undefine and redefine.
24845 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
24846 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
24847 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
24848 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
24849 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24850 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
24851 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24852 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
24853 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24854 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
24855 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24856 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
24857 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24858 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
24859 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24862 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
24863 without decrementing exponent if mantissa >= that for the
24864 denominator, not >.
24865 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
24866 denominator, not >. Decrement exponent in < case instead of
24867 incrementing in >= case.
24868 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
24869 without decrementing exponent if mantissa >= that for the
24870 denominator, not >.
24872 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
24873 computing saturated result for unsigned overflow.
24875 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24876 Jeff Law <law@redhat.com>
24878 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
24879 (atan2Mp): Add systemtap probe marker.
24880 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
24881 (__ieee754_log): Add systemtap probe marker.
24882 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
24883 (atanMp): Add systemtap probe marker.
24884 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
24885 (tanMp): Add systemtap probe marker.
24886 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
24887 (__slowexp): Add systemtap probe marker.
24888 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
24889 (__slowpow): Add systemtap probe marker.
24890 * manual/probes.texi: Document probes.
24892 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
24895 * libio/fileops.c (_IO_new_file_write): Return count of bytes
24897 (_IO_new_file_xsputn): Don't return EOF if nothing has been
24899 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
24900 written to buffer but not flushed.
24901 * libio/iofwrite_u.c: Likewise.
24902 * libio/iopadn.c: Return bytes returned even if EOF was
24904 * libio/iowpadn.c: Likewise.
24905 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
24906 if _IO_padn does not write the whole buffer.
24907 [!COMPILE_WPRINTF] (PAD): Likewise.
24909 2013-10-10 David S. Miller <davem@davemloft.net>
24911 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
24914 2013-10-10 Joseph Myers <joseph@codesourcery.com>
24916 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
24917 instead of FSF address.
24918 * soft-fp/fixdfti.c: Likewise.
24919 * soft-fp/fixsfti.c: Likewise.
24920 * soft-fp/fixtfti.c: Likewise.
24921 * soft-fp/fixunsdfti.c: Likewise.
24922 * soft-fp/fixunssfti.c: Likewise.
24923 * soft-fp/fixunstfti.c: Likewise.
24924 * soft-fp/floattidf.c: Likewise.
24925 * soft-fp/floattisf.c: Likewise.
24926 * soft-fp/floattitf.c: Likewise.
24927 * soft-fp/floatuntidf.c: Likewise.
24928 * soft-fp/floatuntisf.c: Likewise.
24929 * soft-fp/floatuntitf.c: Likewise.
24930 * soft-fp/trunctfxf2.c: Likewise.
24932 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
24933 * soft-fp/fixdfti.c: Likewise.
24934 * soft-fp/fixsfti.c: Likewise.
24935 * soft-fp/fixtfti.c: Likewise.
24936 * soft-fp/fixunsdfti.c: Likewise.
24937 * soft-fp/fixunssfti.c: Likewise.
24938 * soft-fp/fixunstfti.c: Likewise.
24939 * soft-fp/floattidf.c: Likewise.
24940 * soft-fp/floattisf.c: Likewise.
24941 * soft-fp/floattitf.c: Likewise.
24942 * soft-fp/floatuntidf.c: Likewise.
24943 * soft-fp/floatuntisf.c: Likewise.
24944 * soft-fp/floatuntitf.c: Likewise.
24945 * soft-fp/trunctfxf2.c: Likewise.
24947 2013-10-10 David S. Miller <davem@davemloft.net>
24949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24951 2013-10-10 Joseph Myers <joseph@codsourcery.com>
24953 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24954 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
24955 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
24956 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
24957 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
24958 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
24959 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
24961 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
24962 for NaNs before doing comparisons on argument.
24963 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24966 2013-10-10 Will Newton <will.newton@linaro.org>
24968 * malloc/hooks.c (memalign_check): Ensure the value of bytes
24969 passed to _int_memalign does not overflow.
24971 2013-10-10 Torvald Riegel <triegel@redhat.com>
24973 * scripts/bench.pl: Add include-sources directive.
24974 * benchtests/README: Update documentation.
24976 2013-10-10 Joseph Myers <joseph@codesourcery.com>
24978 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24979 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24980 instead of FP_INIT_ROUNDMODE.
24981 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24982 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24985 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
24986 copy class of input value.
24987 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
24988 not handle exceptions.
24989 * soft-fp/negsf2.c (__negsf2): Likewise.
24990 * soft-fp/negtf2.c (__negtf2): Likewise.
24991 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24993 2013-10-09 Joseph Myers <joseph@codesourcery.com>
24995 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24996 semicolon. From Linux kernel.
24998 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
25000 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
25002 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
25005 * manual/socket.texi: Added statement about buffer
25006 for gethostbyname2_r.
25008 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
25010 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
25011 Use .p2align directive instead, throughout.
25012 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25013 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
25014 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
25015 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25016 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25017 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
25018 * sysdeps/x86_64/strchr.S: Likewise.
25019 * sysdeps/x86_64/strrchr.S: Likewise.
25021 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25023 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
25025 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
25027 * sysdeps/generic/math_private.h (__mpsin1): Remove
25029 (__mpcos1): Likewise.
25030 (__mpsin): New argument __range_reduce.
25031 (__mpcos): Likewise.
25032 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25033 (slow): Use __mpsin and __mpcos.
25037 (sloww1): Likewise.
25038 (sloww2): Likewise.
25039 (bsloww): Likewise.
25040 (bsloww1): Likewise.
25041 (bsloww2): Likewise.
25042 (cslow2): Likewise.
25043 (csloww): Likewise.
25044 (csloww1): Likewise.
25045 (csloww2): Likewise.
25046 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
25047 range_reduce. Merge in __mpsin1.
25048 (__mpcos): Likewise.
25049 (__mpsin1): Remove.
25050 (__mpcos1): Likewise.
25052 2013-10-07 Joseph Myers <joseph@codesourcery.com>
25054 * locale/loadlocale.c (_nl_intern_locale_data): Use
25056 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
25057 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
25058 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
25059 obstack data is appropriately aligned.
25060 (obstack_int32_grow_fast): Likewise.
25061 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
25062 * locale/programs/locfile.c (add_locale_uint32): Likewise.
25063 (add_locale_uint32_array): Likewise.
25065 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25067 * benchtests/Makefile: Remove ARGLIST and RET variables.
25068 ($(objpfx)bench-%.c): Pass only function name to the script.
25069 * benchtests/README: Update documentation.
25070 * benchtests/acos-inputs: Add new directives.
25071 * benchtests/acosh-inputs: Likewise.
25072 * benchtests/asin-inputs: Likewise.
25073 * benchtests/asinh-inputs: Likewise.
25074 * benchtests/atan-inputs: Likewise.
25075 * benchtests/atanh-inputs: Likewise.
25076 * benchtests/cos-inputs: Likewise.
25077 * benchtests/cosh-inputs: Likewise.
25078 * benchtests/exp-inputs: Likewise.
25079 * benchtests/log-inputs: Likewise.
25080 * benchtests/pow-inputs: Likewise.
25081 * benchtests/rint-inputs: Likewise.
25082 * benchtests/sin-inputs: Likewise.
25083 * benchtests/sinh-inputs: Likewise.
25084 * benchtests/tan-inputs: Likewise.
25085 * benchtests/tanh-inputs: Likewise.
25086 * scripts/bench.pl: Add support for new directives.
25088 2013-10-07 Alan Modra <amodra@gmail.com>
25090 * README: Fix careless merge.
25092 2013-10-05 Alan Modra <amodra@gmail.com>
25094 * NEWS: Mention powerpc64le support and bugs fixed.
25095 * README: Both big-endian and little-endian powerpc64 supported.
25097 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25099 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
25100 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
25101 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
25102 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
25104 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
25106 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
25109 2013-10-04 Joseph Myers <joseph@codesourcery.com>
25111 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
25112 Move -mhard-float appending from
25113 ports/sysdeps/powerpc/powerpc32/Makefile.
25114 [$(with-fp) = yes] (ASFLAGS): Likewise.
25115 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
25116 * sysdeps/powerpc/nofpu: Move directory from
25117 ports/sysdeps/powerpc/nofpu.
25118 * sysdeps/powerpc/soft-fp: Move directory from
25119 ports/sysdeps/powerpc/soft-fp.
25120 * sysdeps/powerpc/powerpc32/405: Move directory from
25121 ports/sysdeps/powerpc/powerpc32/405.
25122 * sysdeps/powerpc/powerpc32/440: Move directory from
25123 ports/sysdeps/powerpc/powerpc32/440.
25124 * sysdeps/powerpc/powerpc32/464: Move directory from
25125 ports/sysdeps/powerpc/powerpc32/464.
25126 * sysdeps/powerpc/powerpc32/476: Move directory from
25127 ports/sysdeps/powerpc/powerpc32/476.
25128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
25129 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
25130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
25131 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
25132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
25133 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
25134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
25135 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
25136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
25137 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
25138 * README: Update for powerpc-*-linux-gnu software floating point
25141 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
25142 case to powerpc/powerpc32*.
25143 * sysdeps/unix/sysv/linux/configure: Regenerated.
25145 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
25146 (_FPU_MASK_OM): Define as 0x04.
25147 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
25148 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
25150 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
25152 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
25154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
25155 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
25157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
25158 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
25160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
25161 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
25162 and setcontext_e500.
25164 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
25166 * locale/iso-3166.def: Update iso-1366.def and related occurrences
25168 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25170 * manual/threads.texi (Default Thread Attributes): Fix typo.
25172 2013-10-04 Will Newton <will.newton@linaro.org>
25174 * malloc/Makefile: Add tst-memalign.
25175 * malloc/tst-memalign.c: New file.
25177 * malloc/tst-posix_memalign.c: Add comments.
25178 (do_test): Add comments and call free on all potentially
25179 allocated pointers. Add space after cast.
25181 * malloc/tst-pvalloc.c: Add comments.
25182 (do_test): Add comments and call free on all potentially
25183 allocated pointers. Remove duplicate check for NULL pointer.
25184 Add space after cast.
25186 * malloc/tst-valloc.c: Add comments.
25187 (do_test): Add comments and call free on all potentially
25188 allocated pointers. Remove duplicate check for NULL pointer.
25189 Add space after cast.
25191 2013-10-04 Alan Modra <amodra@gmail.com>
25193 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25194 Use stdint types in rather than __attribute__((mode())).
25195 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25197 2013-10-04 Alan Modra <amodra@gmail.com>
25199 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25200 Correct handling of unaligned relocs for little-endian.
25201 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25203 2013-10-04 Alan Modra <amodra@gmail.com>
25205 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
25206 * configure: Regenerate.
25207 * nptl/shlib-versions: Powerpc*le starts at 2.18.
25208 * shlib-versions: Likewise.
25210 2013-10-04 Alan Modra <amodra@gmail.com>
25212 * string/tester.c (test_memrchr): Increment reported test cycle.
25214 2013-10-04 Alan Modra <amodra@gmail.com>
25216 * string/test-memcpy.c (do_one_test): When reporting errors, print
25217 string address and don't overrun end of string.
25219 2013-10-04 Alan Modra <amodra@gmail.com>
25221 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
25222 insrdi. Make better use of reg selection to speed exit slightly.
25223 Schedule entry path a little better. Remove useless "are we done"
25224 checks on entry to main loop. Handle wrapping around zero address.
25225 Correct main loop count. Handle single left-over word from main
25226 loop inline rather than by using loop_small. Remove extra word
25227 case in loop_small caused by wrong loop count. Add little-endian
25229 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25230 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
25232 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25233 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
25234 support. Avoid rlwimi.
25235 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
25237 2013-10-04 Alan Modra <amodra@gmail.com>
25239 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
25240 insrdi. Formatting.
25241 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
25242 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25243 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
25244 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25245 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25246 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
25248 2013-10-04 Alan Modra <amodra@gmail.com>
25250 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
25251 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25252 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
25253 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
25254 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25255 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25256 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25257 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
25258 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
25259 use of regs. Use power7 mtocrf. Tidy function tails.
25261 2013-10-04 Alan Modra <amodra@gmail.com>
25263 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
25264 Formatting. Consistently use rXXX register defines or rN defines.
25265 Use early exit labels that avoid restoring unused non-volatile regs.
25266 Make cr field use more consistent with rWORDn compares. Rename
25267 regs used as shift registers for unaligned loop, using rN defines
25268 for short lifetime/multiple use regs.
25269 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25270 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
25271 addi 1,1,64 to pop stack frame. Simplify return value code.
25272 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25274 2013-10-04 Alan Modra <amodra@gmail.com>
25276 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
25277 support. Correct typos, formatting. Optimize tail. Use insrdi
25278 rather than rlwimi.
25279 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
25280 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
25281 little-endian support. Correct typos.
25282 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
25283 rather than rlwimi.
25284 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
25285 in loop and entry code to keep "and." results.
25286 (strchr): Add little-endian support. Comment. Move cntlzd
25288 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
25290 2013-10-04 Alan Modra <amodra@gmail.com>
25292 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
25293 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
25294 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
25295 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
25297 2013-10-04 Alan Modra <amodra@gmail.com>
25299 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
25300 (rTMP): Define as r11.
25301 (strcmp): Add little-endian support. Optimise tail.
25302 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
25303 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25304 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25305 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25306 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25307 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25308 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25310 2013-10-04 Alan Modra <amodra@gmail.com>
25312 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
25313 little-endian support. Remove unnecessary "are we done" tests.
25314 Handle "s" wrapping around zero and extremely large "size".
25315 Correct main loop count. Handle single left-over word from main
25316 loop inline rather than by using small_loop. Correct comments.
25317 Delete "zero" tail, use "end_max" instead.
25318 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
25320 2013-10-04 Alan Modra <amodra@gmail.com>
25322 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
25323 support. Don't branch over align.
25324 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
25325 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
25326 support. Rearrange tmp reg use to suit. Comment.
25327 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
25329 2013-10-04 Alan Modra <amodra@gmail.com>
25331 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
25333 2013-10-04 Alan Modra <amodra@gmail.com>
25335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
25336 conditional form of branch and link when obtaining pc.
25337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25339 2013-10-04 Alan Modra <amodra@gmail.com>
25341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
25343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
25344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
25346 2013-10-04 Alan Modra <amodra@gmail.com>
25348 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
25349 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
25350 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
25351 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
25352 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25353 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25354 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
25355 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25356 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
25357 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
25359 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
25360 Alistair Popple <alistair@ozlabs.au.ibm.com>
25361 Alan Modra <amodra@gmail.com>
25364 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
25365 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
25366 _dl_hwcap access for little-endian.
25367 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
25368 destroy vmx regs when saving unaligned.
25369 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
25370 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
25371 destroy vmx regs when saving unaligned.
25373 2013-10-04 Alan Modra <amodra@gmail.com>
25375 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
25376 Don't use a union to pack hi/low value.
25378 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
25380 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
25382 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25383 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
25384 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25385 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25386 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25388 2013-10-04 Alan Modra <amodra@gmail.com>
25390 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
25391 constants to usual value for .cst8 section, and remove redundant
25393 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
25394 constant for 0x1p52. Load little-endian words of double from
25395 correct stack offsets.
25397 2013-10-04 Alan Modra <amodra@gmail.com>
25399 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
25400 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
25401 words of double from correct stack offsets.
25402 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
25403 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
25404 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25405 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25406 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25407 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25408 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25409 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
25410 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
25411 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25412 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25413 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25414 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25415 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25416 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25417 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
25418 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
25420 2013-10-04 Alan Modra <amodra@gmail.com>
25422 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
25423 64-bit int/double union.
25424 (_FPU_SETCW): Likewise.
25425 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
25426 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
25428 2013-10-04 Alan Modra <amodra@gmail.com>
25430 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
25431 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
25433 2013-10-04 Alan Modra <amodra@gmail.com>
25435 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
25436 use vector int constants.
25437 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
25439 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
25441 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
25442 array with long long.
25443 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
25444 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
25445 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
25446 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
25447 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
25448 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
25449 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
25450 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
25451 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
25452 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
25453 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
25454 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
25455 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
25457 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
25459 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
25460 (__signbit): Likewise. Correct for little-endian.
25461 (__signbitl): Call __signbit.
25462 (lrint): Correct for little-endian.
25463 (lrintf): Call lrint.
25465 2013-10-04 Alan Modra <amodra@gmail.com>
25467 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
25468 union 32-bit int array member with 64-bit int array.
25469 (t515, tm256): Double rather than long double.
25470 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
25472 2013-10-04 Alan Modra <amodra@gmail.com>
25474 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
25476 (IEEE854_LONG_DOUBLE_BIAS): Delete.
25477 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
25478 version of math_ldbl.h.
25480 2013-10-04 Alan Modra <amodra@gmail.com>
25482 [BZ #15734], [BZ #15735]
25483 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
25484 all uses of ieee875 long double macros and unions. Simplify test
25485 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
25486 ldbl_extract_mantissa value for ix,iy exponents. Properly
25487 normalize after ldbl_extract_mantissa, and don't add hidden bit
25488 already handled. Don't treat low word of ieee854 mantissa like
25489 low word of IBM long double and mask off bit when testing for
25491 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
25492 all uses of ieee875 long double macros and unions. Simplify tests
25493 for 0.0L and inf. Correct double adjustment of k. Delete dead code
25494 adjusting ha,hb. Simplify code setting kld. Delete two600 and
25495 two1022, instead use their values. Recognise that tests for large
25496 "a" and small "b" are mutually exclusive. Rename vars. Comment.
25497 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
25498 Rewrite all uses of ieee875 long double macros and unions. Simplify
25499 test for 0.0L and nan. Correct negation.
25500 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
25501 ieee875 long double macros and unions. Correct output for large
25502 magnitude x. Correct absolute value calculation.
25503 (__erfcl): Likewise.
25504 * math/libm-test.inc: Add tests for errors discovered in IBM long
25505 double versions of fmodl, remainderl, erfl and erfcl.
25507 2013-10-04 Alan Modra <amodra@gmail.com>
25509 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
25510 all uses of ieee854 long double macros and unions. Simplify tests
25511 for long doubles that are fully specified by the high double.
25512 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25514 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
25515 Remove dead code too.
25516 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25517 (__ieee754_ynl): Likewise.
25518 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
25519 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
25520 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
25521 Remove dead code too.
25522 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
25523 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
25524 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
25525 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
25527 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
25529 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
25530 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
25531 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
25532 Comment on variable precision.
25533 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
25534 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25536 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25537 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25538 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25539 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
25540 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
25542 2013-10-04 Alan Modra <amodra@gmail.com>
25544 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
25545 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
25546 all uses of ieee854 long double macros and unions.
25547 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
25548 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25549 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
25550 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
25551 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
25552 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25554 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
25555 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25556 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
25557 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25558 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
25559 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
25560 Simplify sign and nan test too.
25561 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
25562 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
25563 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
25564 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
25566 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25567 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
25569 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25570 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
25571 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
25572 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
25573 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
25574 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
25576 2013-10-04 Alan Modra <amodra@gmail.com>
25578 * stdio-common/printf_size.c (__printf_size): Don't use
25579 union ieee854_long_double in fpnum union.
25580 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
25581 signbit macro to retrieve sign from long double.
25582 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
25583 retrieve sign from long double.
25584 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
25585 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
25586 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
25587 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25588 * math/test-misc.c (main): Don't use union ieee854_long_double.
25590 2013-10-04 Alan Modra <amodra@gmail.com>
25593 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
25594 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
25595 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
25596 calculation. Remove unnecessary test for denormal exponent.
25597 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
25598 Correct handling of denormals. Avoid undefined shift behaviour.
25599 Correct normalisation of low mantissa when low double is denormal.
25600 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
25601 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
25602 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
25603 Correct normalisation of low mantissa. Test for overflow of high
25604 mantissa and normalise.
25605 (ldbl_nearbyint): Use more readable constant for two52.
25606 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
25607 (__mpn_construct_long_double): Fix test for overflow of high
25608 mantissa and correct normalisation. Avoid undefined shift.
25610 2013-10-04 Alan Modra <amodra@gmail.com>
25612 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25613 (union ibm_extended_long_double): Define as an array of ieee754_double.
25614 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
25615 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
25616 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
25617 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25618 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25619 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
25620 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25621 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25622 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25623 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
25624 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25626 2013-10-03 Joseph Myers <joseph@codesourcery.com>
25628 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
25629 page size instead of calling getpagesize.
25631 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
25632 (LOCFILE_ALIGN_MASK): Likewise.
25633 (LOCFILE_ALIGN_UP): Likewise.
25634 (LOCFILE_ALIGNED_P): Likewise.
25635 * locale/programs/ld-collate.c (collate_output): Use the new
25636 macros instead of __alignof__ (int32_t).
25637 * locale/weight.h (findidx): Likewise.
25639 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
25642 * manual/string.texi: Fix strncat and wcsncat.
25644 2013-10-03 Brooks Moses <bmoses@google.com>
25647 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
25648 * Makerules: ...here, and adjust associated comments.
25650 2013-10-02 Will Newton <will.newton@linaro.org>
25652 * malloc/Makefile: Add tst-pvalloc.
25653 * malloc/tst-pvalloc.c: New file.
25655 2013-10-02 Will Newton <will.newton@linaro.org>
25657 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
25658 improve test coverage.
25660 2013-10-02 Will Newton <will.newton@linaro.org>
25662 * malloc/Makefile: Add tst-posix_memalign.
25663 * malloc/tst-posix_memalign.c: New file.
25665 2013-10-01 Eric Blake <eblake@redhat.com>
25667 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
25668 Use __THROWNL rather than __THROW on static functions.
25670 2013-09-30 Petr Machata <pmachata@redhat.com>
25672 * elf/elf.h (R_AARCH64_ABS16): New macro.
25673 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
25674 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
25675 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
25676 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
25677 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
25678 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
25679 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
25680 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
25681 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
25682 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
25683 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
25684 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
25685 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
25686 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
25687 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
25688 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
25689 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
25690 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
25691 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
25692 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
25693 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
25694 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
25695 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
25696 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
25697 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
25698 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
25699 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
25700 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
25701 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
25702 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
25703 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
25704 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
25705 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
25706 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
25707 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
25708 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
25709 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
25710 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
25711 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
25712 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
25713 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
25714 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
25715 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
25716 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
25717 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
25718 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
25719 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
25720 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
25721 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
25722 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
25723 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
25724 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
25725 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
25726 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
25727 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
25728 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
25729 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
25730 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
25731 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
25732 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
25733 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
25734 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
25735 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
25736 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
25737 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
25738 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
25739 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
25740 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
25741 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
25742 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
25743 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
25744 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
25745 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
25746 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
25747 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
25748 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
25749 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
25750 (R_AARCH64_TLSDESC_LDR): Likewise.
25751 (R_AARCH64_TLSDESC_ADD): Likewise.
25752 (R_AARCH64_TLSDESC_CALL): Likewise.
25754 2013-09-30 Andreas Schwab <schwab@suse.de>
25757 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
25758 the nss database lookup.
25759 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25762 2013-09-28 Mike Frysinger <vapier@gentoo.org>
25764 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
25766 2013-09-28 P. J. McDermott <pj@pehjota.net>
25768 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
25769 ${Bash-specific parameter/pattern/string} parameter expansion.
25770 * sysdeps/unix/make-syscalls.sh: Likewise.
25772 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25774 * sysdeps/sh/stackguard-macros.h: New file.
25776 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
25778 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25779 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
25780 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
25781 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
25782 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25783 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
25785 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25787 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
25788 Fix thread ID register.
25790 2013-09-25 Joseph Myers <joseph@codesourcery.com>
25792 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
25793 [POSIX || UNIX98]: Require rather than permitting all symbols from
25795 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
25796 element of struct sched_param.
25797 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
25798 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
25799 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
25800 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
25803 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
25805 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
25806 argument calculation.
25808 2013-09-24 Joseph Myers <joseph@codesourcery.com>
25810 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
25812 [POSIX] (pthread_attr_t): Do not require type.
25813 [POSIX] (pthread_cond_t): Likewise.
25814 [POSIX] (pthread_condattr_t): Likewise.
25815 [POSIX] (pthread_key_t): Likewise.
25816 [POSIX] (pthread_mutex_t): Likewise.
25817 [POSIX] (pthread_mutexattr_t): Likewise.
25818 [POSIX] (pthread_once_t): Likewise.
25819 [POSIX] (pthread_t): Likewise.
25820 [POSIX-based standards] (pthread_atfork): Expect function.
25822 2013-09-24 Joseph Myers <joseph@codesourcery.com>
25823 Richard Sandiford <richard@codesourcery.com>
25825 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
25826 (swap_endianness_p): New extern variable.
25827 (set_big_endian): New inline function.
25828 (maybe_swap_uint32): Likewise.
25829 (maybe_swap_uint32_array): Likewise.
25830 (maybe_swap_uint32_obstack): Likewise.
25831 * locale/programs/locfile.c: Include <stdbool.h>.
25832 (swap_endianness_p): New variable.
25833 (add_locale_uint32): Call maybe_swap_uint32.
25834 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
25835 (write_locale_data): Call maybe_swap_uint32_array.
25836 * locale/programs/ld-collate.c (obstack_int32_grow): Call
25838 (obstack_int32_grow_fast): Likewise.
25839 (output_weightwc): Call maybe_swap_uint32_obstack.
25840 (collate_output): Likewise.
25841 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
25842 (OPT_LITTLE_ENDIAN): Likewise.
25843 (options): Add --little-endian and --big-endian options.
25844 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
25845 * locale/programs/locarchive.c: Include "locfile.h".
25849 (create_archive): Use the new macros to access fields of
25850 structures directly mapped from or written to locale archives.
25851 (oldlocrecentcmp): Likewise.
25852 (enlarge_archive): Likewise.
25853 (insert_name): Likewise.
25854 (add_alias): Likewise.
25855 (add_locale): Likewise.
25856 (delete_locales_from_archive): Likewise.
25857 (show_archive_content): Likewise.
25858 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
25861 2013-09-24 Roland McGrath <roland@hack.frob.com>
25863 * manual/freemanuals.texi: Updated from (newly) canonical copy at
25864 http://www.gnu.org/doc/freemanuals.texi.
25865 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
25867 2013-09-24 Will Newton <will.newton@linaro.org>
25869 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
25872 2013-09-23 Joseph Myers <joseph@codesourcery.com>
25874 * locale/hashval.h (compute_hashval): Interpret bytes of key as
25877 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
25879 * manual/threads.texi (POSIX Threads): Fix a typo.
25881 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25884 * string/tst-strcoll-overflow.c: New test case.
25885 * string/Makefile (xtests): Add tst-strcoll-overflow.
25886 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
25887 cache if string sizes may cause integer overflow.
25890 * string/strcoll_l.c (coll_seq): New members rule, idx,
25891 save_idx and back_us.
25892 (get_next_seq_nocache): New function.
25893 (do_compare_nocache): New function.
25894 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
25897 2013-09-23 Carlos O'Donell <carlos@redhat.com>
25900 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
25901 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
25902 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
25905 * elf/Makefile (tests): Add tst-ptrguard1.
25906 (tests-static): Add tst-ptrguard1-static.
25907 (tst-ptrguard1-ARGS): Define.
25908 (tst-ptrguard1-static-ARGS): Define.
25909 * elf/tst-ptrguard1.c: New file.
25910 * elf/tst-ptrguard1-static.c: New file.
25911 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
25912 * sysdeps/i386/stackguard-macros.h: Likewise.
25913 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25914 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25915 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25916 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25917 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25918 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25920 2013-09-23 Hector Marco <hecmargi@upv.es>
25921 Ismael Ripoll <iripoll@disca.upv.es>
25922 Carlos O'Donell <carlos@redhat.com>
25925 * sysdeps/generic/stackguard-macros.h: Define
25926 __pointer_chk_guard_local and POINTER_CHK_GUARD.
25927 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
25928 Define __pointer_chk_guard_local.
25929 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
25930 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
25932 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
25935 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
25937 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
25939 * include/string.h (__ffs): Declare as hidden.
25940 * string/ffs.c (__ffs): Define as hidden.
25941 * sysdeps/i386/ffs.c (__ffs): Likewise.
25942 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25943 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
25944 * sysdeps/s390/ffs.c (__ffs): Likewise.
25945 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
25947 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
25949 * NEWS: Mention malloc probes.
25951 * malloc/arena.c (new_heap): New memory_heap_new probe.
25952 (grow_heap): New memory_heap_more probe.
25953 (shrink_heap): New memory_heap_less probe.
25954 (heap_trim): New memory_heap_free probe.
25955 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
25956 (systrim): New memory_sbrk_less probe.
25957 * manual/probes.texi: Document them.
25959 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
25960 * manual/probes.texi: Document it.
25962 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
25963 (__libc_realloc): Add memory_realloc_retry probe.
25964 (__libc_memalign): Add memory_memalign_retry probe.
25965 (__libc_valloc): Add memory_valloc_retry probe.
25966 (__libc_pvalloc): Add memory_pvalloc_retry probe.
25967 (__libc_calloc): Add memory_calloc_retry probe.
25968 * manual/probes.texi: Document them.
25970 * malloc/arena.c (get_free_list): Add probe
25971 memory_arena_reuse_free_list.
25972 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
25973 and memory_arena_reuse.
25974 (arena_get2) [!PER_THREAD]: Likewise.
25975 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
25976 memory_arena_reuse_realloc.
25977 * manual/probes.texi: Document them.
25979 * malloc/malloc.c (__libc_free): Add
25980 memory_mallopt_free_dyn_thresholds probe.
25981 (__libc_mallopt): Add multiple memory_mallopt probes.
25982 * manual/probes.texi: Document them.
25984 * malloc/malloc.c: Include stap-probe.h.
25985 (__libc_mallopt): Add memory_mallopt probe.
25986 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25987 * manual/probes.texi: New.
25988 * manual/Makefile (chapters): Add probes.
25989 * manual/threads.texi: Set next node.
25991 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
25993 [BZ #15963, #13985]
25994 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25995 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25996 Add `Chinese' to `nan' entry name.
25998 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26000 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
26001 (POLYNOMIAL): Likewise.
26002 (TAYLOR_SINCOS): Likewise.
26003 (TAYLOR_SLOW): Likewise.
26004 (__sin): Use TAYLOR_SINCOS.
26006 (slow): Use TAYLOR_SLOW.
26008 (bsloww): Likewise.
26009 (csloww): Likewise.
26011 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26013 * stdlib/strtod_l.c: Fix buffer overrun.
26015 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26017 * benchtests/Makefile (bench): Add sincos.
26018 * benchtests/bench-sincos.c: New file.
26020 * math/libm-test.inc (cos_test_data): New test inputs.
26021 (sin_test_data): Likewise.
26023 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
26029 (sloww1): Likewise.
26030 (sloww2): Likewise.
26031 (bsloww1): Likewise.
26032 (bsloww2): Likewise.
26033 (cslow2): Likewise.
26034 (csloww1): Likewise.
26035 (csloww2): Likewise.
26037 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
26042 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
26046 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
26048 * config.h.in (HAVE_MIPS_NAN2008): New macro.
26049 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
26050 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
26051 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
26052 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
26053 * elf/cache.c (print_entry): Handle the new cache flags.
26055 2013-09-18 Joseph Myers <joseph@codesourcery.com>
26056 Aldy Hernandez <aldyh@redhat.com>
26058 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
26059 Change condition to [_SOFT_FLOAT].
26060 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
26061 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
26062 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
26063 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
26064 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
26065 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
26066 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
26067 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
26068 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
26069 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
26070 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
26071 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
26072 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
26073 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
26074 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
26075 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
26078 2013-09-18 Joseph Myers <joseph@codesourcery.com>
26080 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
26081 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
26082 (__longjmp): Use LOAD_GP to load saved GPRs.
26083 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
26084 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
26085 (__sigsetjmp): Use SAVE_GP to save GPRs.
26087 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
26088 Do not append -msoft-float.
26089 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
26091 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26093 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
26095 2013-09-17 Joseph Myers <joseph@codesourcery.com>
26098 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
26099 (_FPU_GETCW): Use initial "__" on variable and field names but not
26100 on macro parameter name.
26101 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
26102 parentheses around reference to macro parameter.
26104 2013-09-13 Richard Sandiford <richard@codesourcery.com>
26106 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
26108 (ctype_startup): Use uint32_t in cast and sizeof for
26111 2013-09-11 Jia Liu <proljc@gmail.com>
26113 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
26115 [__FreeBSD__]: Likewise.
26117 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
26119 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
26120 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
26121 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
26122 (strchr): Remove __strchr_sse42 ifunc selection.
26123 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
26124 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
26126 2013-09-11 Will Newton <will.newton@linaro.org>
26128 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
26129 parameter to RES. Remove hardcoded 1000 value.
26130 * benchtests/bench-skeleton.c (main): Pass RES parameter
26131 to TIMING_INIT and multiply result by 1000.
26133 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26137 2013-09-11 Andreas Schwab <schwab@suse.de>
26139 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
26141 (O_TMPFILE) [__USE_GNU]: Define.
26142 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
26145 2013-09-11 Will Newton <will.newton@linaro.org>
26148 * malloc/malloc.c (__libc_memalign): Check the value of bytes
26151 2013-09-11 Will Newton <will.newton@linaro.org>
26154 * malloc/malloc.c (__libc_valloc): Check the value of bytes
26157 2013-09-11 Will Newton <will.newton@linaro.org>
26160 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
26163 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
26165 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
26166 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26167 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26168 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26169 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26171 2013-09-10 Allan McRae <allan@archlinux.org>
26174 * manual/arith.texi (Parsing of Floats): Clarify
26178 * manual/install.texi (Running make install): Mention
26180 * INSTALL: Regenerated.
26182 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
26184 * csu/init-first.c (_init): Remove the !SHARED condition around
26185 FPU control word initialization.
26186 * elf/dl-support.c (_dl_fpu_control): New variable.
26187 (_dl_aux_init) <AT_FPUCW>: Initialize it.
26188 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
26189 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
26190 * math/test-fpucw-static.c: New file.
26191 * math/test-fpucw-ieee.c: New file.
26192 * math/test-fpucw-ieee-static.c: New file.
26193 * math/Makefile (tests): Add `test-fpucw-ieee' and
26195 (tests-static): New variable.
26196 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
26198 [($(build-shared),yes)]
26199 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
26201 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
26204 2013-09-09 Allan McRae <allan@archlinux.org>
26207 * manual/string.texi (Collation Functions): Fix typo in
26209 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
26212 * stdlib/isomac.c (get_null_defines): Fix memory leak.
26215 * libio/memstream.c (open_memstream): Fix memory leak.
26216 * libio/wmemstream.c (open_wmemstream): Likewise.
26219 * nscd/netgroupcache.c: Fix nesting of ifdefs.
26221 2013-09-09 Will Newton <will.newton@linaro.org>
26223 * malloc/Makefile: Add tst-realloc to tests.
26224 * malloc/tst-realloc.c: New file.
26226 2013-09-09 Allan McRae <allan@archlinux.org>
26229 * COPYING: Update from GNU website to fix FSF address.
26230 * COPYING.LIB: Likewise.
26232 2013-09-06 David S. Miller <davem@davemloft.net>
26234 * po/zh_TW.po: Update Chinese (traditional) translation from
26235 translation project.
26237 2013-09-06 Richard Sandiford <richard@codesourcery.com>
26238 Joseph Myers <joseph@codesourcery.com>
26240 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
26242 (obstack_chunk_alloc): New macro.
26243 (obstack_chunk_free): Likewise.
26244 (record_offset): New function.
26245 (init_locale_data): Likewise.
26246 (align_locale_data): Likewise.
26247 (add_locale_empty): Likewise.
26248 (add_locale_raw_data): Likewise.
26249 (add_locale_raw_obstack): Likewise.
26250 (add_locale_string): Likewise.
26251 (add_locale_wstring): Likewise.
26252 (add_locale_uint32): Likewise.
26253 (add_locale_uint32_array): Likewise.
26254 (add_locale_char): Likewise.
26255 (start_locale_structure): Likewise.
26256 (end_locale_structure): Likewise.
26257 (start_locale_prelude): Likewise.
26258 (end_locale_prelude): Likewise.
26259 (write_locale_data): Take locale_file structure rather than an
26261 * locale/programs/locfile.h: Include "obstack.h".
26262 (struct locale_file): Change to store locale file contents instead
26264 (init_locale_data): New prototype.
26265 (align_locale_data): Likewise.
26266 (add_locale_empty): Likewise.
26267 (add_locale_raw_data): Likewise.
26268 (add_locale_raw_obstack): Likewise.
26269 (add_locale_string): Likewise.
26270 (add_locale_wstring): Likewise.
26271 (add_locale_uint32): Likewise.
26272 (add_locale_uint32_array): Likewise.
26273 (add_locale_char): Likewise.
26274 (start_locale_structure): Likewise.
26275 (end_locale_structure): Likewise.
26276 (start_locale_prelude): Likewise.
26277 (end_locale_prelude): Likewise.
26278 (write_locale_data): Update prototype.
26279 * locale/programs/3level.h (struct TABLE): Remove result field.
26280 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
26281 Use new locale_file interface.
26282 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
26283 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
26284 * locale/programs/ld-address.c (address_output): Use new
26285 locale_file interface.
26286 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
26288 (collate_finish): Don't call collseq_table_finalize.
26289 (collate_output): Use new locale_file interface.
26290 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
26292 (NO_FINALIZE): Change to NO_ADD_LOCALE.
26293 (TABLE): Move defines earlier in file.
26294 (ELEMENT): Likewise.
26295 (DEFAULT): Likewise.
26296 (wctrans_table_add): Move macro and inline function earlier in
26298 (struct wctype_table): Move type earlier in file.
26299 (add_locale_wctype_table): New static prototype.
26300 (struct locale_ctype_t): Use logical types instead of struct iovec
26301 pointers for members.
26302 (ctype_output): Use new locale_file interface.
26303 (wctype_table_finalize): Change to add_locale_wctype_table. Use
26304 new locale_file interface.
26305 (allocate_arrays): Update for use of new locale_file interface.
26306 * locale/programs/ld-identification.c (identification_output): Use
26307 new locale_file interface.
26308 * locale/programs/ld-measurement.c (measurement_output): Likewise.
26309 * locale/programs/ld-messages.c (messages_output): Likewise.
26310 * locale/programs/ld-monetary.c (monetary_output): Likewise.
26311 * locale/programs/ld-name.c (name_output): Likewise.
26312 * locale/programs/ld-numeric.c (numeric_output): Likewise.
26313 * locale/programs/ld-paper.c (paper_output): Likewise.
26314 * locale/programs/ld-telephone.c (telephone_output): Likewise.
26315 * locale/programs/ld-time.c (time_output): Likewise.
26317 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26319 * benchtests/Makefile: Add memrchr benchmark.
26320 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
26321 benchmark as memrchr.
26322 * benchtests/bench-memrchr-ifunc.c: New file.
26323 * benchtests/bench-memrchr.c: New file.
26325 2013-09-06 Will Newton <will.newton@linaro.org>
26327 * benchtests/Makefile (string-bench): Add memcpy.
26329 2013-09-05 Carlos O'Donell <carlos@redhat.com>
26330 Cong Wang <amwang@redhat.com>
26333 * sysdeps/unix/sysv/linux/bits/in.h
26334 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
26335 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
26336 before __USE_KERNEL_IPV6_DEFS uses.
26337 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
26339 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
26340 sockaddr_in6, or ipv6_mreq.
26342 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26344 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
26345 memory access for final bytes in some large inputs.
26346 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
26348 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26350 * string/test-memrchr.c: New file.
26351 * string/test-memrchr-ifunc.c: New file.
26352 * string/Makefile: Add new memrchr testcase.
26354 2013-09-05 Mike Frysinger <vapier@gentoo.org>
26356 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
26357 fanotify_init returns EPERM.
26359 2013-09-04 Joseph Myers <joseph@codesourcery.com>
26361 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
26363 (top level): Treat second token from macro or constant entries for
26364 allowed headers as allowed.
26365 * include/complex.h: Condition internal declarations on
26367 * include/fenv.h: Condition include of <stdbool.h> and internal
26368 declarations on [!_ISOMAC].
26370 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
26373 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
26375 2013-09-04 Joseph Myers <joseph@codesourcery.com>
26377 * configure.in (--enable-versioning): Remove configure option.
26378 (libc_cv_asm_symver_directive): Remove configure test.
26379 (libc_cv_ld_version_script_option): Likewise.
26380 (VERSIONING): Remove variable and AC_SUBST.
26381 (DO_VERSIONING): Remove AC_DEFINE.
26382 * configure: Regenerated.
26383 * config.h.in (DO_VERSIONING): Remove macro.
26384 * Makerules [$(versioning) = yes]: Change conditionals to
26385 [$(build-shared) = yes].
26386 * config.make.in (versioning): Remove variable.
26387 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
26388 [$(build-shared) = yes].
26389 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
26390 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
26391 * elf/Makefile [$(versioning) = yes]: Change conditionals to
26392 [$(build-shared) = yes].
26393 * extra-lib.mk [$(versioning) = yes]: Likewise.
26394 * hurd/Makefile [$(versioning) = yes]: Likewise.
26395 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
26397 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
26399 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
26400 [SHARED && !NO_HIDDEN].
26401 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
26403 [SHARED && DO_VERSIONING]: Likewise..
26404 * libio/Makefile [$(versioning) = yes]: Change conditionals to
26405 [$(build-shared) = yes].
26406 * manual/install.texi (--disable-versioning): Remove
26408 * INSTALL: Regenerated.
26409 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
26411 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
26412 [$(build-shared) = yes].
26413 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
26414 * sysdeps/i386/i686/multiarch/strstr-c.c
26415 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
26416 [SHARED && !NO_HIDDEN].
26417 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
26418 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
26419 * sysdeps/powerpc/powerpc32/dl-machine.c
26420 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
26421 * sysdeps/powerpc/powerpc32/sysdep.h
26422 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
26423 to [SHARED && PIC && !NO_HIDDEN].
26424 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
26425 conditional to [SHARED].
26427 2013-09-04 Will Newton <will.newton@linaro.org>
26429 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
26430 * benchtests/bench-string.h: Include bench-timing.h instead
26431 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
26432 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
26433 call to HP_TIMING_DIFF_INIT.
26434 * benchtests/bench-memccpy.c: Use bench-timing.h macros
26435 instead of hp-timing.h macros.
26436 * benchtests/bench-memchr.c: Likewise.
26437 * benchtests/bench-memcmp.c: Likewise.
26438 * benchtests/bench-memcpy.c: Likewise.
26439 * benchtests/bench-memmem.c: Likewise.
26440 * benchtests/bench-memmove.c: Likewise.
26441 * benchtests/bench-memset.c: Likewise.
26442 * benchtests/bench-rawmemchr.c: Likewise.
26443 * benchtests/bench-strcasecmp.c: Likewise.
26444 * benchtests/bench-strcasestr.c: Likewise.
26445 * benchtests/bench-strcat.c: Likewise.
26446 * benchtests/bench-strchr.c: Likewise.
26447 * benchtests/bench-strcmp.c: Likewise.
26448 * benchtests/bench-strcpy.c: Likewise.
26449 * benchtests/bench-strcpy_chk.c: Likewise.
26450 * benchtests/bench-strlen.c: Likewise.
26451 * benchtests/bench-strncasecmp.c: Likewise.
26452 * benchtests/bench-strncat.c: Likewise.
26453 * benchtests/bench-strncmp.c: Likewise.
26454 * benchtests/bench-strncpy.c: Likewise.
26455 * benchtests/bench-strnlen.c: Likewise.
26456 * benchtests/bench-strpbrk.c: Likewise.
26457 * benchtests/bench-strrchr.c: Likewise.
26458 * benchtests/bench-strspn.c: Likewise.
26459 * benchtests/bench-strstr.c: Likewise.
26461 2013-09-04 Will Newton <will.newton@linaro.org>
26463 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
26465 2013-09-03 Joseph Myers <joseph@codesourcery.com>
26468 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
26469 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
26470 * math/libm-test.inc (lgamma_test_data): Add more tests.
26471 * sysdeps/i386/fpu/libm-test-ulps: Update.
26472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26474 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
26476 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
26477 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26479 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26480 Add strcmp-sse2-unaligned
26481 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
26483 2013-09-02 Mike Frysinger <vapier@gentoo.org>
26485 * Versions.def (libc): Add GLIBC_2.19.
26487 2013-09-02 Mike Frysinger <vapier@gentoo.org>
26489 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
26490 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
26492 2013-09-02 Joseph Myers <joseph@codesourcery.com>
26495 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
26496 intermediate calculations in recurrence.
26497 (__ieee754_ynf): Likewise.
26498 * math/libm-test.inc (jn_test_data): Do not allow spurious
26499 underflow exception. Add more tests.
26500 (yn_test_data): Add more tests.
26501 * sysdeps/i386/fpu/libm-test-ulps: Update.
26502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26504 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
26506 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
26508 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
26510 * csu/init-first.c: Fix then/than typos.
26511 * locale/programs/ld-collate.c: Likewise.
26512 * locale/programs/linereader.h: Likewise.
26513 * manual/charset.texi: Likewise.
26514 * manual/filesys.texi: Likewise.
26515 * manual/stdio.texi: Likewise.
26516 * manual/string.texi: Likewise.
26517 * stdlib/fmtmsg.c: Likewise.
26518 * sysdeps/i386/stpncpy.S: Likewise.
26519 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26520 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26521 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26522 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26524 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
26526 * elf/dl-open.c: Fix typos.
26527 * iconvdata/gbbig5.c: Likewise.
26528 * iconvdata/iso-2022-jp.c: Likewise.
26529 * iconv/gconv_int.h: Likewise.
26530 * iconv/loop.c: Likewise.
26531 * nis/rpcsvc/nis.h: Likewise.
26532 * resolv/ns_name.c: Likewise.
26533 * stdio-common/vfscanf.c: Likewise.
26534 * streams/stropts.h: Likewise.
26535 * sunrpc/rpc_thread.c: Likewise.
26536 * sysdeps/i386/strpbrk.S: Likewise.
26537 * sysdeps/ieee754/k_standard.c: Likewise.
26538 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26539 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26540 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
26541 * sysdeps/mach/hurd/profil.c: Likewise.
26542 * sysdeps/s390/dl-procinfo.h: Likewise.
26543 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
26544 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26545 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
26546 * sysdeps/x86_64/dl-trampoline.S: Likewise.
26547 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26549 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
26551 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
26552 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
26554 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
26556 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
26557 aix specific files.
26558 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
26559 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
26560 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
26561 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
26562 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
26563 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
26564 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
26565 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
26567 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
26568 Roland McGrath <roland@hack.frob.com>
26570 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
26571 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
26573 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
26575 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
26576 __executable_start symbol instead of _start.
26578 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
26580 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
26581 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
26583 * sysdeps/gnu/ldsodefs.h: ... this new file.
26585 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
26586 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
26587 instead of ELFOSABI_LINUX.
26589 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
26590 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
26591 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
26592 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
26594 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
26595 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
26596 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
26598 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26599 (ibm_extended_long_double): Add ieee_nan member.
26600 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
26601 (do_test): New function.
26603 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
26605 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
26606 functions, renamed from truncdfsf_test, trunctfsf_test,
26608 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
26610 (do_test): Run all these.
26612 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
26614 * argp/argp-help.c: Fix typos.
26615 * argp/argp-parse.c: Likewise.
26616 * debug/backtracesyms.c: Likewise.
26617 * elf/elf.h: Likewise.
26618 * malloc/malloc.c: Likewise.
26619 * nis/nis_print.c: Likewise.
26620 * resolv/res_comp.c: Likewise.
26621 * stdlib/stdlib.h: Likewise.
26622 * sunrpc/clnt_tcp.c: Likewise.
26623 * sunrpc/clnt_udp.c: Likewise.
26624 * sunrpc/clnt_unix.c: Likewise.
26625 * sysdeps/unix/bsd/ptsname.c: Likewise.
26626 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
26627 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
26628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
26630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
26632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
26634 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26636 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26638 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
26639 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26641 2013-08-27 Mike Frysinger <vapier@gentoo.org>
26644 * dlfcn/Makefile (tests): Add bug-dl-leaf.
26645 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
26646 ($(objpfx)bug-dl-leaf): New rule.
26647 ($(objpfx)bug-dl-leaf.so): Likewise.
26648 ($(objpfx)bug-dl-leaf.out): Likewise.
26649 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
26650 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
26651 * dlfcn/bug-dl-leaf.c: New test.
26652 * dlfcn/bug-dl-leaf-lib.c: Likewise.
26653 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
26654 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
26655 (dlclose): Likewise.
26656 (dlmopen): Likewise.
26658 2013-08-27 Roland McGrath <roland@hack.frob.com>
26660 * include/netdb.h [!_ISOMAC]:
26661 Don't include <tls.h>.
26662 (h_errno, __libc_h_errno): Move declaration and macros out of
26665 * include/resolv.h [_RESOLV_H_]:
26666 Don't include <tls.h>.
26667 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
26668 * resolv/res_libc.c: Don't include <tls.h>.
26669 (_res): Use __attribute__ ((nocommon)) in place of
26670 __attribute__ ((section (".bss"))).
26672 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
26673 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
26675 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
26677 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
26678 only under [SIOCGIFCONF && SIOCGIFNETMASK].
26680 * resolv/res_mkquery.c: Include <sys/time.h>.
26682 * inet/ifreq.c: Moved to ...
26683 * sysdeps/unix/ifreq.c: ... here.
26684 * inet/ifreq.c: New file, true stub version.
26686 * socket/sa_len.c: New file.
26687 * socket/Makefile (aux): Add it.
26688 * sysdeps/unix/sysv/linux/Makefile
26689 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
26690 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
26691 and #include <socket/sa_len.c>.
26692 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
26693 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
26695 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
26696 * bits/socket.h: ... here.
26698 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
26699 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
26700 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
26702 2013-08-27 Andreas Schwab <schwab@suse.de>
26705 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
26706 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
26707 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
26708 * string/test-strcasecmp.c (test_main): Run tests in several
26710 * string/test-strncasecmp.c (test_main): Likewise.
26712 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
26713 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
26714 to __strcasecmp_nonascii and __strncasecmp_nonascii.
26715 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
26716 (__strncasecmp_ssse3) [PIC]: Likewise.
26718 2013-08-26 Roland McGrath <roland@hack.frob.com>
26720 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
26722 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
26723 instead of explicitly declaring xdecrypt.
26724 * nis/nss_nis/nis-publickey.c: Likewise.
26726 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26729 * nscd/aicache.c: Include res_hconf.h.
26730 (addhstaiX): Initialize res_hconf.
26732 2013-08-26 Andreas Schwab <schwab@suse.de>
26734 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
26735 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
26737 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26739 * nscd/aicache.c (addhstaiX): Fix indentation.
26741 2013-08-25 Mike Frysinger <vapier@gentoo.org>
26743 * configure.ac: Quote $build_pt_chown test.
26744 * configure: Regenerated.
26746 2013-08-23 Joseph Myers <joseph@codesourcery.com>
26749 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
26750 * math/s_cexpf.c (__cexpf): Likewise.
26751 * math/s_cexpl.c (__cexpl): Likewise.
26752 * math/libm-test.inc (cexp_test_data): Correct expected return
26753 value for NaN + i0. Add another test.
26755 2013-08-22 David S. Miller <davem@davemloft.net>
26757 * po/ca.po: Update Catalan translation from translation project.
26758 * po/uk.po: Add Ukrainian translations from translation project.
26760 2013-08-21 Joseph Myers <joseph@codesourcery.com>
26763 * math/s_fdim.c (__fdim): Check for infinite arguments if result
26764 is infinite, not alongside NaN test.
26765 * math/s_fdimf.c (__fdimf): Likewise.
26766 * math/s_fdiml.c (__fdiml): Likewise.
26767 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
26768 errno is unchanged.
26770 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
26772 * argp/argp-help.c: Fix typos.
26773 * crypt/speeds.c: Likewise.
26774 * csu/check_fds.c: Likewise.
26775 * elf/dl-load.c: Likewise.
26776 * elf/dl-open.c: Likewise.
26777 * elf/reldep3.c: Likewise.
26778 * elf/reldep.c: Likewise.
26779 * elf/sprof.c: Likewise.
26780 * iconv/iconv_charmap.c: Likewise.
26781 * iconv/skeleton.c: Likewise.
26782 * iconv/strtab.c: Likewise.
26783 * io/lockf64.c: Likewise.
26784 * libio/libioP.h: Likewise.
26785 * resolv/gai_notify.c: Likewise.
26786 * resolv/ns_name.c: Likewise.
26787 * resolv/ns_samedomain.c: Likewise.
26788 * resolv/res_send.c: Likewise.
26789 * stdlib/random.c: Likewise.
26790 * sunrpc/rpc/xdr.h: Likewise.
26791 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
26792 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26793 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26794 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26795 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26796 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26797 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26798 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26799 * sysdeps/mach/hurd/check_fds.c: Likewise.
26800 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26801 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26802 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26803 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26804 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26805 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26806 * sysdeps/pthread/aio_notify.c: Likewise.
26807 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
26808 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
26809 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
26810 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26811 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26813 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26815 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
26816 version if bit_Slow_SSE4_2 is set.
26817 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26818 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26820 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26823 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
26824 trampoline stack frame information.
26825 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
26826 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
26827 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
26828 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
26829 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
26830 * sysdeps/unix/sysv/linux/powerpc/init-first.c
26831 (_libc_vdso_platform_setup): Initialize the signal trampolines.
26832 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
26834 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
26835 interrupting a syscall and set with option SA_SIGINFO.
26837 2013-08-20 Joseph Myers <joseph@codesourcery.com>
26840 * math/s_cproj.c (__cproj): Only return an infinity if one part of
26841 argument is infinite.
26842 * math/s_cprojf.c (__cprojf): Likewise.
26843 * math/s_cprojl.c (__cprojl): Likewise.
26844 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
26845 * math/libm-test.inc (cproj_test_data): Add more tests.
26847 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
26849 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
26850 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
26851 size. Use __ffs to determine corresponding shift.
26853 2013-08-20 Joseph Myers <joseph@codesourcery.com>
26854 Roland McGrath <roland@hack.frob.com>
26856 * Makefile (INSTALL): Remove trailing blank lines from output of
26859 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26861 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
26862 Align 32 bit compat elf_greg to 8 bytes.
26864 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
26866 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
26868 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26870 * string/strcoll_l.c (coll_seq): New structure.
26871 (get_next_seq_cached): New function.
26872 (get_next_seq): New function.
26873 (do_compare): New function.
26874 (STRCOLL): Use GNU style definition. Simplify implementation
26875 by using get_next_seq, get_next_seq_cached and do_compare.
26877 2013-08-16 Florian Weimer <fweimer@redhat.com>
26881 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
26883 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
26885 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
26886 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
26887 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
26889 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
26890 GETDENTS_64BIT_ALIGNED.
26891 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26892 * manual/filesys.texi (Reading/Closing Directory): Document
26893 ENAMETOOLONG return value of readdir_r. Recommend readdir more
26895 * manual/conf.texi (Limits for Files): Add portability note to
26896 NAME_MAX, PATH_MAX.
26897 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
26899 2013-08-13 Andreas Schwab <schwab@suse.de>
26902 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
26904 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
26905 LDBL_MAX_EXP >= 16384]: Add tests for it.
26907 2013-08-12 David S. Miller <davem@davemloft.net>
26909 * version.h (RELEASE): Set to "development".
26910 (VERSION): Set to "2.18.90".
26911 * NEWS: Add 2.19 section.
26913 2013-08-03 David S. Miller <davem@davemloft.net>
26915 * po/ko.po: Update Korean translation from translation project.
26917 2013-08-01 David S. Miller <davem@davemloft.net>
26919 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
26920 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
26923 2013-07-30 David S. Miller <davem@davemloft.net>
26925 * po/fr.po: Update French translation from translation project.
26927 2013-07-28 David S. Miller <davem@davemloft.net>
26929 * po/cs.po: Update Czech translation from translation project.
26931 * po/sv.po: Update Swedish translation from translation project.
26933 2013-07-27 David S. Miller <davem@davemloft.net>
26935 * po/eo.po: Update Esperanto translation from translation project.
26937 * po/vi.po: Update Vietnamese translation from translation project.
26939 * po/de.po: Update German translation from translation project.
26941 2013-07-26 David S. Miller <davem@davemloft.net>
26943 * po/bg.po: Update Bulgarian translation from translation project.
26945 * po/nl.po: Update Dutch translation from translation project.
26946 * po/pl.po: Update Polish translation from translation project.
26947 * po/ru.po: Update Russian translation from translation project.
26949 2013-07-24 David S. Miller <davem@davemloft.net>
26951 * po/libc.pot: Update.
26953 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26955 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
26956 variable page size.
26957 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
26958 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
26959 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
26961 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26963 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
26965 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26966 Andreas Schwab <schwab@suse.de>
26967 Roland McGrath <roland@hack.frob.com>
26968 Joseph Myers <joseph@codesourcery.com>
26969 Carlos O'Donell <carlos@redhat.com>
26972 * config.h.in: Define HAVE_PT_CHOWN.
26973 * config.make.in (build-pt-chown): New variable.
26974 * configure.in (--enable-pt_chown): New configure option.
26975 * configure: Regenerate.
26976 * login/Makefile: Include Makeconfig. Build pt_chown only if
26977 build-pt-chown is enabled.
26978 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26979 pt_chown to fix pty ownership.
26980 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26982 * manual/install.texi (Configuring and compiling): Mention
26983 --enable-pt_chown. Add @findex for grantpt.
26984 * INSTALL: Regenerate.
26986 2013-07-20 David S. Miller <davem@davemloft.net>
26988 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26989 difference between 32-bit and 64-bit.
26991 2013-07-15 Carlos O'Donell <carlos@redhat.com>
26994 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26995 Avoid system header dependency with -ffreestanding.
26996 ($(objpfx)bits/syscall%d): Likewise.
26998 2013-07-13 David S. Miller <davem@davemloft.net>
27000 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
27001 underflows from atanl/atan2l due to bug 15319.
27002 (casinh_test_data): Likewise.
27004 2013-07-07 David S. Miller <davem@davemloft.net>
27006 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
27008 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
27010 * sysdeps/i386/fpu/libm-test-ulps: Update.
27011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27013 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27015 * configure.in (--enable-lock-elision): Fix message text.
27016 * INSTALL: Regenerate.
27017 * configure: Regenerate.
27019 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27023 2013-07-03 Andreas Jaeger <aj@suse.de>
27025 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
27027 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
27028 (ptrace_peeksiginfo_args): Add.
27029 (__ptrace_peeksiginfo_flags): Add.
27030 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27031 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27032 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27034 2013-07-03 Allan McRae <allan@archlinux.org>
27036 * sysdeps/i386/fpu/libm-test-ulps: Update.
27038 2013-07-02 David S. Miller <davem@davemloft.net>
27040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27042 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
27044 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27046 2013-07-02 Joseph Myers <joseph@codesourcery.com>
27048 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27051 2013-07-02 Andi Kleen <ak@linux.intel.com>
27053 * config.h.in (ENABLE_LOCK_ELISION): Add.
27054 * configure.in (--enable-lock-elision): Add option.
27055 * manual/install.texi: Document --enable lock elision.
27056 * configure: Regenerate
27057 * INSTALL: Regenerate.
27059 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
27061 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
27062 SSE4.2 strcasecmp for libc.a.
27063 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
27065 2013-07-02 Joseph Myers <joseph@codesourcery.com>
27068 * soft-fp/op-common.h (_FP_FMA): New macro.
27069 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
27070 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
27071 (_FP_MUL_MEAT_1_imm): ... here.
27072 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
27073 (_FP_MUL_MEAT_1_wide): ... here.
27074 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
27075 (_FP_MUL_MEAT_1_hard): ... here.
27076 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
27077 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
27078 (_FP_MUL_MEAT_2_wide): ... here.
27079 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
27080 (_FP_MUL_MEAT_2_wide_3mul): ... here.
27081 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
27082 (_FP_MUL_MEAT_2_gmp): ... here.
27083 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
27084 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
27085 (_FP_MUL_MEAT_4_wide): ... here.
27086 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
27087 (_FP_MUL_MEAT_4_gmp): ... here.
27088 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
27089 (_FP_WFRACBITS_DW_S): Likewise.
27090 (_FP_WFRACXBITS_DW_S): Likewise.
27091 (_FP_HIGHBIT_DW_S): Likewise.
27092 (FP_FMA_S): Likewise.
27093 (_FP_FRAC_HIGH_DW_S): Likewise.
27094 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
27095 (_FP_WFRACBITS_DW_D): Likewise.
27096 (_FP_WFRACXBITS_DW_D): Likewise.
27097 (_FP_HIGHBIT_DW_D): Likewise.
27098 (FP_FMA_D): Likewise.
27099 (_FP_FRAC_HIGH_DW_D): Likewise.
27100 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
27101 (_FP_WFRACBITS_DW_E): Likewise.
27102 (_FP_WFRACXBITS_DW_E): Likewise.
27103 (_FP_HIGHBIT_DW_E): Likewise.
27104 (FP_FMA_E): Likewise.
27105 (_FP_FRAC_HIGH_DW_E): Likewise.
27106 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
27107 (_FP_WFRACBITS_DW_Q): Likewise.
27108 (_FP_WFRACXBITS_DW_Q): Likewise.
27109 (_FP_HIGHBIT_DW_Q): Likewise.
27110 (FP_FMA_Q): Likewise.
27111 (_FP_FRAC_HIGH_DW_Q): Likewise.
27112 * soft-fp/fmasf4.c: New file.
27113 * soft-fp/fmadf4.c: Likewise.
27114 * soft-fp/fmatf4.c: Likewise.
27116 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27118 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27119 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
27121 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
27123 (index_Slow_SSE4_2): Likewise.
27124 (index_Prefer_PMINUB_for_stringop): Likewise.
27125 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
27126 bit_Slow_SSE4_2 is set.
27127 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27128 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27130 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27132 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
27133 rtld_global._dl_hwcap2.
27134 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
27136 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
27137 POWER8 feature descriptions defined in _dl_hwcap2.
27138 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
27139 string handling for POWER8 feature bits.
27140 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
27141 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
27142 _dl_powerpc_cap_flags.
27143 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
27144 * sysdeps/powerpc/rtld-global-offsets.sym
27145 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
27146 _dl_hwcap2 in the rtld_global_ro structure.
27148 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27150 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
27151 hardware capabilities in support of AT_HWCAP2.
27152 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
27153 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
27155 (_dl_show_auxv): Add support for calling _dl_procinfo to display
27156 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
27157 explicitly the unknown a_type display mechanism is used.
27158 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
27159 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
27161 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
27162 to macro prototype for AT_HWCAP2 support.
27163 * sysdeps/i386/dl-procinfo.h: Likewise.
27164 * sysdeps/s390/dl-procinfo.h: Likewise.
27165 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
27166 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
27167 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
27168 return -1 for unknown a_type display fallback.
27169 * sysdeps/sparc/dl-procinfo.h: Likewise.
27170 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
27171 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
27173 2013-06-28 Joseph Myers <joseph@codesourcery.com>
27175 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
27176 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
27178 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
27181 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
27182 mprotect making __stack_prot writable.
27184 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
27185 Joseph Myers <joseph@codesourcery.com>
27187 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
27188 as being properly aligned.
27190 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
27192 * dlfcn/modstatic5.c: New file.
27193 * dlfcn/tststatic5.c: New file.
27194 * dlfcn/Makefile (tests): Add tststatic5.
27195 (tests-static): Likewise.
27196 (modules-names): Add modstatic5.
27197 (tststatic5-ENV): New variable.
27198 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
27201 * elf/dl-support.c (_dl_main_map): New variable.
27202 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
27203 (_dl_nns, _dl_load_adds): Set to 1.
27204 (_dl_initial_searchlist): Refer to _dl_main_map.
27205 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
27206 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
27207 call to _dl_get_origin.
27208 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
27210 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
27211 * dlfcn/modstatic3.c: New file.
27212 * dlfcn/tststatic3.c: New file.
27213 * dlfcn/tststatic4.c: New file.
27214 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
27215 (tests-static): Likewise.
27216 (modules-names): Add modstatic3.
27217 (tststatic3-ENV, tststatic4-ENV): New variables.
27218 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
27219 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
27221 2013-06-26 Joseph Myers <joseph@codesourcery.com>
27223 * configure.in (CC): Require GCC version 4.4 or later.
27224 * configure: Regenerated.
27225 * manual/install.texi (Tools for Compilation): Update GCC version
27227 * INSTALL: Regenerated.
27229 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27232 * string/test-memcmp.c (check2): New.
27233 (main): Call check2.
27235 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
27237 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
27240 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
27242 (dl_open_worker) [!SHARED]: ... here.
27244 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27246 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
27248 2013-06-25 Richard Henderson <rth@redhat.com>
27250 * locale/programs/locarchive.c: Include <libc-internal.h>
27252 2013-06-25 Joseph Myers <joseph@codesourcery.com>
27254 * manual/texinfo.tex: Update to version 2013-06-21.17, with
27255 trailing whitespace removed.
27257 2013-06-24 Mike Frysinger <vapier@gentoo.org>
27260 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
27261 * locale/programs/locarchive.c: Include libc-mmap.h.
27262 (prepare_address_space): Take two new outputs (the mmap base and len).
27263 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
27265 (create_archive): Declare new mmap base and len values for
27266 prepare_address_space, and store the result in ah.
27267 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
27268 (enlarge_archive): If ah->mmap_base is not NULL, use that and
27269 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
27270 Declare new mmap base and len values for
27271 prepare_address_space, and store the result in new_ah.
27272 (open_archive): Declare new mmap base and len values for
27273 prepare_address_space, and store the result in ah.
27274 (close_archive): If ah->mmap_base is not NULL, use that and
27275 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
27276 * sysdeps/generic/libc-mmap.h: New file.
27278 2013-06-24 Mike Frysinger <vapier@gentoo.org>
27280 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
27281 (ALIGN_UP): Likewise.
27282 (PTR_ALIGN_DOWN): Likewise.
27283 (PTR_ALIGN_UP): Likewise.
27285 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27287 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
27288 entry mapped to PPC_PLATFORM_POWER8.
27289 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
27291 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
27292 (_dl_string_platform): Add case for exporting platform position for
27294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
27295 search path to sysdeps/powerpc/powerpc32/power8 directory.
27296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
27297 search path to sysdeps/powerpc/powerpc64/power8 directory.
27298 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
27299 power7 directories.
27300 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
27301 power7 directories.
27303 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27305 * INSTALL: Regenerate.
27307 * nscd/connections.c (nscd_init): Fix comment.
27309 2013-06-22 Joseph Myers <joseph@codesourcery.com>
27311 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
27314 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
27315 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
27317 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
27319 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
27321 (DL_DST_REQ_STATIC): Remove macro.
27323 2013-06-21 Joseph Myers <joseph@codesourcery.com>
27326 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
27327 with a shift of 0 bits.
27329 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
27331 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
27334 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27337 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
27339 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27341 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
27342 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
27343 accepts -fno-tree-loop-distribute-patterns.
27344 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
27345 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
27347 * string/memset.c (memset): Likewise.
27348 * string/test-memmove.c (simple_memmove): Disable loop transformation
27350 * string/test-memset.c (simple_memset): Likewise.
27351 * benchtests/bench-memmove.c (simple_memmove): Likewise.
27352 * benchtests/bench-memset.c (simple_memset): Likewise.
27353 * configure: Regenerated.
27355 2013-06-20 Joseph Myers <joseph@codesourcery.com>
27357 * math/test-misc.c (main): Ignore fesetround failure when failures
27358 of subsequent rounding tests would be ignored.
27361 * math/fedisblxcpt.c (fedisableexcept): Return 0.
27362 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
27363 * math/fegetenv.c (__fegetenv): Return 0.
27364 * math/fegetexcept.c (fegetexcept): Return 0.
27365 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
27367 * math/feholdexcpt.c (feholdexcept): Return 0.
27368 * math/fesetenv.c (__fesetenv): Return 0.
27369 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
27370 argument FE_TONEAREST.
27371 * math/feupdateenv.c (__feupdateenv): Return 0.
27372 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
27374 2013-06-18 Roland McGrath <roland@hack.frob.com>
27376 * elf/rtld-Rules (rtld-compile-command.S): New variable.
27377 (rtld-compile-command.s, rtld-compile-command.c): New variables.
27378 ($(objpfx)rtld-%.os rules): Use them.
27380 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27382 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
27385 2013-06-17 Roland McGrath <roland@hack.frob.com>
27387 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
27388 length of target pattern, then descending length of dependency pattern.
27389 * configure.in (AWK): Require gawk 3.1.2 or newer.
27390 * manual/install.texi (Tools for Compilation): Say that we do.
27391 * configure: Regenerated.
27393 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
27394 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
27395 * scripts/sysd-rules.awk: ... this new script.
27396 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
27397 than a glob-style pattern.
27399 2013-06-17 Joseph Myers <joseph@codesourcery.com>
27401 * math/test-misc.c (main): Do not treat incorrectly rounded
27402 conversions as failure unless ROUNDING_TESTS passes.
27404 2013-06-15 Joseph Myers <joseph@codesourcery.com>
27407 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
27408 restore exception state around main square root computation, then
27409 check for inexactness explicitly.
27411 * math/libm-test.inc (fma_test_data): Add another test.
27413 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27415 * manual/threads.texi (Non-POSIX Extensions): New document
27416 node. Document pthread_getattr_default_np and
27417 pthread_setattr_default_np.
27419 * Versions.def (libpthread): Add GLIBC_2.18.
27420 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
27421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27429 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
27431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27435 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27440 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27442 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27443 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
27445 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27446 H.J. Lu <hjl.tools@gmail.com>
27449 * sysdeps/x86_64/rtld-memset.c: Remove file.
27450 * sysdeps/x86_64/rtld-memset.S: New file.
27452 2013-06-14 Joseph Myers <joseph@codesourcery.com>
27454 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
27455 (test_in_one_mode): Take arguments for whether the rounding mode
27456 is supported for each floating-point type.
27457 (do_test): Pass new arguments to test_in_one_mode using
27460 2013-06-13 Roland McGrath <roland@hack.frob.com>
27462 * posix/tst-waitid.c (do_test): Distinguish different instances of
27463 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
27464 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
27465 before entering the kernel for waitpid.
27467 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27469 * NEWS: Fix note on clock function precision. Text by Roland
27472 2013-06-13 Roland McGrath <roland@hack.frob.com>
27474 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
27475 it into place only when and if the sanity check passes.
27477 2013-06-13 Joseph Myers <joseph@codesourcery.com>
27479 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
27480 output for whether conversion result is exact. Take argument
27481 indicating whether type is IBM long double.
27482 (round_for_all): Change need_exact field to ibm_ld.
27483 * stdlib/tst-strtod-round.c (struct exactness): New type.
27484 (struct test): Change bool ld_ok field to struct exactness exact.
27485 (TEST): Update all definitions for change to field.
27486 (tests): Regenerate array contents.
27487 (test_in_one_mode): Take pointer to new field instead of old ld_ok
27488 field value. Check for IBM long double here.
27489 (do_test): Update calls to test_in_one_mode.
27491 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27494 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
27495 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
27497 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27500 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
27501 generated by the compiler on loop optimizations.
27502 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
27503 general definitions.
27505 2013-06-12 Joseph Myers <joseph@codesourcery.com>
27507 * math/bug-nextafter.c: Include <math-tests.h>.
27508 (main): Only test for exceptions if EXCEPTION_TESTS is true for
27510 * math/bug-nexttoward.c: Include <math-tests.h>.
27511 (main): Only test for exceptions if EXCEPTION_TESTS is true for
27513 * math/test-misc.c: Include <math-tests.h>.
27514 (main): Only test for exceptions if EXCEPTION_TESTS is true for
27517 2013-06-12 Andreas Jaeger <aj@suse.de>
27519 * po/ia.po: Update Interlingua translation from translation
27522 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27524 * include/fenv.h: Include stdbool.h.
27525 (struct rm_ctx): New structure.
27526 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
27528 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
27529 (SET_RESTORE_ROUNDF): Likewise.
27530 (SET_RESTORE_ROUNDL): Likewise.
27531 (SET_RESTORE_ROUND_NOEX): Likewise.
27532 (SET_RESTORE_ROUND_NOEXF): Likewise.
27533 (SET_RESTORE_ROUND_NOEXL): Likewise.
27534 (SET_RESTORE_ROUND_53BIT): Likewise.
27535 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
27536 (libc_feresetround_noexf_ctx): Likewise.
27537 (libc_feresetround_noexl_ctx): Likewise.
27538 (libc_feholdsetround_53bit_ctx): Likewise.
27539 (libc_feresetround_53bit_ctx): Likewise.
27540 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
27541 (libc_feholdexcept_setround_sse_ctx): New function.
27542 (libc_fesetenv_sse_ctx): Likewise.
27543 (libc_feupdateenv_sse_ctx): Likewise.
27544 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
27545 (libc_feholdexcept_setround_387_ctx): Likewise.
27546 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
27547 (libc_feholdsetround_387_prec_ctx): Likewise.
27548 (libc_feholdsetround_387_ctx): Likewise.
27549 (libc_feholdsetround_387_53bit_ctx): Likewise.
27550 (libc_feholdsetround_sse_ctx): Likewise.
27551 (libc_feresetround_sse_ctx): Likewise.
27552 (libc_feresetround_387_ctx): Likewise.
27553 (libc_feupdateenv_387_ctx): Likewise.
27554 (libc_feholdexcept_setroundf_ctx): Define macro.
27555 (libc_fesetenvf_ctx): Likewise.
27556 (libc_feupdateenvf_ctx): Likewise.
27557 (libc_feholdsetroundf_ctx): Likewise.
27558 (libc_feresetroundf_ctx): Likewise.
27559 (libc_feholdexcept_setround_ctx): Likewise.
27560 (libc_fesetenv_ctx): Likewise.
27561 (libc_feupdateenv_ctx): Likewise.
27562 (libc_feholdsetround_ctx): Likewise.
27563 (libc_feresetround_ctx): Likewise.
27564 (libc_feholdexcept_setroundl_ctx): Likewise.
27565 (libc_feupdateenvl_ctx): Likewise.
27566 (libc_feholdsetroundl_ctx): Likewise.
27567 (libc_feresetroundl_ctx): Likewise.
27568 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
27569 (libc_feresetround_53bit_ctx): Likewise.
27571 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27573 * locale/iso-639.def: Convert to UTF-8.
27575 2013-06-11 Joseph Myers <joseph@codesourcery.com>
27577 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
27578 (EXCEPTION_TESTS_double): Likewise.
27579 (EXCEPTION_TESTS_long_double): Likewise.
27580 (EXCEPTION_TESTS): Likewise.
27581 * math/libm-test.inc (test_exceptions): Only test exceptions if
27582 EXCEPTION_TESTS (FLOAT).
27584 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27586 * benchtests/Makefile (string-bench): Add strcpy_chk and
27588 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
27589 * benchtests/bench-stpcpy_chk.c: New file.
27590 * benchtests/bench-strcpy_chk-ifunc.c: New file.
27591 * benchtests/bench-strcpy_chk.c: New file.
27592 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
27594 (do_test): Likewise.
27596 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27598 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
27599 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
27600 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
27601 with tabs where appropriate.
27602 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
27604 [PPC_PLATFORM_PPC440]: Likewise.
27605 [PPC_PLATFORM_PPC464]: Likewise.
27606 [PPC_PLATFORM_PPC476]: Likewise.
27607 (_dl_string_platform): Add support for detecting ppc405, ppc440,
27608 ppc464, and ppc476 platform strings merging from ports/
27611 2013-06-11 Andreas Schwab <schwab@suse.de>
27614 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
27615 (from_ucs4_idx): Regenerate.
27616 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
27617 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
27618 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
27619 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
27620 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
27621 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
27622 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
27623 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
27624 from FROM_LOOP and TO_LOOP specific macros.
27625 (BODY): Handle combining characters.
27626 * iconvdata/BIG5HKSCS.irreversible: Update.
27627 * iconvdata/BIG5HKSCS.precomposed: New file.
27628 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
27630 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
27632 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27634 * include/sys/time.h: Fix indentation and add copyright header.
27636 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
27637 (do_test): Likewise.
27638 * string/test-memchr.c (do_one_test): Likewise.
27639 (do_test): Likewise.
27640 * string/test-memcmp.c (do_one_test): Likewise.
27641 (do_test): Likewise.
27642 * string/test-memcpy.c (do_one_test): Likewise.
27643 (do_test): Likewise.
27644 * string/test-memmem.c (do_one_test): Likewise.
27645 (do_test): Likewise.
27646 (do_random_tests): Likewise.
27647 * string/test-memmove.c (do_one_test): Likewise.
27648 (do_test): Likewise.
27649 * string/test-memset.c (do_one_test): Likewise.
27650 (do_test): Likewise.
27651 * string/test-rawmemchr.c (do_one_test): Likewise.
27652 (do_test): Likewise.
27653 * string/test-strcasecmp.c (do_one_test): Likewise.
27654 (do_test): Likewise.
27655 * string/test-strcasestr.c (do_one_test): Likewise.
27656 (do_test): Likewise.
27657 * string/test-strcat.c (do_one_test): Likewise.
27658 (do_test): Likewise.
27659 * string/test-strchr.c (do_one_test): Likewise.
27660 (do_test): Likewise.
27661 * string/test-strcmp.c (do_one_test): Likewise.
27662 (do_test): Likewise.
27663 * string/test-strcpy.c (do_one_test): Likewise.
27664 (do_test): Likewise.
27665 * string/test-string.h: Likewise.
27666 (test_init): Likewise.
27667 * string/test-strlen.c (do_one_test): Likewise.
27668 (do_test): Likewise.
27669 * string/test-strncasecmp.c (do_one_test): Likewise.
27670 (do_test): Likewise.
27671 * string/test-strncat.c (do_one_test): Likewise.
27672 (do_test): Likewise.
27673 * string/test-strncmp.c (do_one_test): Likewise.
27674 (do_test_limit): Likewise.
27675 (do_test): Likewise.
27676 * string/test-strncpy.c (do_one_test): Likewise.
27677 (do_test): Likewise.
27678 * string/test-strnlen.c (do_one_test): Likewise.
27679 (do_test): Likewise.
27680 * string/test-strpbrk.c (do_one_test): Likewise.
27681 (do_test): Likewise.
27682 * string/test-strrchr.c (do_one_test): Likewise.
27683 (do_test): Likewise.
27684 * string/test-strspn.c (do_one_test): Likewise.
27685 (do_test): Likewise.
27686 * string/test-strstr.c (do_one_test): Likewise.
27687 (do_test): Likewise.
27689 * benchtests/Makefile (string-bench): Add string benchmarks.
27690 * benchtests/bench-bcopy-ifunc.c: New file.
27691 * benchtests/bench-bcopy.c: New file.
27692 * benchtests/bench-bzero-ifunc.c: New file.
27693 * benchtests/bench-bzero.c: New file.
27694 * benchtests/bench-memccpy-ifunc.c: New file.
27695 * benchtests/bench-memccpy.c: New file.
27696 * benchtests/bench-memchr-ifunc.c: New file.
27697 * benchtests/bench-memchr.c: New file.
27698 * benchtests/bench-memcmp-ifunc.c: New file.
27699 * benchtests/bench-memcmp.c: New file.
27700 * benchtests/bench-memmem-ifunc.c: New file.
27701 * benchtests/bench-memmem.c: New file.
27702 * benchtests/bench-memmove-ifunc.c: New file.
27703 * benchtests/bench-memmove.c: New file.
27704 * benchtests/bench-mempcpy-ifunc.c: New file.
27705 * benchtests/bench-mempcpy.c: New file.
27706 * benchtests/bench-memset-ifunc.c: New file.
27707 * benchtests/bench-memset.c: New file.
27708 * benchtests/bench-rawmemchr-ifunc.c: New file.
27709 * benchtests/bench-rawmemchr.c: New file.
27710 * benchtests/bench-stpcpy-ifunc.c: New file.
27711 * benchtests/bench-stpcpy.c: New file.
27712 * benchtests/bench-stpncpy-ifunc.c: New file.
27713 * benchtests/bench-stpncpy.c: New file.
27714 * benchtests/bench-strcasecmp-ifunc.c: New file.
27715 * benchtests/bench-strcasecmp.c: New file.
27716 * benchtests/bench-strcasestr-ifunc.c: New file.
27717 * benchtests/bench-strcasestr.c: New file.
27718 * benchtests/bench-strcat-ifunc.c: New file.
27719 * benchtests/bench-strcat.c: New file.
27720 * benchtests/bench-strchr-ifunc.c: New file.
27721 * benchtests/bench-strchr.c: New file.
27722 * benchtests/bench-strchrnul-ifunc.c: New file.
27723 * benchtests/bench-strchrnul.c: New file.
27724 * benchtests/bench-strcmp-ifunc.c: New file.
27725 * benchtests/bench-strcmp.c: New file.
27726 * benchtests/bench-strcpy-ifunc.c: New file.
27727 * benchtests/bench-strcpy.c: New file.
27728 * benchtests/bench-strcspn-ifunc.c: New file.
27729 * benchtests/bench-strcspn.c: New file.
27730 * benchtests/bench-strlen-ifunc.c: New file.
27731 * benchtests/bench-strlen.c: New file.
27732 * benchtests/bench-strncasecmp-ifunc.c: New file.
27733 * benchtests/bench-strncasecmp.c: New file.
27734 * benchtests/bench-strncat-ifunc.c: New file.
27735 * benchtests/bench-strncat.c: New file.
27736 * benchtests/bench-strncmp-ifunc.c: New file.
27737 * benchtests/bench-strncmp.c: New file.
27738 * benchtests/bench-strncpy-ifunc.c: New file.
27739 * benchtests/bench-strncpy.c: New file.
27740 * benchtests/bench-strnlen-ifunc.c: New file.
27741 * benchtests/bench-strnlen.c: New file.
27742 * benchtests/bench-strpbrk-ifunc.c: New file.
27743 * benchtests/bench-strpbrk.c: New file.
27744 * benchtests/bench-strrchr-ifunc.c: New file.
27745 * benchtests/bench-strrchr.c: New file.
27746 * benchtests/bench-strspn-ifunc.c: New file.
27747 * benchtests/bench-strspn.c: New file.
27748 * benchtests/bench-strstr-ifunc.c: New file.
27749 * benchtests/bench-strstr.c: New file.
27751 * benchtests/Makefile: Disable parallel execution of targets.
27752 (string-bench): Add memcpy.
27753 (benchset): New variable to store a list of benchmark sets.
27754 (bench-func): Renamed from bench.
27755 (bench-set): New target.
27756 (bench): Depend on bench-func and bench-set.
27757 * benchtests/README: Add section on benchmark sets.
27758 * benchtests/bench-memcpy-ifunc.c: New file.
27759 * benchtests/bench-memcpy.c: New file.
27760 * benchtests/bench-string.h: New file.
27762 2013-06-11 Andreas Schwab <schwab@suse.de>
27765 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
27766 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
27767 values in the triple.
27768 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
27769 terminator in the group key.
27771 2013-06-11 Andreas Jaeger <aj@suse.de>
27773 * po/zh_TW.po: Update Chinese (traditional) translation from
27774 translation project.
27776 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27778 * include/time.h (__clock_gettime): Add libc_hidden_proto.
27779 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
27780 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
27781 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27782 (clock_getcpuclockid): Likewise.
27783 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
27784 Add weak_alias and libc_hidden_def.
27785 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
27786 * rt/clock_gettime.c (clock_gettime): Rename to
27787 __clock_gettime. Add weak_alias and libc_hidden_def.
27788 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
27789 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
27790 __clock_nanosleep. Add weak_alias and libc_hidden_def.
27791 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
27792 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
27794 * rt/clock_settime.c (clock_settime): Rename to
27795 __clock_settime. Add weak_alias and libc_hidden_def.
27796 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
27798 2013-06-10 Joseph Myers <joseph@codesourcery.com>
27800 * mach/err_boot.sub: Remove trailing whitespace.
27801 * mach/err_ipc.sub: Likewise.
27802 * mach/err_mach.sub: Likewise.
27804 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
27805 (ROUNDING_TESTS_double): Likewise.
27806 (ROUNDING_TESTS_long_double): Likewise.
27807 (ROUNDING_TESTS): Likewise.
27808 * math/libm-test.inc: Include <math-tests.h>.
27809 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
27810 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27811 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27812 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27814 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27816 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
27819 2013-06-08 Joseph Myers <joseph@codesourcery.com>
27821 * sysdeps/gnu/errlist.awk: Do not generate space at end of
27822 otherwise empty TRANS lines.
27823 * sysdeps/gnu/errlist.c: Regenerated.
27825 * catgets/gencat.c (error_print): Use (void) in function
27827 * crypt/crypt_util.c (__init_des): Likewise.
27828 * crypt/speeds.c (Stop): Likewise.
27830 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
27831 * inet/ruserpass.c (token): Likewise.
27832 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
27833 * intl/localealias.c (extend_alias_table): Likewise.
27834 * intl/plural-exp.c (init_germanic_plural): Likewise.
27835 * libio/fcloseall.c (__fcloseall): Likewise.
27836 * libio/genops.c (_IO_flush_all): Likewise.
27837 (_IO_flush_all_linebuffered): Likewise.
27838 (_IO_cleanup): Likewise.
27839 (_IO_iter_begin): Likewise.
27840 (_IO_iter_end): Likewise.
27841 (_IO_list_lock): Likewise.
27842 (_IO_list_unlock): Likewise.
27843 (_IO_list_resetlock): Likewise.
27844 * libio/getchar.c (getchar): Likewise.
27845 * libio/getchar_u.c (getchar_unlocked): Likewise.
27846 * libio/getwchar.c (getwchar): Likewise.
27847 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
27848 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
27849 * login/getpt.c (__getpt): Likewise.
27850 * login/tst-utmp.c (main): Likewise.
27851 * malloc/hooks.c (__malloc_check_init): Likewise.
27852 * malloc/malloc.c (__malloc_stats): Likewise.
27853 * malloc/mtrace.c (tr_break): Likewise.
27854 (mtrace): Likewise.
27855 (muntrace): Likewise.
27856 * misc/fstab.c (endfsent): Likewise.
27857 * misc/getclktck.c (__getclktck): Likewise.
27858 * misc/getdtsz.c (__getdtablesize): Likewise.
27859 * misc/gethostid.c (gethostid): Likewise.
27860 * misc/getpagesize.c (__getpagesize): Likewise.
27861 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
27862 (__get_nprocs): Likewise.
27863 (__get_phys_pages): Likewise.
27864 (__get_avphys_pages): Likewise.
27865 * misc/getttyent.c (getttyent): Likewise.
27866 (setttyent): Likewise.
27867 (endttyent): Likewise.
27868 * misc/getusershell.c (getusershell): Likewise.
27869 (endusershell): Likewise.
27870 (setusershell): Likewise.
27871 (initshells): Likewise.
27872 * misc/hsearch.c (__hdestroy): Likewise.
27873 * misc/sync.c (sync): Likewise.
27874 * misc/syslog.c (closelog_internal): Likewise.
27875 (closelog): Likewise.
27876 * misc/ttyslot.c (ttyslot): Likewise.
27877 * misc/vhangup.c (vhangup): Likewise.
27878 * posix/fork.c (__fork): Likewise.
27879 * posix/getegid.c (__getegid): Likewise.
27880 * posix/geteuid.c (__geteuid): Likewise.
27881 * posix/getgid.c (__getgid): Likewise.
27882 * posix/getpid.c (__getpid): Likewise.
27883 * posix/getppid.c (__getppid): Likewise.
27884 * posix/getuid.c (__getuid): Likewise.
27885 * posix/pause.c (pause): Likewise.
27886 * posix/setpgrp.c (setpgrp): Likewise.
27887 * posix/setsid.c (__setsid): Likewise.
27888 * posix/test-vfork.c (noop): Likewise.
27889 * resolv/gethnamaddr.c (_endhtent): Likewise.
27890 (_gethtent): Likewise.
27891 (ht_endhostent): Likewise.
27892 (gethostent): Likewise.
27893 (dns_service): Likewise.
27894 * stdlib/drand48.c (drand48): Likewise.
27895 * stdlib/lrand48.c (lrand48): Likewise.
27896 * stdlib/mrand48.c (mrand48): Likewise.
27897 * stdlib/rand.c (rand): Likewise.
27898 * stdlib/random.c (__random): Likewise.
27899 * stdlib/setenv.c (clearenv): Likewise.
27900 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
27901 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
27902 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
27903 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
27904 (__get_nprocs): Likewise.
27905 (__get_phys_pages): Likewise.
27906 (__get_avphys_pages): Likewise.
27907 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
27908 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
27909 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
27910 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
27911 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
27912 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
27913 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
27914 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
27915 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
27916 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
27917 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
27918 * sysdeps/mach/hurd/sync.c (sync): Likewise.
27919 * sysdeps/posix/clock.c (clock): Likewise.
27920 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
27921 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
27922 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
27923 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
27924 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
27925 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27926 (__get_nprocs_conf): Likewise.
27927 (__get_phys_pages): Likewise.
27928 (__get_avphys_pages): Likewise.
27929 * time/clock.c (clock): Likewise.
27930 * time/tzset.c (__tzname_max): Likewise.
27932 2013-06-07 Joseph Myers <joseph@codesourcery.com>
27934 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
27935 (__bswap_32): Do not use "register".
27936 * crypt/crypt.c (_ufc_doit_r): Likewise.
27937 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27938 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27939 * gmon/gmon.c (__monstartup): Likewise.
27940 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
27941 * hurd/hurdmalloc.c (more_memory): Likewise.
27942 (malloc): Likewise.
27944 (realloc): Likewise.
27945 (malloc_fork_prepare): Likewise.
27946 (malloc_fork_parent): Likewise.
27947 (malloc_fork_child): Likewise.
27948 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
27949 (_svcauth_des): Likewise.
27950 * inet/inet_lnaof.c (inet_lnaof): Likewise.
27951 * inet/inet_net.c (inet_network): Likewise.
27952 * inet/inet_netof.c (inet_netof): Likewise.
27953 * inet/rcmd.c (__validuser2_sa): Likewise.
27954 * io/fts.c (fts_open): Likewise.
27955 (fts_load): Likewise.
27956 (fts_close): Likewise.
27957 (fts_read): Likewise.
27958 (fts_children): Likewise.
27959 (fts_build): Likewise.
27960 (fts_stat): Likewise.
27961 (fts_sort): Likewise.
27962 (fts_alloc): Likewise.
27963 (fts_lfree): Likewise.
27964 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
27965 (_IO_file_xsgetn): Likewise.
27966 (_IO_file_xsgetn_mmap): Likewise.
27967 * libio/iofopncook.c (_IO_cookie_read): Likewise.
27968 (_IO_cookie_write): Likewise.
27969 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
27970 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
27971 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
27972 * malloc/obstack.c (_obstack_begin): Likewise.
27973 (_obstack_begin_1): Likewise.
27974 (_obstack_newchunk): Likewise.
27975 (_obstack_allocated_p): Likewise.
27976 (obstack_free): Likewise.
27977 (_obstack_memory_used): Likewise.
27978 * misc/getttyent.c (getttynam): Likewise.
27979 (getttyent): Likewise.
27982 * misc/getusershell.c (initshells): Likewise.
27983 * misc/syslog.c (__vsyslog_chk): Likewise.
27984 * misc/ttyslot.c (ttyslot): Likewise.
27985 * nis/nis_hash.c (__nis_hash): Likewise.
27986 * posix/fnmatch_loop.c (FCT): Likewise.
27987 * posix/getconf.c (print_all): Likewise.
27989 * posix/getopt.c (exchange): Likewise.
27990 * posix/glob.c (globfree): Likewise.
27991 (prefix_array): Likewise.
27992 (__glob_pattern_type): Likewise.
27993 * resolv/arpa/nameser.h (NS_GET16): Likewise.
27994 (NS_GET32): Likewise.
27995 (NS_PUT16): Likewise.
27996 (NS_PUT32): Likewise.
27997 * resolv/gethnamaddr.c (getanswer): Likewise.
27998 (gethostbyname2): Likewise.
27999 (gethostbyaddr): Likewise.
28000 (_gethtent): Likewise.
28001 (_gethtbyname2): Likewise.
28002 (_gethtbyaddr): Likewise.
28003 * resolv/ns_print.c (dst_s_get_int16): Likewise.
28004 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28005 * resolv/res_init.c (__res_vinit): Likewise.
28006 (net_mask): Likewise.
28007 * resolv/res_mkquery.c (outchar): Likewise.
28009 * stdio-common/printf_fp.c (outchar): Likewise.
28011 * stdio-common/printf_fphex.c (outchar): Likewise.
28013 * stdio-common/printf_size.c (outchar): Likewise.
28015 * stdio-common/test_rdwr.c (main): Likewise.
28016 * stdio-common/tfformat.c (matches): Likewise.
28017 * stdio-common/vfprintf.c (outchar): Likewise.
28018 (printf_unknown): Likewise.
28019 (buffered_vfprintf): Likewise.
28020 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
28021 * stdio-common/xbug.c (AppendToBuffer): Likewise.
28022 (ReadFile): Likewise.
28023 * stdlib/qsort.c (SWAP): Likewise.
28024 (_quicksort): Likewise.
28025 * stdlib/setenv.c (__add_to_environ): Likewise.
28026 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
28027 * stdlib/strtol_l.c (__strtol_l): Likewise.
28028 * stdlib/tst-strtod.c (main): Likewise.
28029 * stdlib/tst-strtol.c (main): Likewise.
28030 * stdlib/tst-strtoll.c (main): Likewise.
28031 * string/bits/string2.h (__strcmp_cc): Likewise.
28032 (__strcmp_cg): Likewise.
28033 (__strcspn_c1): Likewise.
28034 (__strcspn_c2): Likewise.
28035 (__strcspn_c3): Likewise.
28036 (__strspn_c1): Likewise.
28037 (__strspn_c2): Likewise.
28038 (__strspn_c3): Likewise.
28039 (__strsep_1c): Likewise.
28040 (__strsep_2c): Likewise.
28041 (__strsep_3c): Likewise.
28042 * string/memccpy.c (__memccpy): Likewise.
28043 * string/stpcpy.c (__stpcpy): Likewise.
28044 * string/strcmp.c (strcmp): Likewise.
28045 * string/strrchr.c (strrchr): Likewise.
28046 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
28048 * sysdeps/mach/hurd/getcwd.c
28049 (_hurd_canonicalize_directory_name_internal): Likewise.
28050 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
28051 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
28052 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
28053 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
28054 Likewise, in both definitions.
28055 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
28057 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
28058 64] (__bswap_64): Likewise.
28059 * time/test_time.c (main): Likewise.
28060 * time/tzfile.c (__tzfile_read): Likewise.
28061 (__tzfile_compute): Likewise.
28062 * time/tzset.c (__tzset_parse_tz): Likewise.
28063 (tzset_internal): Likewise.
28064 (compute_change): Likewise.
28065 * wcsmbs/wcscat.c (__wcscat): Likewise.
28066 * wcsmbs/wcschr.c (wcschr): Likewise.
28067 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
28068 * wcsmbs/wcscspn.c (wcscspn): Likewise.
28069 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
28070 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
28071 * wcsmbs/wcsspn.c (wcsspn): Likewise.
28072 * wcsmbs/wcsstr.c (wcsstr): Likewise.
28073 * wcsmbs/wmemchr.c (wmemchr): Likewise.
28074 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28075 * wcsmbs/wmemset.c (wmemset): Likewise.
28077 2013-06-06 Joseph Myers <joseph@codesourcery.com>
28079 * scripts/config.guess: Update to version 2013-05-16.
28080 * scripts/config.sub: Update to version 2013-04-24.
28081 * scripts/install-sh: Update to version 2011-11-20.07.
28082 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
28083 * scripts/move-if-change: Update to version 2012-01-06 07:23.
28085 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
28087 * debug/fgetws_u_chk.c: Fix leading whitespaces.
28088 * elf/sln.c: Likewise.
28089 * hurd/hurd/ioctl.h: Likewise.
28090 * hurd/hurdmalloc.c: Likewise.
28091 * hurd/xattr.c: Likewise.
28092 * include/shlib-compat.h: Likewise.
28093 * inet/ruserpass.c: Likewise.
28094 * libio/iofgets_u.c: Likewise.
28095 * libio/iofgetws_u.c: Likewise.
28096 * locale/programs/ld-identification.c: Likewise.
28097 * locale/programs/ld-time.c: Likewise.
28098 * mach/msg-destroy.c: Likewise.
28099 * nss/nss_files/files-netgrp.c: Likewise.
28100 * resolv/res_data.c: Likewise.
28101 * soft-fp/op-1.h: Likewise.
28102 * soft-fp/op-2.h: Likewise.
28103 * soft-fp/op-4.h: Likewise.
28104 * soft-fp/op-common.h: Likewise.
28105 * stdio-common/printf_fphex.c: Likewise.
28106 * stdlib/strtod_l.c: Likewise.
28107 * sunrpc/rpc/clnt.h: Likewise.
28108 * sysdeps/generic/framestate.c: Likewise.
28109 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28110 * sysdeps/i386/bsd-setjmp.S: Likewise.
28111 * sysdeps/i386/__longjmp.S: Likewise.
28112 * sysdeps/i386/setjmp.S: Likewise.
28113 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28114 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28115 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28116 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28117 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28118 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28119 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28120 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28121 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28122 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28123 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28124 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28125 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28126 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28127 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28128 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28129 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28130 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
28131 * sysdeps/ieee754/support.c: Likewise.
28132 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28133 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
28134 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
28135 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
28136 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
28137 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
28138 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
28139 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
28140 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
28141 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
28142 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
28143 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
28144 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
28145 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
28146 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
28147 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
28148 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
28151 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
28153 * posix/transbug.c: Remove executable mode.
28155 2013-06-05 Joseph Myers <joseph@codesourcery.com>
28157 * crypt/speeds.c: Remove trailing whitespace.
28158 * dlfcn/default.c: Likewise.
28159 * elf/ifuncdep2.c: Likewise.
28160 * elf/ifuncmain1.c: Likewise.
28161 * elf/ifuncmain1vis.c: Likewise.
28162 * elf/testobj.h: Likewise.
28163 * elf/tst-stackguard1.c: Likewise.
28164 * gmon/sys/gmon.h: Likewise.
28165 * hurd/hurdmsg.c: Likewise.
28166 * hurd/new-fd.c: Likewise.
28167 * hurd/ports-get.c: Likewise.
28168 * iconvdata/ibm1008_420.c: Likewise.
28169 * inet/tst-getni1.c: Likewise.
28170 * inet/tst-getni2.c: Likewise.
28171 * libio/ioungetc.c: Likewise.
28172 * libio/wfiledoalloc.c: Likewise.
28173 * manual/libm-err-tab.pl: Likewise.
28174 * math/w_dremf.c: Likewise.
28175 * misc/ftruncate.c: Likewise.
28176 * posix/bug-glob2.c: Likewise.
28177 * posix/tst-pcre.c: Likewise.
28178 * posix/wait4.c: Likewise.
28179 * resolv/README: Likewise.
28180 * resolv/res_debug.h: Likewise.
28181 * resolv/tst-inet_ntop.c: Likewise.
28182 * setjmp/bug269-setjmp.c: Likewise.
28183 * soft-fp/extended.h: Likewise.
28184 * soft-fp/op-1.h: Likewise.
28185 * soft-fp/op-2.h: Likewise.
28186 * soft-fp/op-4.h: Likewise.
28187 * soft-fp/op-8.h: Likewise.
28188 * soft-fp/testit.c: Likewise.
28189 * stdio-common/bug16.c: Likewise.
28190 * stdlib/random.c: Likewise.
28191 * sunrpc/rpcsvc/rquota.x: Likewise.
28192 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
28193 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28194 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28195 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28196 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28197 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28198 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28199 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28200 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28201 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28202 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28203 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28204 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28205 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28206 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28207 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28208 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28209 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28210 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28211 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28212 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28213 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28214 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
28215 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28216 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28217 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28218 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28219 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28220 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28221 * sysdeps/ieee754/s_lib_version.c: Likewise.
28222 * sysdeps/mach/hurd/check_fds.c: Likewise.
28223 * sysdeps/mach/hurd/getsockname.c: Likewise.
28224 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
28225 * sysdeps/mach/hurd/recvfrom.c: Likewise.
28226 * sysdeps/powerpc/bits/link.h: Likewise.
28227 * sysdeps/powerpc/dl-procinfo.c: Likewise.
28228 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
28229 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
28230 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
28231 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28232 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28233 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
28234 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28235 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
28236 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28237 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
28238 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28239 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
28240 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28241 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28242 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28243 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28244 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28245 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28246 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28247 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28248 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
28249 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28250 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28251 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
28252 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28253 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28254 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28255 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28256 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28257 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28258 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28259 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28260 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28261 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
28262 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28263 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
28264 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28265 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
28266 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
28267 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
28268 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
28269 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
28270 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
28271 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28272 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
28273 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
28274 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28275 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
28276 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
28277 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28278 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28279 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28280 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28281 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
28282 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
28283 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28284 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28285 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
28286 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28287 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
28288 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
28289 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
28290 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28291 * sysdeps/powerpc/sysdep.h: Likewise.
28292 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28293 * sysdeps/s390/s390-64/sub_n.S: Likewise.
28294 * sysdeps/sh/dl-trampoline.S: Likewise.
28295 * sysdeps/sh/memset.S: Likewise.
28296 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
28297 * sysdeps/sh/strlen.S: Likewise.
28298 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
28299 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
28300 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
28301 * sysdeps/sparc/sparc32/rem.S: Likewise.
28302 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
28303 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
28304 * sysdeps/sparc/sparc32/strchr.S: Likewise.
28305 * sysdeps/sparc/sparc32/udiv.S: Likewise.
28306 * sysdeps/sparc/sparc32/urem.S: Likewise.
28307 * sysdeps/sparc/sparc64/add_n.S: Likewise.
28308 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28309 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
28310 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
28311 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
28312 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
28313 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
28314 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
28315 * sysdeps/unix/bsd/times.c: Likewise.
28316 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
28317 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
28318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
28319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
28320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
28321 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
28322 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28323 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
28324 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
28325 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
28326 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
28327 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28328 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
28329 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28330 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28331 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
28332 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28333 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
28334 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
28335 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
28336 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
28337 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
28338 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28339 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
28340 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
28341 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
28342 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
28343 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28344 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
28345 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
28346 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
28347 * sysdeps/x86_64/strcspn.S: Likewise.
28349 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28351 * locale/C-translit.h: Revert #include <stdint.h> because this is a
28352 generated file. Regenerate properly from gen-translit.pl.
28353 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
28354 locale/C-translit.h.
28356 2013-06-05 Andreas Schwab <schwab@suse.de>
28359 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
28360 week as 6 instead of -1.
28361 * time/tst-strptime.c (day_tests): Add test case.
28363 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28365 * sysdeps/generic/math_private.h
28366 (libc_feholdexcept_setround_53bit): Replace with
28367 libc_feholdsetround_53bit.
28368 (libc_feupdateenv_53bit): Replace with
28369 libc_feresetround_53bit.
28370 (SET_RESTORE_ROUND_53BIT): Adjust.
28372 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
28374 * string/test-strchrnul.c: Add copyright header.
28376 * posix/tst-getaddrinfo4.c: Increase test timeout.
28378 2013-06-03 Carlos O'Donell <carlos@redhat.com>
28381 * math/libm-test.inc (MAX_EXP): Remove
28383 (ulp): Use MIN_EXP - MANT_DIG.
28384 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
28386 2013-05-31 Carlos O'Donell <carlos@redhat.com>
28388 * po/be.po: Revert last change.
28389 * po/zh_CN.po: Likewise.
28390 * po/header.pot: Likewise.
28392 2013-05-31 Joseph Myers <joseph@codesourcery.com>
28394 * Makefile ($(common-objpfx)linkobj/libc.so): Define
28395 link-libc-deps to empty as target-specific variable.
28396 * Makerules (link-libc-args): New variable.
28397 (libc-for-link): Likewise.
28398 (link-libc-deps): Likewise.
28399 (lib%.so): Depend on $(link-libc-deps). Link with
28401 (build-module): Link with $(link-libc-args).
28402 (build-module-asneeded): Likewise.
28403 (build-module-helper-objlist): Filter out $(link-libc-deps) from
28405 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
28406 target-specific variable.
28407 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
28408 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
28409 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
28411 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
28413 ($(objpfx)libpcprofile.so): Likewise.
28414 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
28416 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
28417 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
28418 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
28420 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
28421 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
28422 * login/Makefile ($(objpfx)libutil.so): Likewise.
28423 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
28424 * math/Makefile ($(objpfx)libm.so): Likewise.
28425 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
28426 $(objpfx)libnsl.so): Define libc-for-link as target-specific
28427 variable instead of depending directly on libc.
28428 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
28429 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
28431 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
28433 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
28434 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
28435 ($(objpfx)libanl.so): Likewise.
28436 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
28438 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
28440 * sysdeps/i386/fpu/Makefile: Remove file.
28441 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
28442 ($(objpfx)libm.so): Remove dependency on ld.so.
28444 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
28447 * nis/yp_xdr.c (XDRMAXNAME): Define.
28448 (XDRMAXRECORD): Define.
28449 (xdr_domainname): Use XDRMAXNAME.
28450 (xdr_mapname): Likewise.
28451 (xdr_peername): Likewise.
28452 (xdr_keydat): Use XDRMAXRECORD.
28453 (xdr_valdat): Likewise.
28455 2013-05-30 Jeff Law <law@redhat.com>
28458 * manual/errno.texi (ESTALE): Update to account for more than
28459 just NFS file systems.
28460 * sysdeps/gnu/errlist.c: Regenerated.
28462 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28465 * elf/Makefile (tests): Add tst-null-argv.
28466 (modules-names): Add tst-null-argv-lib.
28467 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
28468 (tst-null-argv-ENV): Set environment for tst-null-argv.
28469 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
28470 (RTLD_PROGNAME): New macro.
28471 * elf/tst-null-argv.c: New test case.
28472 * elf/tst-null-argv-lib.c: Library for test case.
28473 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
28474 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
28475 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
28476 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
28477 * elf/dl-init.c (call_init): Likewise.
28478 (_dl_init): Likewise.
28479 * elf/dl-load.c (print_search_path): Likewise.
28480 (_dl_map_object): Likewise.
28481 * elf/dl-lookup.c (do_lookup_x): Likewise.
28482 (add_dependency): Likewise.
28483 (_dl_lookup_symbol_x): Likewise.
28484 (_dl_debug_bindings): Likewise.
28485 * elf/dl-open.c (_dl_show_scope): Likewise.
28486 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
28487 * elf/dl-version.c (match_symbol): Likewise.
28488 (_dl_check_map_versions): Likewise.
28489 * elf/rtld.c (dl_main): Likewise.
28490 (print_unresolved): Use RTLD_PROGNAME.
28491 (print_missing_version): Likewise.
28492 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
28493 (elf_machine_rela): Likewise.
28494 * sysdeps/powerpc/powerpc32/dl-machine.c
28495 (__process_machine_rela): Likewise.
28496 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28498 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28500 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28502 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28503 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
28505 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
28507 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28509 2013-05-28 Carlos O'Donell <carlos@redhat.com>
28511 * po/be.po: Add descriptive title.
28512 * po/zh_CN.po: Likewise.
28513 * po/header.pot: Likewise.
28515 2013-05-28 Mike Frysinger <vapier@gentoo.org>
28517 * locale/programs/locarchive.c (create_archive): Inlucde fname in
28519 (enlarge_archive): Likewise.
28521 2013-05-28 Ben North <ben@redfrontdoor.org>
28523 * manual/arith.texi (frexp): It is the magnitude of the return
28524 value which lies in [0.5, 1), not the return value itself.
28526 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28530 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
28532 * stdio-common/bug26.c (main): Correct fscanf template.
28534 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
28535 declare _dl_skip_args.
28537 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
28540 * manual/platform.texi: Add missing @end deftypefun.
28542 2013-05-24 Joseph Myers <joseph@codesourcery.com>
28545 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
28546 bit of mantissa of 2^16382.
28547 * math/libm-test.inc (hypot_test_data): Add more tests.
28549 * math/libm-test.inc: Add drem and pow10 to list of tested
28551 (pow10_test): New function.
28552 (drem_test): Likewise.
28553 (drem_test_tonearest): Likewise.
28554 (drem_test_towardzero): Likewise.
28555 (drem_test_downward): Likewise.
28556 (drem_test_upward): Likewise.
28557 (main): Call the new functions.
28559 * math/libm-test.inc (finite_test_data): Remove.
28560 (finite_test): Run tests from isfinite_test_data.
28561 (gamma_test_data): Remove.
28562 (gamma_test): Run tests from lgamma_test_data.
28563 * sysdeps/i386/fpu/libm-test-ulps: Update.
28564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28566 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28568 * manual/platform.texi: Add PowerPC PPR function set documentation.
28569 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
28572 2013-05-24 Carlos O'Donell <carlos@redhat.com>
28574 * math/libm-test.inc (MAX_EXP): Define.
28576 (ulp): New function.
28577 (check_float_internal): Use ULPDIFF.
28578 (cpow_test): Disable failing test.
28579 (check_ulp): Test ulp() implemetnation.
28580 (main): Call check_ulp before starting tests.
28582 2013-05-24 Joseph Myers <joseph@codesourcery.com>
28584 * math/gen-libm-test.pl (generate_testfile): Do not handle
28585 START_DATA and END_DATA.
28586 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
28588 (acos_tonearest_test_data): Likewise.
28589 (acos_towardzero_test_data): Likewise.
28590 (acos_downward_test_data): Likewise.
28591 (acos_upward_test_data): Likewise.
28592 (acosh_test_data): Likewise.
28593 (asin_test_data): Likewise.
28594 (asin_tonearest_test_data): Likewise.
28595 (asin_towardzero_test_data): Likewise.
28596 (asin_downward_test_data): Likewise.
28597 (asin_upward_test_data): Likewise.
28598 (asinh_test_data): Likewise.
28599 (atan_test_data): Likewise.
28600 (atanh_test_data): Likewise.
28601 (atan2_test_data): Likewise.
28602 (cabs_test_data): Likewise.
28603 (cacos_test_data): Likewise.
28604 (cacosh_test_data): Likewise.
28605 (carg_test_data): Likewise.
28606 (casin_test_data): Likewise.
28607 (casinh_test_data): Likewise.
28608 (catan_test_data): Likewise.
28609 (catanh_test_data): Likewise.
28610 (cbrt_test_data): Likewise.
28611 (ccos_test_data): Likewise.
28612 (ccosh_test_data): Likewise.
28613 (ceil_test_data): Likewise.
28614 (cexp_test_data): Likewise.
28615 (cimag_test_data): Likewise.
28616 (clog_test_data): Likewise.
28617 (clog10_test_data): Likewise.
28618 (conj_test_data): Likewise.
28619 (copysign_test_data): Likewise.
28620 (cos_test_data): Likewise.
28621 (cos_tonearest_test_data): Likewise.
28622 (cos_towardzero_test_data): Likewise.
28623 (cos_downward_test_data): Likewise.
28624 (cos_upward_test_data): Likewise.
28625 (cosh_test_data): Likewise.
28626 (cosh_tonearest_test_data): Likewise.
28627 (cosh_towardzero_test_data): Likewise.
28628 (cosh_downward_test_data): Likewise.
28629 (cosh_upward_test_data): Likewise.
28630 (cpow_test_data): Likewise.
28631 (cproj_test_data): Likewise.
28632 (creal_test_data): Likewise.
28633 (csin_test_data): Likewise.
28634 (csinh_test_data): Likewise.
28635 (csqrt_test_data): Likewise.
28636 (ctan_test_data): Likewise.
28637 (ctan_tonearest_test_data): Likewise.
28638 (ctan_towardzero_test_data): Likewise.
28639 (ctan_downward_test_data): Likewise.
28640 (ctan_upward_test_data): Likewise.
28641 (ctanh_test_data): Likewise.
28642 (ctanh_tonearest_test_data): Likewise.
28643 (ctanh_towardzero_test_data): Likewise.
28644 (ctanh_downward_test_data): Likewise.
28645 (ctanh_upward_test_data): Likewise.
28646 (erf_test_data): Likewise.
28647 (erfc_test_data): Likewise.
28648 (exp_test_data): Likewise.
28649 (exp_tonearest_test_data): Likewise.
28650 (exp_towardzero_test_data): Likewise.
28651 (exp_downward_test_data): Likewise.
28652 (exp_upward_test_data): Likewise.
28653 (exp10_test_data): Likewise.
28654 (exp2_test_data): Likewise.
28655 (expm1_test_data): Likewise.
28656 (fabs_test_data): Likewise.
28657 (fdim_test_data): Likewise.
28658 (finite_test_data): Likewise.
28659 (floor_test_data): Likewise.
28660 (fma_test_data): Likewise.
28661 (fma_towardzero_test_data): Likewise.
28662 (fma_downward_test_data): Likewise.
28663 (fma_upward_test_data): Likewise.
28664 (fmax_test_data): Likewise.
28665 (fmin_test_data): Likewise.
28666 (fmod_test_data): Likewise.
28667 (fpclassify_test_data): Likewise.
28668 (frexp_test_data): Likewise.
28669 (gamma_test_data): Likewise.
28670 (hypot_test_data): Likewise.
28671 (ilogb_test_data): Likewise.
28672 (isfinite_test_data): Likewise.
28673 (isgreater_test_data): Likewise.
28674 (isgreaterequal_test_data): Likewise.
28675 (isinf_test_data): Likewise.
28676 (isless_test_data): Likewise.
28677 (islessequal_test_data): Likewise.
28678 (islessgreater_test_data): Likewise.
28679 (isnan_test_data): Likewise.
28680 (isnormal_test_data): Likewise.
28681 (issignaling_test_data): Likewise.
28682 (isunordered_test_data): Likewise.
28683 (j0_test_data): Likewise.
28684 (j1_test_data): Likewise.
28685 (jn_test_data): Likewise.
28686 (ldexp_test_data): Likewise.
28687 (lgamma_test_data): Likewise.
28688 (lrint_test_data): Likewise.
28689 (lrint_tonearest_test_data): Likewise.
28690 (lrint_towardzero_test_data): Likewise.
28691 (lrint_downward_test_data): Likewise.
28692 (lrint_upward_test_data): Likewise.
28693 (llrint_test_data): Likewise.
28694 (llrint_tonearest_test_data): Likewise.
28695 (llrint_towardzero_test_data): Likewise.
28696 (llrint_downward_test_data): Likewise.
28697 (llrint_upward_test_data): Likewise.
28698 (log_test_data): Likewise.
28699 (log10_test_data): Likewise.
28700 (log1p_test_data): Likewise.
28701 (log2_test_data): Likewise.
28702 (logb_test_data): Likewise.
28703 (logb_downward_test_data): Likewise.
28704 (lround_test_data): Likewise.
28705 (llround_test_data): Likewise.
28706 (modf_test_data): Likewise.
28707 (nearbyint_test_data): Likewise.
28708 (nextafter_test_data): Likewise.
28709 (nexttoward_test_data): Likewise.
28710 (pow_test_data): Likewise.
28711 (pow_tonearest_test_data): Likewise.
28712 (pow_towardzero_test_data): Likewise.
28713 (pow_downward_test_data): Likewise.
28714 (pow_upward_test_data): Likewise.
28715 (remainder_test_data): Likewise.
28716 (remainder_tonearest_test_data): Likewise.
28717 (remainder_towardzero_test_data): Likewise.
28718 (remainder_downward_test_data): Likewise.
28719 (remainder_upward_test_data): Likewise.
28720 (remquo_test_data): Likewise.
28721 (rint_test_data): Likewise.
28722 (rint_tonearest_test_data): Likewise.
28723 (rint_towardzero_test_data): Likewise.
28724 (rint_downward_test_data): Likewise.
28725 (rint_upward_test_data): Likewise.
28726 (round_test_data): Likewise.
28727 (scalb_test_data): Likewise.
28728 (scalbn_test_data): Likewise.
28729 (scalbln_test_data): Likewise.
28730 (signbit_test_data): Likewise.
28731 (sin_test_data): Likewise.
28732 (sin_tonearest_test_data): Likewise.
28733 (sin_towardzero_test_data): Likewise.
28734 (sin_downward_test_data): Likewise.
28735 (sin_upward_test_data): Likewise.
28736 (sincos_test_data): Likewise.
28737 (sinh_test_data): Likewise.
28738 (sinh_tonearest_test_data): Likewise.
28739 (sinh_towardzero_test_data): Likewise.
28740 (sinh_downward_test_data): Likewise.
28741 (sinh_upward_test_data): Likewise.
28742 (sqrt_test_data): Likewise.
28743 (tan_test_data): Likewise.
28744 (tan_tonearest_test_data): Likewise.
28745 (tan_towardzero_test_data): Likewise.
28746 (tan_downward_test_data): Likewise.
28747 (tan_upward_test_data): Likewise.
28748 (tanh_test_data): Likewise.
28749 (tgamma_test_data): Likewise.
28750 (trunc_test_data): Likewise.
28751 (y0_test_data): Likewise.
28752 (y1_test_data): Likewise.
28753 (yn_test_data): Likewise.
28754 (significand_test_data): Likewise.
28756 * math/gen-libm-test.pl (@functions): Remove variable.
28757 (generate_testfile): Don't handle START and END lines.
28758 * math/libm-test.inc (START): New macro.
28760 (END_COMPLEX): Likewise.
28761 (acos_test): Use END macro without arguments.
28762 (acos_test_tonearest): Likewise.
28763 (acos_test_towardzero): Likewise.
28764 (acos_test_downward): Likewise.
28765 (acos_test_upward): Likewise.
28766 (acosh_test): Likewise.
28767 (asin_test): Likewise.
28768 (asin_test_tonearest): Likewise.
28769 (asin_test_towardzero): Likewise.
28770 (asin_test_downward): Likewise.
28771 (asin_test_upward): Likewise.
28772 (asinh_test): Likewise.
28773 (atan_test): Likewise.
28774 (atanh_test): Likewise.
28775 (atan2_test): Likewise.
28776 (cabs_test): Likewise.
28777 (cacos_test): Use END_COMPLEX macro without arguments.
28778 (cacosh_test): Likewise.
28779 (carg_test): Use END macro without arguments.
28780 (casin_test): Use END_COMPLEX macro without arguments.
28781 (casinh_test): Likewise.
28782 (catan_test): Likewise.
28783 (catanh_test): Likewise.
28784 (cbrt_test): Use END macro without arguments.
28785 (ccos_test): Use END_COMPLEX macro without arguments.
28786 (ccosh_test): Likewise.
28787 (ceil_test): Use END macro without arguments.
28788 (cexp_test): Use END_COMPLEX macro without arguments.
28789 (cimag_test): Use END macro without arguments.
28790 (clog_test): Use END_COMPLEX macro without arguments.
28791 (clog10_test): Likewise.
28792 (conj_test): Likewise.
28793 (copysign_test): Use END macro without arguments.
28794 (cos_test): Likewise.
28795 (cos_test_tonearest): Likewise.
28796 (cos_test_towardzero): Likewise.
28797 (cos_test_downward): Likewise.
28798 (cos_test_upward): Likewise.
28799 (cosh_test): Likewise.
28800 (cosh_test_tonearest): Likewise.
28801 (cosh_test_towardzero): Likewise.
28802 (cosh_test_downward): Likewise.
28803 (cosh_test_upward): Likewise.
28804 (cpow_test): Use END_COMPLEX macro without arguments.
28805 (cproj_test): Likewise.
28806 (creal_test): Use END macro without arguments.
28807 (csin_test): Use END_COMPLEX macro without arguments.
28808 (csinh_test): Likewise.
28809 (csqrt_test): Likewise.
28810 (ctan_test): Likewise.
28811 (ctan_test_tonearest): Likewise.
28812 (ctan_test_towardzero): Likewise.
28813 (ctan_test_downward): Likewise.
28814 (ctan_test_upward): Likewise.
28815 (ctanh_test): Likewise.
28816 (ctanh_test_tonearest): Likewise.
28817 (ctanh_test_towardzero): Likewise.
28818 (ctanh_test_downward): Likewise.
28819 (ctanh_test_upward): Likewise.
28820 (erf_test): Use END macro without arguments.
28821 (erfc_test): Likewise.
28822 (exp_test): Likewise.
28823 (exp_test_tonearest): Likewise.
28824 (exp_test_towardzero): Likewise.
28825 (exp_test_downward): Likewise.
28826 (exp_test_upward): Likewise.
28827 (exp10_test): Likewise.
28828 (exp2_test): Likewise.
28829 (expm1_test): Likewise.
28830 (fabs_test): Likewise.
28831 (fdim_test): Likewise.
28832 (finite_test): Likewise.
28833 (floor_test): Likewise.
28834 (fma_test): Likewise.
28835 (fma_test_towardzero): Likewise.
28836 (fma_test_downward): Likewise.
28837 (fma_test_upward): Likewise.
28838 (fmax_test): Likewise.
28839 (fmin_test): Likewise.
28840 (fmod_test): Likewise.
28841 (fpclassify_test): Likewise.
28842 (frexp_test): Likewise.
28843 (gamma_test): Likewise.
28844 (hypot_test): Likewise.
28845 (ilogb_test): Likewise.
28846 (isfinite_test): Likewise.
28847 (isgreater_test): Likewise.
28848 (isgreaterequal_test): Likewise.
28849 (isinf_test): Likewise.
28850 (isless_test): Likewise.
28851 (islessequal_test): Likewise.
28852 (islessgreater_test): Likewise.
28853 (isnan_test): Likewise.
28854 (isnormal_test): Likewise.
28855 (issignaling_test): Likewise.
28856 (isunordered_test): Likewise.
28857 (j0_test): Likewise.
28858 (j1_test): Likewise.
28859 (jn_test): Likewise.
28860 (ldexp_test): Likewise.
28861 (lgamma_test): Likewise.
28862 (lrint_test): Likewise.
28863 (lrint_test_tonearest): Likewise.
28864 (lrint_test_towardzero): Likewise.
28865 (lrint_test_downward): Likewise.
28866 (lrint_test_upward): Likewise.
28867 (llrint_test): Likewise.
28868 (llrint_test_tonearest): Likewise.
28869 (llrint_test_towardzero): Likewise.
28870 (llrint_test_downward): Likewise.
28871 (llrint_test_upward): Likewise.
28872 (log_test): Likewise.
28873 (log10_test): Likewise.
28874 (log1p_test): Likewise.
28875 (log2_test): Likewise.
28876 (logb_test): Likewise.
28877 (logb_test_downward): Likewise.
28878 (lround_test): Likewise.
28879 (llround_test): Likewise.
28880 (modf_test): Likewise.
28881 (nearbyint_test): Likewise.
28882 (nextafter_test): Likewise.
28883 (nexttoward_test): Likewise.
28884 (pow_test): Likewise.
28885 (pow_test_tonearest): Likewise.
28886 (pow_test_towardzero): Likewise.
28887 (pow_test_downward): Likewise.
28888 (pow_test_upward): Likewise.
28889 (remainder_test): Likewise.
28890 (remainder_test_tonearest): Likewise.
28891 (remainder_test_towardzero): Likewise.
28892 (remainder_test_downward): Likewise.
28893 (remainder_test_upward): Likewise.
28894 (remquo_test): Likewise.
28895 (rint_test): Likewise.
28896 (rint_test_tonearest): Likewise.
28897 (rint_test_towardzero): Likewise.
28898 (rint_test_downward): Likewise.
28899 (rint_test_upward): Likewise.
28900 (round_test): Likewise.
28901 (scalb_test): Likewise.
28902 (scalbn_test): Likewise.
28903 (scalbln_test): Likewise.
28904 (signbit_test): Likewise.
28905 (sin_test): Likewise.
28906 (sin_test_tonearest): Likewise.
28907 (sin_test_towardzero): Likewise.
28908 (sin_test_downward): Likewise.
28909 (sin_test_upward): Likewise.
28910 (sincos_test): Likewise.
28911 (sinh_test): Likewise.
28912 (sinh_test_tonearest): Likewise.
28913 (sinh_test_towardzero): Likewise.
28914 (sinh_test_downward): Likewise.
28915 (sinh_test_upward): Likewise.
28916 (sqrt_test): Likewise.
28917 (tan_test): Likewise.
28918 (tan_test_tonearest): Likewise.
28919 (tan_test_towardzero): Likewise.
28920 (tan_test_downward): Likewise.
28921 (tan_test_upward): Likewise.
28922 (tanh_test): Likewise.
28923 (tgamma_test): Likewise.
28924 (trunc_test): Likewise.
28925 (y0_test): Likewise.
28926 (y1_test): Likewise.
28927 (yn_test): Likewise.
28928 (significand_test): Likewise.
28930 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
28933 * libio/genops.c (_IO_no_init): Initialize wide struct info.
28935 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
28938 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
28939 __ppc_mdoio and __ppc_mdoom.
28940 * manual/platform.texi: Document new functions __ppc_yield,
28941 __ppc_mdoio and __ppc_mdoom.
28943 2013-05-22 Carlos O'Donell <carlos@redhat.com>
28945 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
28946 (main): Mention "tls" pseudo-hwcap is legacy.
28947 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
28949 2013-05-22 Joseph Myers <joseph@codesourcery.com>
28951 * math/gen-libm-test.pl (parse_args): Output only string of
28952 arguments as text for test name, not full call or descriptions of
28953 tests for extra outputs.
28954 (generate_testfile): Do not pass function name to parse_args.
28955 Generate this_func variable from START.
28956 * math/libm-test.inc (struct test_f_f_data): Rename test_name
28958 (struct test_ff_f_data): Likewise.
28959 (test_ff_f_data_nexttoward): Likewise.
28960 (struct test_fi_f_data): Likewise.
28961 (struct test_fl_f_data): Likewise.
28962 (struct test_if_f_data): Likewise.
28963 (struct test_fff_f_data): Likewise.
28964 (struct test_c_f_data): Likewise.
28965 (struct test_f_f1_data): Likewise. Remove field extra_name.
28966 (struct test_fF_f1_data): Likewise.
28967 (struct test_ffI_f1_data): Likewise.
28968 (struct test_c_c_data): Rename test_name field to arg_str.
28969 (struct test_cc_c_data): Likewise.
28970 (struct test_f_i_data): Likewise.
28971 (struct test_ff_i_data): Likewise.
28972 (struct test_f_l_data): Likewise.
28973 (struct test_f_L_data): Likewise.
28974 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
28976 (COMMON_TEST_SETUP): New macro.
28977 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
28978 (COMMON_TEST_CLEANUP): Likewise.
28979 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28980 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
28982 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28983 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
28985 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28986 (RUN_TEST_fff_f): Take argument string. Call new setup and
28988 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28989 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
28991 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28992 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
28994 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28995 (RUN_TEST_fF_f1): Take argument string. Call new setup and
28997 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28998 (RUN_TEST_fI_f1): Take argument string. Call new setup and
29000 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
29001 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
29003 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
29004 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
29006 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
29007 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
29009 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
29010 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
29012 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
29013 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
29015 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
29016 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
29018 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
29019 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
29021 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
29022 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
29024 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
29025 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
29027 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
29028 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
29030 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
29031 (RUN_TEST_fFF_11): Take argument string. Call new setup and
29033 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
29035 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
29037 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
29038 to _sifields.sigfault.
29039 (si_addr_lsb): Define new macro.
29040 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29041 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29042 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
29044 2013-05-03 Carlos O'Donell <carlos at redhat.com>
29047 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
29049 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
29051 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
29052 loading the domain.
29054 2013-05-22 Joseph Myers <joseph@codesourcery.com>
29056 * math/gen-libm-test.pl (parse_args): Do not include expected
29057 result in test name.
29058 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
29059 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29060 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29061 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29062 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29065 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29067 * benchtests/Makefile: Sort function entries.
29069 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
29070 tanh, asinh, acosh, atanh.
29071 * benchtests/acos-inputs: New file.
29072 * benchtests/acosh-inputs: New file.
29073 * benchtests/asin-inputs: New file.
29074 * benchtests/asinh-inputs: New file.
29075 * benchtests/atanh-inputs: New file.
29076 * benchtests/cosh-inputs: New file.
29077 * benchtests/log-inputs: New file.
29078 * benchtests/sinh-inputs: New file.
29079 * benchtests/tanh-inputs: New file.
29081 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
29084 * posix/tst-getaddrinfo4.c: New test.
29085 * posix/Makefile (tests): Add it.
29087 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29090 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
29091 when no services were used.
29092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
29093 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
29095 2013-05-21 Andreas Schwab <schwab@suse.de>
29098 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
29099 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
29101 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
29102 redundant variable declarations and reallocation of buffer when
29103 parsing as IPv6 address. Always set NSS status when called from
29104 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
29105 buffer too small. Correct computation of needed size.
29106 * nss/Makefile (tests): Add test-digits-dots.
29107 * nss/test-digits-dots.c: New test.
29109 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29111 * benchtests/Makefile: Remove instructions for adding
29113 * benchtests/README: New file to explain how to execute and
29114 enhance the benchmark tests.
29116 2013-05-21 Andreas Schwab <schwab@suse.de>
29119 * setjmp/Makefile (tests): Add tst-sigsetjmp.
29120 * setjmp/tst-sigsetjmp.c: New test.
29122 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
29124 * sysdeps/x86_64/memset.S (memset): New implementation.
29125 (__bzero): Likewise.
29126 (__memset_tail): New function.
29128 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
29130 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
29131 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
29132 __memcpy_sse2_unaligned ifunc selection.
29133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29134 Add memcpy-sse2-unaligned.S.
29135 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29136 Add: __memcpy_sse2_unaligned.
29138 2013-05-19 Joseph Myers <joseph@codesourcery.com>
29141 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29142 math_force_eval before restoring floating-point envrionment.
29143 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
29144 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29146 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
29148 (__nearbyintl): Use math_force_eval before restoring
29149 floating-point environment.
29150 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
29152 * math/gen-libm-test.pl (special_functions): Remove.
29153 (parse_args): Don't handle TEST_extra. Handle functions with no
29155 * math/libm-test.inc (struct test_sincos_data): Replace with
29156 struct test_fFF_11_data.
29157 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
29158 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
29159 (sincos_test_data): Change element type to struct
29160 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
29161 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
29162 RUN_TEST_LOOP_sincos.
29163 * math/README.libm-test: Don't mention special handling of
29164 individual functions.
29165 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
29166 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29167 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29168 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29169 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29172 * math/gen-libm-test.pl (get_variable): Remove function.
29173 (parse_args): Don't show pointer parameters to call in test
29174 names. Use "extra output N" in test names for extra outputs
29175 rather than naming variables.
29177 2013-05-18 Joseph Myers <joseph@codesourcery.com>
29180 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
29181 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
29182 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
29184 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
29186 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
29189 * math/gen-libm-test.pl (@tests): Remove variable.
29190 ($count): Likewise.
29191 (new_test): Remove function.
29192 (show_exceptions): New function.
29193 (special_functions): Use show_exceptions instead of new_test.
29194 (parse_args): Likewise.
29195 (generate_testfile): Pass only function name in generated call to
29196 print_max_error or print_complex_max_error.
29197 (get_ulps): Do not handle complex tests specially.
29198 (output_test): Rename to ...
29199 (get_all_ulps_for_test): ... this. Return a string rather than
29200 printing to a file. Require ulps to be present.
29201 (output_ulps): Generate arrays rather than #defines.
29202 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
29203 (struct ulp_data): New type.
29204 (BUILD_COMPLEX_ULP): Remove macro.
29205 (compare_ulp_data): New function.
29206 (find_ulps): Likewise.
29207 (find_test_ulps): Likewise.
29208 (find_function_ulps): Likewise.
29209 (find_complex_function_ulps): Likewise.
29210 (print_max_error): Determine allowed ulps using
29211 find_function_ulps.
29212 (print_complex_max_error): Determine allowed ulps using
29213 find_complex_function_ulps.
29214 (check_float_internal): Determine max ulps using find_test_ulps.
29215 (check_float): Do not take max_ulp parameter. Update call to
29216 check_float_internal.
29217 (check_complex): Likewise.
29218 (check_int): Do not take max_ulp parameter.
29219 (check_long): Likewise.
29220 (check_bool): Likewise.
29221 (check_longlong): Likewise.
29222 (struct test_f_f_data): Remove max_ulp field.
29223 (struct test_ff_f_data): Likewise.
29224 (struct test_ff_f_data_nexttoward): Likewise.
29225 (struct test_fi_f_data): Likewise.
29226 (struct test_fl_f_data): Likewise.
29227 (struct test_if_f_data): Likewise.
29228 (struct test_fff_f_data): Likewise.
29229 (struct test_c_f_data): Likewise.
29230 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
29231 (struct test_fF_f1_data): Likewise.
29232 (struct test_ffI_f1_data): Likewise.
29233 (struct test_c_c_data): Remove max_ulp field.
29234 (struct test_cc_c_data): Likewise.
29235 (struct test_f_i_data): Likewise.
29236 (struct test_ff_i_data): Likewise.
29237 (struct test_f_l_data): Likewise.
29238 (struct test_f_L_data): Likewise.
29239 (struct test_sincos_data): Likewise.
29240 (RUN_TEST_f_f): Do not handle ulps.
29241 (RUN_TEST_LOOP_f_f): Likewise.
29242 (RUN_TEST_2_f): Likewise.
29243 (RUN_TEST_LOOP_2_f): Likewise.
29244 (RUN_TEST_fff_f): Likewise.
29245 (RUN_TEST_LOOP_fff_f): Likewise.
29246 (RUN_TEST_c_f): Likewise.
29247 (RUN_TEST_LOOP_c_f): Likewise.
29248 (RUN_TEST_f_f1): Likewise.
29249 (RUN_TEST_LOOP_f_f1): Likewise.
29250 (RUN_TEST_fF_f1): Likewise.
29251 (RUN_TEST_LOOP_fF_f1): Likewise.
29252 (RUN_TEST_fI_f1): Likewise.
29253 (RUN_TEST_LOOP_fI_f1): Likewise.
29254 (RUN_TEST_ffI_f1): Likewise.
29255 (RUN_TEST_LOOP_ffI_f1): Likewise.
29256 (RUN_TEST_c_c): Likewise.
29257 (RUN_TEST_LOOP_c_c): Likewise.
29258 (RUN_TEST_cc_c): Likewise.
29259 (RUN_TEST_LOOP_cc_c): Likewise.
29260 (RUN_TEST_f_i): Likewise.
29261 (RUN_TEST_LOOP_f_i): Likewise.
29262 (RUN_TEST_f_i_tg): Likewise.
29263 (RUN_TEST_LOOP_f_i_tg): Likewise.
29264 (RUN_TEST_ff_i_tg): Likewise.
29265 (RUN_TEST_LOOP_ff_i_tg): Likewise.
29266 (RUN_TEST_f_b): Likewise.
29267 (RUN_TEST_LOOP_f_b): Likewise.
29268 (RUN_TEST_f_b_tg): Likewise.
29269 (RUN_TEST_LOOP_f_b_tg): Likewise.
29270 (RUN_TEST_f_l): Likewise.
29271 (RUN_TEST_LOOP_f_l): Likewise.
29272 (RUN_TEST_f_L): Likewise.
29273 (RUN_TEST_LOOP_f_L): Likewise.
29274 (RUN_TEST_sincos): Likewise.
29275 (RUN_TEST_LOOP_sincos): Likewise.
29277 2013-05-17 Joseph Myers <joseph@codesourcery.com>
29281 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
29282 main case of finite arguments, set rounding mode to FE_TONEAREST
29283 and discard exceptions.
29284 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
29286 (remainder_tonearest_test_data): New variable.
29287 (remainder_test_tonearest): New function.
29288 (remainder_towardzero_test_data): New variable.
29289 (remainder_test_towardzero): New function.
29290 (remainder_downward_test_data): New variable.
29291 (remainder_test_downward): New function.
29292 (remainder_upward_test_data): New variable.
29293 (remainder_test_upward): New function.
29294 (main): Call the new test functions.
29296 * math/libm-test.inc (struct test_f_f1_data): Remove field
29298 (struct test_fF_f1_data): Likewise.
29299 (struct test_ffI_f1_data): Likewise.
29300 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
29301 based on value of EXTRA_EXPECTED.
29302 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
29303 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
29304 EXTRA_VAR based on value of EXTRA_EXPECTED.
29305 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
29306 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
29307 EXTRA_VAR based on value of EXTRA_EXPECTED.
29308 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
29309 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
29310 EXTRA_VAR based on value of EXTRA_EXPECTED.
29311 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
29312 * math/gen-libm-test.pl (parse_args): Don't output initializers
29313 for extra output values.
29315 * math/libm-test.inc (check_int): Expect result to be exactly
29316 equal to expected value and do not handle ulps.
29317 (check_long): Likewise.
29318 (check_longlong): Likewise.
29320 * math/libm-test.inc (ceil_test_data): Test for "inexact"
29322 (cimag_test_data): Likewise.
29323 (conj_test_data): Likewise.
29324 (copysign_test_data): Likewise.
29325 (cproj_test_data): Likewise.
29326 (creal_test_data): Likewise.
29327 (fabs_test_data): Likewise.
29328 (fdim_test_data): Likewise.
29329 (finite_test_data): Likewise.
29330 (floor_test_data): Likewise.
29331 (fmax_test_data): Likewise.
29332 (fmin_test_data): Likewise.
29333 (fmod_test_data): Likewise.
29334 (fpclassify_test_data): Likewise.
29335 (frexp_test_data): Likewise.
29336 (ilogb_test_data): Likewise.
29337 (isfinite_test_data): Likewise.
29338 (isgreater_test_data): Likewise.
29339 (isgreaterequal_test_data): Likewise.
29340 (isinf_test_data): Likewise.
29341 (isless_test_data): Likewise.
29342 (islessequal_test_data): Likewise.
29343 (islessgreater_test_data): Likewise.
29344 (isnan_test_data): Likewise.
29345 (isnormal_test_data): Likewise.
29346 (issignaling_test_data): Likewise.
29347 (isunordered_test_data): Likewise.
29348 (ldexp_test_data): Likewise.
29349 (lrint_test_data): Likewise.
29350 (lrint_test_data) [TEST_FLOAT]: Disable one test.
29351 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
29352 (lrint_tonearest_test_data): Test for "inexact" exceptions.
29353 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
29354 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
29355 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
29357 (lrint_towardzero_test_data): Test for "inexact" exceptions.
29358 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
29359 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
29360 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
29362 (lrint_downward_test_data): Test for "inexact" exceptions.
29363 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
29364 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
29365 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
29367 (lrint_upward_test_data): Test for "inexact" exceptions.
29368 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
29370 (llrint_test_data): Test for "inexact" exceptions.
29371 (llrint_test_data) [TEST_FLOAT]: Disable one test.
29372 (llrint_tonearest_test_data): Test for "inexact" exceptions.
29373 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
29374 (llrint_towardzero_test_data): Test for "inexact" exceptions.
29375 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
29376 (llrint_downward_test_data): Test for "inexact" exceptions.
29377 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
29378 (llrint_upward_test_data): Test for "inexact" exceptions.
29379 (logb_test_data): Likewise.
29380 (logb_downward_test_data): Likewise.
29381 (nextafter_test_data): Likewise.
29382 (nexttoward_test_data): Likewise.
29383 (remainder_test_data): Likewise.
29384 (remquo_test_data): Likewise.
29385 (scalbn_test_data): Likewise.
29386 (scalbln_test_data): Likewise.
29387 (signbit_test_data): Likewise.
29388 (sqrt_test_data): Likewise.
29389 (significand_test_data): Likewise.
29391 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29394 * benchtests/bench-modf.c (struct args): Mark arg0 as
29396 * scripts/bench.pl: Mark members of struct args as volatile.
29398 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29401 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
29402 negative infinity on POWER6 or lower.
29403 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
29405 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
29408 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
29409 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
29410 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
29411 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
29412 (_FP_SETQNAN): New macro.
29413 (_FP_SETQNAN_SEMIRAW): Likewise.
29414 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
29415 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
29416 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
29417 (FP_EXTEND): Use _FP_FRAC_SNANP.
29418 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
29419 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
29421 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
29423 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
29426 2013-05-16 Joseph Myers <joseph@codesourcery.com>
29428 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
29429 with DIVIDE_BY_ZERO_EXCEPTION.
29430 (gamma_test_data): Likewise.
29431 (lgamma_test_data): Likewise.
29432 (log_test_data): Likewise.
29433 (log10_test_data): Likewise.
29434 (log2_test_data): Likewise.
29435 (tgamma_test_data): Likewise.
29437 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
29438 (acos_test_tonearest): Likewise.
29439 (acos_test_towardzero): Likewise.
29440 (acos_test_downward): Likewise.
29441 (acos_test_upward): Likewise.
29442 (acosh_test): Likewise.
29443 (asin_test): Likewise.
29444 (asin_test_tonearest): Likewise.
29445 (asin_test_towardzero): Likewise.
29446 (asin_test_downward): Likewise.
29447 (asin_test_upward): Likewise.
29448 (asinh_test): Likewise.
29449 (atan_test): Likewise.
29450 (atanh_test): Likewise.
29451 (atan2_test): Likewise.
29452 (cabs_test): Likewise.
29453 (cacos_test): Likewise.
29454 (cacosh_test): Likewise.
29455 (casin_test): Likewise.
29456 (casinh_test): Likewise.
29457 (catan_test): Likewise.
29458 (catanh_test): Likewise.
29459 (cbrt_test): Likewise.
29460 (ccos_test): Likewise.
29461 (ccosh_test): Likewise.
29462 (cexp_test): Likewise.
29463 (clog_test): Likewise.
29464 (clog10_test): Likewise.
29465 (cos_test): Likewise.
29466 (cos_test_tonearest): Likewise.
29467 (cos_test_towardzero): Likewise.
29468 (cos_test_downward): Likewise.
29469 (cos_test_upward): Likewise.
29470 (cosh_test): Likewise.
29471 (cosh_test_tonearest): Likewise.
29472 (cosh_test_towardzero): Likewise.
29473 (cosh_test_downward): Likewise.
29474 (cosh_test_upward): Likewise.
29475 (cpow_test): Likewise.
29476 (csin_test): Likewise.
29477 (csinh_test): Likewise.
29478 (csqrt_test): Likewise.
29479 (ctan_test): Likewise.
29480 (ctan_test_tonearest): Likewise.
29481 (ctan_test_towardzero): Likewise.
29482 (ctan_test_downward): Likewise.
29483 (ctan_test_upward): Likewise.
29484 (ctanh_test): Likewise.
29485 (ctanh_test_tonearest): Likewise.
29486 (ctanh_test_towardzero): Likewise.
29487 (ctanh_test_downward): Likewise.
29488 (ctanh_test_upward): Likewise.
29489 (erf_test): Likewise.
29490 (erfc_test): Likewise.
29491 (exp_test): Likewise.
29492 (exp_test_tonearest): Likewise.
29493 (exp_test_towardzero): Likewise.
29494 (exp_test_downward): Likewise.
29495 (exp_test_upward): Likewise.
29496 (exp10_test): Likewise.
29497 (exp2_test): Likewise.
29498 (expm1_test): Likewise.
29499 (fmod_test): Likewise.
29500 (gamma_test): Likewise.
29501 (hypot_test): Likewise.
29502 (j0_test): Likewise.
29503 (j1_test): Likewise.
29504 (jn_test): Likewise.
29505 (lgamma_test): Likewise.
29506 (log_test): Likewise.
29507 (log10_test): Likewise.
29508 (log1p_test): Likewise.
29509 (log2_test): Likewise.
29510 (logb_test_downward): Likewise.
29511 (pow_test): Likewise.
29512 (pow_test_tonearest): Likewise.
29513 (pow_test_towardzero): Likewise.
29514 (pow_test_downward): Likewise.
29515 (pow_test_upward): Likewise.
29516 (remainder_test): Likewise.
29517 (remquo_test): Likewise.
29518 (sin_test): Likewise.
29519 (sin_test_tonearest): Likewise.
29520 (sin_test_towardzero): Likewise.
29521 (sin_test_downward): Likewise.
29522 (sin_test_upward): Likewise.
29523 (sincos_test): Likewise.
29524 (sinh_test): Likewise.
29525 (sinh_test_tonearest): Likewise.
29526 (sinh_test_towardzero): Likewise.
29527 (sinh_test_downward): Likewise.
29528 (sinh_test_upward): Likewise.
29529 (sqrt_test): Likewise.
29530 (tan_test): Likewise.
29531 (tan_test_tonearest): Likewise.
29532 (tan_test_towardzero): Likewise.
29533 (tan_test_downward): Likewise.
29534 (tan_test_upward): Likewise.
29535 (tanh_test): Likewise.
29536 (tgamma_test): Likewise.
29537 (y0_test): Likewise.
29538 (y1_test): Likewise.
29539 (yn_test): Likewise.
29541 * math/gen-libm-test.pl (adjust_arg): Remove function.
29542 (special_function): Remove argument $in_func. Only handle
29543 generating output for tables of tests, not inside functions.
29544 (parse_args): Likewise.
29545 (generate_testfile): Remove variable $in_func. Update call to
29547 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
29548 (MINUS_ZERO_INIT): Rename macro to minus_zero.
29549 (PLUS_INFTY_INIT): Rename macro to plus_infty.
29550 (MINUS_INFTY_INIT): Rename macro to minus_infty.
29551 (QNAN_VALUE_INIT): Rename macro to qnan_value.
29552 (MAX_VALUE_INIT): Rename macro to max_value.
29553 (MIN_VALUE_INIT): Rename macro to min_value.
29554 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
29555 (plus_zero): Remove variable.
29556 (minus_zero): Likewise.
29557 (plus_infty): Likewise.
29558 (minus_infty): Likewise.
29559 (qnan_value): Likewise.
29560 (max_value): Likewise.
29561 (min_value): Likewise.
29562 (min_subnorm_value): Likewise.
29564 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29566 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
29567 uint64_t or uint32_t usage.
29568 * crypt/sha256-block.c: Likewise.
29569 * crypt/sha256-crypt.c: Likewise.
29570 * crypt/sha256.c: Likewise.
29571 * crypt/sha512-block.c: Likewise.
29572 * crypt/sha512-crypt.c: Likewise.
29573 * crypt/sha512.c: Likewise.
29574 * debug/backtrace-tst.c: Likewise.
29575 * debug/pcprofiledump.c: Likewise.
29576 * elf/cache.c: Likewise.
29577 * elf/dl-cache.c: Likewise.
29578 * elf/dl-misc.c: Likewise.
29579 * elf/dl-profile.c: Likewise.
29580 * elf/dl-support.c: Likewise.
29581 * elf/ldconfig.c: Likewise.
29582 * elf/sprof.c: Likewise.
29583 * iconv/dummy-repertoire.c: Likewise.
29584 * iconv/iconv_charmap.c: Likewise.
29585 * iconv/skeleton.c: Likewise.
29586 * iconvdata/8bit-generic.c: Likewise.
29587 * iconvdata/cp737.h: Likewise.
29588 * iconvdata/cp775.h: Likewise.
29589 * iconvdata/ibm1008.h: Likewise.
29590 * iconvdata/ibm1025.h: Likewise.
29591 * iconvdata/ibm1046.h: Likewise.
29592 * iconvdata/ibm1097.h: Likewise.
29593 * iconvdata/ibm1112.h: Likewise.
29594 * iconvdata/ibm1122.h: Likewise.
29595 * iconvdata/ibm1123.h: Likewise.
29596 * iconvdata/ibm1124.h: Likewise.
29597 * iconvdata/ibm1129.h: Likewise.
29598 * iconvdata/ibm1130.h: Likewise.
29599 * iconvdata/ibm1132.h: Likewise.
29600 * iconvdata/ibm1133.h: Likewise.
29601 * iconvdata/ibm1137.h: Likewise.
29602 * iconvdata/ibm1140.h: Likewise.
29603 * iconvdata/ibm1141.h: Likewise.
29604 * iconvdata/ibm1142.h: Likewise.
29605 * iconvdata/ibm1143.h: Likewise.
29606 * iconvdata/ibm1144.h: Likewise.
29607 * iconvdata/ibm1145.h: Likewise.
29608 * iconvdata/ibm1146.h: Likewise.
29609 * iconvdata/ibm1147.h: Likewise.
29610 * iconvdata/ibm1148.h: Likewise.
29611 * iconvdata/ibm1149.h: Likewise.
29612 * iconvdata/ibm1153.h: Likewise.
29613 * iconvdata/ibm1154.h: Likewise.
29614 * iconvdata/ibm1155.h: Likewise.
29615 * iconvdata/ibm1156.h: Likewise.
29616 * iconvdata/ibm1157.h: Likewise.
29617 * iconvdata/ibm1158.h: Likewise.
29618 * iconvdata/ibm1160.h: Likewise.
29619 * iconvdata/ibm1161.h: Likewise.
29620 * iconvdata/ibm1162.h: Likewise.
29621 * iconvdata/ibm1163.h: Likewise.
29622 * iconvdata/ibm1164.h: Likewise.
29623 * iconvdata/ibm1166.h: Likewise.
29624 * iconvdata/ibm1167.h: Likewise.
29625 * iconvdata/ibm12712.h: Likewise.
29626 * iconvdata/ibm1390.h: Likewise.
29627 * iconvdata/ibm1399.h: Likewise.
29628 * iconvdata/ibm16804.h: Likewise.
29629 * iconvdata/ibm4517.h: Likewise.
29630 * iconvdata/ibm4899.h: Likewise.
29631 * iconvdata/ibm4909.h: Likewise.
29632 * iconvdata/ibm4971.h: Likewise.
29633 * iconvdata/ibm5347.h: Likewise.
29634 * iconvdata/ibm803.h: Likewise.
29635 * iconvdata/ibm856.h: Likewise.
29636 * iconvdata/ibm901.h: Likewise.
29637 * iconvdata/ibm902.h: Likewise.
29638 * iconvdata/ibm9030.h: Likewise.
29639 * iconvdata/ibm9066.h: Likewise.
29640 * iconvdata/ibm921.h: Likewise.
29641 * iconvdata/ibm922.h: Likewise.
29642 * iconvdata/ibm9448.h: Likewise.
29643 * iconvdata/isiri-3342.h: Likewise.
29644 * iconvdata/jis0201.h: Likewise.
29645 * include/link.h: Likewise.
29646 * include/netdb.h: Likewise.
29647 * inet/check_native.c: Likewise.
29648 * inet/check_pf.c: Likewise.
29649 * inet/getipv4sourcefilter.c: Likewise.
29650 * inet/getnameinfo.c: Likewise.
29651 * inet/getsourcefilter.c: Likewise.
29652 * inet/htonl.c: Likewise.
29653 * inet/setipv4sourcefilter.c: Likewise.
29654 * inet/setsourcefilter.c: Likewise.
29655 * inet/test-inet6_opt.c: Likewise.
29656 * inet/tst-network.c: Likewise.
29657 * locale/C-collate.c: Likewise.
29658 * locale/C-ctype.c: Likewise.
29659 * locale/C-time.c: Likewise.
29660 * locale/C-translit.h: Likewise.
29661 * locale/loadarchive.c: Likewise.
29662 * locale/programs/3level.h: Likewise.
29663 * locale/programs/charmap.c: Likewise.
29664 * locale/programs/charmap.h: Likewise.
29665 * locale/programs/ld-address.c: Likewise.
29666 * locale/programs/ld-collate.c: Likewise.
29667 * locale/programs/ld-ctype.c: Likewise.
29668 * locale/programs/ld-identification.c: Likewise.
29669 * locale/programs/ld-measurement.c: Likewise.
29670 * locale/programs/ld-messages.c: Likewise.
29671 * locale/programs/ld-monetary.c: Likewise.
29672 * locale/programs/ld-name.c: Likewise.
29673 * locale/programs/ld-numeric.c: Likewise.
29674 * locale/programs/ld-paper.c: Likewise.
29675 * locale/programs/ld-telephone.c: Likewise.
29676 * locale/programs/ld-time.c: Likewise.
29677 * locale/programs/linereader.c: Likewise.
29678 * locale/programs/locale.c: Likewise.
29679 * locale/programs/locarchive.c: Likewise.
29680 * locale/programs/locfile.h: Likewise.
29681 * locale/programs/repertoire.c: Likewise.
29682 * locale/programs/simple-hash.c: Likewise.
29683 * locale/programs/simple-hash.h: Likewise.
29684 * malloc/memusage.c: Likewise.
29685 * malloc/memusagestat.c: Likewise.
29686 * nis/nis_defaults.c: Likewise.
29687 * nis/nis_hash.c: Likewise.
29688 * nis/nis_print.c: Likewise.
29689 * nis/nis_xdr.c: Likewise.
29690 * nscd/connections.c: Likewise.
29691 * nscd/hstcache.c: Likewise.
29692 * nscd/nscd_gethst_r.c: Likewise.
29693 * nscd/nscd_getserv_r.c: Likewise.
29694 * nscd/nscd_helper.c: Likewise.
29695 * nscd/servicescache.c: Likewise.
29696 * nss/makedb.c: Likewise.
29697 * nss/nss_db/db-XXX.c: Likewise.
29698 * nss/nss_db/db-initgroups.c: Likewise.
29699 * nss/nss_db/db-netgrp.c: Likewise.
29700 * nss/nss_files/files-network.c: Likewise.
29701 * nss/nss_files/files-parse.c: Likewise.
29702 * posix/bug-regex5.c: Likewise.
29703 * posix/fnmatch_loop.c: Likewise.
29704 * posix/regcomp.c: Likewise.
29705 * posix/regexec.c: Likewise.
29706 * posix/tst-rfc3484-2.c: Likewise.
29707 * posix/tst-rfc3484-3.c: Likewise.
29708 * posix/tst-rfc3484.c: Likewise.
29709 * resolv/nss_dns/dns-canon.c: Likewise.
29710 * resolv/nss_dns/dns-network.c: Likewise.
29711 * resolv/res_init.c: Likewise.
29712 * resolv/res_mkquery.c: Likewise.
29713 * resolv/tst-aton.c: Likewise.
29714 * stdlib/cxa_atexit.c: Likewise.
29715 * stdlib/cxa_finalize.c: Likewise.
29716 * stdlib/gen-fpioconst.c: Likewise.
29717 * stdlib/strtol_l.c: Likewise.
29718 * string/tst-endian.c: Likewise.
29719 * sunrpc/auth_des.c: Likewise.
29720 * sunrpc/clnt_udp.c: Likewise.
29721 * sunrpc/rtime.c: Likewise.
29722 * sunrpc/svcauth_des.c: Likewise.
29723 * sunrpc/xdr.c: Likewise.
29724 * sunrpc/xdr_intXX_t.c: Likewise.
29725 * sunrpc/xdr_rec.c: Likewise.
29726 * sysdeps/generic/ldconfig.h: Likewise.
29727 * sysdeps/generic/ldsodefs.h: Likewise.
29728 * sysdeps/generic/memusage.h: Likewise.
29729 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29730 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
29731 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
29732 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29733 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29734 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29735 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29736 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29737 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29738 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29739 * sysdeps/posix/getaddrinfo.c: Likewise.
29740 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29741 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29742 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29743 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29744 * sysdeps/powerpc/test-gettimebase.c: Likewise.
29745 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29746 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
29747 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
29748 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29749 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
29750 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29751 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29752 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
29753 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
29754 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
29755 * sysdeps/x86_64/dl-tls.h: Likewise.
29756 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
29757 * time/alt_digit.c: Likewise.
29758 * time/era.c: Likewise.
29759 * wcsmbs/tst-c16c32-1.c: Likewise.
29761 2013-05-16 Joseph Myers <joseph@codesourcery.com>
29763 * math/libm-test.inc (struct test_sincos_data): New type.
29764 (RUN_TEST_LOOP_sincos): New macro.
29765 (sincos_test_data): New variable.
29766 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
29768 2013-05-16 Richard Henderson <rth@redhat.com>
29770 * math/atest-exp2.c (LIMB64): New macro.
29771 (CONSTSZ): New macro.
29772 (mp_exp1, mp_exp_m1, mp_log2): New variables.
29774 (print_mpn_fp): ... to function scope.
29775 (read_mpn_hex): Remove.
29776 (get_log2): Remove.
29777 (exp2_mpn): Use mp_log2.
29778 (main): Use mp_exp1.
29780 2013-05-16 Joseph Myers <joseph@codesourcery.com>
29782 * math/libm-test.inc: Remove comment about not testing "inexact"
29784 (INEXACT_EXCEPTION): New macro.
29785 (NO_INEXACT_EXCEPTION): Likewise.
29786 (INVALID_EXCEPTION_OK): Update value.
29787 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29788 (OVERFLOW_EXCEPTION_OK): Likewise.
29789 (UNDERFLOW_EXCEPTION_OK): Likewise.
29790 (IGNORE_ZERO_INF_SIGN): Likewise.
29791 (ERRNO_UNCHANGED): Likewise.
29792 (ERRNO_EDOM): Likewise.
29793 (ERRNO_ERANGE): Likewise.
29794 (test_exceptions): Handle testing "inexact" exceptions.
29795 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
29796 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
29797 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
29798 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
29800 (rint_towardzero_test_data): Likewise.
29801 (rint_downward_test_data): Likewise.
29802 (rint_upward_test_data): Likewise.
29804 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
29805 with OVERFLOW_EXCEPTION.
29806 (exp10_test_data): Likewise.
29807 (exp2_test_data): Likewise.
29808 (expm1_test_data): Likewise.
29809 (lgamma_test_data): Likewise.
29810 (pow_test_data): Likewise.
29811 (tgamma_test_data): Likewise.
29812 (yn_test_data): Remove duplicate test of overflow.
29814 * math/libm-test.inc (struct test_cc_c_data): New type.
29815 (RUN_TEST_LOOP_cc_c): New macro.
29816 (cpow_test_data): New variable.
29817 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
29819 * math/libm-test.inc (struct test_f_L_data): New type.
29820 (RUN_TEST_LOOP_f_L): New macro.
29821 (llrint_test_data): New variable.
29822 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
29823 (llrint_tonearest_test_data): New variable.
29824 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
29825 (llrint_towardzero_test_data): New variable.
29826 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
29827 (llrint_downward_test_data): New variable.
29828 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
29829 (llrint_upward_test_data): New variable.
29830 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
29831 (llround_test_data): New variable.
29832 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
29834 2013-05-13 Peter Collingbourne <pcc@google.com>
29836 * math/atest-exp2.c (get_log2): Remove const attribute.
29838 2013-05-15 Joseph Myers <joseph@codesourcery.com>
29840 * math/libm-test.inc (struct test_f_l_data): New type.
29841 (RUN_TEST_LOOP_f_l): New macro.
29842 (lrint_test_data): New variable.
29843 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
29844 (lrint_tonearest_test_data): New variable.
29845 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
29846 (lrint_towardzero_test_data): New variable.
29847 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
29848 (lrint_downward_test_data): New variable.
29849 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
29850 (lrint_upward_test_data): New variable.
29851 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
29852 (lround_test_data): New variable.
29853 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
29855 2013-05-15 Peter Collingbourne <pcc@google.com>
29857 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
29858 (EXTRACT_WORDS64) Use where appropriate.
29859 (INSERT_WORDS64) Likewise.
29861 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
29862 constraints with x constraints.
29863 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
29865 * malloc/obstack.c (_obstack_compat): Add initializer.
29867 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
29869 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
29870 si_trapno and add si_addr_lsb to _sifields.sigfault.
29871 (si_trapno): Remove macro.
29872 (si_addr_lsb): Define new macro.
29873 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29875 2013-05-15 Joseph Myers <joseph@codesourcery.com>
29877 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
29878 instead of TEST_f_l.
29879 (llrint_test_tonearest): Likewise.
29880 (llrint_test_towardzero): Likewise.
29881 (llrint_test_downward): Likewise.
29882 (llrint_test_upward): Likewise.
29883 (llround_test): Likewise.
29885 * math/libm-test.inc (struct test_f_i_data): Add comment.
29886 (RUN_TEST_LOOP_f_b): New macro.
29887 (RUN_TEST_LOOP_f_b_tg): Likewise.
29888 (finite_test_data): New variable.
29889 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
29890 (isfinite_test_data): New variable.
29891 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29892 (isinf_test_data): New variable.
29893 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29894 (isnan_test_data): New variable.
29895 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29896 (isnormal_test_data): New variable.
29897 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29898 (issignaling_test_data): New variable.
29899 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29900 (signbit_test_data): New variable.
29901 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29903 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
29904 with INVALID_EXCEPTION.
29905 (acosh_test_data): Likewise.
29906 (asin_test_data): Likewise.
29907 (atanh_test_data): Likewise.
29908 (fmod_test_data): Likewise.
29909 (log_test_data): Likewise.
29910 (log10_test_data): Likewise.
29911 (log2_test_data): Likewise.
29912 (pow_test_data): Likewise.
29913 (sqrt_test_data): Likewise.
29914 (y0_test_data): Likewise.
29915 (y1_test_data): Likewise.
29916 (yn_test_data): Likewise.
29918 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
29921 * math/libm-test.inc (struct test_ff_i_data): New type.
29922 (RUN_TEST_LOOP_ff_i_tg): New macro.
29923 (isgreater_test_data): New variable.
29924 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29925 (isgreaterequal_test_data): New variable.
29926 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29927 (isless_test_data): New variable.
29928 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29929 (islessequal_test_data): New variable.
29930 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29931 (islessgreater_test_data): New variable.
29932 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29933 (isunordered_test_data): New variable.
29934 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29936 2013-05-14 David S. Miller <davem@davemloft.net>
29938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29940 2013-05-14 Joseph Myers <joseph@codesourcery.com>
29942 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
29944 * math/libm-test.inc (struct test_fF_f1_data): Change type of
29946 (struct test_f_i_data): Change type of max_ulp to int.
29948 * math/libm-test.inc (test_ffI_f1_data): New type.
29949 (RUN_TEST_LOOP_ffI_f1): New macro.
29950 (remquo_test_data): New variable.
29951 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
29953 * setjmp/tst-setjmp-fp.c: New file.
29954 * setjmp/Makefile (tests): Add tst-setjmp-fp.
29955 (link-libm): New variable.
29956 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
29958 * math/libm-test.inc (struct test_f_i_data): New type.
29959 (RUN_TEST_LOOP_f_i): New macro.
29960 (RUN_TEST_LOOP_f_i_tg): Likewise.
29961 (fpclassify_test_data): New variable.
29962 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
29963 (ilogb_test_data): New variable.
29964 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
29966 * math/libm-test.inc (scalbln_test): Correct function name in END
29969 * math/libm-test.inc (struct test_f_f1_data): Add comment.
29970 (RUN_TEST_LOOP_fI_f1): New macro.
29971 (frexp_test_data): New variable.
29972 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29974 * math/libm-test.inc (struct test_fF_f1_data): New type.
29975 (RUN_TEST_LOOP_fF_f1): New macro.
29976 (modf_test_data): New variable.
29977 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29979 * math/libm-test.inc (struct test_f_f1_data): New type.
29980 (RUN_TEST_LOOP_f_f1): New macro.
29981 (gamma_test_data): New variable.
29982 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29983 (lgamma_test_data): New variable.
29984 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29986 2013-05-13 Carlos O'Donell <carlos@redhat.com>
29988 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29989 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29990 (main): Comment "tls" pseudo-hwcap.
29992 2013-05-13 Joseph Myers <joseph@codesourcery.com>
29994 * math/libm-test.inc (struct test_fl_f_data): New type.
29995 (RUN_TEST_LOOP_fl_f): New variable.
29996 (scalbln_test_data): New variable.
29997 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29999 * math/libm-test.inc (struct test_fi_f_data): New type.
30000 (RUN_TEST_LOOP_fi_f): New macro.
30001 (ldexp_test_data): New variable.
30002 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
30003 (scalbn_test_data): New variable.
30004 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
30006 * math/libm-test.inc (struct test_c_f_data): New type.
30007 (RUN_TEST_LOOP_c_f): New macro.
30008 (cabs_test_data): New variable.
30009 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
30010 (carg_test_data): New variable.
30011 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
30012 (cimag_test_data): New variable.
30013 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
30014 (creal_test_data): New variable.
30015 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
30017 * math/libm-test.inc (struct test_if_f_data): New type.
30018 (RUN_TEST_LOOP_if_f): New macro.
30019 (jn_test_data): New variable.
30020 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
30021 (yn_test_data): New variable.
30022 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
30024 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
30026 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30028 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
30029 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
30031 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30033 * benchtests/Makefile (CPPFLAGS-nonlib): Add
30034 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
30035 (bench-deps): Add bench-timing.h.
30036 * benchtests-bench-skeleton.c: Include bench-timing.h.
30037 (main): Use TIMING_* macros instead of clock_gettime.
30038 * benchtests/bench-timing.h: New file.
30041 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
30042 Renamed from _LIB_VERSION.
30043 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
30045 2013-05-12 Joseph Myers <joseph@codesourcery.com>
30047 * math/libm-test.inc (struct test_fff_f_data): New type.
30048 (RUN_TEST_LOOP_fff_f): New macro.
30049 (fma_test_data): New variable.
30050 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
30051 (fma_towardzero_test_data): New variable.
30052 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
30053 (fma_downward_test_data): New variable.
30054 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
30055 (fma_upward_test_data): New variable.
30056 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
30058 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
30059 (struct test_c_c_data): New type.
30060 (RUN_TEST_LOOP_c_c): New macro.
30061 (cacos_test_data): New variable.
30062 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
30063 (cacosh_test_data): New variable.
30064 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
30065 (casin_test_data): New variable.
30066 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
30067 (casinh_test_data): New variable.
30068 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
30069 (catan_test_data): New variable.
30070 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
30071 (catanh_test_data): New variable.
30072 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
30073 (ccos_test_data): New variable.
30074 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
30075 (ccosh_test_data): New variable.
30076 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
30077 (cexp_test_data): New variable.
30078 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
30079 (clog_test_data): New variable.
30080 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
30081 (clog10_test_data): New variable.
30082 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
30083 (conj_test_data): New variable.
30084 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
30085 (cproj_test_data): New variable.
30086 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
30087 (csin_test_data): New variable.
30088 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
30089 (csinh_test_data): New variable.
30090 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
30091 (csqrt_test_data): New variable.
30092 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
30093 (ctan_test_data): New variable.
30094 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
30095 (ctan_tonearest_test_data): New variable.
30096 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
30097 (ctan_towardzero_test_data): New variable.
30098 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
30099 (ctan_downward_test_data): New variable.
30100 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
30101 (ctan_upward_test_data): New variable.
30102 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
30103 (ctanh_test_data): New variable.
30104 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
30105 (ctanh_tonearest_test_data): New variable.
30106 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
30107 (ctanh_towardzero_test_data): New variable.
30108 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
30109 (ctanh_downward_test_data): New variable.
30110 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
30111 (ctanh_upward_test_data): New variable.
30112 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
30113 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
30116 * math/libm-test.inc (struct test_ff_f_data): New type.
30117 (struct test_ff_f_data_nexttoward): Likewise.
30118 (RUN_TEST_LOOP_2_f): New macro.
30119 (RUN_TEST_LOOP_ff_f): Likewise.
30120 (atan2_test_data): New variable.
30121 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
30122 (copysign_test_data): New variable.
30123 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
30124 (fdim_test_data): New variable.
30125 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
30126 (fmax_test_data): New variable.
30127 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
30128 (fmin_test_data): New variable.
30129 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
30130 (fmod_test_data): New variable.
30131 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
30132 (hypot_test_data): New variable.
30133 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
30134 (nextafter_test_data): New variable.
30135 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
30136 (nexttoward_test_data): New variable.
30137 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
30138 (pow_test_data): New variable.
30139 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
30140 (pow_tonearest_test_data): New variable.
30141 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
30142 (pow_towardzero_test_data): New variable.
30143 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
30144 (pow_downward_test_data): New variable.
30145 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
30146 (pow_upward_test_data): New variable.
30147 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
30148 (remainder_test_data): New variable.
30149 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
30150 (scalb_test_data): New variable.
30151 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
30152 * sysdeps/i386/fpu/libm-test-ulps: Update.
30154 2013-05-11 Joseph Myers <joseph@codesourcery.com>
30156 * math/libm-test.inc (fma_test): Use max_value instead of local
30158 (nextafter_test): Likewise.
30160 * math/libm-test.inc (acos_towardzero_test_data): New variable.
30161 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30162 (acos_downward_test_data): New variable.
30163 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30164 (acos_upward_test_data): New variable.
30165 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30166 (acosh_test_data): New variable.
30167 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
30168 (asin_test_data): New variable.
30169 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
30170 (asin_tonearest_test_data): New variable.
30171 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30172 (asin_towardzero_test_data): New variable.
30173 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30174 (asin_downward_test_data): New variable.
30175 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30176 (asin_upward_test_data): New variable.
30177 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30178 (asinh_test_data): New variable.
30179 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
30180 (atan_test_data): New variable.
30181 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
30182 (atanh_test_data): New variable.
30183 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
30184 (cbrt_test_data): New variable.
30185 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
30186 (ceil_test_data): New variable.
30187 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
30188 (cos_test_data): New variable.
30189 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
30190 (cos_tonearest_test_data): New variable.
30191 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30192 (cos_towardzero_test_data): New variable.
30193 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30194 (cos_downward_test_data): New variable.
30195 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30196 (cos_upward_test_data): New variable.
30197 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30198 (cosh_test_data): New variable.
30199 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
30200 (cosh_tonearest_test_data): New variable.
30201 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30202 (cosh_towardzero_test_data): New variable.
30203 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30204 (cosh_downward_test_data): New variable.
30205 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30206 (cosh_upward_test_data): New variable.
30207 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30208 (erf_test_data): New variable.
30209 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
30210 (erfc_test_data): New variable.
30211 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
30212 (exp_test_data): New variable.
30213 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
30214 (exp_tonearest_test_data): New variable.
30215 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30216 (exp_towardzero_test_data): New variable.
30217 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30218 (exp_downward_test_data): New variable.
30219 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30220 (exp_upward_test_data): New variable.
30221 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30222 (exp10_test_data): New variable.
30223 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
30224 (exp2_test_data): New variable.
30225 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
30226 (expm1_test_data): New variable.
30227 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
30228 (fabs_test_data): New variable.
30229 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
30230 (floor_test_data): New variable.
30231 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
30232 (j0_test_data): New variable.
30233 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
30234 (j1_test_data): New variable.
30235 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
30236 (log_test_data): New variable.
30237 (log_test): Run tests with RUN_TEST_LOOP_f_f.
30238 (log10_test_data): New variable.
30239 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
30240 (log1p_test_data): New variable.
30241 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
30242 (log2_test_data): New variable.
30243 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
30244 (logb_test_data): New variable.
30245 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
30246 (logb_downward_test_data): New variable.
30247 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30248 (nearbyint_test_data): New variable.
30249 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
30250 (rint_test_data): New variable.
30251 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
30252 (rint_tonearest_test_data): New variable.
30253 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30254 (rint_towardzero_test_data): New variable.
30255 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30256 (rint_downward_test_data): New variable.
30257 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30258 (rint_upward_test_data): New variable.
30259 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30260 (round_test_data): New variable.
30261 (round_test): Run tests with RUN_TEST_LOOP_f_f.
30262 (sin_test_data): New variable.
30263 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
30264 (sin_tonearest_test_data): New variable.
30265 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30266 (sin_towardzero_test_data): New variable.
30267 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30268 (sin_downward_test_data): New variable.
30269 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30270 (sin_upward_test_data): New variable.
30271 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30272 (sinh_test_data): New variable.
30273 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
30274 (sinh_tonearest_test_data): New variable.
30275 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30276 (sinh_towardzero_test_data): New variable.
30277 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30278 (sinh_downward_test_data): New variable.
30279 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30280 (sinh_upward_test_data): New variable.
30281 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30282 (sqrt_test_data): New variable.
30283 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
30284 (tan_test_data): New variable.
30285 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
30286 (tan_tonearest_test_data): New variable.
30287 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30288 (tan_towardzero_test_data): New variable.
30289 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30290 (tan_downward_test_data): New variable.
30291 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30292 (tan_upward_test_data): New variable.
30293 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30294 (tanh_test_data): New variable.
30295 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
30296 (tgamma_test_data): New variable.
30297 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
30298 (trunc_test_data): New variable.
30299 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
30300 (y0_test_data): New variable.
30301 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
30302 (y1_test_data): New variable.
30303 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
30304 (significand_test_data): New variable.
30305 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
30307 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
30310 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
30312 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
30314 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
30316 2013-05-10 Andreas Jaeger <aj@suse.de>
30319 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
30320 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
30322 2013-05-10 Joseph Myers <joseph@codesourcery.com>
30324 * math/gen-libm-test.pl (adjust_arg): New function.
30325 (special_functions): Handle generating output in both functions
30327 (parse_args): Likewise.
30328 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
30329 $in_func argument to parse_args.
30330 * math/libm-test.inc (struct test_f_f_data): New type.
30331 (IF_ROUND_INIT_): New macro.
30332 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
30333 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30334 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30335 (IF_ROUND_INIT_FE_UPWARD): Likewise.
30336 (ROUND_RESTORE_): Likewise.
30337 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
30338 (ROUND_RESTORE_FE_TONEAREST): Likewise.
30339 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
30340 (ROUND_RESTORE_FE_UPWARD): Likewise.
30341 (RUN_TEST_LOOP_f_f): New macro.
30342 (acos_test_data): New variable.
30343 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
30344 (acos_tonearest_test_data): New variable.
30345 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30347 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30349 * benchtests/bench-skeleton.c (startup): Fix coding style.
30351 2013-05-10 Joseph Myers <joseph@codesourcery.com>
30354 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
30355 negative infinity argument.
30356 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
30357 negative infinity argument.
30358 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
30359 negative infinity argument.
30360 * math/libm-test.inc (tgamma_test): Expect errno to be set for
30363 2013-05-10 Florian Weimer <fweimer@redhat.com>
30365 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
30366 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
30367 * iconv/iconv_prog.c (main): Likewise.
30368 * locale/programs/charmap-dir.c (charmap_readdir)
30369 (fopen_uncompressed): Likewise.
30370 * locale/programs/locfile.c (siblings_uncached)
30371 (write_locale_data): Use lstat64 instead of lstat.
30372 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
30375 2013-05-10 Andreas Jaeger <aj@suse.de>
30378 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
30380 Include <locale.h>.
30382 2013-05-09 Carlos O'Donell <carlos@redhat.com>
30384 * elf/dl-close.c (_dl_close_worker): Add comments.
30386 2013-05-09 Joseph Myers <joseph@codesourcery.com>
30389 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
30391 (__ieee754_rem_pio2l): Update comments.
30394 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
30396 (__ieee754_rem_pio2l): Update comments.
30398 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
30399 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
30401 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
30404 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
30405 (M_PI_34_LOG10El): Likewise.
30406 (M_PI2_LOG10El): Likewise.
30407 (M_PI4_LOG10El): Likewise.
30408 (M_PI_LOG10El): Likewise.
30410 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30414 2013-05-08 Joseph Myers <joseph@codesourcery.com>
30416 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
30417 (MINUS_ZERO_INIT): Likewise.
30418 (PLUS_INFTY_INIT): Likewise.
30419 (MINUS_INFTY_INIT): Likewise.
30420 (QNAN_VALUE_INIT): Likewise.
30421 (MAX_VALUE_INIT): Likewise.
30422 (MIN_VALUE_INIT): Likewise.
30423 (MIN_SUBNORM_VALUE_INIT): Likewise.
30424 (plus_zero): Initialize with PLUS_ZERO_INIT.
30425 (minus_zero): Initialize with MINUS_ZERO_INIT.
30426 (plus_infty): Initialize with PLUS_INFTY_INIT.
30427 (minus_infty): Initialize with MINUS_INFTY_INIT.
30428 (qnan_value): Initialize with QNAN_VALUE_INIT.
30429 (max_value): Initialize with MAX_VALUE_INIT.
30430 (min_value): Initialize with MIN_VALUE_INIT.
30431 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
30433 * math/libm-test.inc (RUN_TEST_if_f): New macro.
30434 (jn_test): Use TEST_if_f instead of TEST_ff_f.
30435 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
30436 (yn_test): Use TEST_if_f instead of TEST_ff_f.
30438 * math/libm-test.inc (RUN_TEST_f_f): New macro.
30439 (RUN_TEST_2_f): Likewise.
30440 (RUN_TEST_ff_f): Likewise.
30441 (RUN_TEST_fi_f): Likewise.
30442 (RUN_TEST_fl_f): Likewise.
30443 (RUN_TEST_fff_f): Likewise.
30444 (RUN_TEST_c_f): Likewise.
30445 (RUN_TEST_f_f1): Likewise.
30446 (RUN_TEST_fF_f1): Likewise.
30447 (RUN_TEST_fI_f1): Likewise.
30448 (RUN_TEST_ffI_f1): Likewise.
30449 (RUN_TEST_c_c): Likewise.
30450 (RUN_TEST_cc_c): Likewise.
30451 (RUN_TEST_f_i): Likewise.
30452 (RUN_TEST_f_i_tg): Likewise.
30453 (RUN_TEST_ff_i_tg): Likewise.
30454 (RUN_TEST_f_b): Likewise.
30455 (RUN_TEST_f_b_tg): Likewise.
30456 (RUN_TEST_f_l): Likewise.
30457 (RUN_TEST_f_L): Likewise.
30458 (RUN_TEST_sincos): Likewise.
30459 * math/gen-libm-test.pl (new_test): Take new argument to indicate
30460 whether to show exceptions. Do not include ");\n" in return
30462 (special_functions): Output call to RUN_TEST_sincos instead of
30463 check_float calls. Update calls to new_test.
30464 (parse_args): Output call to single RUN_TEST_* macro instead of
30465 check_* calls and other assignments. Update calls to new_test.
30471 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
30472 input to result for tgamma overflow.
30473 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
30474 (gamma_coeff): New variable.
30475 (NCOEFF): New macro.
30476 (gamma_positive): New function.
30477 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
30478 underflow here. Use gamma_positive instead of exp (lgamma) for
30480 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
30481 (gamma_coeff): New variable.
30482 (NCOEFF): New macro.
30483 (gammaf_positive): New function.
30484 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
30485 underflow here. Use gamma_positive instead of exp (lgamma) for
30487 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
30488 (gamma_coeff): New variable.
30489 (NCOEFF): New macro.
30490 (gammal_positive): New function.
30491 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
30492 underflow here. Use gamma_positive instead of exp (lgamma) for
30494 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
30495 (gamma_coeff): New variable.
30496 (NCOEFF): New macro.
30497 (gammal_positive): New function.
30498 (__ieee754_gammal_r): Handle positive infinity, overflow and
30499 underflow here. Handle NaN the same as positive infinity. Remove
30500 check x < 0xffffffff for negative integers. Use gamma_positive
30501 instead of exp (lgamma) for other arguments.
30502 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
30503 (gamma_coeff): New variable.
30504 (NCOEFF): New macro.
30505 (gammal_positive): New function.
30506 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
30507 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
30508 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
30509 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
30510 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
30511 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
30512 * sysdeps/generic/math_private.h (__gamma_productf): New
30514 (__gamma_product): Likewise.
30515 (__gamma_productl): Likewise.
30516 * math/Makefile (libm-calls): Add gamma_product.
30517 * math/libm-test.inc (tgamma_test): Add more tests.
30518 * sysdeps/i386/fpu/libm-test-ulps: Update.
30519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30521 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
30523 * benchtests/bench-skeleton.c (main): Preheat CPU.
30525 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
30527 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
30529 2013-05-07 Roland McGrath <roland@hack.frob.com>
30531 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
30532 and _dl_skip_args_internal.
30534 2013-05-07 Carlos O'Donell <carlos@redhat.com>
30536 * manual/message.texi (Message Translation): Talk about users.
30537 Message to key mapping impacts design.
30539 2013-05-06 Roland McGrath <roland@hack.frob.com>
30541 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
30543 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
30545 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
30546 * sysdeps/wordsize-64/glob64.c: ... here.
30548 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
30549 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
30552 * debug/getlogin_r_chk.c: Moved to ...
30553 * login/getlogin_r_chk.c: ... here.
30554 * debug/Makefile (routines): Move getlogin_r_chk to ...
30555 * login/Makefile (routines): ... here.
30556 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
30557 * login/Versions (libc: GLIBC_2.4): ... here.
30559 * io/poll.c (__poll): Renamed from poll.
30560 Add libc_hidden_def.
30561 (poll): Define as weak alias.
30563 * debug/ptsname_r_chk.c: Moved to ...
30564 * login/ptsname_r_chk.c: ... here.
30565 * debug/Makefile (routines): Move ptsname_r_chk to ...
30566 * login/Makefile (routines): ... here.
30567 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
30568 * login/Versions (libc: GLIBC_2.4): ... here.
30570 * posix/getlogin.c: Moved to ...
30571 * login/getlogin.c: ... here.
30572 * posix/getlogin_r.c: Moved to ...
30573 * login/getlogin_r.c: ... here.
30574 * posix/getlogin_r.c: Moved to ...
30575 * login/getlogin_r.c: ... here.
30576 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
30577 * login/Makefile (routines): ... here.
30578 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
30579 * login/Versions (libc: GLIBC_2.0): ... here.
30581 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
30582 (setrlimit): Define as weak alias.
30584 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
30585 Call __ names for open, ftruncate, and close.
30586 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
30587 (truncate): Define as weak alias.
30589 2013-05-06 Joseph Myers <joseph@codesourcery.com>
30591 * math/gen-libm-test.pl (parse_args): Initialize x before each
30592 test of frexp, modf and remquo.
30594 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
30595 test signgam value.
30597 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30601 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
30603 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30605 2013-05-06 Roland McGrath <roland@hack.frob.com>
30607 * elf/dl-writev.h: New file.
30608 * elf/dl-misc.c: Include it.
30609 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
30610 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
30612 2013-05-04 Joseph Myers <joseph@codesourcery.com>
30614 * math/libm-test.inc (noXFails): Remove variable.
30615 (noXPasses): Likewise.
30616 (BUILD_COMPLEX_INT): Remove macro.
30617 (print_screen): Remove xfail argument.
30618 (print_screen_max_error): Likewise.
30619 (update_stats): Likewise.
30620 (print_max_error): Likewise. Update calls to other affected
30622 (print_complex_max_error): Likewise.
30623 (test_single_exception): Update calls to print_screen.
30624 (test_single_errno): Likewise.
30625 (check_float_internal): Remove xfail argument. Update calls to
30626 other affected functions.
30627 (check_float): Likewise.
30628 (check_complex): Likewise.
30629 (check_int): Likewise.
30630 (check_long): Likewise.
30631 (check_bool): Likewise.
30632 (check_longlong): Likewise.
30633 (main): Don't print noXFails and noXPasses.
30634 * math/gen-libm-test.pl (top level): Don't mention expected
30635 failure handling in comment.
30636 (new_test): Don't handle expected failures.
30637 (parse_args): Don't mention expected failure handling in comment.
30638 (generate_testfile): Don't handle expected failures.
30639 (parse_ulps): Likewise.
30640 (print_ulps_file): Likewise.
30641 (get_failure): Remove function.
30642 (output_test): Don't handle expected failures.
30643 * make/README.libm-test: Don't mention expected failure handling.
30645 * math/libm-test.inc (plus_zero): Make const. Add initializer.
30646 (minus_zero): Likewise.
30647 (plus_infty): Likewise.
30648 (minus_infty): Likewise.
30649 (qnan_value): Likewise.
30650 (max_value): Likewise.
30651 (min_value): Likewise.
30652 (min_subnorm_value): Likewise.
30653 (initialize): Do not initialize those variables dynamically.
30655 2013-05-03 Roland McGrath <roland@hack.frob.com>
30657 * io/open.c (__open_2): Moved to ...
30658 * io/open_2.c: ... this new file.
30659 * io/open64.c (__open64_2): Moved to ...
30660 * io/open64_2.c: ... this new file.
30661 * io/openat.c (__openat_2): Moved to ...
30662 * io/openat_2.c: ... this new file.
30663 * io/openat64.c (__openat64_2): Moved to ...
30664 * io/openat64_2.c: ... this new file.
30665 * io/Makefile (routines): Add them.
30666 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
30667 * sysdeps/unix/sysv/linux/open_2.c: File removed.
30668 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
30669 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
30670 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
30671 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
30672 (__openat64): Add hidden_ver.
30673 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
30674 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
30676 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
30677 Separately conditionalize setting of GLRO(dl_sysinfo) so
30678 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
30679 as well, but the actual setting is only under [NEED_DL_SYSINFO].
30681 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30683 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
30684 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
30686 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
30687 * sysdeps/unix/sysv/linux/powerpc/init-first.c
30688 (_libc_vdso_platform_setup): Add __vdso_time initialization.
30689 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
30690 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
30692 2013-05-03 Joseph Myers <joseph@codesourcery.com>
30694 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
30695 test signgam value.
30697 * math/libm-test.inc (hypot_test): Do not use
30698 IGNORE_ZERO_INF_SIGN.
30700 2013-05-03 Andreas Jaeger <aj@suse.de>
30702 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
30704 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
30705 (PF_MAX): Adjust for VSOCK change.
30707 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30711 2013-05-02 Carlos O'Donell <carlos@redhat.com>
30714 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
30715 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
30716 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
30718 2013-05-02 David S. Miller <davem@davemloft.net>
30720 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30722 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
30724 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
30726 2013-05-01 Roland McGrath <roland@hack.frob.com>
30728 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
30730 2013-05-01 Richard Smith <richard@metafoo.co.uk>
30733 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
30734 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30735 Use __attribute__ ((__gnu_inline__)).
30736 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30737 Don't use __attribute__ ((__gnu_inline__)).
30739 2013-05-01 Joseph Myers <joseph@codesourcery.com>
30742 * math/s_catan.c (__catan): Handle small real or imaginary part of
30743 input specially to avoid spurious underflow.
30744 * math/s_catanf.c (__catanf): Likewise.
30745 * math/s_catanh.c (__catanh): Likewise.
30746 * math/s_catanhf.c (__catanhf): Likewise.
30747 * math/s_catanhl.c (__catanhl): Likewise.
30748 * math/s_catanl.c (__catanl): Likewise.
30749 * math/libm-test.inc (catan_test): Add more tests.
30750 (catanh_test): Likewise.
30751 * sysdeps/i386/fpu/libm-test-ulps: Update.
30752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30754 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30758 2013-04-30 Joseph Myers <joseph@codesourcery.com>
30761 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
30762 accurately for denominator in atan2.
30763 * math/s_catanf.c (__catanf): Likewise.
30764 * math/s_catanh.c (__catanh): Likewise.
30765 * math/s_catanhf.c (__catanhf): Likewise.
30766 * math/s_catanhl.c (__catanhl): Likewise.
30767 * math/s_catanl.c (__catanl): Likewise.
30768 * math/libm-test.inc (catan_test): Add more tests.
30769 (catanh_test): Likewise.
30770 * sysdeps/i386/fpu/libm-test-ulps: Update.
30771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30773 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30775 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
30777 * benchtests/Makefile (bench): Remove slow benchmarks.
30778 * benchtests/atan-inputs: Add slow benchmark inputs.
30779 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
30780 (BENCH_FUNC): Accept variant offset.
30782 * benchtests/bench-skeleton.c (main): Run benchmark for each
30784 * benchtests/cos-inputs: Add slow benchmark inputs.
30785 * benchtests/exp-inputs: Likewise.
30786 * benchtests/pow-inputs: Likewise.
30787 * benchtests/sin-inputs: Likewise.
30788 * benchtests/slowatan-inputs: Remove.
30789 * benchtests/slowatan.c: Remove.
30790 * benchtests/slowcos-inputs: Remove.
30791 * benchtests/slowcos.c: Remove.
30792 * benchtests/slowexp-inputs: Remove.
30793 * benchtests/slowexp.c: Remove.
30794 * benchtests/slowpow-inputs: Remove.
30795 * benchtests/slowpow.c: Remove.
30796 * benchtests/slowsin-inputs: Remove.
30797 * benchtests/slowsin.c: Remove.
30798 * benchtests/slowtan-inputs: Remove.
30799 * benchtests/slowtan.c: Remove.
30800 * benchtests/tan-inputs: Add slow benchmark inputs.
30801 * scripts/bench.pl: Parse comments and directives.
30803 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
30805 ($(objpfx)bench-%.c): Remove *-ITER.
30806 * benchtests/bench-modf.c: Remove definition of ITER.
30807 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
30808 (main): Loop for DURATION seconds instead of fixed number of
30810 * scripts/bench.pl: Don't expect iterations in parameters.
30812 2013-04-29 Roland McGrath <roland@hack.frob.com>
30814 * io/fchdir.c (__fchdir): Renamed from fchdir.
30815 (fchdir): Define as weak alias.
30817 2013-04-29 Joseph Myers <joseph@codesourcery.com>
30819 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
30820 (ERRNO_EDOM): Likewise.
30821 (ERRNO_ERANGE): Likewise.
30822 (noErrnoTests): New variable.
30823 (init_max_error): Set errno to 0.
30824 (test_single_errno): New function.
30825 (test_errno): Likewise.
30826 (check_float_internal): Call test_errno. Set errno to 0.
30827 (check_complex): Refer to errno tests in comment.
30828 (check_int): Call test_errno. Set errno to 0.
30829 (check_long): Likewise.
30830 (check_bool): Likewise.
30831 (check_longlong): Likewise.
30832 (cos_test): Use ERRNO_* flags for errno tests instead of
30834 (expm1_test): Likewise.
30835 (fmod_test): Likewise.
30836 (ilogb_test): Likewise.
30837 (lgamma_test): Likewise.
30838 (pow_test): Likewise.
30839 (remainder_test): Likewise.
30840 (sin_test): Likewise.
30841 (tan_test): Likewise.
30842 (yn_test): Likewise.
30843 (initialize): Set errno to 0.
30844 (main): Print number of errno tests.
30845 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
30847 2013-04-29 Andreas Jaeger <aj@suse.de>
30850 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
30854 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
30855 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
30859 * stdlib/random.c (__initstate): Return NULL if
30863 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
30864 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
30867 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30871 2013-04-29 Joseph Myers <joseph@codesourcery.com>
30873 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
30874 of individual tests.
30875 (casin_test): Likewise.
30876 (casinh_test): Likewise.
30878 2013-04-27 Joseph Myers <joseph@codesourcery.com>
30881 * math/s_catan.c (__catan): Handle arguments with large real or
30882 imaginary part separately without squaring.
30883 * math/s_catanf.c (__catanf): Likewise.
30884 * math/s_catanh.c (__catanh): Likewise.
30885 * math/s_catanhf.c (__catanhf): Likewise.
30886 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30888 (__catanhl): Handle arguments with large real or imaginary part
30889 separately without squaring.
30890 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30892 (__catanl): Handle arguments with large real or imaginary part
30893 separately without squaring.
30894 * math/libm-test.inc (catan_test): Add more tests.
30895 (catanh_test): Likewise.
30896 * sysdeps/i386/fpu/libm-test-ulps: Update.
30897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30899 2013-04-27 Andreas Jaeger <aj@suse.de>
30902 * stdlib/stdlib.h: Update guards for qecvt.
30903 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
30906 2013-04-27 Allan McRae <allan@archlinux.org>
30908 * sysdeps/i386/fpu/libm-test-ulps: Update.
30910 2013-04-26 Joseph Myers <joseph@codesourcery.com>
30913 * math/s_catan.c: Include <float.h>.
30914 (__catan): Ensure underflow exception occurs for underflowed
30916 * math/s_catanf.c: Include <float.h>.
30917 (__catanf): Ensure underflow exception occurs for underflowed
30919 * math/s_catanh.c: Include <float.h>.
30920 (__catanh): Ensure underflow exception occurs for underflowed
30922 * math/s_catanhf.c: Include <float.h>.
30923 (__catanhf): Ensure underflow exception occurs for underflowed
30925 * math/s_catanhl.c: Include <float.h>.
30926 (__catanhl): Ensure underflow exception occurs for underflowed
30928 * math/s_catanl.c: Include <float.h>.
30929 (__catanl): Ensure underflow exception occurs for underflowed
30931 * math/libm-test.inc (catan_test): Add more tests.
30932 (catanh_test): Likewise.
30935 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
30936 underflowed result.
30937 * math/s_ccoshf.c (__ccoshf): Likewise.
30938 * math/s_ccoshl.c (__ccoshl): Likewise.
30939 * math/s_csin.c (__csin): Likewise.
30940 * math/s_csinf.c (__csinf): Likewise.
30941 * math/s_csinh.c (__csinh): Likewise.
30942 * math/s_csinhf.c (__csinhf): Likewise.
30943 * math/s_csinhl.c (__csinhl): Likewise.
30944 * math/s_csinl.c (__csinl): Likewise.
30945 * math/libm-test.inc (ccos_test): Add more tests.
30946 (ccosh_test): Likewise.
30947 (csin_test): Likewise.
30948 (csinh_test): Likewise.
30950 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30952 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
30953 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
30954 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
30955 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
30956 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
30957 powerpc/power5+/fpu folders.
30958 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
30961 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30963 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30965 2013-04-25 Joseph Myers <joseph@codesourcery.com>
30967 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
30968 additions to variable.
30969 [$(config-machine) = x86_64] (modules-names): Likewise.
30970 ($(objpfx)tst-audit3): Remove dependency.
30971 ($(objpfx)tst-audit3.out): Likewise.
30972 ($(objpfx)tst-audit4): Likewise.
30973 ($(objpfx)tst-audit4.out): Likewise.
30974 ($(objpfx)tst-audit5): Likewise.
30975 ($(objpfx)tst-audit5.out): Likewise.
30976 ($(objpfx)tst-audit6): Likewise.
30977 ($(objpfx)tst-audit6.out): Likewise.
30978 ($(objpfx)tst-audit7): Likewise.
30979 ($(objpfx)tst-audit7.out): Likewise.
30980 (tst-audit3-ENV): Remove variable.
30981 (tst-audit4-ENV): Likewise.
30982 (tst-audit5-ENV): Likewise.
30983 (tst-audit6-ENV): Likewise.
30984 (tst-audit7-ENV): Likewise.
30985 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30986 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30987 addition to variable.
30988 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30989 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30990 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30991 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30992 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30993 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30994 tst-audit3, tst-audit4 and tst-audit5.
30995 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30996 tst-audit6 and tst-audit7.
30997 [$(subdir) = elf] (modules-names): Add audit modules for those
30999 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
31000 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
31001 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
31002 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
31003 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
31004 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
31005 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
31006 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
31007 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
31008 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
31009 [$(subdir) = elf] (tst-audit3-ENV): New variable.
31010 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
31011 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
31012 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
31013 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
31014 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
31016 [$(subdir) = elf && $(config-cflags-avx) = yes]
31017 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
31018 [$(subdir) = elf && $(config-cflags-avx) = yes]
31019 (CFLAGS-tst-auditmod4a.c): Likewise.
31020 [$(subdir) = elf && $(config-cflags-avx) = yes]
31021 (CFLAGS-tst-auditmod4b.c): Likewise.
31022 [$(subdir) = elf && $(config-cflags-avx) = yes]
31023 (CFLAGS-tst-auditmod6b.c): Likewise.
31024 [$(subdir) = elf && $(config-cflags-avx) = yes]
31025 (CFLAGS-tst-auditmod6c.c): Likewise.
31026 [$(subdir) = elf && $(config-cflags-avx) = yes]
31027 (CFLAGS-tst-auditmod7b.c): Likewise.
31028 * elf/tst-audit3.c: Move to ...
31029 * sysdeps/x86_64/tst-audit3.c: ... here.
31030 * elf/tst-audit4.c: Move to ...
31031 * sysdeps/x86_64/tst-audit4.c: ... here.
31032 * elf/tst-audit5.c: Move to ...
31033 * sysdeps/x86_64/tst-audit5.c: ... here.
31034 * elf/tst-audit6.c: Move to ...
31035 * sysdeps/x86_64/tst-audit6.c: ... here.
31036 * elf/tst-audit7.c: Move to ...
31037 * sysdeps/x86_64/tst-audit7.c: ... here.
31038 * elf/tst-auditmod3a.c: Move to ...
31039 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
31040 * elf/tst-auditmod3b.c: Move to ...
31041 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
31042 * elf/tst-auditmod4a.c: Move to ...
31043 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
31044 * elf/tst-auditmod4b.c: Move to ...
31045 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
31046 * elf/tst-auditmod5a.c: Move to ...
31047 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
31048 * elf/tst-auditmod5b.c: Move to ...
31049 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
31050 * elf/tst-auditmod6a.c: Move to ...
31051 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
31052 * elf/tst-auditmod6b.c: Move to ...
31053 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
31054 * elf/tst-auditmod6c.c: Move to ...
31055 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
31056 * elf/tst-auditmod7a.c: Move to ...
31057 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
31058 * elf/tst-auditmod7b.c: Move to ...
31059 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
31061 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
31064 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
31065 define unconditionally.
31066 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
31067 define unconditionally.
31068 (INT8_C, INT16_C, etc.): Likewise.
31070 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
31072 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
31073 __ehdr_start with hidden visibility.
31075 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
31077 2013-04-24 Carlos O'Donell <carlos@redhat.com>
31079 * math/libm-test.inc (cos_test): Use accurate hex constants.
31080 (sincost_test): Likewise.
31082 2013-04-24 Joseph Myers <joseph@codesourcery.com>
31084 * math/libm-test.inc (catan_test): Add more tests.
31085 (catanh_test): Likewise.
31087 * math/s_catanf.c (__catanf): Use suffixed floating-point
31089 * math/s_catanhf.c (__catanhf): Likewise.
31090 * math/s_catanhl.c (__catanhl): Likewise.
31091 * math/s_catanl.c (__catanl): Likewise.
31094 * math/s_catan.c (__catan): Calculate imaginary part of result
31095 with log1p not log unless computing log of number close to 0.
31096 * math/s_catanf.c (__catanf): Likewise.
31097 * math/s_catanl.c (__catanl): Likewise.
31098 * math/s_catanh.c (__catanh): Calculate real part of result with
31099 log1p not log unless computing log of number close to 0.
31100 * math/s_catanhf.c (__catanhf): Likewise.
31101 * math/s_catanhl.c (__catanhl): Likewise.
31102 * math/libm-test.inc (catan_test): Add more tests.
31103 (catanh_test): Likewise.
31104 * sysdeps/i386/fpu/libm-test-ulps: Update.
31105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31107 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
31109 * benchtests/Makefile: Mention files in which fast and slow
31110 paths of math functions are implemented.
31112 2013-04-23 Roland McGrath <roland@hack.frob.com>
31114 * sysdeps/posix/timespec_get.c: New file.
31116 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31118 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
31120 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
31122 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
31123 powerpc/power5/fpu folders.
31124 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
31125 * benchtests/Makefile: Add modf testcase.
31126 * benchtests/bench-modf.c: New file: Benchmark test for mo
31128 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
31131 * time/Makefile (tests): Add tst-strptime-whitespace.
31132 * time/strptime_l.c (get_number): Use ISSPACE.
31133 (__strptime_internal): Likewise.
31134 * time/tst-strptime-whitespace.c: New test case.
31136 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
31138 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
31140 (_nss_files_init): Set it here.
31142 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
31144 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
31145 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
31148 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
31150 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
31152 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31154 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
31157 2013-04-21 David S. Miller <davem@davemloft.net>
31159 * po/ru.po: Update Russion translation from translation project.
31161 2013-04-17 Adam Conrad <adconrad@0c3.net>
31163 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
31166 2013-04-17 Carlos O'Donell <carlos@redhat.com>
31168 * configure.in: Remove i386 configure warning. Remove i386 case.
31169 * configure: Regenerate.
31170 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
31171 Add example to error message.
31172 * sysdeps/i386/configure: Regenerate.
31174 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31176 * benchtests/Makefile (bench): Add cos, tan, slowcos and
31178 * benchtests/cos-inputs: New file.
31179 * benchtests/slowcos-inputs: New file.
31180 * benchtests/slowcos.c: New file.
31181 * benchtests/slowtan-inputs: New file.
31182 * benchtests/slowtan.c: New file.
31183 * benchtests/tan-inputs: New file.
31185 2013-04-16 Roland McGrath <roland@hack.frob.com>
31187 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
31190 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31192 * benchtests/Makefile: Include cppflags-iterator.mk to add
31193 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
31195 * Makefile.in (bench-clean): New target.
31196 * benchtests/Makefile (bench-clean): Likewise.
31198 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
31200 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
31202 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
31204 * stdio-common/tstdiomisc.c: Fix coding-style violation.
31206 2013-04-15 Andreas Schwab <schwab@suse.de>
31208 * nscd/grpcache.c (cache_addgr): Properly check for short write.
31209 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31210 * nscd/pwdcache.c (cache_addpw): Likewise.
31211 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
31214 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31216 * benchtests/Makefile (bench): Write all output to
31217 bench-out.tmp together.
31219 2013-04-15 Andreas Schwab <schwab@suse.de>
31221 * nscd/nscd.c (main): Don't fork again after closing files.
31223 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31225 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
31227 * benchtests/Rules (bench-deps): Collect dependencies into a
31228 single variable. Add Makefile to dependencies.
31229 ($(objpfx)bench-%.c): Depend on bench-deps.
31231 2013-04-12 Roland McGrath <roland@hack.frob.com>
31232 Xavier Roche <roche+kml2@exalead.com>
31235 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
31236 just that it's a file descriptor.
31237 * manual/llio.texi (Synchronizing AIO Operations): Update description
31238 for EBADF error from aio_fsync.
31240 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
31242 * Rules (bench): Move target definition...
31243 * benchtests/Makefile: ... here.
31245 2013-04-11 Carlos O'Donell <carlos@redhat.com>
31247 * math/libm-test.inc (cos_test): Fix PI/2 test.
31248 (sincos_test): Likewise.
31249 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
31250 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
31252 2013-04-11 Andreas Schwab <schwab@suse.de>
31255 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
31256 accept exponent character only when digits were seen.
31257 * stdio-common/Makefile (tests): Add bug26.
31258 * stdio-common/bug26.c: New file.
31261 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
31264 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31266 * Makeconfig (rtld-prefix): Define built linker prefix.
31267 * Rules (run-bench): Use it.
31268 * math/Makefile (run-regen-ulps): Likewise.
31270 * Rules (bench): Remove eval.
31272 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31273 Roland McGrath <roland@hack.frob.com>
31274 Ondrej Bilka <neleai@seznam.cz>
31277 * time/getdate.c: Include ctype.h and alloca.h.
31278 (__getdate_r): Trim leading and trailing spaces of input.
31279 * time/tst-getdate.c (tests): Add tests with leading and
31282 2013-04-08 Roland McGrath <roland@hack.frob.com>
31285 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
31286 when computing value.
31288 2013-04-06 Carlos O'Donell <carlos@redhat.com>
31290 * math/README.libm-test (How can I generate "libm-test-ulps"?):
31291 Use testrun.sh to run libm tests.
31294 * elf/dl-open.c (dl_open_worker): memset all of seen array.
31296 2013-04-06 Marko Myllynen <myllynen@redhat.com>
31299 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
31301 2013-04-06 Carlos O'Donell <carlos@redhat.com>
31303 * Makefile.in (regen-ulps): New target.
31304 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
31305 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
31306 [ifneq (no,$(PERL)] (regen-ulps): New target.
31307 [ifeq (no,$(PERL)] (regen-ulps): New target.
31308 * math/libm-test.inc (ulps_file_name): Define.
31309 (output_dir): New variable.
31310 (options): Add "output-dir" option.
31311 (parse_opt): Handle 'o' case.
31312 (main): If output_dir is non-NULL use it as a prefix
31314 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
31316 2013-04-06 Carlos O'Donell <carlos@redhat.com>
31318 [BZ #10060, #10062]
31319 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
31320 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
31321 fail configure if __sync_val_compare_and_swap is not inlined.
31322 * sysdeps/i386/configure: Regenerate.
31323 * configure.in: Build for i686 when configured for i386.
31324 * configure: Regenerate.
31325 * README: Remove i386 reference.
31327 2013-04-06 Carlos O'Donell <carlos@redhat.com>
31329 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
31330 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31332 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
31334 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
31335 (lmsnanval): New variables.
31336 (F): Add conversion tests.
31337 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
31338 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
31340 * stdio-common/tstdiomisc.c (F): Properly collect individual
31343 [BZ #14686, #15336]
31344 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
31345 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
31346 Instead, use input NaN values or generate a qNaN by arithmetic
31347 operation. Also fix bugs to comply with the standard.
31348 * math/libm-test.inc (remainder_test): Add more tests.
31350 [BZ #15335, #15342]
31351 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
31352 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
31353 input NaN values or generate a qNaN by arithmetic operation.
31355 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
31358 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
31361 2013-04-03 Joseph Myers <joseph@codesourcery.com>
31364 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
31365 underflowed result.
31366 * math/s_cexpf.c (__cexpf): Likewise.
31367 * math/s_cexpl.c (__cexpl): Likewise.
31368 * math/libm-test.inc (cexp_test): Add more tests.
31370 2013-04-03 Andreas Schwab <schwab@suse.de>
31373 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
31374 order arrays from heap if bigger than alloca cutoff.
31376 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
31378 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
31379 (SNAN_TESTS_double): Refer to GCC PR56831.
31380 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
31383 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
31385 * Rules (bench): Move bench.out after the run is complete.
31387 * Rules (bench): Echo currently running benchmark.
31389 * benchtests/Makefile (bench): Add atan and slowatan.
31390 * benchtests/atan-inputs: New file.
31391 * benchtests/slowatan-inputs: New file.
31392 * benchtests/slowatan.c: New file.
31394 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
31395 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
31399 * sysdeps/unix/sysv/linux/kernel-features.h
31400 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
31401 __ASSUME_XFS_RESTRICTED_CHOWN.
31402 * sysdeps/unix/sysv/linux/pathconf.c
31403 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
31404 Save and restore errno.
31406 2013-04-02 Joseph Myers <joseph@codesourcery.com>
31409 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
31410 arguments using __kernel_casinh.
31411 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
31412 arguments using __kernel_casinhf.
31413 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
31414 arguments using __kernel_casinhl.
31415 * math/libm-test.inc (cacosh_test): Add more tests.
31416 * sysdeps/i386/fpu/libm-test-ulps: Update.
31417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31419 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31421 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
31422 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
31424 * bench/Makefile (bench): Add sin and slowsin.
31425 * benchtests/sin-inputs: New file.
31426 * benchtests/slowsin-inputs: New file.
31427 * benchtests/slowsin.c: New file.
31429 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
31430 (bench): Add slowexp and slowpow.
31431 (exp-ITER): Increase iterations.
31432 (pow-ITER): Likewise.
31433 * benchtests/exp-inputs: Change input.
31434 * benchtests/pow-inputs: Likewise.
31435 * benchtests/slowexp-inputs: New file.
31436 * benchtests/slowexp.c: New file.
31437 * benchtests/slowpow-inputs: New file.
31438 * benchtests/slowpow.c: New file.
31440 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31442 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
31444 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31445 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
31446 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
31447 * benchtests/Makefile: Add rint benchtest.
31448 * benchtests/rint-inputs: Input for rint benchtest.
31450 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
31452 * Versions.def (libm): Add GLIBC_2.18.
31453 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
31454 hidden libm prototypes.
31455 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
31456 * math/Makefile (libm-calls): Add s_issignaling.
31457 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
31458 __issignalingf, __issignalingl. Adjust all libm.abilist files.
31459 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
31461 * math/math.h [__USE_GNU] (issignaling): New macro.
31462 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
31463 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
31464 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
31465 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
31466 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
31467 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
31468 * manual/arith.texi (issignaling): New section.
31469 * manual/libm-err-tab.pl (@all_functions): Update comment.
31470 * math/gen-libm-test.pl (parse_args): Apply special handling for
31472 * math/libm-test.inc (print_float, issignaling_test): New
31474 (check_float_internal): Add issignaling checks.
31475 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
31476 default definition.
31477 * sysdeps/powerpc/math-tests.h: New file.
31478 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
31480 * math/test-snan.c (TEST_FUNC): Likewise.
31482 2013-03-30 David S. Miller <davem@davemloft.net>
31484 * po/de.po: Update from translation team.
31486 2013-03-30 Joseph Myers <joseph@codesourcery.com>
31489 * math/k_casinh.c (__kernel_casinh): Handle arguments with
31490 imaginary part less than 1.0 and real part less than 0.5
31492 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31493 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31494 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
31495 (cacos_test): Add more tests.
31496 (casin_test): Likewise.
31497 (casinh_test): Likewise.
31498 * sysdeps/i386/fpu/libm-test-ulps: Update.
31499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31501 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31503 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
31504 ONE with its value.
31506 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
31507 (__pow_mp): Replace ONE and MONE with their values.
31508 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31509 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
31510 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31511 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
31512 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31513 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31515 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
31517 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
31518 (__pow_mp): Replace ZERO and MZERO with their values.
31519 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
31520 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31521 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31522 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31523 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31524 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
31527 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
31529 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
31531 2013-03-28 Roland McGrath <roland@hack.frob.com>
31533 * include/stdlib.h [!SHARED] (__call_tls_dtors):
31534 Declare with __attribute__ ((weak)).
31535 * stdlib/exit.c (__libc_atexit) [!SHARED]:
31536 Call __call_tls_dtors only if it's not NULL.
31538 2013-03-28 Roland McGrath <roland@hack.frob.com>
31540 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
31541 didn't do it already, then set _dl_phdr and _dl_phnum based on the
31542 magic __ehdr_start linker symbol if it's defined.
31543 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
31544 them up here if it was already done.
31546 * elf/dl-support.c (_dl_phdr): Make pointer to const.
31547 (_dl_aux_init): Use const in cast when setting it.
31548 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
31549 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
31550 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
31552 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
31554 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
31555 * csu/libc-tls.c: Nor here.
31556 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
31558 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
31559 (__libc_message): Never call vsyslog.
31561 2013-03-28 Alan Modra <amodra@gmail.com>
31563 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
31565 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
31568 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31571 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
31573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31575 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31578 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
31579 Don't add gid passed as argument.
31581 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
31583 2013-03-27 Joseph Myers <joseph@codesourcery.com>
31586 * math/k_casinh.c (__kernel_casinh): Handle arguments with
31587 imaginary part between 1.0 and 1.5 and real part less than 0.5
31589 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31590 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31591 * math/libm-test.inc (cacos_test): Add more tests.
31592 (casin_test): Likewise.
31593 (casinh_test): Likewise.
31594 * sysdeps/i386/fpu/libm-test-ulps: Update.
31595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31597 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31599 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
31602 (denorm): Likewise.
31603 (__dbl_mp): Likewise.
31604 (add_magnitudes): Likewise.
31605 (sub_magnitudes): Likewise.
31613 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
31615 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
31616 (__dubcos): Likewise.
31617 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
31618 (__ieee754_acos): Likewise.
31619 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
31620 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
31621 (__exp1): Likewise.
31622 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31623 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31625 (my_log2): Likewise.
31626 (checkint): Likewise.
31627 * sysdeps/ieee754/dbl-64/e_remainder.c
31628 (__ieee754_remainder): Likewise.
31629 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31630 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
31631 (bsloww): Likewise.
31632 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31634 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31635 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
31636 MANTISSA_STORE_T to store computations on mantissa. Use
31637 macros for rounding and division.
31638 (denorm): Likewise.
31639 (__dbl_mp): Likewise.
31640 (add_magnitudes): Likewise.
31641 (sub_magnitudes): Likewise.
31644 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31645 powers of two in terms of TWOPOW macro.
31646 (mp_no): Make type of mantissa as MANTISSA_T.
31647 [!RADIXI]: Define RADIXI.
31648 [!TWO52]: Define TWO52.
31649 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31651 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31653 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
31654 llroundl symbol when building for PPC32.
31656 2013-03-24 Mark H Weaver <mhw@netris.org>
31658 * manual/arith.texi (Normalization Functions): Fix prototypes for
31659 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
31661 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31664 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
31665 high value to check if expl overflow.
31666 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
31667 to check for underflow and overflow.
31668 * math/libm-test.inc: Add exp test.
31670 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
31673 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
31676 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31678 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
31681 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
31683 * math/gen-libm-test.pl (parse_args, special_functions): Properly
31684 wrap blocks consisting of several statements.
31686 * sysdeps/generic/math-tests.h: New file.
31687 * sysdeps/i386/fpu/math-tests.h: Likewise.
31688 * math/test-snan.c: Include it.
31689 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
31691 2013-03-21 Joseph Myers <joseph@codesourcery.com>
31694 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
31695 (__ieee754_j0l): Do not improve calculations using cos of twice
31696 input for inputs above LDBL_MAX / 2.0L.
31697 (__ieee754_y0l): Likewise.
31698 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
31699 (__ieee754_j1l): Do not improve calculations using cos of twice
31700 input for inputs above LDBL_MAX / 2.0L.
31701 (__ieee754_y1l): Likewise.
31702 * math/libm-test.inc (j0_test): Add another test.
31703 (j1_test): Likewise.
31704 (y0_test): Likewise.
31705 (y1_test): Likewise.
31706 * sysdeps/i386/fpu/libm-test-ulps: Update.
31708 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31710 * Rules ($(objpfx)bench-%.c): Include code from a C source
31713 2013-03-21 Joseph Myers <joseph@codesourcery.com>
31716 * math/k_casinh.c (__kernel_casinh): Handle arguments with
31717 imaginary part 1.0 and real part less than 0.5 specially.
31718 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31719 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31720 * math/libm-test.inc (cacos_test): Add more tests.
31721 (casin_test): Likewise.
31722 (casinh_test): Likewise.
31723 * sysdeps/i386/fpu/libm-test-ulps: Update.
31724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31726 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31728 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
31729 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
31731 2013-03-20 Joseph Myers <joseph@codesourcery.com>
31733 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
31734 * config.make.in (config-cflags-sse4): Remove variable.
31735 (config-cflags-avx): Likewise.
31736 (config-cflags-sse2avx): Likewise.
31737 (config-cflags-novzeroupper): Likewise.
31738 (config-asflags-i686): Likewise.
31739 (have-mfma4): Likewise.
31740 (have-as-vis3): Likewise.
31742 * configure.in (MIG): Do not AC_SUBST.
31743 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
31744 (libc_cv_cc_sse4): Do not AC_SUBST.
31745 (libc_cv_cc_avx): Likewise.
31746 (libc_cv_cc_sse2avx): Likewise.
31747 (libc_cv_cc_novzeroupper): Likewise.
31748 (libc_cv_cc_fma4): Likewise.
31749 (libc_cv_as_i686): Likewise.
31750 (libc_cv_sparc_as_vis3): Likewise.
31751 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
31753 (config-asflags-i686): Likewise.
31754 (config-cflags-avx): Likewise.
31755 (config-cflags-sse2avx): Likewise.
31756 (have-mfma4): Likewise.
31757 (config-cflags-novzeroupper): Likewise.
31758 * sysdeps/mach/configure.in (MIG): Likewise.
31759 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
31760 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
31762 (config-cflags-avx): Likewise.
31763 (config-cflags-sse2avx): Likewise.
31764 (have-mfma4): Likewise.
31765 (config-cflags-novzeroupper): Likewise.
31766 * configure: Regenerated.
31767 * sysdeps/i386/configure: Likewise.
31768 * sysdeps/mach/configure: Likewise.
31769 * sysdeps/sparc/configure: Likewise.
31770 * sysdeps/x86_64/configure: Likewise.
31772 2013-03-20 Roland McGrath <roland@hack.frob.com>
31775 * locale/programs/localedef.c (options): Put N_ translation marker
31776 on argument names, not just descriptions.
31778 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31780 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
31782 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
31785 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
31787 2013-03-19 Roland McGrath <roland@hack.frob.com>
31789 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
31790 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
31791 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
31792 [!BEFORE_ABORT] (before_abort): New function.
31793 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
31794 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
31795 (writev_for_fatal): New function.
31796 (WRITEV_FOR_FATAL): New macro; call that.
31797 (backtrace_and_maps): New function.
31798 (BEFORE_ABORT): New macro; call that.
31799 (struct str_list): Type removed.
31800 (__libc_message, __libc_fatal): Functions removed.
31801 Include <sysdeps/posix/libc_fatal.c> instead.
31803 2013-03-19 Joseph Myers <joseph@codesourcery.com>
31805 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
31807 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
31810 2013-03-19 Andreas Schwab <schwab@suse.de>
31812 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
31813 * sysdeps/gnu/configure: Regenerate.
31815 * configure.in: Substitute libc_cv_rtlddir.
31816 * configure: Regenerate.
31817 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
31818 * Makeconfig (rtlddir, inst_rtlddir): New variables.
31819 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
31820 * elf/Makefile (install-others, CFLAGS-interp.c)
31821 (ldso_install, common-ldd-rewrite): Likewise.
31822 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
31823 $(inst_slibdir)/$(rtld-installed-name).
31824 * scripts/rellns-sh: Add -p option.
31825 * Makerules (make-shlib-link): Use rellns-sh to get relative name
31828 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31830 * manual/nptl.texi: Renamed to ...
31831 * manual/threads.texi: ... this.
31832 * manual/Makefile (chapters): Update.
31834 2013-03-18 Roland McGrath <roland@hack.frob.com>
31837 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
31838 on argument names, not just descriptions.
31839 * malloc/memusagestat.c (options): Likewise.
31840 * nss/getent.c (options): Likewise.
31842 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
31845 * iconv/iconv_prog.c (options): Put N_ translation marker
31846 on argument names, not just descriptions.
31847 * iconv/iconvconfig.c (options): Likewise.
31849 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
31851 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
31852 implementation which is faster on all x86_64 architectures.
31853 Tested on AMD, Intel Nehalem, SNB, IVB.
31854 * sysdeps/x86_64/strnlen.S: Likewise.
31856 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31857 Remove all multiarch strlen and strnlen versions.
31858 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31859 Remove strlen and strnlen related parts.
31861 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
31862 Inline strlen part.
31863 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
31865 * sysdeps/x86_64/multiarch/strlen.S: Remove.
31866 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
31867 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
31868 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
31869 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31870 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
31872 2013-03-17 Carlos O'Donell <carlos@redhat.com>
31874 * manual/memory.texi (Malloc Tunable Parameters):
31875 Sort parameters alphabetically. Add comments for missing entries.
31877 2013-03-17 David S. Miller <davem@davemloft.net>
31879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31881 2013-03-16 Joseph Myers <joseph@codesourcery.com>
31884 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
31885 for arguments at most half maximum finite value.
31886 * math/libm-test.inc (j0_test): Add more tests.
31887 (j1_test): Likewise.
31888 (y0_test): Likewise.
31889 (y1_test): Likewise.
31890 * sysdeps/i386/fpu/libm-test-ulps: Update.
31891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31894 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
31895 1 / x and functions P and Q for arguments above 0x1p256L.
31896 (__ieee754_y0l): Likewise.
31897 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
31898 (__ieee754_y1l): Likewise.
31899 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
31900 (j1_test): Likewise.
31901 (y0_test): Likewise.
31902 (y1_test): Likewise.
31904 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
31906 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
31909 2013-03-15 Roland McGrath <roland@hack.frob.com>
31911 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
31912 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
31913 zero since it's initialized to EXEC_PAGESIZE.
31915 * sysdeps/unix/sysv/linux/ldsodefs.h
31916 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
31917 * sysdeps/generic/ldsodefs.h: ... here.
31919 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
31921 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
31923 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
31925 * math/test-snan.c: Renamed from
31926 sysdeps/powerpc/fpu/test-powerpc-snan.c.
31927 * math/Makefile (tests): Add test-snan.
31928 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
31931 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
31932 SUFFIX. Initialize qNaN_var with __builtin_nan family of
31934 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
31935 __builtin_nan family of functions.
31936 * math/libm-test.inc (initialize): Initialize qnan_value with
31937 __builtin_nan family of functions.
31938 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
31940 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
31942 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
31943 storage class. Initialize qNaN_var and sNaN_var with
31944 __builtin_nan and __builtin_nans families of functions,
31947 * math/libm-test.inc (acosh_test): Also test with qNaN input.
31948 (sqrt_test): Remove duplicate test with qNaN input.
31949 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
31950 (round_test, signbit_test, significand_test): Note missing +/-Inf
31951 as well as qNaN tests.
31953 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
31954 qNaN_var. Fix a few strings, too.
31955 * math/libm-test.inc (nan_value): Rename to qnan_value.
31956 * math/gen-libm-test.pl (%beautify): Adjust to that.
31957 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
31958 * math/test-misc.c (main): Likewise.
31959 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
31960 to __qnan_bytes, and __qnan_union, respectively.
31961 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
31963 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
31964 and lqnanval, respectively.
31965 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
31966 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
31967 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
31968 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
31970 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
31971 * math/test-misc.c (main) [__x86_64__]: Enable test for long
31974 * math/test-misc.c (main): Fix copy'n'pastos.
31975 * misc/tst-efgcvt.c (special): Likewise.
31977 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
31978 Remove declarations.
31980 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31982 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31983 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31984 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31985 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31987 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31989 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31990 macro to return vdso values correctly in IFUNC implementations.
31991 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31992 Optimization by using IFUNC.
31994 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31995 Richard Henderson <rth@redhat.com>
31996 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31998 * Makefile.in (bench): New target.
31999 * NEWS: Mention the benchmark framework.
32000 * Rules (bench): Likewise.
32001 (binaries-bench): Generate binaries for functions to
32003 * benchtests/Makefile: New makefile for benchmark tests.
32004 * benchtests/bench-skeleton.c: New skeleton file for benchmark
32006 * benchtests/exp-inputs: New input file for EXP function.
32007 * benchtests/pow-inputs: New input file for POW function.
32008 * scripts/bench.pl: New script to generate source files for
32009 benchmark programs.
32011 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32013 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32014 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
32015 computations on mantissa. Use macros for rounding and
32017 (denorm): Likewise.
32018 (__dbl_mp): Likewise.
32019 (add_magnitudes): Likewise.
32020 (sub_magnitudes): Likewise.
32023 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
32024 powers of two in terms of TWOPOW macro.
32025 (mp_no): Make type of mantissa as MANTISSA_T.
32026 [!RADIXI]: Define RADIXI.
32027 [!TWO52]: Define TWO52.
32028 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32030 * manual/nptl.texi (cindex): Modify threads to pthreads.
32032 2013-03-15 Joseph Myers <joseph@codesourcery.com>
32034 * sysdeps/x86_64/preconfigure: Regenerated.
32036 2013-03-14 Joseph Myers <joseph@codesourcery.com>
32039 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
32041 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
32042 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
32044 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
32045 * math/libm-test.inc (j0_test): Do not allow one spurious
32046 underflow exception.
32047 (y1_test): Likewise.
32049 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32051 * manual/Makefile (chapters): Add nptl.
32052 * manual/debug.texi (Debugging Support): Add link to Threads
32054 * manual/nptl.texi: New file.
32056 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
32058 2013-03-14 Petr Baudis <pasky@ucw.cz>
32060 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
32061 for non-NULL pointer before the memory validity test. Pointed
32062 out by Holger Brunck <holger.brunck@keymile.com>.
32064 2013-03-13 Andreas Schwab <schwab@suse.de>
32066 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
32069 2013-03-13 Joseph Myers <joseph@codesourcery.com>
32071 * timezone/zic.c: Update from tzcode 2013b.
32073 2013-03-12 Carlos O'Donell <carlos@redhat.com>
32075 * manual/install.texi (Configuring and compiling):
32076 Mention i686 and i586.
32077 * INSTALL: Regenerate.
32079 2013-03-12 Roland McGrath <roland@hack.frob.com>
32081 * sysdeps/init_array/elf-init.c: New file.
32083 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
32084 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
32086 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
32087 __gmon_start__ as global, but as static with a .preinit_array pointer.
32088 * sysdeps/init_array/gmon-start.c: New file. Use that.
32089 * sysdeps/init_array/crti.S: New file, empty except for comments.
32090 * sysdeps/init_array/crtn.S: Likewise.
32092 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
32094 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
32096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32097 Remove Prefer_SSE_for_memop.
32098 * sysdeps/x86_64/multiarch/init-arch.h: Remove
32099 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
32100 HAS_PREFER_SSE_FOR_MEMOP.
32101 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
32103 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32104 Remove bzero, memset ifunc support.
32105 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
32106 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
32107 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32108 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32110 2013-03-11 Andreas Schwab <schwab@suse.de>
32113 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
32115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
32116 (GLIBC_2.16): Remove pthread_atfork.
32118 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
32120 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
32121 (ptestcases.h): Likewise.
32123 2013-03-08 Roland McGrath <roland@hack.frob.com>
32125 * Makeconfig ($(common-objpfx)config.status): Depend on
32126 sysdeps/*/preconfigure{,.in} too.
32128 2013-03-08 Joseph Myers <joseph@codesourcery.com>
32130 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
32131 (__free_hook): Use void * instead of __malloc_ptr_t.
32132 (__malloc_hook): Likewise.
32133 (__realloc_hook): Likewise.
32134 (__memalign_hook): Likewise.
32135 (__after_morecore_hook): Likewise.
32136 * malloc/arena.c (save_malloc_hook): Likewise.
32137 (save_free_hook): Likewise.
32138 * malloc/hooks.c (malloc_hook_ini): Likewise.
32139 (realloc_hook_ini): Likewise.
32140 (memalign_hook_ini): Likewise.
32141 * malloc/malloc.c (malloc_hook_ini): Likewise.
32142 (realloc_hook_ini): Likewise.
32143 (memalign_hook_ini): Likewise.
32144 (__free_hook): Likewise.
32145 (__malloc_hook): Likewise.
32146 (__realloc_hook): Likewise.
32147 (__memalign_hook): Likewise.
32148 (__libc_malloc): Likewise.
32149 (__libc_free): Likewise.
32150 (__libc_realloc): Likewise.
32151 (__libc_memalign): Likewise.
32152 (__libc_valloc): Likewise.
32153 (__libc_pvalloc): Likewise.
32154 (__libc_calloc): Likewise.
32155 (__posix_memalign): Likewise.
32156 * malloc/morecore.c (__sbrk): Likewise.
32157 (__default_morecore): Likewise.
32159 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
32161 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
32162 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
32163 __malloc_ptrdiff_t.
32165 * malloc/malloc.h (__malloc_size_t): Remove macro.
32166 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
32168 (old_memalign_hook): Likewise.
32169 (old_realloc_hook): Likewise.
32170 (struct hdr): Likewise.
32172 (mallochook): Likewise.
32173 (memalignhook): Likewise.
32174 (reallochook): Likewise.
32175 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
32176 (tr_old_realloc_hook): Likewise.
32177 (tr_old_memalign_hook): Likewise.
32178 (tr_mallochook): Likewise.
32179 (tr_reallochook): Likewise.
32180 (tr_memalignhook): Likewise.
32182 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32184 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
32185 default_ldbl_pack and using as default implementation.
32186 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
32188 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
32189 redundant definition.
32190 (ldbl_insert_mantissa): Likewise.
32191 (ldbl_canonicalize): Likewise.
32192 (ldbl_nearbyint): Likewise.
32193 (ldbl_pack): Rename to ldbl_pack_ppc.
32194 (ldbl_unpack): Rename to ldbl_unpack_ppc.
32195 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
32196 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
32198 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32200 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
32201 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
32202 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
32203 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
32204 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
32205 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
32206 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
32207 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
32209 2013-03-07 Andreas Jaeger <aj@suse.de>
32211 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32214 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32216 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
32217 Include mpa.h and declare __MPEXP.
32218 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
32219 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
32220 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
32221 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
32222 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
32223 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
32224 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
32226 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
32227 (__slowpow): Use long double EXPL and LOGL functions to
32229 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
32230 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
32231 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
32232 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
32233 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
32234 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
32236 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
32237 intermediate variable to calculate exponent.
32239 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32243 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
32244 [!NO__SQR]: Define __sqr.
32245 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
32246 and NO__SQR. Remove all code except __mul and __sqr. Include
32247 sysdeps/ieee754/dbl-64/mpa.c.
32248 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32251 * posix/Makefile (tests): Add tst-pathconf.
32252 * posix/tst-pathconf.c: New test case.
32253 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
32255 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
32257 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
32259 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
32261 2013-03-06 Andreas Jaeger <aj@suse.de>
32263 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
32264 definition via __MAP_ANONYMOUS.
32266 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
32267 it's not part of Linux headers.
32269 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
32270 (MAP_HUGE_MASK): Define.
32272 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32274 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32275 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32277 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32278 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32280 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32281 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
32283 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32285 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
32286 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
32287 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
32288 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
32289 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
32290 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
32292 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32295 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32296 Handle f2fs and efivarfs.
32298 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
32301 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
32302 (EFIVARFS_MAGIC): Add.
32303 (F2FS_LINK_MAX): Add.
32305 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32307 * stdio-common/vfprintf.c: Replace __builtin_expect with
32310 2013-03-06 Joseph Myers <joseph@codesourcery.com>
32313 * sysdeps/generic/bp-sym.h: Remove file.
32314 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
32315 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
32316 <bp-sym.h> and <bp-asm.h>.
32317 (__longjmp): Don't use BP_SYM.
32318 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
32320 (memcpy): Don't use BP_SYM.
32321 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
32322 <bp-sym.h> and <bp-asm.h>.
32323 (memcpy): Don't use BP_SYM.
32324 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
32326 (memcpy): Don't use BP_SYM.
32327 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
32329 (memset): Don't use BP_SYM.
32330 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32331 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32332 (__bzero): Don't use BP_SYM.
32333 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32334 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32335 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
32336 <bp-sym.h> and <bp-asm.h>.
32337 (memcmp): Don't use BP_SYM. Remove comment about bounded
32339 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
32340 <bp-sym.h> and <bp-asm.h>.
32341 (memcpy): Don't use BP_SYM.
32342 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
32343 <bp-sym.h> and <bp-asm.h>.
32344 (memset): Don't use BP_SYM.
32345 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32346 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32347 (__bzero): Don't use BP_SYM.
32348 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32349 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32350 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
32351 <bp-sym.h> and <bp-asm.h>.
32352 (strncmp): Don't use BP_SYM. Remove comment about bounded
32354 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
32355 <bp-sym.h> and <bp-asm.h>.
32356 (memcpy): Don't use BP_SYM.
32357 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
32358 <bp-sym.h> and <bp-asm.h>.
32359 (memset): Don't use BP_SYM.
32360 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32361 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32362 (__bzero): Don't use BP_SYM.
32363 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32364 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32365 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
32366 <bp-sym.h> and <bp-asm.h>.
32367 (__memchr): Don't use BP_SYM.
32368 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
32369 <bp-sym.h> and <bp-asm.h>.
32370 (memcmp): Don't use BP_SYM. Remove comment about bounded
32372 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
32373 <bp-sym.h> and <bp-asm.h>.
32374 (memcpy): Don't use BP_SYM.
32375 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
32376 <bp-sym.h> and <bp-asm.h>.
32377 (__mempcpy): Don't use BP_SYM.
32378 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
32379 <bp-sym.h> and <bp-asm.h>.
32380 (__memrchr): Don't use BP_SYM.
32381 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
32382 <bp-sym.h> and <bp-asm.h>.
32383 (memset): Don't use BP_SYM.
32384 (__bzero): Likewise.
32385 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
32386 <bp-sym.h> and <bp-asm.h>.
32387 (__rawmemchr): Don't use BP_SYM.
32388 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
32389 <bp-sym.h> and <bp-asm.h>.
32390 (__STRCMP): Don't use BP_SYM.
32391 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
32392 <bp-sym.h> and <bp-asm.h>.
32393 (strchr): Don't use BP_SYM.
32394 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
32395 <bp-sym.h> and <bp-asm.h>.
32396 (__strchrnul): Don't use BP_SYM.
32397 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
32398 <bp-sym.h> and <bp-asm.h>.
32399 (strlen): Don't use BP_SYM.
32400 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
32401 <bp-sym.h> and <bp-asm.h>.
32402 (strncmp): Don't use BP_SYM. Remove comment about bounded
32404 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
32405 <bp-sym.h> and <bp-asm.h>.
32406 (__strnlen): Don't use BP_SYM.
32407 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
32408 <bp-sym.h> and <bp-asm.h>.
32409 (__GI__setjmp): Don't use BP_SYM.
32410 (_setjmp): Likewise.
32411 (__sigsetjmp): Likewise.
32412 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
32413 (L(start_addresses)): Don't use BP_SYM.
32414 (_start): Likewise.
32415 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
32417 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
32418 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
32419 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32420 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32421 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
32423 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
32424 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
32425 about bounded pointers.
32426 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32427 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32428 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
32430 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
32431 about bounded pointers. Remove GKM FIXME comments.
32432 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32433 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
32435 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
32436 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
32437 Remove GKM FIXME comments.
32438 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32439 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32440 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
32442 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
32443 about bounded pointers. Remove GKM FIXME comment.
32444 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
32446 (strncmp): Don't use BP_SYM. Remove comment about bounded
32448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
32449 <bp-sym.h> and <bp-asm.h>.
32450 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
32451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
32452 <bp-sym.h> and <bp-asm.h>.
32453 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
32456 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32458 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
32461 2013-03-05 David S. Miller <davem@davemloft.net>
32463 * po/es.po: Update from translation team.
32465 2013-03-05 Andreas Jaeger <aj@suse.de>
32467 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
32468 <bits/mman-linux.h>.
32469 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32471 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
32472 <bits/mman-linux.h> to end of file.
32473 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32475 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
32476 <bits/mman-linux.h> to end of file.
32477 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32479 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
32480 <bits/mman-linux.h> to end of file.
32482 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
32483 (MCL_CURRENT, MCL_FUTURE): Define here.
32485 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32488 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
32490 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32492 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32494 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
32495 fourth parameter needed for rt_sigprocmask syscall.
32496 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
32497 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32498 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
32499 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32500 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32501 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
32503 2013-03-04 Joseph Myers <joseph@codesourcery.com>
32506 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
32507 comment about bounded pointers.
32508 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
32509 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
32511 2013-03-04 Andreas Jaeger <aj@suse.de>
32513 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
32514 common definitions.
32516 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
32517 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
32518 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
32519 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32520 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32521 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32523 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32526 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
32527 __ieee754_sqrl instead of __sqrl.
32529 2013-03-01 Joseph Myers <joseph@codesourcery.com>
32531 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
32532 * sysdeps/powerpc/fpu_control.h: ... here.
32533 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
32534 * sysdeps/powerpc/bits/fenvinline.h: ... here.
32535 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
32536 * sysdeps/powerpc/bits/mathinline.h: ... here.
32538 2013-03-01 Roland McGrath <roland@hack.frob.com>
32540 * elf/dl-hwcaps.c (_dl_important_hwcaps):
32541 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
32542 to just [NEED_DL_SYSINFO_DSO].
32543 * elf/dl-support.c: Likewise.
32544 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
32545 * elf/rtld.c (dl_main): Likewise.
32546 * elf/setup-vdso.h (setup_vdso): Likewise.
32547 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
32548 * sysdeps/unix/sysv/linux/dl-sysdep.c
32549 (_dl_discover_osversion): Likewise.
32551 2013-03-01 Carlos O'Donell <carlos@redhat.com>
32553 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
32554 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
32556 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
32558 * NEWS: Mention libm performance improvements and non-x86 PI
32561 * csu/libc-start.c (__pthread_initialize_minimal): Change
32562 function arguments.
32563 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
32565 2013-02-28 Joseph Myers <joseph@codesourcery.com>
32568 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
32569 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
32570 <bp-sym.h> and <bp-asm.h>.
32571 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32572 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
32574 (memcpy): Don't use BP_SYM.
32575 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
32577 (__mpn_add_n): Don't use BP_SYM.
32578 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
32579 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
32581 (__mpn_addmul_1): Don't use BP_SYM.
32582 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32583 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
32585 (_setjmp): Don't use BP_SYM.
32586 (__novmx_setjmp): Likewise.
32587 (__GI__setjmp): Likewise.
32588 (__vmx_setjmp): Likewise.
32589 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
32591 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
32592 (__bzero): Don't use BP_SYM.
32593 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32594 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32595 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
32596 <bp-sym.h> and <bp-asm.h>.
32597 (memcpy): Don't use BP_SYM.
32598 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
32599 <bp-sym.h> and <bp-asm.h>.
32600 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32601 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
32602 <bp-sym.h> and <bp-asm.h>.
32603 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32604 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
32606 (__mpn_lshift): Don't use BP_SYM.
32607 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32608 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
32610 (memset): Don't use BP_SYM.
32611 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32612 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32613 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
32615 (__mpn_mul_1): Don't use BP_SYM.
32616 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32617 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
32618 <bp-sym.h> and <bp-asm.h>.
32619 (memcmp): Don't use BP_SYM.
32620 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
32621 <bp-sym.h> and <bp-asm.h>.
32622 (memcpy): Don't use BP_SYM.
32623 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
32624 <bp-sym.h> and <bp-asm.h>.
32625 (memset): Don't use BP_SYM.
32626 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
32627 <bp-sym.h> and <bp-asm.h>.
32628 (strncmp): Don't use BP_SYM.
32629 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
32630 <bp-sym.h> and <bp-asm.h>.
32631 (memcpy): Don't use BP_SYM.
32632 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
32633 <bp-sym.h> and <bp-asm.h>.
32634 (memset): Don't use BP_SYM.
32635 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
32636 <bp-sym.h> and <bp-asm.h>.
32637 (__memchr): Don't use BP_SYM.
32638 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
32639 <bp-sym.h> and <bp-asm.h>.
32640 (memcmp): Don't use BP_SYM.
32641 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
32642 <bp-sym.h> and <bp-asm.h>.
32643 (memcpy): Don't use BP_SYM.
32644 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
32645 <bp-sym.h> and <bp-asm.h>.
32646 (__mempcpy): Don't use BP_SYM.
32647 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
32648 <bp-sym.h> and <bp-asm.h>.
32649 (__memrchr): Don't use BP_SYM.
32650 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
32651 <bp-sym.h> and <bp-asm.h>.
32652 (memset): Don't use BP_SYM.
32653 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
32654 <bp-sym.h> and <bp-asm.h>.
32655 (__rawmemchr): Don't use BP_SYM.
32656 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
32657 <bp-sym.h> and <bp-asm.h>.
32658 (__STRCMP): Don't use BP_SYM.
32659 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
32660 <bp-sym.h> and <bp-asm.h>.
32661 (strchr): Don't use BP_SYM.
32662 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
32663 <bp-sym.h> and <bp-asm.h>.
32664 (__strchrnul): Don't use BP_SYM.
32665 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
32666 <bp-sym.h> and <bp-asm.h>.
32667 (strlen): Don't use BP_SYM.
32668 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
32669 <bp-sym.h> and <bp-asm.h>.
32670 (strncmp): Don't use BP_SYM.
32671 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
32672 <bp-sym.h> and <bp-asm.h>.
32673 (__strnlen): Don't use BP_SYM.
32674 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
32676 (__mpn_rshift): Don't use BP_SYM.
32677 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32678 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
32679 <bp-sym.h> and <bp-asm.h>.
32680 (__sigsetjmp): Don't use BP_SYM.
32681 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
32682 (L(start_addresses)): Don't use BP_SYM.
32683 (_start): Likewise.
32684 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
32686 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
32687 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32688 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32689 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
32691 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
32692 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32693 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32694 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
32696 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
32698 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32699 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
32701 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
32703 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32704 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32705 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
32707 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
32709 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
32711 (strncmp): Don't use BP_SYM,
32712 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
32714 (__mpn_sub_n): Don't use BP_SYM.
32715 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32716 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
32718 (__mpn_submul_1): Don't use BP_SYM.
32719 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
32721 <bp-sym.h> and <bp-asm.h>.
32722 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
32723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
32724 <bp-sym.h> and <bp-asm.h>.
32725 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
32728 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32730 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
32731 Use ZK to minimize writes to Z.
32732 (sub_magnitudes): Simplify code a bit.
32733 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
32734 Use ZK to minimize writes to Z.
32735 (sub_magnitudes): Simplify code a bit.
32737 2013-02-27 Roland McGrath <roland@hack.frob.com>
32739 * csu/gmon-start.c: Add special exception to license text.
32741 2013-02-27 Richard Henderson <rth@redhat.com>
32743 * scripts/config.guess: Update from config.git.
32744 * scripts/config.sub: Likewise.
32746 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32748 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
32750 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
32752 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
32754 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
32756 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
32758 2013-02-26 Roland McGrath <roland@hack.frob.com>
32760 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
32761 [$(build-shared = yes].
32763 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32765 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
32766 (__mul): Reduce iterations for calculating mantissa.
32768 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
32770 (__mpranred): Likewise.
32773 * malloc/memusagestat.c (main): Draw graphs for heap and stack
32774 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
32776 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
32778 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
32779 Define __attribute__.
32781 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32783 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
32785 * posix/regex_internal.h (__attribute): Remove.
32786 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
32787 (re_string_context_at): Likewise.
32788 (bitset_not): Use __attribute__ and mark function as possibly
32790 (bitset_merge): Likewise.
32791 (bitset_mask): Likewise.
32792 (re_string_char_size_at): Likewise.
32793 (re_string_wchar_at): Likewise.
32794 (re_string_elem_size_at): Likewise.
32796 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32798 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
32802 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
32806 (denorm): Likewise.
32807 (__dbl_mp): Likewise.
32808 (add_magnitudes): Likewise.
32809 (sub_magnitudes): Likewise.
32813 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
32816 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
32819 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
32822 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
32823 up changes with default code.
32824 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
32827 2013-02-24 Allan McRae <allan@archlinux.org>
32829 * manual/socket.texi (The Internet Namespace): Order menu items
32830 to match that in the file.
32832 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
32833 node listing of the info page menu.
32835 2013-02-21 Joseph Myers <joseph@codesourcery.com>
32838 * sysdeps/i386/bp-asm.h: Remove file.
32839 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32840 (PARMS): Do not use macros from bp-asm.h.
32844 (__mpn_add_n): Do not use BP_SYM
32845 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
32847 (PARMS): Do not use macros from bp-asm.h.
32850 (__mpn_addmul_1): Do not use BP_SYM
32851 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
32853 (PARMS): Do not use macros from bp-asm.h.
32854 (SIGMSK): Likewise.
32855 (_setjmp): Likewise. Do not use BP_SYM.
32856 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
32858 (PARMS): Do not use macros from bp-asm.h.
32859 (SIGMSK): Likewise.
32860 (setjmp): Likewise. Do not use BP_SYM.
32861 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
32863 (PARMS): Do not use macros from bp-asm.h.
32864 (__frexp): Do not use BP_SYM.
32866 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
32868 (PARMS): Do not use macros from bp-asm.h.
32869 (__frexpf): Do not use BP_SYM.
32870 (frexpf): Likewise.
32871 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
32873 (PARMS): Do not use macros from bp-asm.h.
32874 (__frexpl): Do not use BP_SYM.
32875 (frexpl): Likewise.
32876 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
32878 (PARMS): Do not use macros from bp-asm.h.
32879 (__remquo): Do not use BP_SYM.
32880 (remquo): Likewise.
32881 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
32883 (PARMS): Do not use macros from bp-asm.h.
32884 (__remquof): Do not use BP_SYM.
32885 (remquof): Likewise.
32886 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
32888 (PARMS): Do not use macros from bp-asm.h.
32889 (__remquol): Do not use BP_SYM.
32890 (remquol): Likewise.
32891 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
32893 (PARMS): Do not use macros from bp-asm.h.
32896 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
32897 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
32899 (PARMS): Do not use macros from bp-asm.h.
32900 (strlen): Do not use BP_SYM.
32901 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
32903 (PARMS): Do not use macros from bp-asm.h.
32907 (__mpn_add_n): Do not use BP_SYM.
32908 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
32910 (PARMS): Do not use macros from bp-asm.h.
32913 (__mpn_addmul_1): Do not use BP_SYM.
32914 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
32917 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
32919 (PARMS): Do not use macros from bp-asm.h.
32922 (__mpn_lshift): Do not use BP_SYM.
32923 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
32925 (PARMS): Do not use macros from bp-asm.h.
32929 (memcpy): Likewise. Do not use BP_SYM.
32930 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
32931 libc_hidden_def and weak_alias.
32932 (mempcpy): Do not use BP_SYM in weak_alias.
32933 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
32935 (PARMS): Do not use macros from bp-asm.h.
32938 [!BZERO_P] (CHR): Likewise.
32939 (memset): Likewise. Do not use BP_SYM.
32940 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
32942 (PARMS): Do not use macros from bp-asm.h.
32945 (__mpn_mul_1): Do not use BP_SYM.
32946 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
32948 (PARMS): Do not use macros from bp-asm.h.
32951 (__mpn_rshift): Do not use BP_SYM.
32952 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
32954 (PARMS): Do not use macros from bp-asm.h.
32957 (strchr): Likewise. Do not use BP_SYM.
32958 (index): Do not use BP_SYM in weak_alias.
32959 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
32961 (PARMS): Do not use macros from bp-asm.h.
32964 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
32965 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
32967 (PARMS): Do not use macros from bp-asm.h.
32968 (strlen): Do not use BP_SYM.
32969 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
32971 (PARMS): Do not use macros from bp-asm.h.
32975 (__mpn_sub_n): Do not use BP_SYM.
32976 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
32978 (PARMS): Do not use macros from bp-asm.h.
32981 (__mpn_submul_1): Do not use BP_SYM.
32982 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
32984 (PARMS): Do not use macros from bp-asm.h.
32988 (__mpn_add_n): Do not use BP_SYM.
32989 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32992 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32994 (PARMS): Do not use macros from bp-asm.h.
32997 (memcmp): Do not use BP_SYM.
32998 (bcmp): Do not use BP_SYM in weak_alias.
32999 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
33001 (PARMS): Do not use macros from bp-asm.h.
33005 (memcpy): Likewise. Do not use BP_SYM.
33006 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
33008 (PARMS): Do not use macros from bp-asm.h.
33012 (memmove): Likewise. Do not use BP_SYM.
33013 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
33015 (PARMS): Do not use macros from bp-asm.h.
33019 (__mempcpy): Likewise. Do not use BP_SYM.
33020 (mempcpy): Do not use BP_SYM in weak_alias.
33021 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
33023 (PARMS): Do not use macros from bp-asm.h.
33026 [!BZERO_P] (CHR): Likewise.
33027 (memset): Likewise. Do not use BP_SYM.
33028 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
33030 (PARMS): Do not use macros from bp-asm.h.
33032 (strcmp): Do not use BP_SYM.
33033 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
33035 (PARMS): Do not use macros from bp-asm.h.
33038 [USE_AS_STRTOK_R] (SAVE): Likewise.
33039 (FUNCTION): Likewise. Do not use BP_SYM.
33040 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
33042 (strtok_r): Likewise.
33043 (__GI___strtok_r): Likewise.
33044 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
33045 (PARMS): Do not use macros from bp-asm.h.
33048 (__mpn_lshift): Do not use BP_SYM.
33049 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
33050 (PARMS): Do not use macros from bp-asm.h.
33053 (__memchr): Do not use BP_SYM.
33054 (memchr): Do not use BP_SYM in weak_alias.
33055 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
33056 (PARMS): Do not use macros from bp-asm.h.
33059 (memcmp): Do not use BP_SYM.
33060 (bcmp): Do not use BP_SYM in weak_alias.
33061 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
33062 (PARMS): Do not use macros from bp-asm.h.
33065 (__mpn_mul_1): Do not use BP_SYM.
33066 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
33068 (PARMS): Do not use macros from bp-asm.h.
33071 (__rawmemchr): Do not use BP_SYM.
33072 (rawmemchr): Do not use BP_SYM in weak_alias.
33073 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
33074 (PARMS): Do not use macros from bp-asm.h.
33077 (__mpn_rshift): Do not use BP_SYM.
33078 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
33079 (PARMS): Do not use macros from bp-asm.h.
33080 (SIGMSK): Likewise.
33081 (__sigsetjmp): Likewise. Do not use BP_SYM.
33082 * sysdeps/i386/start.S: Do not include "bp-sym.h".
33083 (_start): Do not use BP_SYM.
33084 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
33085 (PARMS): Do not use macros from bp-asm.h.
33088 (__stpcpy): Likewise. Do not use BP_SYM.
33089 (stpcpy): Do not use BP_SYM in weak_alias.
33090 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
33092 (PARMS): Do not use macros from bp-asm.h.
33096 (__stpncpy): Likewise. Do not use BP_SYM.
33097 (stpncpy): Do not use BP_SYM in weak_alias.
33098 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
33099 (PARMS): Do not use macros from bp-asm.h.
33102 (strchr): Likewise. Do not use BP_SYM.
33103 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
33105 (PARMS): Do not use macros from bp-asm.h.
33108 (__strchrnul): Likewise. Do not use BP_SYM.
33109 (strchrnul): Do not use BP_SYM in weak_alias.
33110 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
33112 (PARMS): Do not use macros from bp-asm.h.
33114 (strcspn): Do not use BP_SYM.
33115 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
33117 (PARMS): Do not use macros from bp-asm.h.
33120 (strpbrk): Likewise. Do not use BP_SYM.
33121 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
33123 (PARMS): Do not use macros from bp-asm.h.
33126 (strrchr): Likewise. Do not use BP_SYM.
33127 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
33128 (PARMS): Do not use macros from bp-asm.h.
33130 (strspn): Do not use BP_SYM.
33131 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
33132 (PARMS): Do not use macros from bp-asm.h.
33136 (FUNCTION): Likewise. Do not use BP_SYM.
33137 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
33139 (strtok_r): Likewise.
33140 (__GI___strtok_r): Likewise.
33141 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
33142 (PARMS): Do not use macros from bp-asm.h.
33146 (__mpn_sub_n): Do not use BP_SYM.
33147 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
33149 (PARMS): Do not use macros from bp-asm.h.
33152 (__mpn_submul_1): Do not use BP_SYM.
33153 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
33155 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
33157 (PARMS): Do not use macros from bp-asm.h.
33162 (__clone): Do not use BP_SYM.
33163 (clone): Do not use BP_SYM in weak_alias.
33164 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
33166 (PARMS): Do not use macros from bp-asm.h.
33168 (__mmap64): Do not use BP_SYM.
33169 (mmap64): Do not use BP_SYM in weak_alias.
33170 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33171 <bp-sym.h> and <bp-asm.h>.
33172 (PARMS): Do not use macros from bp-asm.h.
33173 (__posix_fadvise64_l64): Do not use BP_SYM.
33174 * sysdeps/unix/sysv/linux/i386/semtimedop.S
33175 (PARMS): Do not use macros from bp-asm.h.
33177 (semtimedop): Do not use BP_SYM.
33178 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
33181 2013-02-21 Allan McRae <allan@archlinux.org>
33183 * manual/message.texi (Charset conversion in gettext):
33184 Move @end statement to beginning of line.
33186 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33188 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
33190 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33193 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
33194 (denorm): Likewise.
33195 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
33196 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
33198 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33200 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
33201 tail-call to the resolved function if pltexit isn't needed.
33203 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33205 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
33206 or Y being zero as being unlikely.
33207 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
33210 2013-02-20 Carlos O'Donell <carlos@redhat.com>
33212 * manual/nss.texi (System Databases and Name Service Switch):
33213 Remove frobnicate @pxref.
33215 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
33217 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
33218 __attribute__ ((unused)) to __attribute__ ((__unused__)).
33220 2013-02-20 Petr Machata <pmachata@redhat.com>
33222 * elf/elf.h (R_ARM_TARGET1): New macro.
33223 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
33224 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
33225 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
33226 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
33227 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
33228 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
33229 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
33230 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
33231 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
33232 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
33233 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
33234 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
33235 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
33236 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
33237 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
33238 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
33239 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
33240 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
33241 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
33242 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
33243 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
33244 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
33245 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
33246 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
33247 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
33248 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
33249 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
33250 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
33251 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
33252 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
33253 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
33254 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
33255 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
33256 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
33257 (R_ARM_THM_GOT_BREL12): Likewise.
33258 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
33259 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
33260 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
33261 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
33262 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
33263 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
33264 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
33265 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
33266 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
33268 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
33270 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
33271 __attribute_used__ to __attribute__ ((unused)).
33273 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33275 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
33277 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
33278 comment formatting.
33279 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
33281 2013-02-19 Joseph Myers <joseph@codesourcery.com>
33284 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
33286 (ENTER): Remove both macro definitions.
33288 (CHECK_BOUNDS_LOW): Likewise.
33289 (CHECK_BOUNDS_HIGH): Likewise.
33290 (CHECK_BOUNDS_BOTH): Likewise.
33291 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
33292 (RETURN_BOUNDED_POINTER): Likewise.
33293 (RETURN_NULL_BOUNDED_POINTER): Likewise.
33294 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
33295 (POP_ERRNO_LOCATION_RETURN): Likewise.
33296 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
33297 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33298 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
33300 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33301 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
33302 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
33303 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
33304 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
33305 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
33306 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
33307 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
33308 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
33309 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
33310 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
33311 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
33312 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33313 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
33315 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33316 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
33318 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33319 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
33320 * sysdeps/i386/i586/memset.S (memset): Likewise.
33321 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
33322 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33323 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
33325 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33326 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
33327 Change uses of L(2) to L(out).
33328 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
33329 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
33330 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
33331 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33332 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
33334 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33335 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
33337 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33338 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
33339 (RETURN): Do not use macro LEAVE.
33340 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
33341 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
33342 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
33343 * sysdeps/i386/i686/memset.S (memset): Likewise.
33344 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
33345 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
33346 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33347 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
33349 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33350 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
33351 L(1_2) and L(1_3) into L(1).
33352 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
33353 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
33354 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33355 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
33356 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33357 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
33358 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
33359 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33360 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
33362 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
33363 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33364 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
33365 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
33366 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
33367 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33368 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
33369 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
33370 * sysdeps/i386/strcspn.S (strcspn): Likewise.
33371 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
33372 * sysdeps/i386/strrchr.S (strrchr): Likewise.
33373 * sysdeps/i386/strspn.S (strspn): Likewise.
33374 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
33376 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33377 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
33378 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
33379 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
33380 L(1_3) into L(1_1).
33381 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
33382 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33383 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
33385 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33387 2013-02-19 Jakub Jelinek <jakub@redhat.com>
33389 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
33392 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33394 * math/atest-exp.c (exp_mpn): Remove ROUND.
33395 * math/atest-exp2.c (exp_mpn): Likewise.
33396 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
33398 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
33399 * stdlib/tst-tls-atexit-lib.c: Likewise.
33400 * stdlib/tst-tls-atexit.c: Likewise.
33402 2013-02-18 Mike Frysinger <vapier@gentoo.org>
33404 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
33405 and __attribute_alloc_size__.
33407 2013-02-18 Mike Frysinger <vapier@gentoo.org>
33409 * include/programs/xmalloc.h: Change __attribute_alloc_size to
33410 __attribute_alloc_size__.
33411 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
33412 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
33414 2013-02-18 Mike Frysinger <vapier@gentoo.org>
33416 * include/programs/xmalloc.h: New file.
33417 * catgets/gencat.c: Include it.
33418 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
33419 * elf/pldd.c: Likewise.
33420 * iconv/iconv_charmap.c: Likewise.
33421 * iconv/iconvconfig.c: Likewise.
33422 * iconv/strtab.c: Likewise.
33423 * locale/programs/locale.c: Likewise.
33424 * locale/programs/localedef.h: Likewise.
33425 * locale/programs/simple-hash.c: Likewise.
33426 * nscd/nscd.h: Likewise.
33427 * nss/makedb.c: Likewise.
33428 * sysdeps/generic/ldconfig.h: Likewise.
33430 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33432 * Versions.def: Add GLIBC_2.18.
33433 * include/link.h (struct link_map): New member l_tls_dtor_count.
33434 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
33435 (__call_tls_dtors): Likewise.
33436 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
33437 __cxa_thread_atexit_impl.
33438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33446 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
33449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
33451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33452 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33454 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
33455 (tests): Add test case tst-tls-atexit.
33456 (modules-names): Add shared library for tst-tls-atexit.
33457 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
33458 (GLIBC_PRIVATE): Add __call_tls_dtors.
33459 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
33461 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
33462 * stdlib/tst-tls-atexit.c: New test case.
33463 * stdlib/tst-tls-atexit-lib.c: New test case.
33465 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
33467 * elf/Versions (ld): Add _dl_find_dso_for_object.
33468 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
33469 * elf/dl-open.c (_dl_find_dso_for_object): New function.
33470 (dl_open_worker): Use _dl_find_dso_for_object.
33471 * elf/dl-sym.c (do_sym): Likewise.
33472 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
33474 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33476 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
33477 Syntactic changes only.
33478 (_dl_runtime_profile): Do a tail-call to the resolved function.
33480 2013-02-17 Joseph Myers <joseph@codesourcery.com>
33483 * sysdeps/x86_64/bp-asm.h: Remove file.
33484 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
33485 <bp-sym.h> and <bp-asm.h>.
33486 (__clone): Do not use BP_SYM.
33487 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
33488 <bp-sym.h> and <bp-asm.h>.
33489 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33490 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
33492 (_setjmp): Do not use BP_SYM.
33493 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
33495 (setjmp): Do not use BP_SYM.
33496 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
33498 (mempcpy): Do not use BP_SYM in weak_alias.
33499 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
33501 (strchr): Do not use BP_SYM.
33502 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
33504 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
33505 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
33506 (_start): Do not use BP_SYM.
33507 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
33509 (strcat): Do not use BP_SYM.
33510 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
33512 (STRCMP): Do not use BP_SYM.
33513 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
33515 (STRCPY): Do not use BP_SYM.
33516 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
33518 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
33520 (FUNCTION): Do not use BP_SYM.
33521 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
33523 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
33525 2013-02-17 Andreas Jaeger <aj@suse.de>
33527 * time/Versions: Sort entries.
33528 * string/Versions: Likewise.
33529 * resolv/Versions: Likewise.
33530 * posix/Versions: Likewise.
33531 * iconv/Versions: Likewise.
33532 * elf/Versions: Likewise.
33533 * wcsmbs/Versions: Likewise.
33535 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33537 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
33538 loop termination condition.
33540 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
33541 variable to calculate EZ.
33544 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
33545 the lower precision input.
33547 2013-02-15 Joseph Myers <joseph@codesourcery.com>
33550 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
33551 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
33552 (run-via-rtld-prefix): Do not handle %-bp tests.
33553 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
33554 (all-object-suffixes): Remove .ob.
33555 (bppfx): Remove variable.
33556 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
33557 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
33558 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
33559 [$(build-bounded) = yes] (libtype.ob): Likewise.
33560 * Makerules (elide-routines.ob): Remove variable.
33561 (do-tests-clean): Do not handle *-bp.out.
33562 (common-mostlyclean): Do not handle *-bp and *-bp.out.
33563 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
33564 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
33565 (tests): Do not include $(tests-bp.out).
33566 (xtests): Do not include $(xtests-bp.out).
33567 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
33568 [$(build-bounded) = yes] ($(addprefix
33569 $(objpfx),$(binaries-bounded))): Remove rule.
33570 ($(objpfx)%-bp.out): Remove rule.
33571 * config.make.in (build-bounded): Remove variable.
33572 * crypt/Makefile [$(build-bounded) = yes]
33573 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
33574 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
33575 append to variable.
33576 [$(build-bounded) = yes] (install-lib): Likewise.
33577 [$(build-bounded) = yes] (generated): Likewise.
33578 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
33580 * intl/Makefile [$(build-bounded) = yes]
33581 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
33582 * math/Makefile [$(build-bounded) = yes]
33583 ($(tests:%=$(objpfx)%-bp): Likewise.
33584 * misc/Makefile [$(build-bounded) = yes]
33585 ($(objpfx)tst-tsearch-bp): Likewise.
33586 * nptl/Makeconfig (bounded-thread-library): Remove variable.
33587 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
33589 * string/Makefile (o-objects.ob): Remove variable.
33590 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
33591 (CFLAGS-.ob): Remove variable.
33592 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
33593 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
33594 both definitions of variable.
33595 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
33596 (ASFLAGS-.ob): Remove variable.
33598 2013-02-14 Joseph Myers <joseph@codesourcery.com>
33601 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
33602 Remove __BOUNDED_POINTERS__ from condition.
33603 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
33604 * string/bits/string2.h [!__NO_STRING_INLINES &&
33605 !__BOUNDED_POINTERS__]: Likewise.
33606 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
33608 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
33609 Remove conditional code.
33610 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
33611 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
33612 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
33616 * csu/libc-start.c: Do not include <bp-sym.h>.
33617 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
33618 * elf/dl-open.c: Do not include <bp-sym.h>.
33619 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
33620 * math/fegetenv.c: Do not include <bp-sym.h>.
33621 (fegetenv): Do not use BP_SYM in versioned symbols.
33622 * nptl/sysdeps/pthread/bits/libc-lockP.h
33623 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
33625 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33626 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
33627 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33628 (__pthread_mutex_destroy): Likewise.
33629 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33630 (__pthread_mutex_lock): Likewise.
33631 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33632 (__pthread_mutex_trylock): Likewise.
33633 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33634 (__pthread_mutex_unlock): Likewise.
33635 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33636 (__pthread_mutexattr_init): Likewise.
33637 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33638 (__pthread_mutexattr_destroy): Likewise.
33639 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33640 (__pthread_mutexattr_settype): Likewise.
33641 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33642 (__pthread_rwlock_init): Likewise.
33643 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33644 (__pthread_rwlock_destroy): Likewise.
33645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33646 (__pthread_rwlock_rdlock): Likewise.
33647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33648 (__pthread_rwlock_tryrdlock): Likewise.
33649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33650 (__pthread_rwlock_wrlock): Likewise.
33651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33652 (__pthread_rwlock_trywrlock): Likewise.
33653 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33654 (__pthread_rwlock_unlock): Likewise.
33655 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33656 (__pthread_key_create): Likewise.
33657 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33658 (__pthread_setspecific): Likewise.
33659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33660 (__pthread_getspecific): Likewise.
33661 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
33663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33664 (_pthread_cleanup_push_defer): Likewise.
33665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33666 (_pthread_cleanup_pop_restore): Likewise.
33667 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33668 (pthread_setcancelstate): Likewise.
33669 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
33671 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
33672 (memchr): Do not use BP_SYM in weak_alias.
33673 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
33674 (fegetenv): Do not use BP_SYM in versioned symbols.
33675 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
33676 (fesetenv): Do not use BP_SYM in versioned symbols.
33677 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33678 (feupdateenv): Do not use BP_SYM in versioned symbols.
33679 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33680 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33681 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
33682 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
33683 (open64): Do not use BP_SYM in weak_alias.
33684 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
33685 (fegetenv): Do not use BP_SYM in versioned symbols.
33686 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
33687 (fesetenv): Do not use BP_SYM in versioned symbols.
33688 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33689 (feupdateenv): Do not use BP_SYM in versioned symbols.
33690 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
33691 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
33692 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
33693 (feraiseexcept): Do not use BP_SYM in versioned symbols.
33694 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33695 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33696 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
33698 (__libc_start_main): Do not use BP_SYM.
33700 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33702 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
33703 redundant return line.
33705 (denorm): Likewise.
33706 (dbl_mp): Likewise.
33707 (sub_magnitudes): Likewise.
33713 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
33715 (denorm): Likewise.
33716 (dbl_mp): Likewise.
33717 (sub_magnitudes): Likewise.
33724 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
33726 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33727 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
33730 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
33731 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
33732 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
33733 of __mul for squares.
33734 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
33736 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
33738 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
33739 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33741 2013-02-13 Joseph Myers <joseph@codesourcery.com>
33744 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
33746 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
33747 prototype or function definition. Rename ubp_* variables and
33748 parameters. Remove argv definitions conditional on
33749 [__BOUNDED_POINTERS__].
33750 * debug/backtrace.c (__backtrace): Do not use __unbounded.
33751 * elf/dl-runtime.c (_dl_fixup): Likewise.
33752 * include/set-hooks.h (RUN_HOOK): Likewise.
33753 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
33755 * string/strcpy.c (strcpy): Do not use __unbounded.
33756 * sysdeps/generic/frame.h (struct layout): Likewise.
33757 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
33758 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
33759 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
33760 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
33761 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
33762 (__backtrace): Likewise.
33763 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
33765 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
33766 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33767 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33769 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
33770 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
33771 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33772 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33773 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
33774 Do not use __unbounded.
33775 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
33776 Rename __unboundedrlimits parameter to rlimits in prototype.
33777 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
33778 Do not use __unbounded.
33779 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
33780 not use __ptrvalue.
33781 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33782 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
33783 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33784 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
33785 __ptrvalue or __unbounded.
33786 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
33787 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
33789 (__new_msgctl): Do not use __ptrvalue.
33790 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
33792 (__libc_msgrcv): Do not use __ptrvalue.
33793 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
33794 startup_info): Do not use __unbounded.
33795 (__libc_start_main): Likewise. Rename ubp_* variables and
33796 parameters. Remove argv definitions conditional on
33797 [__BOUNDED_POINTERS__].
33798 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
33800 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
33802 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
33804 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
33806 (__new_shmctl): Do not use __ptrvalue.
33807 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
33808 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
33810 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
33811 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
33812 (__libc_sigaction): Likewise.
33813 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
33814 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
33816 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33818 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
33820 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
33822 * string/mempcpy.c: Implement by calling memcpy.
33824 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33826 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
33828 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
33831 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
33832 values in the mantissa.
33834 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
33835 minimize writes to Z.
33836 (sub_magnitudes): Simplify code a bit.
33838 2013-02-12 Roland McGrath <roland@hack.frob.com>
33840 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
33841 from the message. The linker prefixes all warnings with that already.
33843 2013-02-12 Andreas Schwab <schwab@suse.de>
33846 * posix/regexec.c (extend_buffers): Add parameter min_len.
33847 (check_matching): Pass minimum needed length.
33848 (clean_state_log_if_needed): Likewise.
33849 (get_subexp): Likewise.
33850 * posix/Makefile (tests): Add bug-regex34.
33851 (bug-regex34-ENV): Define.
33852 * posix/bug-regex34.c: New file.
33855 * posix/regcomp.c (parse_bracket_exp): When looking up collating
33856 elements compare against the byte sequence of it, not its name.
33857 * posix/Makefile (tests): Add bug-regex35.
33858 (bug-regex35-ENV): Define.
33859 * posix/bug-regex35.c: New file.
33861 2013-02-11 Tom de Vries <tom@codesourcery.com>
33863 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
33865 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
33866 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
33867 (CHECK_EOL): Add undef.
33869 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
33871 * bits/stdlib-bsearch.h: New file.
33872 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
33873 * stdlib/stdlib.h: Likewise.
33875 2013-02-11 Roland McGrath <roland@hack.frob.com>
33877 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
33878 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
33880 * manual/search.texi (Array Search Function): Add missing const in
33882 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
33883 declaration to use rlim_t.
33884 (Basic Scheduling Functions): Remove erroneous const from
33885 sched_getparam prototype. Remove erroneous * from
33886 sched_get_priority_max and sched_get_priority_min prototypes.
33887 (Resource Usage): Fix summary @comment on vtimes to refer to
33888 sys/vtimes.h rather than vtimes.h.
33889 Add missing *s in vtimes prototype.
33890 (Limits on Resources): Fix ulimit prototype to return long int.
33891 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
33892 prototypes to use long int rather than double.
33893 (BSD Random): Fix initstate and setstate to use char *, not void *.
33894 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
33895 prototype to make second argument 'struct aiocb64 *const[]'.
33896 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
33897 (Status of AIO Operations): Remove erroneous const in aio_return and
33898 aio_return64 prototypes.
33899 (Synchronizing I/O): Fix sync prototype to return void.
33900 * manual/startup.texi (Suboptions): Remove an erroneous const in
33901 getsubopt prototype.
33902 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
33903 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
33904 use size_t rather than int.
33905 (Scanning All Users): Likewise for getpwent_r.
33906 (Setting Groups): Add missing const to setgroups prototype.
33907 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
33908 * manual/socket.texi (Host Names): Fix gethostbyaddr and
33909 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
33910 'const void *' rather than 'const char *'.
33911 (Host Address Functions): Likewise for inet_ntop.
33912 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
33913 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
33914 ssize_t for return value.
33915 (Sending Data): Likewise for send, sendto, sendmsg.
33916 (Socket Option Functions): Add a missing const in setsockopt prototype.
33917 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
33918 use wchar_t for the argument.
33919 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
33920 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
33922 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
33923 double/float/long double for second argument.
33924 Fix return types of significand, significandf, significandl.
33925 * manual/filesys.texi (Setting Permissions): Use mode_t for second
33926 argument in fchmod prototype.
33927 (File Owner): Use uid_t and gid_t in fchown prototype.
33928 (File Times): Add const to utimes, futimes, and lutimes prototypes.
33929 (Making Special Files): Use mode_t and dev_t in mknod prototype.
33930 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
33931 use 'const struct dirent **' as argument types to CMP function pointer
33933 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
33934 (File Times): Fix summary magic @comment for struct utimbuf and utime
33935 to refer to utime.h, not time.h.
33936 * manual/string.texi (Argz Functions): Add missing const in
33937 argz_extract and argz_next prototypes.
33938 (Finding Tokens in a String): Likewise for basename.
33939 (String/Array Comparison): Fix typo in wcscasecmp prototype.
33940 (Copying and Concatenation): Fix typo in wmemmove prototype.
33941 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
33942 (Signal Stack): Remove erroneous const in sigstack prototype.
33943 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
33945 (Simple Calendar Time): Likewise for stime.
33946 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
33948 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
33949 say sys/sysctl.h instead.
33950 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
33951 and vsyslog prototypes.
33953 2013-02-11 Tom de Vries <tom@codesourcery.com>
33955 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
33958 2013-02-11 Roland McGrath <roland@hack.frob.com>
33960 * misc/sys/mman.h: Fix typo in mremap comment.
33962 2013-02-08 Roland McGrath <roland@hack.frob.com>
33964 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
33965 the '\0' terminator.
33967 2013-02-08 Joseph Myers <joseph@codesourcery.com>
33970 * debug/segfault.c: Don't include <bp-checks.h>.
33971 * sysdeps/generic/bp-checks.h: Remove file.
33972 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
33973 (__GETDENTS): Don't use CHECK_N.
33974 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
33975 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33976 (__getgroups): Don't use CHECK_N.
33977 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
33978 (setgroups): Don't use CHECK_N.
33979 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33980 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33981 (__libc_msgrcv): Don't use CHECK_N.
33982 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33983 (__libc_msgsnd): Don't use CHECK_N.
33984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33986 (__libc_pread): Don't use CHECK_N.
33987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33988 include <bp-checks.h>.
33989 (__libc_pread64): Don't use CHECK_N.
33990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33991 include <bp-checks.h>.
33992 (__libc_pwrite): Don't use CHECK_N.
33993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33994 include <bp-checks.h>.
33995 (__libc_pwrite64): Don't use CHECK_N.
33996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33998 (__libc_pread): Don't use CHECK_N.
33999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
34000 include <bp-checks.h>.
34001 (__libc_pread64): Don't use CHECK_N.
34002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
34003 include <bp-checks.h>.
34004 (__libc_pwrite): Don't use CHECK_N.
34005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
34006 include <bp-checks.h>.
34007 (__libc_pwrite64): Don't use CHECK_N.
34008 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
34009 (do_pread): Don't use CHECK_N.
34010 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
34011 (do_pread64): Don't use CHECK_N.
34012 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
34013 (do_pwrite): Don't use CHECK_N.
34014 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
34015 (do_pwrite64): Don't use CHECK_N.
34016 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
34017 (__libc_readv): Don't use CHECK_N.
34018 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
34019 (semop): Don't use CHECK_N.
34020 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
34022 (semtimedop): Don't use CHECK_N.
34023 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
34024 (__libc_pread): Don't use CHECK_N.
34025 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
34027 (__libc_pread64): Don't use CHECK_N.
34028 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
34030 (__libc_pwrite): Don't use CHECK_N.
34031 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
34033 (__libc_pwrite64): Don't use CHECK_N.
34034 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
34036 (__libc_msgrcv): Don't use CHECK_N.
34037 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
34038 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
34039 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
34040 (__libc_writev): Don't use CHECK_N.
34042 2013-02-08 Roland McGrath <roland@hack.frob.com>
34044 * string/strcpy.c: Removed unused variable.
34046 * Makeconfig (+sysdep-includes): Define with := rather than =.
34047 Use an existing include/ subdir of each sysdeps dir before it.
34049 2013-02-08 Carlos O'Donell <carlos@redhat.com>
34051 * nscd/connection.c (register_traced_file): Comment function.
34052 [HAVE_INOTIFY] (union __inev): Define.
34053 [HAVE_INOTIFY] (inotify_check_files): New function.
34054 [HAVE_INOTIFY] (clear_db_cache): Likewise.
34055 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
34057 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
34059 2013-02-08 Carlos O'Donell <carlos@redhat.com>
34061 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
34062 loaded if not already and that a failure is permanent.
34064 2013-02-08 Carlos O'Donell <carlos@redhat.com>
34067 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
34068 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
34070 2013-02-08 Joseph Myers <joseph@codesourcery.com>
34073 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
34074 (CHECK_1_NULL_OK): Likewise.
34075 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
34076 (__fxstat): Do not use CHECK_1.
34077 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
34079 (___fxstat64): Do not use CHECK_1.
34080 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34082 (__fxstatat): Do not use CHECK_1.
34083 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34085 (__fxstatat64): Do not use CHECK_1.
34086 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
34088 (__fxstat): Do not use CHECK_1.
34089 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34091 (__fxstatat): Do not use CHECK_1.
34092 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34094 (__getresgid): Do not use CHECK_1.
34095 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34097 (__getresuid): Do not use CHECK_1.
34098 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
34100 (__lxstat): Do not use CHECK_1.
34101 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34103 (__old_msgctl): Do not use CHECK_1.
34104 (__new_msgctl): Likewise.
34105 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
34107 (__new_setrlimit): Do not use CHECK_1.
34108 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34110 (__old_shmctl): Do not use CHECK_1.
34111 (__new_shmctl): Likewise.
34112 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
34114 (__xstat): Do not use CHECK_1.
34115 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
34116 (__lxstat): Do not use CHECK_1.
34117 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
34119 (___lxstat64): Do not use CHECK_1.
34120 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
34121 (__old_msgctl): Do not use CHECK_1.
34122 (__new_msgctl): Likewise.
34123 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
34125 (__gettimeofday): Do not use CHECK_1.
34126 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
34127 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
34128 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
34130 (__gettimeofday): Do not use CHECK_1.
34131 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
34132 (__old_shmctl): Do not use CHECK_1_NULL_OK.
34133 (__new_shmctl): Do not use CHECK_1.
34134 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
34136 (do_sigtimedwait): Do not use CHECK_1.
34137 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
34139 (do_sigwaitinfo): Do not use CHECK_1.
34140 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
34142 (msgctl): Do not use CHECK_1.
34143 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
34145 (shmctl): Do not use CHECK_1.
34146 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
34147 (ustat): Do not use CHECK_1.
34148 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
34150 (__fxstat): Do not use CHECK_1.
34151 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34153 (__fxstatat): Do not use CHECK_1.
34154 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
34156 (__lxstat): Do not use CHECK_1.
34157 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
34159 (__xstat): Do not use CHECK_1.
34160 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
34161 (__xstat): Do not use CHECK_1.
34162 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
34163 (___xstat64): Do not use CHECK_1.
34166 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
34168 (CHECK_BOUNDS_HIGH): Likewise.
34169 * string/strcpy.c: Do not include <bp-checks.h>.
34170 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
34172 2013-02-07 Roland McGrath <roland@hack.frob.com>
34174 * nscd/nscd-client.h (__nscd_drop_map_ref):
34175 Add __attribute__ ((unused)).
34176 * nis/nss-nisplus.h (niserr2nss): Likewise.
34178 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
34179 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
34181 * csu/libc-tls.c (init_static_tls, init_slotinfo):
34182 Remove inline keyword.
34183 * include/rounding-mode.h (round_away): Likewise.
34184 * libio/wfileops.c (adjust_wide_data): Likewise.
34185 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
34186 (__m128i_strloadu_tolower): Likewise.
34187 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
34188 (__m128i_strloadu_tolower): Likewise.
34189 * time/mktime.c (ydhms_diff): Likewise.
34190 * locale/elem-hash.h (elem_hash): Likewise.
34191 * locale/setlocale.c (setdata): Likewise.
34192 * posix/regex_internal.h (re_string_char_size_at): Likewise.
34193 (re_string_wchar_at): Likewise.
34194 (bitset_not, bitset_merge, bitset_mask): Likewise.
34195 [!(__GNUC__ > 3)] (inline): Remove macro.
34196 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
34197 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
34198 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
34199 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
34200 * string/memcmp.c (memcmp_bytes): Likewise.
34201 * locale/programs/locarchive.c (compute_hashval): Likewise.
34202 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
34203 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
34204 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
34205 * nss/getent.c (print_rpc, print_protocols): Likewise.
34206 (print_passwd, print_group, print_aliases): Likewise.
34207 * nis/nss-nisplus.h (niserr2nss): Likewise.
34208 * nscd/connections.c (restart_p): Likewise.
34209 Change return type to bool.
34211 2013-02-05 Roland McGrath <roland@hack.frob.com>
34213 * Makeconfig (all-Depend-files): Add existing
34214 $(sorted-subdirs:=/Depend) files.
34215 (all-subdirs): Remove nss.
34216 * sysdeps/unix/inet/Subdirs: Add it here instead.
34217 * hesiod/Depend: New file.
34219 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
34220 instead of calling alloca.
34222 * io/lseek.c (__lseek): Rename to __libc_lseek.
34223 Define __lseek as an alias.
34225 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
34227 2013-02-04 Carlos O'Donell <carlos@redhat.com>
34229 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
34230 else clause and remove check for non-standard endianness.
34232 2013-02-04 David S. Miller <davem@davemloft.net>
34234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34236 2013-02-04 Joseph Myers <joseph@codesourcery.com>
34239 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
34240 (__ubp_memchr): Remove prototype.
34241 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
34242 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
34243 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
34244 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
34245 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
34247 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
34248 (__ubp_memchr): Likewise.
34249 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
34250 (__ubp_memchr): Likewise.
34251 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
34252 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
34253 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
34254 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
34256 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
34257 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
34258 (__getcwd): Do not use CHECK_STRING.
34259 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34261 (__real_chown): Do not use CHECK_STRING.
34262 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
34264 (fchownat): Do not use CHECK_STRING.
34265 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
34267 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34269 (__lchown): Do not use CHECK_STRING.
34270 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
34271 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
34272 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
34273 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
34274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34275 include <bp-checks.h>.
34276 (truncate64): Do not use CHECK_STRING.
34277 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34279 (__real_chown): Do not use CHECK_STRING.
34280 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34282 (__lchown): Do not use CHECK_STRING.
34283 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34285 (__chown): Do not use CHECK_STRING.
34286 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
34288 (truncate64): Do not use CHECK_STRING.
34289 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
34291 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
34292 (__xmknod): Do not use CHECK_STRING.
34293 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34295 (__xmknodat): Do not use CHECK_STRING.
34296 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
34297 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
34299 2013-02-04 Andreas Schwab <schwab@suse.de>
34302 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
34303 * include/netdb.h: Likewise for h_errno.
34304 * elf/tst-stackguard1.c: Include <tls.h>.
34306 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
34308 * elf/link.h (struct link_map): Extend the l_addr comment.
34309 * include/link.h (struct link_map): Likewise.
34311 2013-02-01 Joseph Myers <joseph@codesourcery.com>
34314 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
34315 (BOUNDED_1): Remove macro.
34316 * debug/backtrace.c: Don't include <bp-checks.h>.
34317 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
34318 (__backtrace): Likewise.
34319 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
34321 (__backtrace): Don't use BOUNDED_1.
34322 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
34324 (__backtrace): Don't use BOUNDED_1.
34325 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
34326 (__backtrace): Don't use BOUNDED_1.
34327 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
34328 (shmat): Don't use BOUNDED_N.
34330 2013-01-31 Joseph Myers <joseph@codesourcery.com>
34333 * sysdeps/generic/bp-start.h: Remove file.
34334 * csu/libc-start.c: Don't include <bp-start.h>.
34335 (LIBC_START_MAIN): Set up __environ directly instead of using
34336 INIT_ARGV_and_ENVIRON.
34337 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
34341 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
34343 (CHECK_FCNTL): Likewise.
34344 (CHECK_N_PAGES): Likewise.
34347 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
34349 (CHECK_SIGSET_NULL_OK): Likewise.
34350 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
34352 (sigpending): Don't use CHECK_SIGSET.
34353 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
34355 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34356 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
34358 (do_sigsuspend): Don't use CHECK_SIGSET.
34359 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
34361 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
34362 (do_sigwait): Don't use CHECK_SIGSET.
34363 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
34365 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
34366 include <bp-checks.h>.
34367 (sigpending): Don't use CHECK_SIGSET.
34368 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
34369 include <bp-checks.h>.
34370 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34371 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
34373 (sigpending): Don't use CHECK_SIGSET.
34374 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
34376 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34379 * sysdeps/generic/bp-semctl.h: Remove file.
34380 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
34381 <bp-checks.h> and <bp-semctl.h>.
34382 (__old_semctl): Don't use CHECK_SEMCTL.
34383 (__new_semctl): Likewise.
34384 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
34386 (__old_semctl): Don't use CHECK_SEMCTL.
34387 (__new_semctl): Likewise.
34388 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
34389 <bp-checks.h> and <bp-semctl.h>.
34390 (__old_semctl): Don't use CHECK_SEMCTL.
34391 (__new_semctl): Likewise.
34392 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
34393 <bp-checks.h> and <bp-semctl.h>.
34394 (semctl): Don't use CHECK_SEMCTL.
34397 * Makerules (elide-bp-thunks): Remove variable.
34398 (elide-routines.oS): Don't use $(elide-bp-thunks).
34399 (elide-routines.os): Likewise.
34400 (elide-routines.o): Likewise.
34401 (elide-routines.op): Likewise.
34402 (elide-routines.og): Likewise.
34403 (objects): Don't use $(bp-thunks).
34404 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
34406 (common-generated): Do not add s-proto-bp.d.
34407 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
34410 Do not generate makefile rules for bounded-pointer thunks.
34411 * sysdeps/generic/bp-thunks.h: Remove file.
34412 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
34413 * sysdeps/unix/s-proto-bp.S: Likewise.
34416 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
34417 parts of result separately when argument is not close to line from
34418 -i to i and one part of argument is small.
34419 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34420 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34421 * math/libm-test.inc (cacos_test): Add more tests.
34422 (casin_test): Likewise.
34423 (casinh_test): Likewise.
34424 * sysdeps/i386/fpu/libm-test-ulps: Update.
34425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34427 2013-01-31 David S. Miller <davem@davemloft.net>
34429 * po/de.po: Update from translation team.
34431 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
34433 * time/tzfile.c: Include stdint.h for SIZE_MAX.
34435 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
34437 * configure.in (_AC_PROG_CC_C89): New definition.
34438 * configure: Regenerate.
34440 * configure.in (AC_PROG_CPP): New definition.
34441 * configure: Regenerate.
34443 2013-01-23 Joseph Myers <joseph@codesourcery.com>
34445 * debug/tst-backtrace.h: New file.
34446 * debug/tst-backtrace2.c: Include tst-backtrace.h.
34447 (ret): Remove variable.
34449 (FAIL): Remove macro.
34450 (NO_INLINE): Likewise.
34451 (fn1): Use match function instead of strstr.
34452 * debug/tst-backtrace3.c: Include tst-backtrace.h.
34453 (ret): Remove variable.
34455 (FAIL): Remove macro.
34456 (NO_INLINE): Likewise.
34457 (fn): Use match function instead of strstr.
34458 * debug/tst-backtrace4.c: Include tst-backtrace.h.
34459 (ret): Remove variable.
34461 (FAIL): Remove macro.
34462 (NO_INLINE): Likewise.
34463 (handle_signal): Use match function instead of strstr.
34464 * debug/tst-backtrace5.c: Include tst-backtrace.h.
34465 (ret): Remove variable.
34467 (FAIL): Remove macro.
34468 (NO_INLINE): Likewise.
34469 (handle_signal): Use match function instead of strstr.
34471 2013-01-23 Roland McGrath <roland@hack.frob.com>
34473 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
34475 2013-01-23 David S. Miller <davem@davemloft.net>
34477 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
34478 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
34479 argument of CAS if possible.
34480 * sysdeps/sparc/sparc64/bits/atomic.h
34481 (__arch_compare_and_exchange_val_32_acq): Likewise.
34482 (__arch_compare_and_exchange_val_64_acq): Likewise.
34484 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
34486 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
34487 * sysdeps/posix/ulimit.c: ... this.
34488 Include <limits.h>.
34489 * sysdeps/unix/bsd/ulimit.c: Remove file.
34491 2013-01-23 Adam Conrad <adconrad@0c3.net>
34493 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
34494 (LDFLAGS-tst-array5): Likewise.
34496 2013-01-23 Joseph Myers <joseph@codesourcery.com>
34499 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
34500 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
34501 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
34502 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
34504 2013-01-21 David S. Miller <davem@davemloft.net>
34506 * sysdeps/sparc/backtrace.c: New file.
34507 * sysdeps/sparc/sparc32/backtrace.h: New file.
34508 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
34509 * sysdeps/sparc/sparc64/backtrace.h: New file.
34510 * sysdeps/sparc/sparc64/backtrace.c: Delete.
34511 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
34514 2013-01-21 Andreas Schwab <schwab@suse.de>
34517 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
34520 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
34522 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
34524 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34526 2013-01-18 Joseph Myers <joseph@codesourcery.com>
34527 Mark Mitchell <mark@codesourcery.com>
34528 Tom de Vries <tom@codesourcery.com>
34529 Paul Pluzhnikov <ppluzhnikov@google.com>
34531 * debug/tst-backtrace2.c: New file.
34532 * debug/tst-backtrace3.c: Likewise.
34533 * debug/tst-backtrace4.c: Likewise.
34534 * debug/tst-backtrace5.c: Likewise.
34535 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
34536 (CFLAGS-tst-backtrace3.c): Likewise.
34537 (CFLAGS-tst-backtrace4.c): Likewise.
34538 (CFLAGS-tst-backtrace5.c): Likewise.
34539 (LDFLAGS-tst-backtrace2): Likewise.
34540 (LDFLAGS-tst-backtrace3): Likewise.
34541 (LDFLAGS-tst-backtrace4): Likewise.
34542 (LDFLAGS-tst-backtrace5): Likewise.
34543 (tests): Add new tests tst-backtrace2, tst-backtrace3,
34544 tst-backtrace4 and tst-backtrace5.
34546 2013-01-18 Anton Blanchard <anton@samba.org>
34547 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34549 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
34550 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
34551 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
34552 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
34553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34554 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
34555 "+r" and remove output regs list as redundant. Add explicit inline
34556 asm to specify register of return val to work around compiler codegen
34557 bug. Remove (int) cast on return value. Add return type parameter to
34558 use in macro so that this macro does not truncate return value for
34560 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
34561 pass to INTERNAL_VSYSCALL_NCS.
34562 (INLINE_VSYSCALL): Add 'long int' as return type to
34563 INTERNAL_VSYSCALL_NCS macro invocation.
34564 (INTERNAL_VSYSCALL): Add 'long int' as return type to
34565 INTERNAL_VSYSCALL_NCS macro invocation.
34566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34568 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34571 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
34572 Fix application of SIMD FP exception mask.
34574 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
34575 mp_no from a power of two.
34576 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
34577 __mpexp_twomm1. Use __pow_mp.
34579 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
34582 2013-01-17 David S. Miller <davem@davemloft.net>
34584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34586 2013-01-17 Joseph Myers <joseph@codesourcery.com>
34589 * include/complex.h: Condition contents on [!_COMPLEX_H].
34590 (__kernel_casinhf): New prototype.
34591 (__kernel_casinh): Likewise.
34592 (__kernel_casinhl): Likewise.
34593 * math/Makefile (libm_calls): Add k_casinh.
34594 * math/k_casinh.c: New file.
34595 * math/k_casinhf.c: Likewise.
34596 * math/k_casinhl.c: Likewise.
34597 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
34598 finite nonzero arguments.
34599 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
34600 finite nonzero arguments.
34601 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
34602 finite nonzero arguments.
34603 * math/s_casinh.c: Do not include <float.h>.
34604 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
34605 * math/s_casinhf.c: Do not include <float.h>.
34606 (__casinhf): Move code for finite nonzero arguments to
34608 * math/s_casinhl.c: Do not include <float.h>.
34609 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
34611 (__casinhl): Move code for finite nonzero arguments to
34613 * math/libm-test.inc (cacos_test): Add more tests.
34614 * sysdeps/i386/fpu/libm-test-ulps: Update.
34615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34617 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
34619 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
34620 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
34621 [!HAVE_MREMAP]: Remove [defined linux] case.
34622 * malloc/arena.c: Do not include <malloc-sysdep.h>.
34624 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34626 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
34628 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
34630 * elf/elf.h (R_386_SIZE32): New relocation.
34631 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
34633 (elf_machine_rela): Likewise.
34634 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34635 R_X86_64_SIZE64 and R_X86_64_SIZE32.
34637 2013-01-17 Joseph Myers <joseph@codesourcery.com>
34639 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
34640 (FP_FAST_FMA): Do not define.
34641 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
34642 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
34643 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
34644 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
34645 !_SOFT_FLOAT]: Likewise.
34646 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
34647 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
34649 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
34650 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
34651 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
34652 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
34653 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
34654 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
34657 2013-01-16 Andreas Schwab <schwab@suse.de>
34660 * include/stdlib.h (__mktemp): Add declaration.
34661 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
34662 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
34664 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34666 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
34668 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34669 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
34670 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
34672 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
34673 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
34675 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
34677 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
34678 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
34679 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
34681 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
34682 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
34684 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34686 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
34688 2013-01-15 David S. Miller <davem@davemloft.net>
34690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34691 trunc{,f} to libm-sysdep_routes.
34692 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
34695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
34696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
34698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
34700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
34701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
34702 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
34703 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
34704 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
34705 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
34706 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
34707 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
34709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34710 nearbyint{,f} to libm-sysdep_routes.
34711 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
34714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
34716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
34718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
34720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
34721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
34722 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
34724 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
34725 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
34727 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
34728 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
34729 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
34731 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34732 libc_feholdexcept and libc_fesetenv.
34734 2013-01-15 Mike Frysinger <vapier@gentoo.org>
34736 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
34738 2013-01-14 David S. Miller <davem@davemloft.net>
34740 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
34741 (SPARC_ASM_VIS2_IFUNC): Likewise.
34742 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
34743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
34744 use of 'siam' instruction.
34745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
34747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
34749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
34751 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
34752 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
34753 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
34754 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
34755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
34757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
34759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
34761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
34763 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
34764 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
34765 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
34766 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
34767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
34769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34773 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34774 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34775 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34776 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
34778 routines to libm-sysdep_routines.
34779 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34782 fdim/fdimf to libm-sysdep_routines.
34783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
34785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
34786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
34788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
34789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
34790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
34791 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
34792 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
34793 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
34794 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
34796 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34798 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
34799 to optimize copies.
34801 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
34802 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34803 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34805 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
34806 local variable MPTWO.
34807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34810 2013-01-13 Mike Frysinger <vapier@gentoo.org>
34812 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
34815 2013-01-13 Mike Frysinger <vapier@gentoo.org>
34817 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
34819 2013-01-13 Mike Frysinger <vapier@gentoo.org>
34821 * manual/pattern.texi (glob_t): Document gl_flags.
34822 (glob64_t): Likewise.
34824 2013-01-11 David S. Miller <davem@davemloft.net>
34826 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
34827 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
34828 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
34829 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
34830 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
34831 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
34832 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
34833 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
34834 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
34835 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
34836 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
34837 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
34838 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
34840 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34841 sparc V9 rather than using V8 code.
34842 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34843 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34845 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34847 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
34850 2013-01-11 Roland McGrath <roland@hack.frob.com>
34852 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
34853 not in the main loop.
34854 * configure: Regenerated.
34856 2013-01-11 Joseph Myers <joseph@codesourcery.com>
34858 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
34859 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
34861 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
34862 [!__GLIBC_HAVE_LONG_LONG] case.
34863 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
34864 condition to just #else.
34865 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
34866 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
34867 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
34868 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
34870 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
34871 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34872 #elif condition to just #else.
34873 * sysdeps/unix/sysv/linux/sys/sysmacros.h
34874 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
34875 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34876 #elif condition to just #else.
34878 2013-01-11 Steve Ellcey <sellcey@mips.com>
34880 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
34881 (EF_MIPS_ARCH_64): Fix value.
34882 (EF_MIPS_ARCH_32R2): New.
34883 (EF_MIPS_ARCH_64R2): New.
34885 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
34887 * Makeconfig (+link-pie-before-libc): New.
34888 (+link-pie-after-libc): Likewise.
34889 (+link-pie-tests): Likewise.
34890 (+link-pie): Rewritten.
34891 (link-before-libc): Remove $(config-LDFLAGS).
34892 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
34893 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
34894 (config-LDFLAGS): Renamed to ...
34895 (rtld-LDFLAGS): This.
34896 (rtld-tests-LDFLAGS): New macro.
34897 (link-libc-rpath-link): Likewise.
34898 (link-libc-tests-rpath-link): Likewise.
34899 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
34900 (link-libc): Prepand $(link-libc-rpath-link).
34901 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
34902 (test-program-prefix): New macro.
34903 (test-via-rtld-prefix): Likewise.
34904 (test-program-cmd): Likewise.
34905 (host-test-program-cmd): Likewise.
34906 * Makefile ($(common-objpfx)testrun.sh): Replace
34907 $(run-program-prefix) with $(test-program-prefix).
34908 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
34910 ($(common-objpfx)shlib.lds): Likewise.
34911 (build-module-helper): Likewise.
34912 ($(common-objpfx)format.lds): Likewise.
34913 * Rules (binaries-pie-tests): New.
34914 (binaries-pie-notests): Likewise.
34915 (binaries-pie): Rewritten.
34916 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
34917 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
34918 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
34919 (make-test-out): Replace $(host-built-program-cmd) with
34920 $(host-test-program-cmd).
34921 * config.make.in (build-hardcoded-path-in-tests): New variable.
34922 * configure.in (--enable-hardcoded-path-in-tests): New configure
34924 (hardcoded_path_in_tests): New AC_SUBST.
34925 * configure: Regenerated.
34926 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
34927 $(built-program-cmd) with $(test-program-cmd).
34928 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
34929 (test_program_cmd): This.
34930 * elf/Makefile ($(objpfx)order.out): Run test with
34931 $(test-program-prefix).
34932 ($(objpfx)order2.out): Likewise.
34933 ($(objpfx)tst-initorder.out): Likewise.
34934 ($(objpfx)tst-initorder2.out): Likewise.
34935 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
34936 $(test-program-cmd).
34937 ($(objpfx)tst-array1-static.out): Likewise.
34938 ($(objpfx)tst-array2.out): Likewise.
34939 ($(objpfx)tst-array3.out): Likewise.
34940 ($(objpfx)tst-array4.out): Likewise.
34941 ($(objpfx)tst-array5.out): Likewise.
34942 ($(objpfx)tst-array5-static.out): Likewise.
34943 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
34944 $(test-program-cmd).
34945 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
34946 $(run-program-prefix) with $(test-program-prefix).
34947 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
34948 (test_program_prefix): This.
34949 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
34950 $(run-program-prefix) with $(test-program-prefix).
34951 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
34952 (test_program_prefix): This.
34953 * iconvdata/tst-tables.sh: Likewise.
34954 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
34955 $(run-program-prefix) with $(test-program-prefix).
34956 ($(objpfx)tst-translit.out): Likewise.
34957 ($(objpfx)tst-gettext2.out): Likewise.
34958 ($(objpfx)tst-gettext4.out): Likewise.
34959 ($(objpfx)tst-gettext6.out): Likewise.
34960 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
34961 (test_program_prefix): This.
34962 * intl/tst-gettext2.sh: Likewise.
34963 * intl/tst-gettext4.sh Likewise.
34964 * intl/tst-gettext6.sh: Likewise.
34965 * intl/tst-translit.sh: Likewise.
34966 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
34967 with $(test-program-cmd).
34968 * libio/Makefile ($(objpfx)test-freopen.out): Replace
34969 $(run-program-prefix) with $(test-program-prefix).
34970 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
34971 (test_program_prefix): This.
34972 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
34973 $(run-program-prefix) with $(test-program-prefix).
34974 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
34975 (test_program_prefix): This.
34976 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
34977 * posix/Makefile ($(objpfx)globtest.out): Replace
34978 $(run-via-rtld-prefix) and $(test-wrapper) with
34979 $(test-program-prefix) and $(test-via-rtld-prefix).
34980 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34981 $(test-program-prefix).
34982 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34983 $(host-test-program-cmd).
34984 (tst-spawn-ARGS): Likewise.
34985 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34986 $(test-program-prefix).
34987 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34988 (test_via_rtld_prefix): This.
34989 (test_wrapper): Renamed to ...
34990 (test_program_prefix): This.
34991 (run_program_prefix): Replaced by test_program_prefix.
34992 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34993 (test_program_prefix): This.
34994 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34995 with $(host-test-program-cmd).
34996 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34997 $(run-program-prefix) with $(test-program-prefix).
34998 ($(objpfx)tst-printf.out): Likewise.
34999 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
35000 $(test-program-cmd).
35001 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
35002 (test_program_prefix): This.
35003 * stdio-common/tst-unbputc.sh: Likewise.
35004 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
35005 $(run-program-prefix) with $(test-program-prefix).
35006 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
35007 (test_program_prefix): This.
35008 * string/Makefile ($(objpfx)tst-svc.out): Replace
35009 $(built-program-cmd) with $(test-program-cmd).
35011 2013-01-11 Andreas Jaeger <aj@suse.de>
35014 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
35015 value. Sync with Linux 3.7.
35017 2013-01-10 David S. Miller <davem@davemloft.net>
35019 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
35020 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35021 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35023 2013-01-10 Roland McGrath <roland@hack.frob.com>
35025 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
35027 * configure: Regenerated.
35029 2013-01-10 David S. Miller <davem@davemloft.net>
35031 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
35032 sparc V9 rather than using V8 code.
35033 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35034 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35036 2013-01-10 Roland McGrath <roland@hack.frob.com>
35038 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
35039 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
35040 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
35041 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
35042 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
35043 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
35044 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
35045 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
35046 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
35047 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
35048 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
35049 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
35050 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
35051 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
35052 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
35053 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
35054 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
35055 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
35056 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
35057 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
35058 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
35059 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
35060 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
35061 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
35062 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
35063 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
35064 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
35066 2013-01-10 David S. Miller <davem@davemloft.net>
35068 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35070 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
35072 * posix/Makefile (tests-static): New variable.
35073 (tests): Add $(tests-static).
35074 (tst-exec-static-ARGS): New variable.
35075 (tst-spawn-static-ARGS): Likewise.
35076 * posix/tst-exec-static.c: New file.
35077 * posix/tst-spawn-static.c: Likewise.
35078 * posix/tst-exec.c: Support run directly.
35079 * posix/tst-spawn.c: Likewise.
35081 2013-01-10 Joseph Myers <joseph@codesourcery.com>
35083 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
35085 * math/bits/mathcalls.h (llrint): Likewise.
35086 (llround): Likewise.
35087 * stdlib/stdlib.h (struct drand48_data): Likewise.
35088 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
35089 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
35090 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
35092 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
35094 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
35095 (elf_greg_t): Likewise.
35096 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
35097 (__jmp_buf): Likewise.
35098 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
35100 (llrint): Likewise, for all definitions.
35101 (llrintl): Likewise.
35103 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
35104 Remove [__GNUC__] condition.
35105 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
35106 condition to just [__USE_ISOC99].
35107 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
35109 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
35112 * sysdeps/unix/sysv/linux/x86/bits/environments.h
35113 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
35115 (_POSIX_V6_ILP32_OFF32): Likewise.
35116 (_XBS5_ILP32_OFF32): Likewise.
35117 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
35118 (__ILP32_OFFBIG_LDFLAGS): Likewise.
35120 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35122 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
35124 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
35125 doubles __mpexp_twomm1. Adjust usage.
35126 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
35129 2013-01-10 Andreas Schwab <schwab@suse.de>
35132 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
35133 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
35135 2013-01-09 David S. Miller <davem@davemloft.net>
35138 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
35139 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
35140 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
35141 (TCP_FASTOPEN): Define.
35142 (tcp_repair_opt): New structure.
35143 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
35145 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
35146 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
35147 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
35148 (tcp_cookie_transactions): New structure.
35150 2013-01-09 Anton Blanchard <anton@samba.org>
35152 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
35153 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
35154 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
35155 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
35157 2013-01-09 Joseph Myers <joseph@codesourcery.com>
35159 * include/features.h (__USE_ANSI): Remove.
35161 2013-01-09 Roland McGrath <roland@hack.frob.com>
35163 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
35165 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
35167 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
35169 * sysdeps/s390/fpu/libm-test-ulps: Update.
35171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35173 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
35177 (denorm): Likewise.
35178 (__mp_dbl): Likewise.
35179 (__dbl_mp): Likewise.
35180 (add_magnitudes): Likewise.
35181 (sub_magnitudes): Likewise.
35187 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
35191 (denorm): Likewise.
35192 (__mp_dbl): Likewise.
35193 (__dbl_mp): Likewise.
35194 (add_magnitudes): Likewise.
35195 (sub_magnitudes): Likewise.
35201 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
35205 (denorm): Likewise.
35206 (__mp_dbl): Likewise.
35207 (__dbl_mp): Likewise.
35208 (add_magnitudes): Likewise.
35209 (sub_magnitudes): Likewise.
35216 2013-01-08 Joseph Myers <joseph@codesourcery.com>
35218 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
35219 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
35220 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
35221 2 && __USE_EXTERN_INLINES]: Likewise.
35223 2013-01-08 Andreas Jaeger <aj@suse.de>
35226 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
35228 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
35229 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
35231 2013-01-07 Anton Blanchard <anton@samba.org>
35233 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
35234 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
35235 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
35236 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
35237 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
35238 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35239 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
35240 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
35241 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35242 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35243 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35244 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35245 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35246 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35247 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
35248 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35249 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35250 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35251 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
35252 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
35253 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
35254 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
35255 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35256 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
35257 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
35258 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
35259 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35260 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
35261 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
35262 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35263 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
35264 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35265 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35266 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35267 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35268 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35269 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35270 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35271 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
35272 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
35273 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
35274 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35275 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35277 2013-01-07 Joseph Myers <joseph@codesourcery.com>
35279 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
35280 (__MALLOC_PMT): Likewise.
35281 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
35282 [__GNUC__], only on [_LIBC].
35283 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
35284 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
35285 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
35286 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
35287 forward declaration.
35288 (realloc_hook_ini): Likewise.
35289 (memalign_hook_ini): Likewise.
35290 (__libc_memalign): Do not use __MALLOC_PMT in variable
35292 (__libc_valloc): Likewise.
35293 (__libc_pvalloc): Likewise.
35294 (__libc_calloc): Likewise.
35295 (__posix_memalign): Likewise.
35298 * math/s_casinh.c: Include <float.h>.
35299 (__casinh): Do not do computation with squaring and square root
35300 for large arguments.
35301 * math/s_casinhf.c: Include <float.h>.
35302 (__casinhf): Do not do computation with squaring and square root
35303 for large arguments.
35304 * math/s_casinhl.c: Include <float.h>.
35305 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
35306 (__casinhl): Do not do computation with squaring and square root
35307 for large arguments.
35308 * math/libm-test.inc (casin_test): Add more tests.
35309 (casinh_test): Likewise.
35310 * sysdeps/i386/fpu/libm-test-ulps: Update.
35311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35313 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
35315 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
35316 (__x86_64_raw_data_cache_size): Likewise.
35317 (__x86_64_data_cache_size_half): Likewise.
35318 (__x86_64_raw_data_cache_size_half): Likewise.
35319 (__x86_64_shared_cache_size): Likewise.
35320 (__x86_64_raw_shared_cache_size): Likewise.
35321 (__x86_64_shared_cache_size_half): Likewise.
35322 (__x86_64_raw_shared_cache_size_half): Likewise.
35323 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
35325 (__x86_data_cache_size): This.
35326 (__x86_64_raw_data_cache_size): Renamed to ...
35327 (__x86_raw_data_cache_size): This.
35328 (__x86_64_data_cache_size_half): Renamed to ...
35329 (__x86_data_cache_size_half): This.
35330 (__x86_64_raw_data_cache_size_half): Renamed to ...
35331 (__x86_raw_data_cache_size_half): This.
35332 (__x86_64_shared_cache_size): Renamed to ...
35333 (__x86_shared_cache_size): This.
35334 (__x86_64_raw_shared_cache_size): Renamed to ...
35335 (__x86_raw_shared_cache_size): This.
35336 (__x86_64_shared_cache_size_half): Renamed to ...
35337 (__x86_shared_cache_size_half): This.
35338 (__x86_64_raw_shared_cache_size_half): Renamed to ...
35339 (__x86_raw_shared_cache_size_half): This.
35340 * sysdeps/x86_64/memcpy.S: Updated.
35341 * sysdeps/x86_64/memset.S: Likewise.
35342 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
35343 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35344 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35346 2013-01-04 David S. Miller <davem@davemloft.net>
35348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35350 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
35352 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
35353 1 to avoid redefinition warning.
35354 (__USE_GNU): Don't define.
35355 (init_signaling_nan): Protoize.
35357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35359 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35361 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
35362 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
35363 (__cpymn): Likewise.
35364 (norm): Remove commented code.
35365 (denorm): Likewise.
35366 (__mp_dbl): Likewise.
35368 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
35369 (__cpymn): Likewise.
35370 (norm): Remove commented code.
35371 (denorm): Likewise.
35372 (__mp_dbl): Likewise.
35375 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
35376 mp_no value for 1.0 and 2.0.
35377 (norm): Use RADIXI instead of radixi.d.
35378 (denorm): Likewise.
35379 (__mul): Use 0.0 instead of zero.d.
35380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
35381 mp_no value for 1.0 and 2.0.
35382 (norm): Use RADIXI instead of radixi.d.
35383 (denorm): Likewise.
35384 (__mul): Use 0.0 instead of zero.d.
35386 2013-01-04 Joseph Myers <joseph@codesourcery.com>
35389 * math/s_casinh.c (__casinh): Reduce finite argument to first
35390 quadrant then set signs of results at the end.
35391 * math/s_casinhf.c (__casinhf): Likewise.
35392 * math/s_casinhl.c (__casinhl): Likewise.
35393 * math/libm-test.inc (casin_test): Add more tests.
35394 (casinh_test): Likewise.
35395 * sysdeps/i386/fpu/libm-test-ulps: Update.
35396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35398 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35400 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
35402 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
35404 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
35406 (denorm): Likewise.
35407 (__mp_dbl): Likewise.
35410 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
35411 and adjust the header comment.
35413 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
35414 variable name from declaration.
35416 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
35418 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35419 Initialize COMMON_CPUID_INDEX_7 element.
35420 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
35421 (CPUID_RTM): Likewise.
35422 (HAS_RTM): Likewise.
35423 (COMMON_CPUID_INDEX_7): New enum.
35425 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
35428 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
35429 size is zero, record memory as freed.
35431 2013-01-03 Andreas Jaeger <aj@suse.de>
35433 * po/ia.po: Add new Interlingua translation.
35435 2012-01-03 Allan McRae <allan@archlinux.org>
35437 * locale/programs/localedef.c: Fix description of '--posix' flag.
35439 2013-01-02 Joseph Myers <joseph@codesourcery.com>
35441 * NEWS: Update dates in second copyright notice.
35442 * README: Update copyright dates in example.
35443 * manual/libc.texinfo: Update copyright dates.
35444 * scripts/test-installation.pl: Update copyright date in --version
35447 * hurd/ctty-input.c: Fix copyright notice formatting.
35448 * hurd/ctty-output.c: Likewise.
35449 * hurd/dtable.c: Likewise.
35450 * hurd/hurd-raise.c: Likewise.
35451 * hurd/hurdprio.c: Likewise.
35452 * hurd/msgportdemux.c: Likewise.
35453 * misc/sys/file.h: Likewise.
35454 * misc/sys/ioctl.h: Likewise.
35455 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
35456 * sysdeps/mach/hurd/chdir.c: Likewise.
35457 * sysdeps/mach/hurd/fchdir.c: Likewise.
35458 * sysdeps/mach/hurd/rename.c: Likewise.
35459 * sysdeps/mach/hurd/rmdir.c: Likewise.
35460 * sysdeps/mach/hurd/seekdir.c: Likewise.
35461 * sysdeps/mach/hurd/setsid.c: Likewise.
35462 * sysdeps/posix/wait3.c: Likewise.
35464 * All files with FSF copyright notices: Update copyright dates
35465 using scripts/update-copyrights.
35466 * intl/plural.c: Regenerated.
35467 * locale/programs/charmap-kw.h: Likewise.
35468 * locale/programs/locfile-kw.h: Likewise.
35470 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
35472 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
35475 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
35476 calculation loop and add branch prediction.
35478 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
35479 check access beyond bounds of m1np.
35481 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
35483 (__inv): Remove local variable MPTWO to use the global
35485 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
35486 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
35488 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
35489 MP3HALFS static const.
35491 2013-01-01 David S. Miller <davem@davemloft.net>
35493 * po/ca.po: Update from translation team.
35495 2013-01-01 Joseph Myers <joseph@codesourcery.com>
35497 * scripts/update-copyrights: New file.
35498 * Makeconfig: Reformat copyright notice.
35499 * ctype/ctype.h: Likewise.
35500 * debug/swprintf_chk.c: Likewise.
35501 * elf/dl-cache.c: Likewise.
35502 * elf/dl-debug.c: Likewise.
35503 * elf/dl-object.c: Likewise.
35504 * grp/initgroups.c: Likewise.
35505 * hurd/Makefile: Likewise.
35506 * hurd/hurd/signal.h: Likewise.
35507 * hurd/hurdfault.c: Likewise.
35508 * hurd/hurdioctl.c: Likewise.
35509 * hurd/hurdlookup.c: Likewise.
35510 * hurd/intr-msg.c: Likewise.
35511 * iconv/gconv_open.c: Likewise.
35512 * libio/swprintf.c: Likewise.
35513 * locale/lc-ctype.c: Likewise.
35514 * locale/nl_langinfo.c: Likewise.
35515 * mach/Machrules: Likewise.
35516 * mach/Makefile: Likewise.
35517 * malloc/obstack.h: Likewise.
35518 * manual/Makefile: Likewise.
35519 * manual/tsort.awk: Likewise.
35520 * misc/bits/stab.def: Likewise.
35521 * nis/nis_print_group_entry.c: Likewise.
35522 * nis/nis_table.c: Likewise.
35523 * nis/nss_compat/compat-pwd.c: Likewise.
35524 * nis/nss_compat/compat-spwd.c: Likewise.
35525 * po/Makefile: Likewise.
35526 * posix/fnmatch.c: Likewise.
35527 * posix/regex.h: Likewise.
35528 * resolv/Makefile: Likewise.
35529 * resolv/nss_dns/dns-network.c: Likewise.
35530 * resolv/res_hconf.c: Likewise.
35531 * scripts/gen-sorted.awk: Likewise.
35532 * soft-fp/soft-fp.h: Likewise.
35533 * stdio-common/printf.h: Likewise.
35534 * stdlib/monetary.h: Likewise.
35535 * stdlib/random.c: Likewise.
35536 * stdlib/random_r.c: Likewise.
35537 * sysdeps/generic/Makefile: Likewise.
35538 * sysdeps/gnu/Makefile: Likewise.
35539 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35540 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35541 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35542 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35543 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35544 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35545 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35546 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35547 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35548 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35549 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
35550 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
35551 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
35552 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
35553 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
35554 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
35555 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
35556 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35557 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35558 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35559 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35560 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35561 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35562 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35563 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
35564 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35565 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
35566 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
35567 * sysdeps/mach/hurd/errnos.awk: Likewise.
35568 * sysdeps/mach/hurd/fork.c: Likewise.
35569 * sysdeps/mach/hurd/getcwd.c: Likewise.
35570 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
35571 * sysdeps/mach/hurd/mmap.c: Likewise.
35572 * sysdeps/mach/hurd/utimes.c: Likewise.
35573 * sysdeps/mach/hurd/xmknod.c: Likewise.
35574 * sysdeps/posix/profil.c: Likewise.
35575 * sysdeps/posix/readdir_r.c: Likewise.
35576 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35577 * sysdeps/powerpc/bits/setjmp.h: Likewise.
35578 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
35579 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
35580 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35581 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35582 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35583 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35584 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35585 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35586 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35587 * sysdeps/pthread/lio_listio.c: Likewise.
35588 * sysdeps/sparc/dl-procinfo.h: Likewise.
35589 * sysdeps/unix/i386/sysdep.S: Likewise.
35590 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
35591 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
35592 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
35593 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
35594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35595 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
35596 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
35597 * sysdeps/unix/sysv/linux/speed.c: Likewise.
35598 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35599 * sysdeps/wordsize-32/divdi3.c: Likewise.
35600 * time/sys/time.h: Likewise.
35601 * wcsmbs/Makefile: Likewise.
35603 2013-01-01 David S. Miller <davem@davemloft.net>
35605 * po/fr.po: Update from translation team.
35607 * catgets/gencat.c: Update copyright year.
35608 * csu/version.c: Likewise.
35609 * debug/catchsegv.sh: Likewise.
35610 * debug/pcprofiledump.c: Likewise.
35611 * debug/xtrace.sh: Likewise.
35612 * elf/ldconfig.c: Likewise.
35613 * elf/ldd.bash.in: Likewise.
35614 * elf/pldd.c: Likewise.
35615 * elf/sotruss.ksh: Likewise.
35616 * elf/sprof.c: Likewise.
35617 * iconv/iconv_prog.c: Likewise.
35618 * iconv/iconvconfig.c: Likewise.
35619 * locale/programs/locale.c: Likewise.
35620 * locale/programs/localedef.c: Likewise.
35621 * login/programs/pt_chown.c: Likewise.
35622 * malloc/memusage.sh: Likewise.
35623 * malloc/memusagestat.c: Likewise.
35624 * malloc/mtrace.pl: Likewise.
35625 * nscd/nscd.c: Likewise.
35626 * nss/getent.c: Likewise.
35627 * nss/makedb.c: Likewise.
35628 * posix/getconf.c: Likewise.
35630 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35632 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
35635 2012-12-30 Mike Frysinger <vapier@gentoo.org>
35637 * math/bits/mathcalls.h (modf): Use __nonnull.
35639 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35641 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
35642 (split): Use macro CN instead of the bare value.
35643 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
35645 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
35646 instead of the bare value.
35647 (power1): Likewise.
35649 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35651 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
35653 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35655 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
35657 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35658 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35659 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
35660 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
35662 2012-12-28 Andreas Jaeger <aj@suse.de>
35664 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
35665 values are from Linux 3.7.
35667 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
35668 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
35670 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35672 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
35675 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
35677 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
35678 variables with preprocessor constants.
35679 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35680 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
35681 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
35683 2012-12-27 Bruno Haible <bruno@clisp.org>
35686 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
35689 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35691 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
35692 and use variable directly.
35693 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
35695 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
35697 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
35698 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
35700 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35701 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35702 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
35703 include directive. Remove local variable MPONE.
35704 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
35705 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
35706 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35708 2012-12-25 David S. Miller <davem@davemloft.net>
35710 * version.h (RELEASE): Set to "development".
35711 (VERSION): Set to "2.17.90".
35712 * NEWS: Add 2.18 section.
35714 2012-12-21 David S. Miller <davem@davemloft.net>
35716 * po/hr.po: Update from translation team.
35718 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35720 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
35722 2012-12-19 Steve Ellcey <sellcey@mips.com>
35724 * NEWS: Mention new memcpy for MIPS.
35726 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35728 * manual/contrib.texi (Contributors): Spelling correction.
35730 2012-12-15 David S. Miller <davem@davemloft.net>
35732 * po/ru.po: Update from translation team.
35734 2012-12-13 David S. Miller <davem@davemloft.net>
35736 * NEWS: Mention IFUNC testsuite enhancements.
35738 * po/pl.po: Update from translation team.
35739 * po/bg.po: Likewise.
35741 * manual/contrib.texi (Contributors): Update entries for Hongjiu
35742 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
35744 2012-12-11 David S. Miller <davem@davemloft.net>
35746 * po/sv.po: Update from translation team.
35748 * po/vi.po: Update from translation team.
35750 * po/cs.po: Update from translation team.
35752 * po/de.po: Update from translation team.
35753 * po/eo.po: Likewise.
35754 * po/nl.po: Likewise.
35756 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35759 * manual/argp.texi (Argp Helper Functions): Move node to follow
35760 Argp Parsing State.
35763 * manual/conf.texi (Limits on File System Capacity): Mention if
35764 terminating null is included in the max size.
35766 2012-12-10 Andreas Jaeger <aj@suse.de>
35768 * po/cs.po: Update from translation team.
35770 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
35772 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
35773 void pointer and cast to uintptr_t.
35774 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
35776 * sysdeps/s390/s390-64/memcpy.S: Likewise.
35777 * sysdeps/s390/s390-64/memset.S: Likewise.
35779 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
35782 * menual/message.texi (Message Translation): Fix typos.
35783 (Helper programs for gettext): Likewise.
35785 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
35788 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
35791 2012-12-07 David S. Miller <davem@davemloft.net>
35793 * po/libc.pot: Update.
35795 2012-12-07 Richard Henderson <rth@redhat.com>
35798 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
35799 normal/normal case to before the switch.
35800 (_FP_DIV): Likewise.
35802 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
35803 Mike Frysinger <vapier@gentoo.org>
35805 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
35806 check for __NR_fadvise64_64.
35808 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
35810 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
35811 0, not just to plain "0" as a statement.
35812 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
35815 2012-12-06 Joseph Myers <joseph@codesourcery.com>
35817 * NEWS: Use sourceware.org in Bugzilla URL.
35819 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35822 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35824 * stdio-common/tst-put-error.c (do_test): Add newline to the
35825 padded test to ensure flush.
35827 2012-12-05 Jeff Law <law@redhat.com>
35829 * sunrpc/etc.rpc (fedfs_admin): Add entry.
35831 2012-12-05 Joseph Myers <joseph@codesourcery.com>
35833 * README: Don't refer to ports add-on as distributed separately.
35834 Mention AArch64 in list of systems supported in the ports add-on.
35836 * LICENSES: Add more non-FSF copyright and license notices.
35838 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
35841 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
35843 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
35844 10000 as width of padded output.
35846 2012-12-04 Joseph Myers <joseph@codesourcery.com>
35848 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
35850 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
35851 variable LX with __attribute__ ((unused)).
35852 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35854 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35855 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35856 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
35857 with __attribute__ ((unused)).
35859 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
35861 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
35863 2012-12-04 Joseph Myers <joseph@codesourcery.com>
35865 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
35866 (CFLAGS-nldbl-acos.c): New variable.
35867 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
35868 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
35869 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
35870 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
35871 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
35872 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
35873 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
35874 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
35875 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
35876 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
35877 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
35878 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
35879 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
35880 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
35881 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
35882 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
35883 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
35884 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
35885 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
35886 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
35887 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
35888 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
35889 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
35890 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
35891 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
35892 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
35893 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
35894 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
35895 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
35896 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
35897 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
35898 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
35899 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
35900 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
35901 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
35902 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
35903 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
35904 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
35905 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
35906 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
35907 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
35908 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
35909 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
35910 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
35911 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
35912 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
35913 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
35914 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
35915 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
35916 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
35917 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
35918 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
35919 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
35920 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
35921 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
35922 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
35923 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
35924 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
35925 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
35926 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
35927 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
35928 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
35929 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
35930 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
35931 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
35932 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
35933 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
35934 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
35935 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
35936 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
35937 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
35938 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
35939 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
35940 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
35941 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
35942 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
35943 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
35944 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
35945 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
35946 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
35947 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
35948 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
35949 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
35950 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
35951 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
35952 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
35953 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
35954 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
35955 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
35956 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
35957 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
35958 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
35959 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
35960 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
35961 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
35962 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
35963 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
35965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35966 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35969 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
35970 whole low double instead of just low 47 bits when splitting values
35973 2012-12-03 Allan McRae <allan@archlinux.org>
35975 * manual/stdio.texi (Predefined Printf Handlers): Remove
35976 @hsep and @vsep usage.
35978 2012-12-03 Mike Frysinger <vapier@gentoo.org>
35980 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35981 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35983 2012-12-03 Jeff Law <law@redhat.com>
35985 * time/sys/time.h (settimeofday): Do not mark TV argument
35988 2012-12-01 Mike Frysinger <vapier@gentoo.org>
35990 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35991 when currently writing and seek to current position when not.
35992 * libio/Makefile (tests): Remove bug-fclose1.
35993 * libio/bug-fclose1.c: Delete.
35995 2012-12-01 Joseph Myers <joseph@codesourcery.com>
35997 * manual/arith.texi (feenableexcept): Fix typo.
35998 (fedisableexcept): Likewise.
36000 2012-11-30 Roland McGrath <roland@hack.frob.com>
36002 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
36003 second, differently-typed declaration, rather than a cast.
36005 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36007 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
36008 * include/rpc/svc.h: ... here.
36010 2012-11-30 Aurelien Jarno <aurel32@debian.org>
36013 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
36014 depending n and resplen2 to catch cases where answer
36017 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
36019 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
36020 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
36022 2012-11-29 Mike Frysinger <vapier@gentoo.org>
36024 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
36026 2012-11-29 Roland McGrath <roland@hack.frob.com>
36028 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
36030 2012-11-28 Jeff Law <law@redhat.com>
36033 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
36034 dataset_temporary. Track alloca usage into alloca_used.
36035 If dataset is large allocate and release it via malloc/free.
36037 2012-06-04 Florian Weimer <fweimer@redhat.com>
36040 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
36042 2012-11-28 David S. Miller <davem@davemloft.net>
36044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36046 2012-11-28 Joseph Myers <joseph@codesourcery.com>
36049 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
36050 of pi/2 rounded to nearest to 64 bits.
36051 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
36052 nearest to 64 bits.
36053 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
36056 2012-11-28 Jeff Law <law@redhat.com>
36057 Martin Osvald <mosvald@redhat.com>
36060 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
36061 * sunrpc/svc.c: Include time.h.
36062 (__svc_accept_failed): New function.
36063 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
36064 any reason other than EINTR, call __svc_accept_failed.
36065 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
36066 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
36068 2012-11-28 Andreas Schwab <schwab@suse.de>
36070 * scripts/abilist.awk: Also handle indirect functions in .opd
36073 2012-11-28 Joseph Myers <joseph@codesourcery.com>
36076 * sysdeps/x86/fpu/powl_helper.c: New file.
36077 * sysdeps/x86/fpu/Makefile: Likewise.
36078 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
36080 (__ieee754_powl): Use __powl_helper for finite arguments except
36081 integer exponents below 8.
36082 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
36084 (__ieee754_powl): Use __powl_helper for finite arguments except
36085 integer exponents below 8.
36086 * math/libm-test.inc (pow_test): Add more tests and enable some
36087 previously disabled tests.
36088 * sysdeps/i386/fpu/libm-test-ulps: Update.
36089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36091 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36092 Carlos O'Donell <carlos_odonell@mentor.com>
36094 * nss/makedb.c (is_prime): Assert that input is odd and greater
36095 than 4. Note that fact in a comment too.
36096 (next_prime): Add 4 to input.
36098 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36101 * libio/Makefile (tests): Add test case tst-fwrite-error.
36102 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
36103 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
36104 * libio/tst-fwrite-error.c: New test case.
36106 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
36108 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
36109 before casting to void *.
36110 * include/libc-internal.h (__pointer_type): New macro.
36111 (__integer_if_pointer_type_sub): Likewise.
36112 (__integer_if_pointer_type): Likewise.
36113 (cast_to_integer): Likewise.
36114 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
36115 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
36116 before casting to atomic64_t.
36117 (atomic_exchange_acq): Likewise.
36118 (__arch_exchange_and_add_body): Likewise.
36119 (__arch_add_body): Likewise.
36120 (atomic_add_negative): Likewise.
36121 (atomic_add_zero): Likewise.
36123 2012-11-26 Joseph Myers <joseph@codesourcery.com>
36125 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
36126 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
36127 (add_fdes): Likewise.
36128 (linear_search_fdes): Likewise.
36129 (binary_search_unencoded_fdes): Likewise.
36131 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
36133 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
36135 2012-11-24 Adam Conrad <adconrad@0c3.net>
36137 * configure.in: Autodetect C++ header directories.
36138 * configure: Regenerated.
36140 2012-11-23 Mike Frysinger <vapier@gentoo.org>
36142 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
36144 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
36146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36148 2012-11-22 Joseph Myers <joseph@codesourcery.com>
36150 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
36151 LDBL_MANT_DIG == 106]: Disable some tests.
36152 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
36154 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
36158 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
36159 input for small inputs. Return +/- pi/2 for large inputs.
36160 * math/libm-test.inc (atan_test): Add more tests.
36162 * sysdeps/generic/unwind-dw2-fde-glibc.c
36163 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
36164 __attribute__ ((unused)).
36167 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
36168 x * y if x and y are nonzero and z is zero.
36171 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
36172 nonzero exponents with absolute value below 0x1p-117 to +/-
36176 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
36177 up arguments below 2**-450, not just those below 2**-500.
36178 * math/libm-test.inc (hypot_test): Add another test.
36181 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
36182 Return a+b for ratio over 2**120, not 2**60.
36183 * math/libm-test.inc (hypot_test): Add another test.
36185 * math/libm-test.inc (clog_test): Use
36186 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
36187 (clog10_test): Likewise.
36190 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
36192 2012-11-22 Andreas Schwab <schwab@suse.de>
36194 * sysdeps/i386/fpu/libm-test-ulps: Update.
36196 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
36198 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
36199 printf output with newline.
36201 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
36204 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
36205 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
36206 -z nodlopen, -z initfirst and -z execstack support.
36207 * configure: Regenerated.
36209 * elf/elf.h (DF_1_NODIRECT): New macro.
36210 (DF_1_IGNMULDEF): Likewise.
36211 (DF_1_NOKSYMS): Likewise.
36212 (DF_1_NOHDR): Likewise.
36213 (DF_1_EDITED): Likewise.
36214 (DF_1_NORELOC): Likewise.
36215 (DF_1_SYMINTPOSE): Likewise.
36216 (DF_1_GLOBAUDIT): Likewise.
36217 (DF_1_SINGLETON): Likewise.
36218 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
36219 DT_1_SUPPORTED_MASK bits.
36220 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
36222 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
36224 * sysdeps/unix/make-syscalls.sh: Document prefixes.
36226 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
36228 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
36231 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
36232 (sendmmsg): Move declarations...
36233 * socket/sys/socket.h: ... here.
36234 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
36235 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
36237 * socket/recvmmsg.c: ... this new file.
36238 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
36239 (sendmmsg): Rename to __sendmmsg, create weak alias and make
36240 definition of __sendmmsg hidden.
36241 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36242 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
36243 Move ENOSYS stub into and include it from...
36244 * socket/sendmmsg.c: ... this new file.
36245 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
36246 (sysdep_routines): Move recvmmsg and sendmmsg...
36247 * socket/Makefile (routines): ... here.
36248 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
36249 (GLIBC_PRIVATE): Add __sendmmsg.
36250 * include/sys/socket.h (__sendmmsg): Add declarations.
36251 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
36254 2012-11-20 Joseph Myers <joseph@codesourcery.com>
36256 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
36257 variable I1 with __attribute__ ((unused)).
36258 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36260 2012-11-19 Joseph Myers <joseph@codesourcery.com>
36262 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
36263 DUMMY variables with __attribute__ ((unused)).
36265 * bits/byteswap.h: Include <bits/types.h>.
36266 (__bswap_64): Use __uint64_t instead of unsigned long long int.
36268 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
36270 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
36271 string_t. Do not manually set errno.
36272 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
36273 length with __strnlen. Make sure to both set errno and return it on
36276 2012-11-19 David S. Miller <davem@davemloft.net>
36278 With help from Joseph Myers.
36279 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
36280 very large arguments properly.
36281 * math/libm-test.inc (atan_test): New tests.
36282 (atan2_test): New tests.
36283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36286 2012-11-19 Joseph Myers <joseph@codesourcery.com>
36289 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
36292 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
36293 [POSIX] (EADDRNOTAVAIL): Likewise.
36294 [POSIX] (EAFNOSUPPORT): Likewise.
36295 [POSIX] (EALREADY): Likewise.
36296 [POSIX] (ECONNABORTED): Likewise.
36297 [POSIX] (ECONNREFUSED): Likewise.
36298 [POSIX] (ECONNRESET): Likewise.
36299 [POSIX] (EDESTADDRREQ): Likewise.
36300 [POSIX] (EDQUOT): Likewise.
36301 [POSIX] (EHOSTUNREACH): Likewise.
36302 [POSIX] (EIDRM): Likewise.
36303 [POSIX] (EISCONN): Likewise.
36304 [POSIX] (ELOOP): Likewise.
36305 [POSIX] (EMULTIHOP): Likewise.
36306 [POSIX] (ENETDOWN): Likewise.
36307 [POSIX] (ENETUNREACH): Likewise.
36308 [POSIX] (ENOBUFS): Likewise.
36309 [POSIX] (ENODATA): Likewise.
36310 [POSIX] (ENOLINK): Likewise.
36311 [POSIX] (ENOMSG): Likewise.
36312 [POSIX] (ENOPROTOOPT): Likewise.
36313 [POSIX] (ENOSR): Likewise.
36314 [POSIX] (ENOSTR): Likewise.
36315 [POSIX] (ENOTCONN): Likewise.
36316 [POSIX] (ENOTSOCK): Likewise.
36317 [POSIX] (EOPNOTSUPP): Likewise.
36318 [POSIX] (EOVERFLOW): Likewise.
36319 [POSIX] (EPROTO): Likewise.
36320 [POSIX] (EPROTONOSUPPORT): Likewise.
36321 [POSIX] (EPROTOTYPE): Likewise.
36322 [POSIX] (ESTALE): Likewise.
36323 [POSIX] (ETIME): Likewise.
36324 [POSIX] (ETXTBSY): Likewise.
36325 [POSIX] (EWOULDBLOCK): Likewise.
36326 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
36327 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
36328 [POSIX] (SEEK_CUR): Likewise.
36329 [POSIX] (SEEK_END): Likewise.
36330 [POSIX || UNIX98] (mode_t): Do not require.
36331 [POSIX] (off_t): Likewise.
36332 [POSIX] (pid_t): Likewise.
36333 [POSIX] (sys/stat.h): Do not allow header.
36334 [POSIX] (unistd.h): Likewise.
36335 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
36336 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
36337 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
36338 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
36340 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
36341 sigevent): Specify elements.
36342 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
36344 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
36345 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
36347 * conform/data/cpio.h-data [POSIX]: Disable whole file.
36348 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
36349 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
36350 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
36351 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
36352 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
36353 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
36354 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
36355 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
36356 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
36357 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
36358 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
36359 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
36360 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
36362 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
36364 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
36366 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
36368 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
36369 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
36370 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
36371 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
36372 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
36373 Specify lower bound on value.
36374 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
36375 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
36376 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
36377 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
36378 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
36379 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
36380 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
36381 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
36383 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
36385 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
36386 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
36387 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
36388 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
36389 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
36390 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
36391 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
36392 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
36393 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
36394 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
36395 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
36396 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
36397 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
36398 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
36399 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
36400 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
36402 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
36404 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
36405 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
36406 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
36407 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
36408 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
36409 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
36411 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
36412 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
36413 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
36414 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
36415 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
36416 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
36417 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
36419 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
36420 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
36421 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
36422 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
36423 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
36424 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
36425 specify as optional.
36426 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
36427 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
36428 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
36429 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
36430 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
36431 [XPG3] (NL_LANGMAX): Likewise.
36432 [POSIX || XPG3] (NL_MSGMAX): Likewise.
36433 [POSIX || XPG3] (NL_NMAX): Likewise.
36434 [POSIX || XPG3] (NL_SETMAX): Likewise.
36435 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
36436 [XPG3] (NZERO): Likewise.
36437 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
36438 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
36439 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
36440 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
36441 (REG_ERANGE): Expect.
36442 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
36444 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
36445 Use (void) in prototype.
36446 [POSIX] (*_t): Allow.
36447 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
36448 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
36449 (WRDE_BADVAL): Expect.
36451 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
36453 [XPG3 || XPG4] (O_RSYNC): Likewise.
36454 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
36456 [XPG3 || XPG4] (pthread_sigmask): Likewise.
36457 [XPG3 || XPG4] (sigqueue): Likewise.
36458 [XPG3 || XPG4] (sigtimedwait): Likewise.
36459 [XPG3 || XPG4] (sigwaitinfo): Likewise.
36460 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
36461 [XPG3 || XPG4] (vsnprintf): Likewise.
36462 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
36464 [XPG3 || XPG4] (blksize_t): Likewise.
36465 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
36467 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
36468 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
36469 [XPG3 || XPG4] (struct itimerspec): Likewise.
36470 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
36471 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
36472 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
36473 [XPG3 || XPG4] (clockid_t): Likewise.
36474 [XPG3 || XPG4] (timer_t): Likewise.
36475 [XPG3 || XPG4] (clock_getres): Likewise.
36476 [XPG3 || XPG4] (clock_gettime): Likewise.
36477 [XPG3 || XPG4] (clock_settime): Likewise.
36478 [XPG3 || XPG4] (nanosleep): Likewise.
36479 [XPG3 || XPG4] (timer_create): Likewise.
36480 [XPG3 || XPG4] (timer_delete): Likewise.
36481 [XPG3 || XPG4] (timer_gettime): Likewise.
36482 [XPG3 || XPG4] (timer_getoverrun): Likewise.
36483 [XPG3 || XPG4] (timer_settime): Likewise.
36484 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
36485 [XPG3 || XPG4] (getlogin_r): Likewise.
36486 [XPG3 || XPG4] (pread): Likewise.
36487 [XPG3 || XPG4] (pthread_atfork): Likewise.
36488 [XPG3 || XPG4] (pwrite): Likewise.
36491 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
36494 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
36496 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
36497 finalizing MALLSTREAM.
36499 * sysdeps/mach/hurd/syncfs.c: New file.
36501 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36504 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
36505 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
36506 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
36507 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
36508 (_nss_dns_gethostbyname4_r): Likewise.
36509 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
36510 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
36512 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
36515 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
36517 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
36519 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
36520 * elf/cache.c (print_entry): Print ",AArch64" for
36523 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
36524 * elf/cache.c (print_entry): Print ",hard-float" for
36527 2012-11-18 David S. Miller <davem@davemloft.net>
36529 With help from Joseph Myers.
36530 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
36532 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
36534 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
36535 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
36537 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
36538 * math/libm-test.inc (y0_test): New tests.
36539 (y1_test): New tests.
36540 * sysdeps/i386/fpu/libm-test-ulps: Update.
36541 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36544 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
36546 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
36548 * configure: Regenerated.
36550 2012-11-17 David S. Miller <davem@davemloft.net>
36553 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
36554 nonzero exponents with absolute value below 0x1p-128 to +/-
36557 2012-11-17 Joseph Myers <joseph@codesourcery.com>
36559 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
36561 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
36563 * posix/getconf-speclist.c: New file.
36564 * posix/posix-envs.def: Likewise.
36565 * posix/confstr.c (START_ENV_GROUP): New macro.
36566 (END_ENV_GROUP): Likewise.
36567 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
36568 (KNOWN_PRESENT_ENV_STRING): Likewise.
36569 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
36570 (UNKNOWN_ENVIRONMENT): Likewise.
36571 (confstr): Include posix-envs.def instead of handling
36572 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
36573 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
36574 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
36575 (END_ENV_GROUP): Likewise.
36576 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
36577 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
36578 (UNKNOWN_ENVIRONMENT): Likewise.
36579 (__sysconf): Include posix-envs.def instead of handling associated
36580 cases directly here.
36581 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
36582 preprocessing getconf-speclist.c rather than running getconf or
36583 generating empty file.
36585 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
36587 * scripts/check-local-headers.sh: Ignore 'mach' headers.
36589 2012-11-16 Andrej Lajovic <natrij@gmail.com>
36592 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
36594 2012-11-16 David S. Miller <davem@davemloft.net>
36596 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
36597 smaller than LDBL_EPSILON/2.0L, just return xm1.
36599 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
36601 * elf/tst-array1.c (init): Set constructor priority to 1000.
36602 (fini): Set destructor priority to 1000.
36603 * elf/tst-array2dep.c: Likewise.
36605 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36608 * libio/fileops.c (_IO_new_file_write): Correctly return error.
36609 (_IO_new_file_xsputn): Also return EOF if none of the input
36610 data was written when overflow failed.
36611 * libio/iopadn.c (_IO_padn): Likewise.
36612 * libio/iowpadn.c (_IO_wpadn): Likewise.
36613 * stdio-common/tst-put-error.c: Add copyright notice.
36614 (do_test): Add case for printing padded string.
36615 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
36616 _IO_padn returned error.
36617 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
36618 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
36621 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36623 * libio/libioP.h: Add comment note that the references to C++
36624 bits are now obsolete.
36626 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36628 * math/libm-test.inc (check_complex): Use asprintf.
36630 2012-11-14 Joseph Myers <joseph@codesourcery.com>
36632 * debug/pcprofiledump.c (print_version): Update copyright year.
36633 * malloc/memusagestat.c (print_version): Likewise.
36635 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
36638 * elf/Makefile (tests): Add tst-audit8.
36639 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
36640 ($(objpfx)tst-audit8.out): New target.
36641 (tst-audit8-ENV): New variable.
36642 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
36643 audit if l_reloc_result is NULL.
36644 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
36645 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
36646 * elf/tst-audit8.c: New file.
36648 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36650 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
36651 * misc/Makefile (CFLAGS-select.c): Define.
36652 * posix/Makefile (CFLAGS-pause.c): Define.
36654 2012-11-13 David S. Miller <davem@davemloft.net>
36656 * crypt/Makefile: Move test targets after toplevel Rules
36657 inclusion. Grab any necessary sysdep routines when linking.
36658 * crypt/md5.c (md5_process_block): Remove define, we will always
36659 name it __md5_process_block.
36660 (md5_finish_ctx): Update md5_process_block call.
36661 (md5_stream): Likewise.
36662 (md5_process_bytes): Likewise.
36663 (md5_process_block): Rename to __md5_process_block and move to ...
36664 * crypt/md5-block.c: ... here.
36665 * crypt/sha256.c (sha256_process_block): Move to ...
36666 * crypt/sha256-block.c: ... here.
36667 * crypt/sha512.c (sha512_process_block): Move to ...
36668 * crypt/sha512-block.c: ... here.
36669 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
36671 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
36672 * sysdeps/sparc/sparc64/multiarch/Makefile
36673 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
36675 (localedef-aux): Add md5 crypto assembler when in locale subdir.
36676 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
36678 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
36679 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
36680 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
36681 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
36682 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
36683 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
36684 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
36685 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
36686 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
36688 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
36689 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
36691 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
36693 2012-11-13 Joseph Myers <joseph@codesourcery.com>
36695 * timezone/tzselect.ksh: Update from tzcode git revision
36696 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
36697 * timezone/zdump.c: Likewise.
36698 * timezone/zic.c: Likewise.
36699 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
36700 in TZVERSION setting, not $(PKGVERSION).
36701 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
36702 REPORT_BUGS_TO settings.
36705 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
36708 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36710 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
36711 detection to immediately after _FP_ROUND().
36712 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
36715 2012-11-11 David S. Miller <davem@davemloft.net>
36717 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
36719 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
36720 __close rather than their public counterparts.
36722 2012-11-10 Joseph Myers <joseph@codesourcery.com>
36724 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
36726 [UNIX98] (sem_timedwait): Do not expect.
36727 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
36728 [XPG4 || UNIX98] (sockatmark): Do not expect.
36729 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
36730 (clock_getcpuclockid): Do not expect.
36731 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
36732 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
36734 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
36735 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
36736 [UNIX98] (vwscanf): Likewise.
36737 [UNIX98] (vswscanf): Likewise.
36739 2012-11-09 Joseph Myers <joseph@codesourcery.com>
36741 * timezone/version.h: Remove file.
36742 * timezone/README: Do not refer to version.h.
36743 * timezone/Makefile ($(objpfx)zic.o): New dependency on
36744 $(objpfx)version.h.
36745 ($(objpfx)zdump.o): Likewise.
36746 ($(objpfx)version.h): New target.
36748 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
36750 * timezone/README: Don't mention modification to tzselect.ksh.
36751 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
36752 work on unmodified tzselect.ksh. Substitute version numbers in
36755 * Makefile (format-me): Remove.
36756 (INSTALL): Adjust indentation. Use commands directly instead of
36757 using $(format-me).
36759 * aclocal.m4 (ACX_PKGVERSION): New macro.
36760 (ACX_BUGURL): Likewise.
36761 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
36762 (PKGVERSION): New AC_DEFINE_UNQUOTED.
36763 (REPORT_BUGS_TO): Likewise.
36764 * configure: Regenerated.
36765 * config.h.in (PKGVERSION): New macro.
36766 (REPORT_BUGS_TO): Likewise.
36767 * config.make.in (PKGVERSION): New variable.
36768 (PKGVERSION_TEXI): Likewise.
36769 (REPORT_BUGS_TO): Likewise.
36770 (REPORT_BUGS_TEXI): Likewise.
36771 * Makefile (format-me): Use -I$(common-objpfx)manual.
36772 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
36773 ($(common-objpfx)manual/%): New target.
36774 (manual/%): Remove target.
36775 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
36776 (print_version): Use PKGVERSION.
36777 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
36778 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
36779 and REPORT_BUGS_TO.
36780 ($(objpfx)xtrace): Likewise.
36781 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
36782 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
36783 (print_version): Use PKGVERSION.
36784 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
36785 (do_version): Use PKGVERSION.
36786 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
36788 (common-ldd-rewrite): Likewise.
36789 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
36790 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
36791 (print_version): Use PKGVERSION.
36792 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
36793 * elf/pldd.c (argp_program_bug_address): Remove variable.
36794 (more_help): New function.
36795 (argp): Use more_help.
36796 (print_version): Use PKGVERSION.
36797 * elf/sln.c (main): Use PKGVERSION.
36798 (usage): Use REPORT_BUGS_TO.
36799 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
36800 (top level): Use PKGVERSION.
36801 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
36802 (print_version): Use PKGVERSION.
36803 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
36804 (print_version): Use PKGVERSION.
36805 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
36806 (print_version): Use PKGVERSION.
36807 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
36808 (print_version): Use PKGVERSION.
36809 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
36810 (print_version): Use PKGVERSION.
36811 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
36812 (print_version): Use PKGVERSION.
36813 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
36815 ($(objpfx)memusage): Likewise.
36816 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
36817 (do_version): Use PKGVERSION.
36818 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
36819 (print_version): Use PKGVERSION.
36820 * malloc/mtrace.pl ($PACKAGE): Remove variable.
36821 ($PKGVERSION): New variable.
36822 ($REPORT_BUGS_TO): Likewise.
36823 (usage): Use $REPORT_BUGS_TO.
36824 (top level): Use $PKGVERSION.
36825 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
36826 ($(objpfx)pkgvers.texi): New rule.
36827 ($(objpfx)stamp-pkgvers): Likewise.
36828 * manual/install.texi: Include pkgvers.texi.
36829 (--with-pkgversion): Document new configure option.
36830 (--with-bugurl): Likewise.
36831 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
36832 than necessarily for this particular distribution. Use
36833 REPORT_BUGS_TO for where to report bugs.
36834 * INSTALL: Regenerated.
36835 * manual/libc.texinfo: Include pkgvers.texi.
36836 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
36837 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
36838 (print_version): Use PKGVERSION.
36839 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
36840 (print_version): Use PKGVERSION.
36841 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
36842 (print_version): Use PKGVERSION.
36843 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
36844 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
36846 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
36847 (print_version): Use PKGVERSION.
36848 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
36849 (print_version): Use PKGVERSION.
36850 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
36853 * timezone/checktab.awk: Update from tzcode 2012i.
36854 * timezone/ialloc.c: Likewise.
36855 * timezone/private.h: Likewise.
36856 * timezone/scheck.c: Likewise.
36857 * timezone/tzfile.h: Likewise.
36858 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
36859 (TZVERSION): Hardcode tzcode version number.
36860 * timezone/zdump.c: Update from tzcode 2012i.
36861 * timezone/zic.c: Likewise.
36862 * timezone/version.h: New file.
36863 * timezone/README: Describe version.h. Update upstream location.
36866 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
36867 (mktemp): Enable declaration.
36868 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
36869 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
36870 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
36871 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
36873 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
36875 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
36877 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
36879 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
36881 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
36885 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
36886 offset in buffer as u_int32_t not u_long. Consistently use memcpy
36887 for copies of such integer values.
36888 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36889 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36891 2012-11-09 Andreas Jaeger <aj@suse.de>
36893 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
36894 definitions and declarations that are provided by
36895 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36897 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36899 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
36900 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
36901 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
36904 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36906 * elf/elf.h: Update comment before AArch64 relocations.
36908 2012-11-07 David S. Miller <davem@davemloft.net>
36910 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
36911 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36912 (__start_context): Declare.
36913 (__makecontext_ret): Delete.
36914 (__makecontext): Hook up __start_context instead of
36916 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
36917 (sysdep_routines): Add __start_context when in stdlib.
36919 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36921 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
36922 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
36923 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
36925 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
36926 (READELF): New variable. Use it instead of hardcoded "readelf".
36928 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
36930 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
36931 * sysdeps/x86/Makefile: Here.
36932 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
36933 * sysdeps/x86/tst-xmmymm.sh: This.
36935 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36937 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
36939 [UNIX98] (pthread_barrier_t): Do not expect.
36940 [UNIX98] (pthread_barrierattr_t): Likewise.
36941 [UNIX98] (pthread_spinlock_t): Likewise.
36942 [UNIX98] (pthread_barrier_destroy): Likewise.
36943 [UNIX98] (pthread_barrier_init): Likewise.
36944 [UNIX98] (pthread_barrier_wait): Likewise.
36945 [UNIX98] (pthread_barrierattr_destroy): Likewise.
36946 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
36947 [UNIX98] (pthread_barrierattr_init): Likewise.
36948 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
36949 [UNIX98] (pthread_getcpuclockid): Likewise.
36950 [UNIX98] (pthread_mutex_timedlock): Likewise.
36951 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
36952 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
36953 [UNIX98] (pthread_sigmask): Likewise.
36954 [UNIX98] (pthread_spin_destroy): Likewise.
36955 [UNIX98] (pthread_spin_init): Likewise.
36956 [UNIX98] (pthread_spin_lock): Likewise.
36957 [UNIX98] (pthread_spin_trylock): Likewise.
36958 [UNIX98] (pthread_spin_unlock): Likewise.
36959 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
36961 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
36962 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
36963 [XPG3 || XPG4] (pthread_cond_t): Likewise.
36964 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
36965 [XPG3 || XPG4] (pthread_key_t): Likewise.
36966 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
36967 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
36968 [XPG3 || XPG4] (pthread_once_t): Likewise.
36969 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
36970 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
36971 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
36972 [XPG3 || XPG4] (pthread_t): Likewise.
36974 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
36976 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
36978 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36979 Change function return type to int.
36981 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36982 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36983 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36984 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36985 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36986 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36987 [!POSIX] (posix_madvise): Likewise.
36988 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36990 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36991 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36992 (mode_t): Likewise.
36993 (posix_mem_offset): Likewise.
36994 (posix_typed_mem_get_info): Likewise.
36995 (posix_typed_mem_open): Likewise.
36997 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36998 Change condition to [XOPEN2K8].
37000 * conform/conformtest.pl: Preprocess allow-header data with -x c
37001 instead of from stdin.
37002 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
37003 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
37004 [C99-based standards] (cerfc): Likewise.
37005 [C99-based standards] (cexp2): Likewise.
37006 [C99-based standards] (cexpm1): Likewise.
37007 [C99-based standards] (clog10): Likewise.
37008 [C99-based standards] (clog1p): Likewise.
37009 [C99-based standards] (clog2): Likewise.
37010 [C99-based standards] (clgamma): Likewise.
37011 [C99-based standards] (ctgamma): Likewise.
37012 [C99-based standards] (cerff): Likewise.
37013 [C99-based standards] (cerfcf): Likewise.
37014 [C99-based standards] (cexp2f): Likewise.
37015 [C99-based standards] (cexpm1f): Likewise.
37016 [C99-based standards] (clog10f): Likewise.
37017 [C99-based standards] (clog1pf): Likewise.
37018 [C99-based standards] (clog2f): Likewise.
37019 [C99-based standards] (clgammaf): Likewise.
37020 [C99-based standards] (ctgammaf): Likewise.
37021 [C99-based standards] (cerfl): Likewise.
37022 [C99-based standards] (cerfcl): Likewise.
37023 [C99-based standards] (cexp2l): Likewise.
37024 [C99-based standards] (cexpm1l): Likewise.
37025 [C99-based standards] (clog10l): Likewise.
37026 [C99-based standards] (clog1pl): Likewise.
37027 [C99-based standards] (clog2l): Likewise.
37028 [C99-based standards] (clgammal): Likewise.
37029 [C99-based standards] (ctgammal): Likewise.
37030 * conform/data/inttypes.h-data [C99-based standards]: Include
37031 stdint.h-data. Remove all expectations for stdint.h contents.
37032 [C99-based standards] (PRI*): Do not allow.
37033 [C99-based standards] (SCN*): Likewise.
37034 [C99-based standards] (*_t): Likewise.
37035 [C99-based-standards] (PRId8): Expect macro.
37036 [C99-based-standards] (PRIi8): Likewise.
37037 [C99-based-standards] (PRIo8): Likewise.
37038 [C99-based-standards] (PRIu8): Likewise.
37039 [C99-based-standards] (PRIx8): Likewise.
37040 [C99-based-standards] (PRIX8): Likewise.
37041 [C99-based-standards] (SCNd8): Likewise.
37042 [C99-based-standards] (SCNi8): Likewise.
37043 [C99-based-standards] (SCNo8): Likewise.
37044 [C99-based-standards] (SCNu8): Likewise.
37045 [C99-based-standards] (SCNx8): Likewise.
37046 [C99-based-standards] (PRIdLEAST8): Likewise.
37047 [C99-based-standards] (PRIiLEAST8): Likewise.
37048 [C99-based-standards] (PRIoLEAST8): Likewise.
37049 [C99-based-standards] (PRIuLEAST8): Likewise.
37050 [C99-based-standards] (PRIxLEAST8): Likewise.
37051 [C99-based-standards] (PRIXLEAST8): Likewise.
37052 [C99-based-standards] (SCNdLEAST8): Likewise.
37053 [C99-based-standards] (SCNiLEAST8): Likewise.
37054 [C99-based-standards] (SCNoLEAST8): Likewise.
37055 [C99-based-standards] (SCNuLEAST8): Likewise.
37056 [C99-based-standards] (SCNxLEAST8): Likewise.
37057 [C99-based-standards] (PRIdFAST8): Likewise.
37058 [C99-based-standards] (PRIiFAST8): Likewise.
37059 [C99-based-standards] (PRIoFAST8): Likewise.
37060 [C99-based-standards] (PRIuFAST8): Likewise.
37061 [C99-based-standards] (PRIxFAST8): Likewise.
37062 [C99-based-standards] (PRIXFAST8): Likewise.
37063 [C99-based-standards] (SCNdFAST8): Likewise.
37064 [C99-based-standards] (SCNiFAST8): Likewise.
37065 [C99-based-standards] (SCNoFAST8): Likewise.
37066 [C99-based-standards] (SCNuFAST8): Likewise.
37067 [C99-based-standards] (SCNxFAST8): Likewise.
37068 [C99-based-standards] (PRId16): Likewise.
37069 [C99-based-standards] (PRIi16): Likewise.
37070 [C99-based-standards] (PRIo16): Likewise.
37071 [C99-based-standards] (PRIu16): Likewise.
37072 [C99-based-standards] (PRIx16): Likewise.
37073 [C99-based-standards] (PRIX16): Likewise.
37074 [C99-based-standards] (SCNd16): Likewise.
37075 [C99-based-standards] (SCNi16): Likewise.
37076 [C99-based-standards] (SCNo16): Likewise.
37077 [C99-based-standards] (SCNu16): Likewise.
37078 [C99-based-standards] (SCNx16): Likewise.
37079 [C99-based-standards] (PRIdLEAST16): Likewise.
37080 [C99-based-standards] (PRIiLEAST16): Likewise.
37081 [C99-based-standards] (PRIoLEAST16): Likewise.
37082 [C99-based-standards] (PRIuLEAST16): Likewise.
37083 [C99-based-standards] (PRIxLEAST16): Likewise.
37084 [C99-based-standards] (PRIXLEAST16): Likewise.
37085 [C99-based-standards] (SCNdLEAST16): Likewise.
37086 [C99-based-standards] (SCNiLEAST16): Likewise.
37087 [C99-based-standards] (SCNoLEAST16): Likewise.
37088 [C99-based-standards] (SCNuLEAST16): Likewise.
37089 [C99-based-standards] (SCNxLEAST16): Likewise.
37090 [C99-based-standards] (PRIdFAST16): Likewise.
37091 [C99-based-standards] (PRIiFAST16): Likewise.
37092 [C99-based-standards] (PRIoFAST16): Likewise.
37093 [C99-based-standards] (PRIuFAST16): Likewise.
37094 [C99-based-standards] (PRIxFAST16): Likewise.
37095 [C99-based-standards] (PRIXFAST16): Likewise.
37096 [C99-based-standards] (SCNdFAST16): Likewise.
37097 [C99-based-standards] (SCNiFAST16): Likewise.
37098 [C99-based-standards] (SCNoFAST16): Likewise.
37099 [C99-based-standards] (SCNuFAST16): Likewise.
37100 [C99-based-standards] (SCNxFAST16): Likewise.
37101 [C99-based-standards] (PRId32): Likewise.
37102 [C99-based-standards] (PRIi32): Likewise.
37103 [C99-based-standards] (PRIo32): Likewise.
37104 [C99-based-standards] (PRIu32): Likewise.
37105 [C99-based-standards] (PRIx32): Likewise.
37106 [C99-based-standards] (PRIX32): Likewise.
37107 [C99-based-standards] (SCNd32): Likewise.
37108 [C99-based-standards] (SCNi32): Likewise.
37109 [C99-based-standards] (SCNo32): Likewise.
37110 [C99-based-standards] (SCNu32): Likewise.
37111 [C99-based-standards] (SCNx32): Likewise.
37112 [C99-based-standards] (PRIdLEAST32): Likewise.
37113 [C99-based-standards] (PRIiLEAST32): Likewise.
37114 [C99-based-standards] (PRIoLEAST32): Likewise.
37115 [C99-based-standards] (PRIuLEAST32): Likewise.
37116 [C99-based-standards] (PRIxLEAST32): Likewise.
37117 [C99-based-standards] (PRIXLEAST32): Likewise.
37118 [C99-based-standards] (SCNdLEAST32): Likewise.
37119 [C99-based-standards] (SCNiLEAST32): Likewise.
37120 [C99-based-standards] (SCNoLEAST32): Likewise.
37121 [C99-based-standards] (SCNuLEAST32): Likewise.
37122 [C99-based-standards] (SCNxLEAST32): Likewise.
37123 [C99-based-standards] (PRIdFAST32): Likewise.
37124 [C99-based-standards] (PRIiFAST32): Likewise.
37125 [C99-based-standards] (PRIoFAST32): Likewise.
37126 [C99-based-standards] (PRIuFAST32): Likewise.
37127 [C99-based-standards] (PRIxFAST32): Likewise.
37128 [C99-based-standards] (PRIXFAST32): Likewise.
37129 [C99-based-standards] (SCNdFAST32): Likewise.
37130 [C99-based-standards] (SCNiFAST32): Likewise.
37131 [C99-based-standards] (SCNoFAST32): Likewise.
37132 [C99-based-standards] (SCNuFAST32): Likewise.
37133 [C99-based-standards] (SCNxFAST32): Likewise.
37134 [C99-based-standards] (PRId64): Likewise.
37135 [C99-based-standards] (PRIi64): Likewise.
37136 [C99-based-standards] (PRIo64): Likewise.
37137 [C99-based-standards] (PRIu64): Likewise.
37138 [C99-based-standards] (PRIx64): Likewise.
37139 [C99-based-standards] (PRIX64): Likewise.
37140 [C99-based-standards] (SCNd64): Likewise.
37141 [C99-based-standards] (SCNi64): Likewise.
37142 [C99-based-standards] (SCNo64): Likewise.
37143 [C99-based-standards] (SCNu64): Likewise.
37144 [C99-based-standards] (SCNx64): Likewise.
37145 [C99-based-standards] (PRIdLEAST64): Likewise.
37146 [C99-based-standards] (PRIiLEAST64): Likewise.
37147 [C99-based-standards] (PRIoLEAST64): Likewise.
37148 [C99-based-standards] (PRIuLEAST64): Likewise.
37149 [C99-based-standards] (PRIxLEAST64): Likewise.
37150 [C99-based-standards] (PRIXLEAST64): Likewise.
37151 [C99-based-standards] (SCNdLEAST64): Likewise.
37152 [C99-based-standards] (SCNiLEAST64): Likewise.
37153 [C99-based-standards] (SCNoLEAST64): Likewise.
37154 [C99-based-standards] (SCNuLEAST64): Likewise.
37155 [C99-based-standards] (SCNxLEAST64): Likewise.
37156 [C99-based-standards] (PRIdFAST64): Likewise.
37157 [C99-based-standards] (PRIiFAST64): Likewise.
37158 [C99-based-standards] (PRIoFAST64): Likewise.
37159 [C99-based-standards] (PRIuFAST64): Likewise.
37160 [C99-based-standards] (PRIxFAST64): Likewise.
37161 [C99-based-standards] (PRIXFAST64): Likewise.
37162 [C99-based-standards] (SCNdFAST64): Likewise.
37163 [C99-based-standards] (SCNiFAST64): Likewise.
37164 [C99-based-standards] (SCNoFAST64): Likewise.
37165 [C99-based-standards] (SCNuFAST64): Likewise.
37166 [C99-based-standards] (SCNxFAST64): Likewise.
37167 [C99-based-standards] (PRIdMAX): Likewise.
37168 [C99-based-standards] (PRIiMAX): Likewise.
37169 [C99-based-standards] (PRIoMAX): Likewise.
37170 [C99-based-standards] (PRIuMAX): Likewise.
37171 [C99-based-standards] (PRIxMAX): Likewise.
37172 [C99-based-standards] (PRIXMAX): Likewise.
37173 [C99-based-standards] (SCNdMAX): Likewise.
37174 [C99-based-standards] (SCNiMAX): Likewise.
37175 [C99-based-standards] (SCNoMAX): Likewise.
37176 [C99-based-standards] (SCNuMAX): Likewise.
37177 [C99-based-standards] (SCNxMAX): Likewise.
37178 [C99-based-standards] (PRIdPTR): Likewise.
37179 [C99-based-standards] (PRIiPTR): Likewise.
37180 [C99-based-standards] (PRIoPTR): Likewise.
37181 [C99-based-standards] (PRIuPTR): Likewise.
37182 [C99-based-standards] (PRIxPTR): Likewise.
37183 [C99-based-standards] (PRIXPTR): Likewise.
37184 [C99-based-standards] (SCNdPTR): Likewise.
37185 [C99-based-standards] (SCNiPTR): Likewise.
37186 [C99-based-standards] (SCNoPTR): Likewise.
37187 [C99-based-standards] (SCNuPTR): Likewise.
37188 [C99-based-standards] (SCNxPTR): Likewise.
37189 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
37191 * conform/data/stdint.h-data: Update comments to clarify
37193 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
37195 [C99-based standards] (INT8_MAX): Likewise.
37196 [C99-based standards] (INT16_MIN): Likewise.
37197 [C99-based standards] (INT16_MAX): Likewise.
37198 [C99-based standards] (INT32_MIN): Likewise.
37199 [C99-based standards] (INT32_MAX): Likewise.
37200 [C99-based standards] (INT64_MIN): Likewise.
37201 [C99-based standards] (INT64_MAX): Likewise.
37202 [C99-based standards] (UINT8_MAX): Likewise.
37203 [C99-based standards] (UINT16_MAX): Likewise.
37204 [C99-based standards] (UINT32_MAX): Likewise.
37205 [C99-based standards] (UINT64_MAX): Likewise.
37206 [C99-based standards] (INT_LEAST8_MIN): Likewise.
37207 [C99-based standards] (INT_LEAST8_MAX): Likewise.
37208 [C99-based standards] (INT_LEAST16_MIN): Likewise.
37209 [C99-based standards] (INT_LEAST16_MAX): Likewise.
37210 [C99-based standards] (INT_LEAST32_MIN): Likewise.
37211 [C99-based standards] (INT_LEAST32_MAX): Likewise.
37212 [C99-based standards] (INT_LEAST64_MIN): Likewise.
37213 [C99-based standards] (INT_LEAST64_MAX): Likewise.
37214 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
37215 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
37216 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
37217 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
37218 [C99-based standards] (INT_FAST8_MIN): Likewise.
37219 [C99-based standards] (INT_FAST8_MAX): Likewise.
37220 [C99-based standards] (INT_FAST16_MIN): Likewise.
37221 [C99-based standards] (INT_FAST16_MAX): Likewise.
37222 [C99-based standards] (INT_FAST32_MIN): Likewise.
37223 [C99-based standards] (INT_FAST32_MAX): Likewise.
37224 [C99-based standards] (INT_FAST64_MIN): Likewise.
37225 [C99-based standards] (INT_FAST64_MAX): Likewise.
37226 [C99-based standards] (UINT_FAST8_MAX): Likewise.
37227 [C99-based standards] (UINT_FAST16_MAX): Likewise.
37228 [C99-based standards] (UINT_FAST32_MAX): Likewise.
37229 [C99-based standards] (UINT_FAST64_MAX): Likewise.
37230 [C99-based standards] (INTPTR_MIN): Likewise.
37231 [C99-based standards] (INTPTR_MAX): Likewise.
37232 [C99-based standards] (UINTPTR_MAX): Likewise.
37233 [C99-based standards] (INTMAX_MIN): Likewise.
37234 [C99-based standards] (INTMAX_MAX): Likewise.
37235 [C99-based standards] (UINTMAX_MAX): Likewise.
37236 [C99-based standards] (PTRDIFF_MIN): Likewise.
37237 [C99-based standards] (PTRDIFF_MAX): Likewise.
37238 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
37239 [C99-based standards] (SIZE_MAX): Likewise.
37240 [C99-based standards] (WCHAR_MAX): Likewise.
37241 [C99-based standards] (WINT_MAX): Likewise.
37242 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
37243 constraint on value.
37244 [C99-based standards] (WCHAR_MIN): Likewise.
37245 [C99-based standards] (WINT_MIN): Likewise.
37246 [C99-based standards] (*_t): Allow.
37247 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
37248 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
37249 Include math.h-data and complex.h-data. Remove all expectations
37250 of math.h and complex.h contents.
37251 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
37253 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
37254 (struct tm): Expect tag.
37255 [C99-based-standards] (wcstof): Expect function.
37256 [C99-based-standards] (wcstold): Likewise.
37257 [C99-based-standards] (wcstoll): Likewise.
37258 [C99-based-standards] (wcstoull): Likewise.
37259 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
37260 macro-int-constant. Specify type.
37261 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
37262 constraint on value.
37263 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
37265 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
37267 [ISO C standards]: Do not allow headers.
37268 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
37269 wcs[abcdefghijklmnopqrstuvwxyz]*.
37270 [ISO C standards] (*_t): Do not allow.
37271 * conform/data/wctype.h-data [C99-based standards] (iswblank):
37273 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
37274 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
37276 [ISO C standards]: Do not allow headers.
37277 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
37278 is[abcdefghijklmnopqrstuvwxyz]*.
37279 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
37280 to[abcdefghijklmnopqrstuvwxyz]*.
37281 [ISO C standards] (*_t): Do not allow.
37282 * conform/data/stdalign.h-data: New file.
37283 * conform/data/stdbool.h-data: Likewise.
37284 * conform/data/stdnoreturn.h-data: Likewise.
37286 2012-11-07 Roland McGrath <roland@hack.frob.com>
37289 * manual/filesys.texi (Directory Entries): Typo fix.
37290 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
37292 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37294 * elf/elf.h (EM_AARCH64): New macro.
37295 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
37296 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
37297 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
37298 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
37299 (R_AARCH64_TLSDESC): Likewise.
37300 (NT_ARM_TLS): Likewise.
37301 (NT_ARM_HW_BREAK): Likewise.
37302 (NT_ARM_HW_WATCH): Likewise.
37304 2012-11-07 Joseph Myers <joseph@codesourcery.com>
37307 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
37308 (__ieee754_powl): Saturate nonzero exponents with absolute value
37309 below 0x1p-79 to +/- 0x1p-79.
37310 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
37311 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
37312 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
37313 nonzero exponents with absolute value below 0x1p-32 to +/-
37315 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
37316 (__ieee754_powl): Saturate nonzero exponents with absolute value
37317 below 0x1p-79 to +/- 0x1p-79.
37318 * math/libm-test.inc (pow_test): Add more tests.
37320 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37322 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
37323 _dl_s390_cap_flags with kernel. Increase string length.
37324 (_dl_s390_platforms): Add z196 and zEC12.
37326 2012-11-07 Joseph Myers <joseph@codesourcery.com>
37328 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
37329 Change XOPEN21K to XOPEN2K.
37331 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
37333 * string/memmove.c: Use memcpy when possible.
37335 2012-11-06 Andreas Jaeger <aj@suse.de>
37337 * po/eo.po: Update from translation team.
37339 2012-11-06 Joseph Myers <joseph@codesourcery.com>
37342 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
37343 exponent and small x and y exponents, scale x or y up. Increase
37344 by 2 the exponent used in scaling up.
37345 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37346 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37347 * math/libm-test.inc (fma_test): Add more tests.
37348 (fma_test_towardzero): Likewise.
37349 (fma_test_downward): Likewise.
37350 (fma_test_upward): Likewise.
37352 2012-11-05 Joseph Myers <joseph@codesourcery.com>
37355 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
37359 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
37360 namespace for names of struct fields.
37361 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
37363 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
37364 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
37366 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
37369 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
37371 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
37373 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
37377 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
37380 2012-11-04 Joseph Myers <joseph@codesourcery.com>
37383 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
37384 definitely overflow as x * y not x * y + z.
37385 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37386 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37387 * math/libm-test.inc (fma_test): Add more tests.
37388 (fma_test_towardzero): Likewise.
37389 (fma_test_downward): Likewise.
37390 (fma_test_upward): Likewise.
37392 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
37396 * include/stub-tag.h: Remove file.
37397 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
37399 * manual/maint.texi (Porting): Don't reference it.
37400 * Makerules ($(objpfx)stubs): Likewise.
37401 * dirent/closedir.c: Don't include <stub-tag.h>.
37402 * dirent/dirfd.c: Likewise.
37403 * dirent/fdopendir.c: Likewise.
37404 * dirent/getdents.c: Likewise.
37405 * dirent/getdents64.c: Likewise.
37406 * dirent/opendir.c: Likewise.
37407 * dirent/readdir.c: Likewise.
37408 * dirent/readdir64.c: Likewise.
37409 * dirent/readdir64_r.c: Likewise.
37410 * dirent/readdir_r.c: Likewise.
37411 * dirent/rewinddir.c: Likewise.
37412 * dirent/seekdir.c: Likewise.
37413 * dirent/telldir.c: Likewise.
37414 * gmon/profil.c: Likewise.
37415 * grp/setgroups.c: Likewise.
37416 * inet/if_index.c: Likewise.
37417 * io/access.c: Likewise.
37418 * io/chdir.c: Likewise.
37419 * io/chmod.c: Likewise.
37420 * io/chown.c: Likewise.
37421 * io/close.c: Likewise.
37422 * io/dup.c: Likewise.
37423 * io/dup2.c: Likewise.
37424 * io/dup3.c: Likewise.
37425 * io/euidaccess.c: Likewise.
37426 * io/faccessat.c: Likewise.
37427 * io/fchdir.c: Likewise.
37428 * io/fchmod.c: Likewise.
37429 * io/fchmodat.c: Likewise.
37430 * io/fchown.c: Likewise.
37431 * io/fchownat.c: Likewise.
37432 * io/fcntl.c: Likewise.
37433 * io/flock.c: Likewise.
37434 * io/fstatfs.c: Likewise.
37435 * io/fstatfs64.c: Likewise.
37436 * io/fstatvfs.c: Likewise.
37437 * io/fstatvfs64.c: Likewise.
37438 * io/futimens.c: Likewise.
37439 * io/fxstat.c: Likewise.
37440 * io/fxstat64.c: Likewise.
37441 * io/fxstatat.c: Likewise.
37442 * io/fxstatat64.c: Likewise.
37443 * io/getcwd.c: Likewise.
37444 * io/isatty.c: Likewise.
37445 * io/lchmod.c: Likewise.
37446 * io/lchown.c: Likewise.
37447 * io/link.c: Likewise.
37448 * io/linkat.c: Likewise.
37449 * io/lseek.c: Likewise.
37450 * io/lseek64.c: Likewise.
37451 * io/lxstat64.c: Likewise.
37452 * io/mkdir.c: Likewise.
37453 * io/mkdirat.c: Likewise.
37454 * io/mkfifo.c: Likewise.
37455 * io/mkfifoat.c: Likewise.
37456 * io/open.c: Likewise.
37457 * io/open64.c: Likewise.
37458 * io/openat.c: Likewise.
37459 * io/openat64.c: Likewise.
37460 * io/pipe.c: Likewise.
37461 * io/pipe2.c: Likewise.
37462 * io/poll.c: Likewise.
37463 * io/posix_fadvise.c: Likewise.
37464 * io/posix_fadvise64.c: Likewise.
37465 * io/posix_fallocate.c: Likewise.
37466 * io/posix_fallocate64.c: Likewise.
37467 * io/read.c: Likewise.
37468 * io/readlink.c: Likewise.
37469 * io/readlinkat.c: Likewise.
37470 * io/rmdir.c: Likewise.
37471 * io/sendfile.c: Likewise.
37472 * io/sendfile64.c: Likewise.
37473 * io/statfs.c: Likewise.
37474 * io/statfs64.c: Likewise.
37475 * io/statvfs.c: Likewise.
37476 * io/statvfs64.c: Likewise.
37477 * io/symlink.c: Likewise.
37478 * io/symlinkat.c: Likewise.
37479 * io/ttyname.c: Likewise.
37480 * io/ttyname_r.c: Likewise.
37481 * io/umask.c: Likewise.
37482 * io/unlink.c: Likewise.
37483 * io/unlinkat.c: Likewise.
37484 * io/utime.c: Likewise.
37485 * io/utimensat.c: Likewise.
37486 * io/write.c: Likewise.
37487 * io/xmknod.c: Likewise.
37488 * io/xmknodat.c: Likewise.
37489 * io/xstat.c: Likewise.
37490 * io/xstat64.c: Likewise.
37491 * login/getpt.c: Likewise.
37492 * login/grantpt.c: Likewise.
37493 * login/unlockpt.c: Likewise.
37494 * math/e_acoshl.c: Likewise.
37495 * math/e_acosl.c: Likewise.
37496 * math/e_asinl.c: Likewise.
37497 * math/e_atan2l.c: Likewise.
37498 * math/e_atanhl.c: Likewise.
37499 * math/e_coshl.c: Likewise.
37500 * math/e_expl.c: Likewise.
37501 * math/e_fmodl.c: Likewise.
37502 * math/e_gammal_r.c: Likewise.
37503 * math/e_hypotl.c: Likewise.
37504 * math/e_j0l.c: Likewise.
37505 * math/e_j1l.c: Likewise.
37506 * math/e_jnl.c: Likewise.
37507 * math/e_lgammal_r.c: Likewise.
37508 * math/e_log10l.c: Likewise.
37509 * math/e_log2l.c: Likewise.
37510 * math/e_logl.c: Likewise.
37511 * math/e_powl.c: Likewise.
37512 * math/e_rem_pio2l.c: Likewise.
37513 * math/e_sinhl.c: Likewise.
37514 * math/e_sqrtl.c: Likewise.
37515 * math/fclrexcpt.c: Likewise.
37516 * math/fedisblxcpt.c: Likewise.
37517 * math/feenablxcpt.c: Likewise.
37518 * math/fegetenv.c: Likewise.
37519 * math/fegetexcept.c: Likewise.
37520 * math/fegetround.c: Likewise.
37521 * math/feholdexcpt.c: Likewise.
37522 * math/fesetenv.c: Likewise.
37523 * math/fesetround.c: Likewise.
37524 * math/feupdateenv.c: Likewise.
37525 * math/fgetexcptflg.c: Likewise.
37526 * math/fraiseexcpt.c: Likewise.
37527 * math/fsetexcptflg.c: Likewise.
37528 * math/ftestexcept.c: Likewise.
37529 * math/k_cosl.c: Likewise.
37530 * math/k_rem_pio2l.c: Likewise.
37531 * math/k_sinl.c: Likewise.
37532 * math/k_tanl.c: Likewise.
37533 * math/s_asinhl.c: Likewise.
37534 * math/s_atanl.c: Likewise.
37535 * math/s_cbrtl.c: Likewise.
37536 * math/s_erfl.c: Likewise.
37537 * math/s_expm1l.c: Likewise.
37538 * math/s_log1pl.c: Likewise.
37539 * math/s_tanhl.c: Likewise.
37540 * misc/acct.c: Likewise.
37541 * misc/brk.c: Likewise.
37542 * misc/chflags.c: Likewise.
37543 * misc/chroot.c: Likewise.
37544 * misc/fchflags.c: Likewise.
37545 * misc/fgetxattr.c: Likewise.
37546 * misc/flistxattr.c: Likewise.
37547 * misc/fremovexattr.c: Likewise.
37548 * misc/fsetxattr.c: Likewise.
37549 * misc/fsync.c: Likewise.
37550 * misc/ftruncate.c: Likewise.
37551 * misc/futimes.c: Likewise.
37552 * misc/futimesat.c: Likewise.
37553 * misc/getdomain.c: Likewise.
37554 * misc/getdtsz.c: Likewise.
37555 * misc/gethostid.c: Likewise.
37556 * misc/gethostname.c: Likewise.
37557 * misc/getloadavg.c: Likewise.
37558 * misc/getpagesize.c: Likewise.
37559 * misc/getsysstats.c: Likewise.
37560 * misc/getxattr.c: Likewise.
37561 * misc/gtty.c: Likewise.
37562 * misc/ioctl.c: Likewise.
37563 * misc/lgetxattr.c: Likewise.
37564 * misc/listxattr.c: Likewise.
37565 * misc/llistxattr.c: Likewise.
37566 * misc/lremovexattr.c: Likewise.
37567 * misc/lsetxattr.c: Likewise.
37568 * misc/lutimes.c: Likewise.
37569 * misc/madvise.c: Likewise.
37570 * misc/mincore.c: Likewise.
37571 * misc/mlock.c: Likewise.
37572 * misc/mlockall.c: Likewise.
37573 * misc/mmap.c: Likewise.
37574 * misc/mprotect.c: Likewise.
37575 * misc/msync.c: Likewise.
37576 * misc/munlock.c: Likewise.
37577 * misc/munlockall.c: Likewise.
37578 * misc/munmap.c: Likewise.
37579 * misc/preadv.c: Likewise.
37580 * misc/preadv64.c: Likewise.
37581 * misc/ptrace.c: Likewise.
37582 * misc/pwritev.c: Likewise.
37583 * misc/pwritev64.c: Likewise.
37584 * misc/readv.c: Likewise.
37585 * misc/reboot.c: Likewise.
37586 * misc/remap_file_pages.c: Likewise.
37587 * misc/removexattr.c: Likewise.
37588 * misc/revoke.c: Likewise.
37589 * misc/select.c: Likewise.
37590 * misc/setdomain.c: Likewise.
37591 * misc/setegid.c: Likewise.
37592 * misc/seteuid.c: Likewise.
37593 * misc/sethostid.c: Likewise.
37594 * misc/sethostname.c: Likewise.
37595 * misc/setregid.c: Likewise.
37596 * misc/setreuid.c: Likewise.
37597 * misc/setxattr.c: Likewise.
37598 * misc/sstk.c: Likewise.
37599 * misc/stty.c: Likewise.
37600 * misc/swapoff.c: Likewise.
37601 * misc/swapon.c: Likewise.
37602 * misc/sync.c: Likewise.
37603 * misc/syncfs.c: Likewise.
37604 * misc/syscall.c: Likewise.
37605 * misc/truncate.c: Likewise.
37606 * misc/ualarm.c: Likewise.
37607 * misc/usleep.c: Likewise.
37608 * misc/ustat.c: Likewise.
37609 * misc/utimes.c: Likewise.
37610 * misc/vhangup.c: Likewise.
37611 * misc/writev.c: Likewise.
37612 * posix/_exit.c: Likewise.
37613 * posix/alarm.c: Likewise.
37614 * posix/execve.c: Likewise.
37615 * posix/fexecve.c: Likewise.
37616 * posix/fork.c: Likewise.
37617 * posix/fpathconf.c: Likewise.
37618 * posix/getaddrinfo.c: Likewise.
37619 * posix/getegid.c: Likewise.
37620 * posix/geteuid.c: Likewise.
37621 * posix/getgid.c: Likewise.
37622 * posix/getgroups.c: Likewise.
37623 * posix/getlogin.c: Likewise.
37624 * posix/getlogin_r.c: Likewise.
37625 * posix/getpgid.c: Likewise.
37626 * posix/getpid.c: Likewise.
37627 * posix/getppid.c: Likewise.
37628 * posix/getresgid.c: Likewise.
37629 * posix/getresuid.c: Likewise.
37630 * posix/getsid.c: Likewise.
37631 * posix/getuid.c: Likewise.
37632 * posix/glob64.c: Likewise.
37633 * posix/nanosleep.c: Likewise.
37634 * posix/pathconf.c: Likewise.
37635 * posix/pause.c: Likewise.
37636 * posix/posix_madvise.c: Likewise.
37637 * posix/pread.c: Likewise.
37638 * posix/pread64.c: Likewise.
37639 * posix/pwrite.c: Likewise.
37640 * posix/pwrite64.c: Likewise.
37641 * posix/sched_getaffinity.c: Likewise.
37642 * posix/sched_getp.c: Likewise.
37643 * posix/sched_gets.c: Likewise.
37644 * posix/sched_primax.c: Likewise.
37645 * posix/sched_primin.c: Likewise.
37646 * posix/sched_rr_gi.c: Likewise.
37647 * posix/sched_setaffinity.c: Likewise.
37648 * posix/sched_setp.c: Likewise.
37649 * posix/sched_sets.c: Likewise.
37650 * posix/sched_yield.c: Likewise.
37651 * posix/setgid.c: Likewise.
37652 * posix/setlogin.c: Likewise.
37653 * posix/setpgid.c: Likewise.
37654 * posix/setresgid.c: Likewise.
37655 * posix/setresuid.c: Likewise.
37656 * posix/setsid.c: Likewise.
37657 * posix/setuid.c: Likewise.
37658 * posix/sleep.c: Likewise.
37659 * posix/spawni.c: Likewise.
37660 * posix/sysconf.c: Likewise.
37661 * posix/times.c: Likewise.
37662 * posix/wait.c: Likewise.
37663 * posix/wait3.c: Likewise.
37664 * posix/wait4.c: Likewise.
37665 * posix/waitpid.c: Likewise.
37666 * resolv/gai_sigqueue.c: Likewise.
37667 * resource/getpriority.c: Likewise.
37668 * resource/getrlimit.c: Likewise.
37669 * resource/getrusage.c: Likewise.
37670 * resource/nice.c: Likewise.
37671 * resource/setpriority.c: Likewise.
37672 * resource/setrlimit.c: Likewise.
37673 * resource/ulimit.c: Likewise.
37674 * rt/aio_cancel.c: Likewise.
37675 * rt/aio_fsync.c: Likewise.
37676 * rt/aio_read.c: Likewise.
37677 * rt/aio_sigqueue.c: Likewise.
37678 * rt/aio_suspend.c: Likewise.
37679 * rt/aio_write.c: Likewise.
37680 * rt/clock_getres.c: Likewise.
37681 * rt/clock_gettime.c: Likewise.
37682 * rt/clock_nanosleep.c: Likewise.
37683 * rt/clock_settime.c: Likewise.
37684 * rt/lio_listio.c: Likewise.
37685 * rt/mq_close.c: Likewise.
37686 * rt/mq_getattr.c: Likewise.
37687 * rt/mq_notify.c: Likewise.
37688 * rt/mq_open.c: Likewise.
37689 * rt/mq_receive.c: Likewise.
37690 * rt/mq_send.c: Likewise.
37691 * rt/mq_setattr.c: Likewise.
37692 * rt/mq_timedreceive.c: Likewise.
37693 * rt/mq_timedsend.c: Likewise.
37694 * rt/mq_unlink.c: Likewise.
37695 * rt/shm_open.c: Likewise.
37696 * rt/shm_unlink.c: Likewise.
37697 * rt/timer_create.c: Likewise.
37698 * rt/timer_delete.c: Likewise.
37699 * rt/timer_getoverr.c: Likewise.
37700 * rt/timer_gettime.c: Likewise.
37701 * rt/timer_settime.c: Likewise.
37702 * setjmp/__longjmp.c: Likewise.
37703 * setjmp/setjmp.c: Likewise.
37704 * signal/kill.c: Likewise.
37705 * signal/killpg.c: Likewise.
37706 * signal/raise.c: Likewise.
37707 * signal/sigaction.c: Likewise.
37708 * signal/sigaltstack.c: Likewise.
37709 * signal/sigblock.c: Likewise.
37710 * signal/sigignore.c: Likewise.
37711 * signal/sigintr.c: Likewise.
37712 * signal/signal.c: Likewise.
37713 * signal/sigpause.c: Likewise.
37714 * signal/sigpending.c: Likewise.
37715 * signal/sigqueue.c: Likewise.
37716 * signal/sigreturn.c: Likewise.
37717 * signal/sigset.c: Likewise.
37718 * signal/sigsetmask.c: Likewise.
37719 * signal/sigstack.c: Likewise.
37720 * signal/sigsuspend.c: Likewise.
37721 * signal/sigtimedwait.c: Likewise.
37722 * signal/sigvec.c: Likewise.
37723 * signal/sigwait.c: Likewise.
37724 * signal/sigwaitinfo.c: Likewise.
37725 * signal/sysv_signal.c: Likewise.
37726 * socket/accept.c: Likewise.
37727 * socket/accept4.c: Likewise.
37728 * socket/bind.c: Likewise.
37729 * socket/connect.c: Likewise.
37730 * socket/getpeername.c: Likewise.
37731 * socket/getsockname.c: Likewise.
37732 * socket/getsockopt.c: Likewise.
37733 * socket/isfdtype.c: Likewise.
37734 * socket/listen.c: Likewise.
37735 * socket/recv.c: Likewise.
37736 * socket/recvfrom.c: Likewise.
37737 * socket/recvmsg.c: Likewise.
37738 * socket/send.c: Likewise.
37739 * socket/sendmsg.c: Likewise.
37740 * socket/sendto.c: Likewise.
37741 * socket/setsockopt.c: Likewise.
37742 * socket/shutdown.c: Likewise.
37743 * socket/sockatmark.c: Likewise.
37744 * socket/socket.c: Likewise.
37745 * socket/socketpair.c: Likewise.
37746 * stdio-common/ctermid.c: Likewise.
37747 * stdio-common/cuserid.c: Likewise.
37748 * stdio-common/remove.c: Likewise.
37749 * stdio-common/rename.c: Likewise.
37750 * stdio-common/renameat.c: Likewise.
37751 * stdio-common/tempname.c: Likewise.
37752 * stdlib/getcontext.c: Likewise.
37753 * stdlib/makecontext.c: Likewise.
37754 * stdlib/setcontext.c: Likewise.
37755 * stdlib/swapcontext.c: Likewise.
37756 * stdlib/system.c: Likewise.
37757 * streams/fattach.c: Likewise.
37758 * streams/fdetach.c: Likewise.
37759 * streams/getmsg.c: Likewise.
37760 * streams/getpmsg.c: Likewise.
37761 * streams/putmsg.c: Likewise.
37762 * streams/putpmsg.c: Likewise.
37763 * sysdeps/unix/bsd/getpt.c: Likewise.
37764 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
37765 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
37766 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37769 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
37770 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37771 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37772 * sysvipc/msgctl.c: Likewise.
37773 * sysvipc/msgget.c: Likewise.
37774 * sysvipc/msgrcv.c: Likewise.
37775 * sysvipc/msgsnd.c: Likewise.
37776 * sysvipc/semctl.c: Likewise.
37777 * sysvipc/semget.c: Likewise.
37778 * sysvipc/semop.c: Likewise.
37779 * sysvipc/semtimedop.c: Likewise.
37780 * sysvipc/shmat.c: Likewise.
37781 * sysvipc/shmctl.c: Likewise.
37782 * sysvipc/shmdt.c: Likewise.
37783 * sysvipc/shmget.c: Likewise.
37784 * termios/tcdrain.c: Likewise.
37785 * termios/tcflow.c: Likewise.
37786 * termios/tcflush.c: Likewise.
37787 * termios/tcgetattr.c: Likewise.
37788 * termios/tcgetpgrp.c: Likewise.
37789 * termios/tcsendbrk.c: Likewise.
37790 * termios/tcsetattr.c: Likewise.
37791 * termios/tcsetpgrp.c: Likewise.
37792 * time/adjtime.c: Likewise.
37793 * time/clock.c: Likewise.
37794 * time/getitimer.c: Likewise.
37795 * time/gettimeofday.c: Likewise.
37796 * time/setitimer.c: Likewise.
37797 * time/settimeofday.c: Likewise.
37798 * time/stime.c: Likewise.
37799 * time/time.c: Likewise.
37801 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
37803 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
37806 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
37808 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
37810 2012-11-03 Joseph Myers <joseph@codesourcery.com>
37813 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
37814 FE_TONEAREST before applying Dekker multiplication and Knuth
37815 addition. Clear inexact exceptions and check for exact zero
37816 results afterwards.
37817 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37818 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37819 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37820 * math/libm-test.inc (fma_test): Add more tests.
37821 (fma_test_towardzero): Likewise.
37822 (fma_test_downward): Likewise.
37823 (fma_test_upward): Likewise.
37824 * sysdeps/generic/math_private.h (default_libc_fesetround): New
37826 (libc_fesetround): New macro.
37827 (libc_fesetroundf): Likewise.
37828 (libc_fesetroundl): Likewise.
37829 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
37831 (libc_fesetround_387): Likewise.
37832 (libc_fesetroundf): New macro.
37833 (libc_fesetround): Likewise.
37834 (libc_fesetroundl): Likewise.
37835 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
37837 (libc_fesetroundf): New macro.
37838 (libc_fesetround): Likewise.
37839 (libc_fesetroundl): Likewise.
37840 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
37841 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
37842 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
37844 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
37845 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
37847 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
37848 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
37850 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
37854 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
37855 integer constant usable in #if and use that to give value to enum
37857 (FE_DIVBYZERO): Likewise.
37858 (FE_UNDERFLOW): Likewise.
37859 (FE_OVERFLOW): Likewise.
37860 (FE_INVALID): Likewise.
37861 (FE_INVALID_SNAN): Likewise.
37862 (FE_INVALID_ISI): Likewise.
37863 (FE_INVALID_IDI): Likewise.
37864 (FE_INVALID_ZDZ): Likewise.
37865 (FE_INVALID_IMZ): Likewise.
37866 (FE_INVALID_COMPARE): Likewise.
37867 (FE_INVALID_SOFTWARE): Likewise.
37868 (FE_INVALID_SQRT): Likewise.
37869 (FE_INVALID_INTEGER_CONVERSION): Likewise.
37870 (FE_TONEAREST): Likewise.
37871 (FE_TOWARDZERO): Likewise.
37872 (FE_UPWARD): Likewise.
37873 (FE_DOWNWARD): Likewise.
37874 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
37875 (FE_DIVBYZERO): Likewise.
37876 (FE_OVERFLOW): Likewise.
37877 (FE_UNDERFLOW): Likewise.
37878 (FE_INEXACT): Likewise.
37879 (FE_TONEAREST): Likewise.
37880 (FE_DOWNWARD): Likewise.
37881 (FE_UPWARD): Likewise.
37882 (FE_TOWARDZERO): Likewise.
37883 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
37884 (FE_UNDERFLOW): Likewise.
37885 (FE_OVERFLOW): Likewise.
37886 (FE_DIVBYZERO): Likewise.
37887 (FE_INVALID): Likewise.
37888 (FE_TONEAREST): Likewise.
37889 (FE_TOWARDZERO): Likewise.
37890 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
37891 (FE_OVERFLOW): Likewise.
37892 (FE_UNDERFLOW): Likewise.
37893 (FE_DIVBYZERO): Likewise.
37894 (FE_INEXACT): Likewise.
37895 (FE_TONEAREST): Likewise.
37896 (FE_TOWARDZERO): Likewise.
37897 (FE_UPWARD): Likewise.
37898 (FE_DOWNWARD): Likewise.
37899 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
37900 (FE_DIVBYZERO): Likewise.
37901 (FE_OVERFLOW): Likewise.
37902 (FE_UNDERFLOW): Likewise.
37903 (FE_INEXACT): Likewise.
37904 (FE_TONEAREST): Likewise.
37905 (FE_DOWNWARD): Likewise.
37906 (FE_UPWARD): Likewise.
37907 (FE_TOWARDZERO): Likewise.
37909 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
37911 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
37913 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
37915 * scripts/cross-test-ssh.sh (command): Use newlines to separate
37916 commands. Quote $PWD.
37917 (blacklist_exports): Don't use remove_newlines. Replace "declare
37919 (remove_newlines): Remove.
37921 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
37923 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
37924 * stdlib/stdlib.h (atof): Moved to ...
37925 * include/bits/stdlib-float.h: Here. New file.
37926 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
37927 * stdlib/bits/stdlib-float.h: New file.
37928 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
37930 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
37933 2012-11-02 Joseph Myers <joseph@codesourcery.com>
37935 * conform/conformtest.pl (@headers): Add fenv.h.
37936 * conform/data/fenv.h-data: New file.
37937 * include/fenv.h [_ISOMAC]: Disable all contents of file except
37938 include of <math/fenv.h>.
37940 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
37941 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
37942 && !UNIX98]. Enables tests for XOPEN2K8.
37943 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
37944 POSIX2008]: Likewise.
37946 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
37947 (struct rusage): Do not expect type or its members.
37950 * math/math.h (FP_NAN): Define macro to integer constant usable in
37951 #if and use that to give value to enum constant.
37952 (FP_INFINITE): Likewise.
37953 (FP_ZERO): Likewise.
37954 (FP_SUBNORMAL): Likewise.
37955 (FP_NORMAL): Likewise.
37957 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
37959 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
37960 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
37963 2012-11-02 Roland McGrath <roland@hack.frob.com>
37965 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
37966 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
37967 autoconf-time if not.
37968 * configure.in: Remove AC_PREREQ.
37970 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37972 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
37973 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
37974 of the internal implementation.
37976 2012-11-02 Joseph Myers <joseph@codesourcery.com>
37978 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37979 except include of <misc/sys/syslog.h>.
37981 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37984 function returns with a NULL context exit with zero.
37986 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37988 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37990 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
37992 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37993 (run_program_cmd): This.
37994 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37995 (tst_langinfo): New variable. Use it.
37997 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
37999 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
38000 floating point opcodes.
38002 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
38004 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
38007 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
38009 * sysdeps/mach/hurd/powerpc: Remove directory.
38010 * sysdeps/mach/powerpc: Likewise.
38012 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
38014 * scripts/check-local-headers.sh: Ignore c++ headers.
38016 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
38018 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
38019 __libc_cleanup_region_start argument.
38021 2012-11-01 Joseph Myers <joseph@codesourcery.com>
38025 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
38026 x * y using scaling, not as x * y + z.
38027 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38028 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38029 * math/libm-test.inc (fma_test): Add more tests.
38030 (fma_test_towardzero): Likewise.
38031 (fma_test_downward): Likewise.
38032 (fma_test_upward): Likewise.
38034 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
38036 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
38038 2012-10-31 Joseph Myers <joseph@codesourcery.com>
38040 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
38043 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
38045 * rt/tst-shm.c (worker): Correct checking for mmap failure.
38047 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
38049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38054 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38057 Fix the order of the list for glibc 2.17.
38058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38061 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
38063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38065 2012-10-31 Joseph Myers <joseph@codesourcery.com>
38068 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
38069 for low part of x being zero before using __atanl (y).
38070 * math/libm-test.inc (atan2_test): Add another test.
38072 * manual/install.texi (Configuring and compiling): Document
38073 general use of test-wrapper and test-wrapper-env.
38074 * INSTALL: Regenerated.
38076 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
38077 (__fma): Do not extract and scale down low bits on after-rounding
38078 systems when result rounded to normal precision would have normal
38080 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
38081 (__fmal): Do not extract and scale down low bits on after-rounding
38082 systems when result rounded to normal precision would have normal
38084 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
38085 (__fmal): Do not extract and scale down low bits on after-rounding
38086 systems when result rounded to normal precision would have normal
38088 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
38090 (fma_test): Add more tests.
38091 (fma_test_towardzero): Likewise.
38092 (fma_test_downward): Likewise.
38093 (fma_test_upward): Likewise.
38095 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
38097 * sysdeps/i386/tininess.h: Renamed to ...
38098 * sysdeps/x86/tininess.h: This.
38099 * sysdeps/x86_64/tininess.h: Removed.
38101 2012-10-30 Joseph Myers <joseph@codesourcery.com>
38103 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
38104 input. Use $(build-program-cmd).
38105 ($(objpfx)tst-array1-static.out): Likewise.
38106 ($(objpfx)tst-array2.out): Likewise.
38107 ($(objpfx)tst-array3.out): Likewise.
38108 ($(objpfx)tst-array4.out): Likewise.
38109 ($(objpfx)tst-array5.out): Likewise.
38110 ($(objpfx)tst-array5-static.out): Likewise.
38112 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
38114 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
38117 * nss/nsswitch.h (nss_interface_function): Provide new
38118 macro for use with NSS functions.
38119 * grp/initgroups.c: Use new macro.
38120 * nss/getXXbyYY.c: Likewise.
38121 * nss/getXXbyYY_r.c: Likewise.
38122 * nss/getXXent.c: Likewise.
38123 * nss/getXXent_r.c: Likewise.
38124 * sysdeps/posix/getaddrinfo.c: Likewise.
38126 2012-10-30 Andreas Jaeger <aj@suse.de>
38128 * po/ru.po: Update Russion translation from translation project.
38130 2012-10-30 Joseph Myers <joseph@codesourcery.com>
38134 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
38135 result and shift together with sticky bit instead of replicating
38136 round-to-nearest rounding.
38137 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38138 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38139 * math/libm-test.inc (fma_test): Add more tests. Do not permit
38140 missing underflow exceptions.
38141 (fma_test_towardzero): Add more tests.
38142 (fma_test_downward): Likewise.
38143 (fma_test_upward): Likewise.
38146 * sysdeps/generic/tininess.h: New file.
38147 * sysdeps/i386/tininess.h: Likewise.
38148 * sysdeps/sh/tininess.h: Likewise.
38149 * sysdeps/x86_64/tininess.h: Likewise.
38150 * stdlib/tst-strtod-underflow.c: Likewise.
38151 * stdlib/tst-tininess.c: Likewise.
38152 * stdlib/strtod_l.c: Include <tininess.h>.
38153 (round_and_return): Do not set errno for exact underflow cases.
38154 Force an underflow exception when setting errno for underflow.
38155 Determine underflow based on rounding to normal precision if
38156 TININESS_AFTER_ROUNDING.
38157 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
38158 ERANGE for exact underflow cases.
38159 * stdlib/Makefile (tests): Add tst-tininess and
38160 tst-strtod-underflow.
38161 ($(objpfx)tst-tininess): Use $(link-libm).
38162 ($(objpfx)tst-strtod-underflow): Likewise.
38164 2012-10-30 Andreas Jaeger <aj@suse.de>
38167 * elf/Makefile (tests): Remove conditional for have-initfini-array
38168 since this is now always required and the variable does not exist
38170 (tests-static): Likewise.
38171 (modules-names): Likewise.
38173 * po/eo.po: Add Esperanto translation from translation project.
38175 * elf/tst-array1.c (fini_array): Make writeable so that it can be
38176 merged with constructor/destructor.
38177 (init_array): Likewise.
38178 * elf/tst-array2dep.c (fini_array): Likewise.
38179 (init_array): Likewise.
38181 2012-10-29 Mike Frysinger <vapier@gentoo.org>
38183 * manual/message.texi: Delete @cartouche tags.
38185 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
38187 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
38189 * sysdeps/mach/hurd/fsync.c: Likewise.
38191 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
38192 [_POSIX_REALTIME_SIGNALS]: Change condition to
38193 [_POSIX_REALTIME_SIGNALS > 0].
38195 2012-10-27 Andreas Jaeger <aj@suse.de>
38197 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
38198 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
38199 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
38200 [__WORDSIZE != 64]: Likewise.
38202 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
38204 * iconvdata/tst-table.sh: Remove ${SHELL}.
38205 * iconvdata/tst-tables.sh: Likewise.
38207 2012-10-25 David S. Miller <davem@davemloft.net>
38209 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38210 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
38213 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
38215 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38216 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
38217 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
38220 2012-10-25 Roland McGrath <roland@hack.frob.com>
38222 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38223 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
38226 2012-10-25 Joseph Myers <joseph@codesourcery.com>
38227 Jim Blandy <jimb@codesourcery.com>
38229 * scripts/cross-test-ssh.sh: New file.
38230 * manual/install.texi (Configuring and compiling): Document use of
38232 * INSTALL: Regenerated.
38234 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
38236 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
38239 2012-10-25 Joseph Myers <joseph@codesourcery.com>
38241 * Makeconfig (run-program-prefix): Fix comment.
38243 2012-10-24 Joseph Myers <joseph@codesourcery.com>
38244 Jim Blandy <jimb@codesourcery.com>
38246 * Makeconfig (test-wrapper): New variable,
38247 (test-wrapper-env): Likewise.
38248 [$(cross-compiling) = yes && $(test-wrapper) != ""]
38249 (run-built-tests): Define to yes.
38250 (run-program-prefix): Use $(test-wrapper).
38251 (built-program-cmd): Likewise.
38252 * Rules (make-test-out): Use $(test-wrapper-env) and
38253 $(host-built-program-cmd).
38254 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
38255 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
38257 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
38258 $(test-wrapper-env) to tst-rtld-load-self.sh.
38259 ($(objpfx)order2.out): Use $(test-wrapper).
38260 ($(objpfx)tst-initorder.out): Likewise.
38261 ($(objpfx)tst-initorder2.out): Likewise.
38262 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
38263 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
38264 (test_wrapper_env): New variable. Use it to run ld.so.
38265 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
38266 Use it to run ld.so.
38267 (test_wrapper_env): Likewise.
38268 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
38269 $(test-wrapper) to run-iconv-test.sh.
38270 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
38271 (ICONV): Use $test_wrapper.
38272 * posix/Makefile ($(objpfx)globtest.out): Pass
38273 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
38274 globtest.sh, not $(run-program-prefix).
38275 * posix/globtest.sh (run_via_rtld_prefix): New variable.
38276 (test_wrapper): Likewise.
38277 (test_wrapper_env): Likewise. Use it to run globtest with HOME
38278 set together with run_via_rtld_prefix.
38279 (run_program_prefix): Define in terms of test_wrapper and
38280 run_via_rtld_prefix.
38282 2012-10-24 Roland McGrath <roland@hack.frob.com>
38284 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
38285 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
38289 * include/time.h: Remove librt_hidden_proto (clock_gettime).
38290 Declare __clock_getres, __clock_gettime, __clock_settime,
38291 __clock_nanosleep, and __clock_getcpuclockid.
38292 * rt/clock_gettime.c: Define __clock_gettime as an alias.
38293 Remove librt_hidden_def (clock_gettime).
38294 * sysdeps/unix/clock_gettime.c: Likewise.
38295 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
38296 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
38297 * rt/clock_getres.c: Define __clock_getres as an alias.
38298 * sysdeps/posix/clock_getres.c: Likewise.
38299 * rt/clock_settime.c: Define __clock_settime as an alias.
38300 * sysdeps/unix/clock_settime.c: Likewise.
38301 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
38302 * sysdeps/unix/clock_nanosleep.c: Likewise.
38303 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
38304 * rt/clock-compat.c: New file.
38305 * rt/Makefile (librt-routines): Add clock-compat and move
38306 $(clock-routines) to ...
38307 (routines): ... here, new variable.
38308 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
38309 Don't add get_clockfreq here.
38310 * rt/Versions (libc: GLIBC_2.17): New version set.
38311 Add clock_* symbols here.
38312 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
38313 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
38314 (GLIBC_2.17): Add clock_* symbols.
38315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38316 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38317 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38326 * NEWS: Mention the move.
38328 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38329 Use __open, __read, __close rather than their public counterparts.
38330 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38331 (__get_clockfreq_via_cpuinfo): Likewise.
38332 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
38333 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
38335 * config.h.in (HAVE_IFUNC): New #undef.
38336 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
38338 * configure: Regenerated.
38340 2012-10-24 Mike Frysinger <vapier@gentoo.org>
38342 * configure.in: Move READELF check to start of file.
38343 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
38344 libc_cv_asm_gnu_indirect_function in the process.
38345 * configure: Regenerated.
38347 2012-10-24 Mike Frysinger <vapier@gentoo.org>
38349 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
38350 send the output to /dev/null.
38351 (libc_cv_cc_with_libunwind): Likewise.
38352 (libc_cv_as_noexecstack): Likewise.
38353 * configure: Regenerate.
38355 2012-10-24 Joseph Myers <joseph@codesourcery.com>
38357 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
38359 * posix/globtest.sh (TMPDIR): Do not set.
38360 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
38361 (testout): Likewise.
38363 2012-10-24 Andreas Jaeger <aj@suse.de>
38365 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
38366 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
38367 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
38368 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
38369 posix_fadvise64, posix_fallocate64.
38371 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
38372 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
38373 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
38375 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
38377 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
38379 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
38380 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
38381 <bits/fcntl-linux.h>.
38382 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
38384 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
38385 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
38386 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
38387 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
38388 [__WORDSIZE != 64]: Likewise.
38390 2012-10-23 Joseph Myers <joseph@codesourcery.com>
38392 * Makeconfig (run-built-tests): New variable.
38393 * Rules [$(cross-compiling) = yes]: Change condition to
38394 [$(run-built-tests) = no].
38395 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
38396 to [$(run-built-tests) = yes].
38397 * elf/Makefile [$(cross-compiling) = no]: Likewise
38398 * grp/Makefile [$(cross-compiling) = no]: Likewise.
38399 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
38400 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
38401 * intl/Makefile [$(cross-compiling) = no]: Likewise.
38402 * io/Makefile [$(cross-compiling) = no]: Likewise.
38403 * libio/Makefile [$(cross-compiling) = no]: Likewise.
38404 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
38405 * misc/Makefile [$(cross-compiling) = no]: Likewise.
38406 * posix/Makefile [$(cross-compiling) = no]: Likewise.
38407 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
38408 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
38409 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
38410 * string/Makefile [$(cross-compiling) = no]: Likewise.
38412 * posix/Makefile ($(objpfx)globtest.out): Pass
38413 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
38414 $(rtld-installed-name).
38415 * posix/globtest.sh (elf_objpfx): Remove variable.
38416 (rtld_installed_name): Likewise.
38417 (library_path): Likewise.
38418 (run_program_prefix): New variable. Use for running globtest
38421 2012-10-23 Jim Blandy <jimb@codesourcery.com>
38422 Joseph Myers <joseph@codesourcery.com>
38424 * Makeconfig (host-built-program-cmd): New variable.
38425 * elf/Makefile (tst-stackguard1-ARGS): Use
38426 $(host-built-program-cmd).
38427 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
38428 (tst-spawn-ARGS): Likewise.
38429 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
38431 2012-10-23 Joseph Myers <joseph@codesourcery.com>
38432 Jim Blandy <jimb@codesourcery.com>
38434 * Makeconfig (run-via-rtld-prefix): New variable.
38435 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
38436 (built-program-cmd): Likewise.
38438 2012-10-22 Andreas Jaeger <aj@suse.de>
38440 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
38441 __O_RSYNC if it exists, otherwise to O_SYNC.
38443 2012-10-22 Jim Blandy <jimb@codesourcery.com>
38444 Joseph Myers <joseph@codesourcery.com>
38446 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
38448 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
38450 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
38453 2012-10-22 Andreas Jaeger <aj@suse.de>
38455 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
38457 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
38459 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38460 bits/fcntl-linux.h.
38462 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
38463 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
38465 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
38467 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
38470 2012-10-21 Jim Blandy <jimb@codesourcery.com>
38471 Joseph Myers <joseph@codesourcery.com>
38473 * config.make.in (NM): New variable.
38475 2012-10-21 Andreas Jaeger <aj@suse.de>
38477 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
38478 definitions and declarations that are provided by
38479 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38481 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
38484 * elf/Makefile (tests-static): Add tst-leaks1-static.
38485 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
38486 ($(objpfx)tst-leaks1-static): New rule.
38487 ($(objpfx)tst-leaks1-static-mem): Likewise.
38488 (tst-leaks1-static-ENV): New macro.
38489 * elf/dl-open.c (dl_open_worker): Check the main application
38490 only if SHARED is defined.
38491 * elf/tst-leaks1-static.c: New file.
38493 2012-10-20 Andreas Jaeger <aj@suse.de>
38495 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
38496 generic values for Linux.
38497 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
38498 and declarations that are provided by <bits/fcntl-linux.h> and
38499 include <bits/fcntl-linux.h>.
38500 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38501 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38503 2012-10-20 Roland McGrath <roland@hack.frob.com>
38505 * io/fcntl.h: Move include of <bits/types.h> to the top and
38506 include it unconditionally.
38508 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
38510 * wcsmbs/Makefile (tests-ifunc): New variable.
38511 (tests): Add $(tests-ifunc).
38512 * wcsmbs/test-wcschr-ifunc.c: New file.
38513 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
38514 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
38515 * wcsmbs/test-wcslen-ifunc.c: Likewise.
38516 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
38517 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
38519 * string/Makefile (tests-ifunc): New variable.
38520 (tests): Add $(tests-ifunc).
38521 * string/test-memccpy.c (TEST_NAME): New macro.
38522 * string/test-memchr.c (TEST_NAME): Likewise.
38523 * string/test-memcmp.c (TEST_NAME): Likewise.
38524 * string/test-memcpy.c (TEST_NAME): Likewise.
38525 * string/test-memmem.c (TEST_NAME): Likewise.
38526 * string/test-memmove.c (TEST_NAME): Likewise.
38527 * string/test-memset.c (TEST_NAME): Likewise.
38528 * string/test-rawmemchr.c (TEST_NAME): Likewise.
38529 * string/test-stpcpy.c (TEST_NAME): Likewise.
38530 * string/test-stpncpy.c (TEST_NAME): Likewise.
38531 * string/test-strcasecmp.c (TEST_NAME): Likewise.
38532 * string/test-strcasestr.c (TEST_NAME): Likewise.
38533 * string/test-strcat.c (TEST_NAME): Likewise.
38534 * string/test-strchr.c (TEST_NAME): Likewise.
38535 * string/test-strcmp.c(TEST_NAME): Likewise.
38536 * string/test-strcpy.c (TEST_NAME): Likewise.
38537 * string/test-strcspn.c (TEST_NAME): Likewise.
38538 * string/test-strlen.c (TEST_NAME): Likewise.
38539 * string/test-strncasecmp.c (TEST_NAME): Likewise.
38540 * string/test-strncmp.c (TEST_NAME): Likewise.
38541 * string/test-strncpy.c (TEST_NAME): Likewise.
38542 * string/test-strnlen.c (TEST_NAME): Likewise.
38543 * string/test-strpbrk.c (TEST_NAME): Likewise.
38544 * string/test-strrchr.c (TEST_NAME): Likewise.
38545 * string/test-strspn.c (TEST_NAME): Likewise.
38546 * string/test-strstr.c (TEST_NAME): Likewise.
38547 * string/test-bcopy-ifunc.c: New file.
38548 * string/test-bzero-ifunc.c: Likewise.
38549 * string/test-memccpy-ifunc.c: Likewise.
38550 * string/test-memchr-ifunc.c: Likewise.
38551 * string/test-memcmp-ifunc.c: Likewise.
38552 * string/test-memcpy-ifunc.c: Likewise.
38553 * string/test-memmem-ifunc.c: Likewise.
38554 * string/test-memmove-ifunc.c: Likewise.
38555 * string/test-mempcpy-ifunc.c: Likewise.
38556 * string/test-memset-ifunc.c: Likewise.
38557 * string/test-rawmemchr-ifunc.c: Likewise.
38558 * string/test-stpcpy-ifunc.c: Likewise.
38559 * string/test-stpncpy-ifunc.c: Likewise.
38560 * string/test-strcasecmp-ifunc.c: Likewise.
38561 * string/test-strcasestr-ifunc.c: Likewise.
38562 * string/test-strcat-ifunc.c: Likewise.
38563 * string/test-strchr-ifunc.c: Likewise.
38564 * string/test-strchrnul-ifunc.c: Likewise.
38565 * string/test-strcmp-ifunc.c: Likewise.
38566 * string/test-strcpy-ifunc.c: Likewise.
38567 * string/test-strcspn-ifunc.c: Likewise.
38568 * string/test-strlen-ifunc.c: Likewise.
38569 * string/test-strncasecmp-ifunc.c: Likewise.
38570 * string/test-strncat-ifunc.c: Likewise.
38571 * string/test-strncmp-ifunc.c: Likewise.
38572 * string/test-strncpy-ifunc.c: Likewise.
38573 * string/test-strnlen-ifunc.c: Likewise.
38574 * string/test-strpbrk-ifunc.c: Likewise.
38575 * string/test-strrchr-ifunc.c: Likewise.
38576 * string/test-strspn-ifunc.c: Likewise.
38577 * string/test-strstr-ifunc.c: Likewise.
38579 * debug/Makefile (tests-ifunc): New variable.
38580 (tests): Add $(tests-ifunc).
38581 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
38582 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
38583 * debug/test-stpcpy_chk-ifunc.c: New file.
38584 * debug/test-strcpy_chk-ifunc.c: Likewise.
38586 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
38589 * elf/dl-load.c (open_verify): Retry read if the entire ELF
38590 header is not read in.
38592 2012-10-19 Joseph Myers <joseph@codesourcery.com>
38594 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
38595 script to $(SHELL) as $<. Pass $(common-objpfx) to script
38596 directly. Pass built executable to script as
38597 $(built-program-cmd).
38598 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
38599 $testprogram without using LD_LIBRARY_PATH and $ldso.
38601 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
38602 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
38603 $(rtld-installed-name).
38604 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
38605 (rtld_installed_name): Likewise.
38606 (library_path): Likewise.
38607 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
38608 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
38609 $(run-program-prefix) to tst-tables.sh.
38610 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
38611 it to run tst-table-from and tst-table-to.
38612 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
38613 Pass it to tst-table.sh.
38614 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
38615 $(run-program-prefix) to tst-gettext.sh.
38616 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
38618 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
38620 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
38621 to run tst-gettext.
38622 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
38623 to run tst-gettext2.
38624 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
38625 to run tst-translit.
38626 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
38627 $(run-program-prefix) to tst-mtrace.sh.
38628 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
38630 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
38631 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
38632 $(rtld-installed-name).
38633 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
38634 (rtld_installed_name): Likewise.
38635 (run_program_prefix): New variable. Use it to run wordexp-test.
38637 * Makeconfig (ARCH): Remove all definitions.
38638 (machine): Likewise.
38639 [ARCH]: Remove conditional code.
38640 [!objdir]: Give error.
38641 [!objdir] (objpfx): Remove.
38642 [!objdir] (common-objpfx): Likewise.
38643 [!objdir] (common-objdir): Likewise.
38644 * configure.in (config_makefile): Remove. Hardcode Makefile in
38645 AC_CONFIG_FILES call.
38646 * configure: Regenerated.
38649 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
38651 (testout): Likewise.
38653 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
38654 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
38655 $(rtld-installed-name).
38656 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
38657 (rtld_installed_name): Likwise.
38658 (runit): Remove function.
38659 (run_getconf): New variable, Use it for running getconf binary.
38661 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
38664 * string/test-memmem.c (check_result): New function.
38665 (do_one_test): Use it.
38666 (check1): New function.
38667 (test_main): Use it.
38669 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
38671 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
38673 2012-10-18 Joseph Myers <joseph@codesourcery.com>
38675 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
38676 (_G_LSEEK64): Likewise.
38677 (_G_MMAP64): Likewise.
38678 (_G_FSTAT64): Likewise.
38679 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
38680 (_G_LSEEK64): Likewise.
38681 (_G_MMAP64): Likewise.
38682 (_G_FSTAT64): Likewise.
38683 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
38684 unconditional. Call __mmap64 directly.
38685 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
38686 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
38687 __lseek64 directly.
38688 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
38689 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
38691 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
38692 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
38693 __lseek64 directly.
38694 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
38695 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
38696 __lseek64 directly.
38697 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
38698 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
38699 __lseek64 directly.
38700 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
38701 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
38702 __fxstat64 directly.
38703 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
38704 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
38706 (freopen64) [!_G_OPEN64]: Remove conditional code.
38707 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
38709 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
38710 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
38712 (ftello64) [!_G_LSEEK64]: Remove conditional code.
38713 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
38715 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38716 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
38718 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
38719 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
38721 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38722 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
38724 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38725 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
38727 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38729 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38732 * manual/memory.texi (Malloc Tunable Parameters): Add note
38733 about free list pointers overwriting some perturb bytes.
38734 Wording suggested by Roland McGrath.
38736 2012-10-17 Joseph Myers <joseph@codesourcery.com>
38738 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
38739 (lgamma_test): Likewise.
38740 (tgamma_test): Likewise.
38742 2012-10-16 Florian Weimer <fweimer@redhat.com>
38745 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
38746 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
38748 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
38750 * NEWS: Mention BZ #14716.
38751 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
38752 when removing AVAILABLE1_USES_J macro.
38754 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
38756 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
38757 (__bswap_64): __uint64_t for unsigned 64-bit int.
38759 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
38761 * include/string.h (memmem): Declare libc hidden alias.
38762 * string/memmem.c (memmem): Define libc hidden alias.
38763 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
38764 __read, __close instead of open, read, close.
38766 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
38768 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
38769 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
38771 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
38772 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
38773 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
38775 (__rawmemchr_sse2): Likewise.
38776 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
38777 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
38778 (__strchr_sse2): Likewise.
38779 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
38780 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
38781 (__strcasecmp_sse2): Likewise.
38782 (__strncasecmp_sse2): Likewise.
38783 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
38784 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
38785 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
38786 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
38787 (__strrchr_sse2): Likewise.
38788 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
38790 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
38791 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
38792 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
38793 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38794 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
38795 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
38796 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38797 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38798 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
38799 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
38800 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
38801 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
38802 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
38803 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
38804 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
38805 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38806 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
38807 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
38808 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
38809 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
38810 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
38811 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
38812 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
38813 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38814 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
38815 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38816 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38817 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38818 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
38819 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
38821 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
38823 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
38824 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
38825 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
38826 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
38828 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
38830 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
38831 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
38832 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
38833 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
38835 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38836 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38837 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38838 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38839 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38840 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38841 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38842 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38843 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38844 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38845 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38846 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38847 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38848 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38849 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38850 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38851 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38852 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
38853 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38854 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38855 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38856 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38857 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38858 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38859 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38860 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38861 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38862 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38863 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38864 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38865 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38866 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38867 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38868 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
38869 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38870 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38871 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38872 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38873 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38874 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38875 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
38877 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
38878 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
38879 * include/ifunc-impl-list.h: New file.
38880 * misc/ifunc-impl-list.c: Likewise.
38881 * misc/Makefile (routines): Add ifunc-impl-list.
38882 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
38883 * string/test-string.h: Include <ifunc-impl-list.h>.
38884 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
38885 TEST_NAME]: New variables.
38886 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
38888 (test_init): Call __libc_ifunc_impl_list to initialize
38889 func_list if TEST_IFUNC and TEST_NAME are defined.
38891 * string/Makefile (strop-tests): Add bcopy and bzero.
38892 * string/test-bcopy.c: New file.
38893 * string/test-bzero.c: Likewise.
38894 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
38896 * string/test-memset.c: Support bzero test if TEST_BZERO is
38898 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
38900 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
38902 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
38905 2012-10-10 Joseph Myers <joseph@codesourcery.com>
38907 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
38908 * configure: Regenerated.
38910 * Makeconfig (+link-static-before-libc): Don't include
38911 $(link-static-libc).
38913 * libio/libio.h (_IO_pos_t): Remove.
38915 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
38917 * NEWS: Add note about FIPS mode. Wording suggested by Roland
38920 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
38922 * crypt/crypt-entry.c: Include fips-private.h.
38923 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
38924 * crypt/md5c-test.c (main): Tolerate disabled MD5.
38925 * sysdeps/unix/sysv/linux/fips-private.h: New file.
38926 * sysdeps/generic/fips-private.h: New file, dummy fallback.
38928 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
38930 * crypt/crypt-private.h: Include stdbool.h.
38931 (_ufc_setup_salt_r): Return bool.
38932 * crypt/crypt-entry.c: Include errno.h.
38933 (__crypt_r): Return NULL with EINVAL for bad salt.
38934 * crypt/crypt_util.c (bad_for_salt): New.
38935 (_ufc_setup_salt_r): Check that salt is long enough and within
38936 the specified alphabet.
38937 * crypt/badsalttest.c: New file.
38938 * crypt/Makefile (tests): Add it.
38939 ($(objpfx)badsalttest): New.
38941 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
38943 * NEWS: Add entry for BZ #14602.
38945 2012-10-09 Joseph Myers <joseph@codesourcery.com>
38947 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
38949 * math/libm-test.inc: Update comment listing what functions and
38951 (isgreater_test): New function.
38952 (isgreaterequal_test): Likewise.
38953 (isless_test): Likewise.
38954 (islessequal_test): Likewise.
38955 (islessgreater_test): Likewise.
38956 (isunordered_test): Likewise.
38957 (main): Call the new functions.
38959 2012-10-09 Roland McGrath <roland@hack.frob.com>
38961 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
38962 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
38963 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
38964 * sysdeps/i386/configure: Regenerated.
38965 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
38966 * sysdeps/mach/configure: Regenerated.
38967 * sysdeps/mach/hurd/configure: Regenerated.
38968 * sysdeps/powerpc/configure: Regenerated.
38969 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38970 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38971 * sysdeps/s390/s390-32/configure: Regenerated.
38972 * sysdeps/s390/s390-64/configure: Regenerated.
38973 * sysdeps/sh/configure: Regenerated.
38974 * sysdeps/sparc/configure: Regenerated.
38975 * sysdeps/unix/sysv/linux/configure: Regenerated.
38976 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38977 * sysdeps/x86_64/configure: Regenerated.
38979 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38980 defined. Don't check if MAP is NULL.
38982 2012-10-09 Joseph Myers <joseph@codesourcery.com>
38984 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38985 (_G_stat64): Likewise.
38986 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38987 (_G_stat64): Likewise.
38988 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38989 instead of struct _G_stat64.
38990 * libio/fileops.c (mmap_remap_check): Likewise.
38991 (decide_maybe_mmap): Likewise.
38992 (_IO_new_file_seekoff): Likewise.
38993 (_IO_file_stat): Likewise.
38994 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38996 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38997 instead of struct _G_stat64.
38998 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
39000 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
39003 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39005 (CHECK_EOL): New macro.
39006 (two_way_short_needle): Check beginning of haystack for EOL. Use
39008 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39009 Replace with CHECK_EOL.
39010 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39011 Replace with CHECK_EOL.
39013 2012-10-08 Joseph Myers <joseph@codesourcery.com>
39015 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
39017 * math/libm-test.inc: Update comment listing what functions and
39019 (finite_test): New function.
39020 (isinf_test): Likewise.
39021 (isnan_test): Likewise.
39022 (fpclassify_test): Test subnormal input.
39023 (isfinite_test): Likewise.
39024 (isnormal_test): Likewise.
39025 (main): Call the new functions.
39027 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
39030 * Makerules (%.dynsym): Force C locale when running
39031 $(OBJDUMP) --dynamic-syms.
39033 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
39035 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
39038 2012-10-06 David S. Miller <davem@davemloft.net>
39040 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
39041 upper 32-bits of the length value in %o2 since we use branch-on-register
39042 tests which consider the entire 64-bit register.
39044 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
39046 * string/test-strstr.c (check2): Add a test for page boundary.
39048 2012-10-05 David S. Miller <davem@davemloft.net>
39050 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
39051 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
39053 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
39055 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
39056 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
39057 and bzero when HWCAP_SPARC_CRYPTO is present.
39059 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
39062 * string/test-strstr.c (check2): New function.
39063 (test_main): Call check2.
39065 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
39067 * string/bug-strcasestr1.c (do_test): Moved to ...
39068 * string/test-strcasestr.c (check1): Here. New function.
39069 (do_one_test): Break out result checking code into ...
39070 (check_result): This. New function.
39071 (do_one_test): Call check_result.
39072 (test_main): Call check1.
39073 * string/bug-strchr1.c (do_test): Moved to ...
39074 * string/test-strchr.c (check1): Here. New function.
39075 (do_one_test): Break out result checking code into ...
39076 (check_result): This. New function.
39077 (do_one_test): Call check_result.
39078 (test_main): Call check1.
39079 * string/bug-strstr1.c (main): Moved to ...
39080 * string/test-strstr.c (check1): Here. New function.
39081 (do_one_test): Break out result checking code into ...
39082 (check_result): This. New function.
39083 (do_one_test): Call check_result.
39084 (test_main): Call check1.
39085 * string/bug-strcasestr1.c: Removed.
39086 * string/bug-strchr1.c: Likewise.
39087 * string/bug-strstr1.c: Likewise.
39089 * elf/Makefile (dl-routines): Add hwcaps.
39090 * elf/dl-support.c (_dl_important_hwcaps): Removed.
39091 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
39092 (_dl_important_hwcaps): Moved to ...
39093 * elf/dl-hwcaps.c: Here. New file.
39094 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
39097 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
39098 if IS_IN_rtld isn't defined.
39100 * elf/dl-support.c (_dl_sysinfo_map): New.
39101 Include "get-dynamic-info.h" and "setup-vdso.h".
39102 (_dl_non_dynamic_init): Call setup_vdso.
39103 * elf/dynamic-link.h: Don't include <assert.h>.
39104 (elf_get_dynamic_info): Moved to ...
39105 * elf/get-dynamic-info.h: Here. New file.
39106 * elf/dynamic-link.h: Include "get-dynamic-info.h".
39107 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
39108 * elf/setup-vdso.h: Here. New file.
39109 * elf/rtld.c: Include "setup-vdso.h".
39110 (dl_main): Call setup_vdso.
39112 2012-10-05 Joseph Myers <joseph@codesourcery.com>
39114 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
39115 creal in comment listing functions tested. List finite, isinf,
39116 isnan, isless, islessequal, isgreater, isgreaterequal,
39117 islessgreater, isunordered, lgamma_r and pow10 as functions and
39118 macros not tested. Mention which functions not tested are aliases
39119 for other functions. Fix typo. Note that signs of NaNs are not
39122 * scripts/config.guess: Update from config.git.
39123 * scripts/config.sub: Likewise.
39125 2012-10-04 Roland McGrath <roland@hack.frob.com>
39127 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
39128 * misc/madvise.c (madvise): Renamed to __madvise.
39129 Make madvise a weak alias.
39130 * include/sys/mman.h: Declare __madvise.
39131 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
39132 * sysdeps/unix/syscalls.list
39133 (madvise): Make __madvise the strong name, and madvise a weak alias.
39134 * sysdeps/unix/sysv/linux/syscalls.list
39135 (madvise, mmap): Remove redundant entries.
39136 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
39137 * malloc/malloc.c (mtrim): Likewise.
39138 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
39140 2012-10-03 Roland McGrath <roland@hack.frob.com>
39142 * sysdeps/mach/hurd/dl-cache.c: File removed.
39143 * config.h.in (USE_LDCONFIG): New #undef.
39144 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
39145 * configure: Regenerated.
39146 * elf/Makefile (dl-routines): Add dl-cache only under
39147 [$(use-ldconfig) = yes].
39148 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
39149 cache on [USE_LDCONFIG].
39150 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
39152 * elf/rtld.c (dl_main): Likewise.
39154 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
39156 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
39157 _SC_LEVEL4_CACHE_LINESIZE.
39159 2012-10-03 Roland McGrath <roland@hack.frob.com>
39161 * sysdeps/unix/bsd/confstr.h: File removed.
39163 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
39165 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
39168 2012-10-02 Roland McGrath <roland@hack.frob.com>
39170 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
39171 Make 'mapoff' field ElfW(Off) rather than off_t.
39173 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
39175 * nscd/Makefile: Remove nscd-cflags and all its users.
39176 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
39177 (CFLAGS-nonlib): Add compiler flags for nscd modules.
39180 * malloc.c (malloc_printerr): Clarify error message.
39182 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
39185 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39186 Set bit_FMA_Usable if FMA is supported.
39187 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
39189 (bit_FMA4_Usable): Updated.
39190 (index_FMA_Usable): New macro.
39191 (CPUID_FMA): Likewise
39192 (HAS_FMA): Defined with bit_FMA_Usable.
39194 2012-10-01 Roland McGrath <roland@hack.frob.com>
39196 * bits/types.h (__swblk_t): Type removed.
39197 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
39198 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
39199 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39200 (__SWBLK_T_TYPE): Likewise.
39201 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39202 (__SWBLK_T_TYPE): Likewise.
39203 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39204 (__SWBLK_T_TYPE): Likewise.
39205 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39206 (__SWBLK_T_TYPE): Likewise.
39208 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
39209 Honza Horak <hhorak@redhat.com>
39211 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
39212 (xdr_mapname): Use YPMAXMAP as maxsize.
39213 (xdr_peername): Use YPMAXPEER as maxsize.
39214 (xdr_keydat): Use YPAXRECORD as maxsize.
39215 (xdr_valdat): Use YPMAXRECORD as maxsize.
39217 2012-10-01 Roland McGrath <roland@hack.frob.com>
39219 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
39221 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
39222 * csu/init-first.c: ... here.
39223 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
39224 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
39225 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
39226 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
39227 * sysdeps/i386/init-first.c: File removed.
39228 * sysdeps/sh/init-first.c: File removed.
39230 2012-10-01 Joseph Myers <joseph@codesourcery.com>
39233 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
39234 if x * y might underflow to zero and z is zero.
39235 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39236 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39237 * math/libm-test.inc (min_subnorm_value): New variable.
39238 (fma_test): Add more tests.
39239 (fma_test_towardzero): Likewise.
39240 (fma_test_downward): Likewise
39241 (fma_test_upward): Likewise.
39242 (initialize): Set min_subnorm_value.
39244 2012-09-29 Joseph Myers <joseph@codesourcery.com>
39247 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
39249 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
39250 mode for addition resulting in exact zero.
39251 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
39252 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
39254 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39255 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39256 * math/libm-test.inc (fma_test): Add more tests.
39257 (fma_test_towardzero): New function.
39258 (fma_test_downward): Likewise.
39259 (fma_test_upward): Likewise.
39260 (main): Call the new functions.
39262 2012-09-28 David S. Miller <davem@davemloft.net>
39264 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
39266 2012-09-28 Roland McGrath <roland@hack.frob.com>
39268 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
39269 instead of SIGALRM.
39271 * sysdeps/gnu/_G_config.h: Moved to ...
39272 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
39273 * sysdeps/mach/hurd/_G_config.h: Moved to ...
39274 * sysdeps/generic/_G_config.h: ... here.
39276 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
39278 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
39280 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
39281 Conditionalize target on [libnss_test1.so-version].
39283 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
39285 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
39286 (elfobjdir): Move out of conditionals.
39288 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
39289 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
39290 (__nss_lookup_function): Conditionalize label remove_from_tree on
39291 [!DO_STATIC_NSS || SHARED], matching its only use.
39293 2012-09-28 David S. Miller <davem@davemloft.net>
39295 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
39296 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
39298 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
39300 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
39301 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
39302 when HWCAP_SPARC_CRYPTO is present.
39304 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
39306 * io/tst-mknodat.c: Create a FIFO instead of a socket.
39308 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
39311 * stdio-common/vfprintf.c (process_string_arg): Revert
39314 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
39316 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
39318 * stdio-common/tst-sprintf.c: Include <locale.h>
39319 (main): Test sprintf's handling of incomplete multibyte
39322 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
39324 * elf/dl-runtime.c (VERSYMIDX): Removed.
39325 * elf/dl-version.c (VERSYMIDX): Likewise.
39326 * elf/do-rel.h (VERSYMIDX): Likewise.
39327 (VALIDX): Likewise.
39328 * elf/dynamic-link.h (VERSYMIDX): Likewise.
39329 * elf/rtld.c (VALIDX): Likewise.
39330 (ADDRIDX): Likewise.
39331 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
39332 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
39333 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
39334 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
39335 (VALIDX): Likewise.
39336 (ADDRIDX): Likewise.
39338 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
39340 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
39342 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
39345 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
39347 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
39348 addresses are in the same scope as 192.0.2/24.
39349 * posix/gai.conf: Document new scope table defaults.
39351 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39354 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
39355 for ftell. Compute offsets from write pointers instead.
39356 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
39358 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39361 * libio/Makefile (tests): New test case tst-fseek.
39362 * libio/tst-fseek.c: New test case to verify that fseek/ftell
39363 combination works in wide mode.
39364 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
39365 state when the external buffer state changes.
39367 2012-09-27 David S. Miller <davem@davemloft.net>
39370 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
39371 pass reloc->r_addend in as the 'high' argument to
39372 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
39374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39376 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
39378 * rt/tst-aio2.c: Include <pthread.h>.
39379 * rt/tst-aio3.c: Likewise.
39381 2012-09-27 Steve Ellcey <sellcey@mips.com>
39383 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
39385 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
39387 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
39388 contents on [SHARED].
39390 2012-09-26 Marek Polacek <polacek@redhat.com>
39394 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
39395 for C++ and GCC <4.3 as well as for non GCC compilers.
39397 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
39399 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39401 2012-09-25 Roland McGrath <roland@hack.frob.com>
39403 * Makefile.in (all, install): Declare with .PHONY.
39404 Reported by Michael Hope <michael.hope@linaro.org>.
39406 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39408 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
39409 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
39411 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
39413 (sydep_routines): Add the new and the internal functions.
39414 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
39415 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
39416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
39417 (GLIBC_2.17): Add the new function.
39418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39419 (GLIBC_2.17): Likewise.
39420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
39421 (GLIBC_2.17): Likewise.
39422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
39423 (GLIBC_2.17): Likewise.
39424 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
39426 2012-09-25 Alan Modra <amodra@gmail.com>
39428 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
39429 Add release barrier before setting once_control to say
39430 initialisation is done. Add hints on lwarx. Use macro in
39432 (clear_once_control): Add release barrier.
39434 2012-09-25 Joseph Myers <joseph@codesourcery.com>
39437 * math/s_clog.c (__clog): Handle more values close to |z| = 1
39439 * math/s_clog10.c (__clog10): Likewise.
39440 * math/s_clog10f.c (__clog10f): Likewise.
39441 * math/s_clog10l.c (__clog10l): Likewise.
39442 * math/s_clogf.c (__clogf): Likewise.
39443 * math/s_clogl.c (__clogl): Likewise.
39444 * math/Makefile (libm-calls): Add x2y2m1.
39445 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
39446 (__x2y2m1): Likewise.
39447 (__x2y2m1l): Likewise.
39448 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
39449 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
39450 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
39451 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
39452 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
39453 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
39454 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
39455 * sysdeps/i386/fpu/libm-test-ulps: Update.
39456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39459 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
39460 int as type of variable DEPTH.
39461 (glob): Use size_t instead of int as type of variables NEWCOUNT
39464 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39466 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39467 Add s_sincosf-sse2.
39468 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
39469 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
39470 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
39471 macros for using routine as __sincosf_ia32.
39472 Use macro for function declaration and weak_alias.
39473 * sysdeps/i386/fpu/libm-test-ulps: Update.
39475 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
39476 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39478 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
39479 subnormal argument.
39480 * math/s_cexpf.c (__cexpf): Likewise.
39481 * math/s_csinf.c (__csinf): Likewise.
39482 * math/s_csinhf.c (__csinhf): Likewise.
39483 * math/s_ctanf.c (__ctanf): Likewise.
39484 * math/s_ctanhf.c (__ctanhf): Likewise.
39485 * math/s_ccosh.c (__ccoshf): Likewise.
39486 * math/s_cexp.c (__cexpl): Likewise.
39487 * math/s_csin.c (__csin): Likewise.
39488 * math/s_csinh.c (__csinh): Likewise.
39489 * math/s_ctan.c (__ctan): Likewise.
39490 * math/s_ctanh.c (ctanh): Likewise.
39491 * math/s_ccoshl.c (__ccoshl): Likewise.
39492 * math/s_cexpl.c (__cexpl): Likewise.
39493 * math/s_csinl.c (__csinl): Likewise.
39494 * math/s_csinhl.c (__csinhl): Likewise.
39495 * math/s_ctanl.c (__ctanl): Likewise.
39496 * math/s_ctanhl.c (__ctanhl): Likewise.
39498 2012-09-25 Joseph Myers <joseph@codesourcery.com>
39500 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
39501 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
39502 (_IO_off_t): Define to __off_t, not _G_off_t.
39503 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
39504 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
39505 (_IO_wint_t): Define to wint_t, not _G_wint_t.
39506 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
39507 type of __dummy and __dummy2 fields.
39508 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
39509 (_G_ssize_t): Likewise.
39510 (_G_off_t): Likewise.
39511 (_G_pid_t): Likewise.
39512 (_G_uid_t): Likewise.
39513 (_G_wchar_t): Likewise.
39514 (_G_wint_t): Likewise.
39515 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
39516 (_G_ssize_t): Likewise.
39517 (_G_off_t): Likewise.
39518 (_G_pid_t): Likewise.
39519 (_G_uid_t): Likewise.
39520 (_G_wchar_t): Likewise.
39521 (_G_wint_t): Likewise.
39522 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
39523 (_G_ssize_t): Likewise.
39524 (_G_off_t): Likewise.
39525 (_G_pid_t): Likewise.
39526 (_G_uid_t): Likewise.
39527 (_G_wchar_t): Likewise.
39528 (_G_wint_t): Likewise.
39530 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39532 * malloc/arena.c: Include malloc-sysdep.h.
39533 (shrink_heap): Use check_may_shrink_heap to decide if madvise
39534 is sufficient to shrink the heap or an unmap is needed.
39535 * sysdeps/generic/malloc-sysdep.h: New file. Define
39536 new function check_may_shrink_heap.
39537 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
39538 new function check_may_shrink_heap.
39540 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39542 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
39545 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
39547 * catgets/test-gencat.sh: Add "set -e".
39548 * elf/tst-pathopt.sh: Likewise.
39549 * grp/tst_fgetgrent.sh: Likewise.
39550 * iconvdata/run-iconv-test.sh: Likewise.
39551 * intl/tst-gettext.sh: Likewise.
39552 * intl/tst-gettext2.sh: Likewise.
39553 * intl/tst-gettext4.sh: Likewise.
39554 * intl/tst-gettext6.sh: Likewise.
39555 * intl/tst-translit.sh: Likewise.
39556 * io/ftwtest-sh: Likewise.
39557 * libio/test-freopen.sh: Likewise.
39558 * malloc/tst-mtrace.sh: Likewise.
39559 * posix/globtest.sh: Likewise.
39560 * posix/tst-getconf.sh: Likewise.
39561 * posix/wordexp-tst.sh: Likewise.
39562 * stdio-common/tst-printf.sh: Likewise.
39563 * stdio-common/tst-unbputc.sh: Likewise.
39564 * stdlib/tst-fmtmsg.sh: Likewise.
39565 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
39566 * catgets/Makefile: Do not specify -e option when running
39567 testsuite shell scripts.
39568 * elf/Makefile: Likewise.
39569 * grp/Makefile: Likewise.
39570 * iconvdata/Makefile: Likewise.
39571 * intl/Makefile: Likewise.
39572 * io/Makefile: Likewise.
39573 * libio/Makefile: Likewise.
39574 * malloc/Makefile: Likewise.
39575 * posix/Makefile: Likewise.
39576 * stdio-common/Makefile: Likewise.
39577 * stdlib/Makefile: Likewise.
39578 * sysdeps/x86_64/Makefile: Likewise.
39580 * io/ftwtest-sh: Add copyright header.
39581 * posix/globtest.sh: Likewise.
39582 * posix/tst-getconf.sh: Likewise.
39583 * posix/wordexp-tst.sh: Likewise.
39584 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
39586 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
39589 * Makeconfig (+link): Defined as $(+link-static) if
39590 $(build-shared) isn't yes.
39591 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
39593 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
39595 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
39598 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
39599 new chunk size with MALLOC_ALIGN_MASK.
39601 2012-09-24 Joseph Myers <joseph@codesourcery.com>
39604 * stdio-common/printf_fphex.c: Include <stdbool.h> and
39606 (__printf_fphex): Determine rounding using get_rounding_mode and
39608 * stdio-common/tst-printf-round.c (struct hex_test): New
39610 (hex_tests): New variable.
39611 (test_hex_in_one_mode): New function.
39612 (do_test): Also run tests for hex float output.
39614 2012-09-21 Joseph Myers <joseph@codesourcery.com>
39616 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39617 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39618 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
39619 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39620 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39621 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
39622 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39623 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39625 2012-09-20 Joseph Myers <joseph@codesourcery.com>
39627 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
39628 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
39629 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
39630 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
39632 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
39635 * elf/rtld.c (dl_main): Limit the check for self loading to normal
39637 * elf/tst-rtld-load-self.sh: New test.
39638 * elf/Makefile: Run it.
39640 2012-09-18 Joseph Myers <joseph@codesourcery.com>
39642 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
39643 (tst-writev-ENV): Remove.
39644 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
39646 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
39648 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
39650 2012-09-17 Joseph Myers <joseph@codesourcery.com>
39652 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
39654 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
39656 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
39657 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
39658 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
39661 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
39664 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
39665 * config.make.in (have-cpp-asm-debuginfo): Removed.
39666 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
39667 * configure: Regenerated.
39669 2012-09-14 Joseph Myers <joseph@codesourcery.com>
39672 * stdio-common/printf_fp.c: Include <stdbool.h> and
39674 (___printf_fp): Determine rounding using get_rounding_mode and
39676 * stdio-common/tst-printf-round.c: New file.
39677 * stdio-common/Makefile (tests): Add tst-printf-round.
39678 (link-libm): New variable.
39679 ($(objpfx)tst-printf-round): Depend in $(link-libm).
39681 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
39684 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
39685 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
39687 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
39690 2012-09-13 Joseph Myers <joseph@codesourcery.com>
39692 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
39693 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39694 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39695 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39697 2012-09-12 Joseph Myers <joseph@codesourcery.com>
39700 * include/rounding-mode.h: New file.
39701 * sysdeps/generic/get-rounding-mode.h: Likewise.
39702 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
39703 * stdlib/strtod_l.c: Include <rounding-mode.h>.
39704 (MAX_VALUE): New macro.
39705 (MIN_VALUE): Likewise.
39706 (overflow_value): New function.
39707 (underflow_value): Likewise.
39708 (round_and_return): Use overflow_value and underflow_value to
39709 determine return values in overflow and underflow cases. Use
39710 round_away to determine rounding depending on rounding mode.
39711 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
39712 determine return values in overflow and underflow cases.
39713 * stdlib/tst-strtod-round.c: Include <fenv.h>.
39714 (struct test_results): New structure.
39715 (struct test): Use struct test_results to store expected results
39716 for all rounding modes.
39717 (TEST): Include expected results for all rounding modes.
39718 (test_in_one_mode): New function.
39719 (do_test): Use test_in_one_mode to compute and check results.
39720 Check results for all rounding modes.
39721 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
39724 2012-12-09 Allan McRae <allan@archlinux.org>
39726 * sysdeps/i386/fpu/libm-test-ulps: Update
39728 2012-09-11 Joseph Myers <joseph@codesourcery.com>
39730 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
39731 (_G_int32_t): Likewise.
39732 (_G_uint16_t): Likewise.
39733 (_G_uint32_t): Likewise.
39734 (_G_HAVE_BOOL): Likewise.
39735 (_G_HAVE_ATEXIT): Likewise.
39736 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39737 (_G_HAVE_IO_FILE_OPEN): Likewise.
39738 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
39739 (_G_int32_t): Likewise.
39740 (_G_uint16_t): Likewise.
39741 (_G_uint32_t): Likewise.
39742 (_G_HAVE_BOOL): Likewise.
39743 (_G_HAVE_ATEXIT): Likewise.
39744 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39745 (_G_HAVE_IO_FILE_OPEN): Likewise.
39746 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
39747 (_G_int32_t): Likewise.
39748 (_G_uint16_t): Likewise.
39749 (_G_uint32_t): Likewise.
39750 (_G_HAVE_BOOL): Likewise.
39751 (_G_HAVE_ATEXIT): Likewise.
39752 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39753 (_G_HAVE_IO_FILE_OPEN): Likewise.
39755 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
39757 * csu/libc-tls.c: Update copyright years.
39759 2012-09-10 Joseph Myers <joseph@codesourcery.com>
39761 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
39762 [!_G_USING_THUNKS]: Remove conditional code.
39763 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
39764 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
39766 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
39767 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
39768 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39769 (_G_VTABLE_LABEL_PREFIX): Likewise.
39770 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39771 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39772 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39773 (_G_VTABLE_LABEL_PREFIX): Likewise.
39774 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39775 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39776 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39777 (_G_VTABLE_LABEL_PREFIX): Likewise.
39778 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39780 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
39782 * libio/Makefile: Include ../Makeconfig before tests.
39783 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
39784 only if $(build-shared) is yes.
39786 * iconv/gconv_db.c: Update copyright years.
39788 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39790 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
39791 unwind info if defined PIC. Fix special cases description.
39792 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
39794 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
39796 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
39798 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
39800 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
39802 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
39805 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
39806 (LDLIBS-tst-chk4): This.
39807 (LDFLAGS-tst-chk5): Renamed to ...
39808 (LDLIBS-tst-chk5): This.
39809 (LDFLAGS-tst-chk6): Renamed to ...
39810 (LDLIBS-tst-chk6): This.
39811 (LDFLAGS-tst-lfschk4): Renamed to ...
39812 (LDLIBS-tst-lfschk4): This.
39813 (LDFLAGS-tst-lfschk5): Renamed to ...
39814 (LDLIBS-tst-lfschk5): This.
39815 (LDFLAGS-tst-lfschk6): Renamed to ...
39816 (LDLIBS-tst-lfschk6): This.
39818 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
39819 on $(common-objpfx)soversions.mk.
39821 2012-09-07 Joseph Myers <joseph@codesourcery.com>
39824 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
39827 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39829 * malloc/arena.c (arena_get_retry): New function that gets
39830 another arena for the caller to try its request on.
39831 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
39832 current arena cannot fulfill the request.
39833 (__libc_memalign): Likewise.
39834 (__libc_memalign): Likewise.
39835 (__libc_pvalloc): Likewise.
39836 (__libc_calloc): Likewise.
39838 2012-09-05 John Tobey <john.tobey@gmail.com>
39841 * manual/arith.texi (Operations on Complex): Fix description
39842 of carg branch cut.
39844 2012-09-06 Joseph Myers <joseph@codesourcery.com>
39847 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
39851 * manual/memory.texi (Memory): Make order of menu items match
39854 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39856 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
39857 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
39858 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
39860 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39862 * csu/libc-tls.c (static_dtv): Renamed to ...
39863 (_dl_static_dtv): This. Make it global.
39864 (_dl_initial_dtv): Removed.
39865 (__libc_setup_tls): Updated.
39866 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
39867 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
39870 2012-09-06 Petr Machata <pmachata@redhat.com>
39872 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
39873 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
39874 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
39875 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
39877 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39880 * csu/libc-tls.c (_dl_initial_dtv): New variable.
39881 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
39884 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39887 * Makeconfig (link-static-before-libc): Replace $(+prector)
39889 (link-static-after-libc): Replace $(+postctor) with
39891 (link-bounded): Replace $(+prector)/$(+postctor) with
39892 $(+prectorT)/$(+postctorT).
39893 (+prectorT): New macro.
39894 (+postctorT): Likewise.
39896 2012-09-06 Joseph Myers <joseph@codesourcery.com>
39898 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
39899 (round_str): Handle values above the maximum for IBM long double
39901 * stdlib/tst-strtod-round.c (tests): Regenerated.
39903 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39905 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
39907 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
39908 zarch_nohighgprs around the zarch optimized routines.
39909 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39910 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39911 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
39914 2012-09-05 David S. Miller <davem@davemloft.net>
39916 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39918 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
39919 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
39920 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
39921 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39924 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39926 * malloc/arena.c: Fold copyright years.
39927 * malloc/mcheck.c, malloc/memusage.c: Likewise.
39929 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39931 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
39933 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39935 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
39937 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39939 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
39940 change internal state upon failure.
39942 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39944 * malloc/mcheck.c (mcheck_check_all): Fix typo.
39945 * malloc/memusage.c (mmap): Likewise.
39946 (mmap64, mremap): Likewise. Adjust name in comment.
39948 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39950 * libio/fileops.c: Fix typos in comments.
39951 * libio/oldfileops.c: Likewise.
39952 * libio/wfileops.c: Likewise.
39954 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39957 * malloc/Makefile (tests): Add tst-malloc-usable test case.
39958 (tst-malloc-usable-ENV): Set environment for test case.
39959 * malloc/hooks.c (malloc_check_get_size): New function to get
39961 * malloc/malloc.c (musable): Use malloc_check_get_size.
39962 * malloc/tst-malloc-usable.c: New test case.
39964 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39966 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
39968 2012-09-05 Allan McRae <allan@archlinux.org>
39971 * configure.in (CXX_SYSINCLUDES): Use compiler output to
39972 determine header location.
39973 * configure: Regenerated.
39975 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39977 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
39979 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
39980 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39982 (test): Regenerate.
39984 2012-09-04 David S. Miller <davem@davemloft.net>
39986 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39987 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39988 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39990 2012-09-04 Florian Weimer <fweimer@redhat.com>
39992 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39995 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39997 2012-09-04 Joseph Myers <joseph@codesourcery.com>
40000 * libio/iogetdelim.c: Include <limits.h>.
40001 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
40002 + len + 1 would overflow.
40004 2012-09-03 Andreas Jaeger <aj@suse.de>
40006 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40007 * sysdeps/i386/fpu/libm-test-ulps: Update.
40009 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40011 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40012 Add s_sinf-sse2, s_conf-sse2.
40014 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
40015 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
40016 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
40017 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
40019 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
40020 for using routine as __sinf_ia32.
40021 Use macro for function declaration and weak_alias.
40022 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
40023 for using routine as __cosf_ia32.
40024 Use macro for function declaration and weak_alias.
40026 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
40027 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
40029 * sysdeps/x86_64/fpu/s_sinf.S: New file.
40030 * sysdeps/x86_64/fpu/s_cosf.S: New file.
40031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40033 * math/libm-test.inc (cos_test): Add more test cases.
40034 (sin_test): Likewise.
40035 (sincos_test): Likewise.
40037 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40039 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40040 (IFUNC_RESOLVE): Make pointers to the specialized implementations
40042 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
40044 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
40047 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
40048 first element of the GOT.
40049 (elf_machine_load_address): Return the difference between
40050 the runtime address of _DYNAMIC and elf_machine_dynamic ().
40052 2012-09-01 Allan McRae <allan@archlinux.org>
40055 * configure.in (AWK): Require gawk version 3.0 or later.
40056 * configure: Regenerated.
40058 2012-09-01 Joseph Myers <joseph@codesourcery.com>
40060 * sysdeps/unix/sysv/linux/kernel-features.h
40061 (__ASSUME_POSIX_CPU_TIMERS): Remove.
40062 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40063 [__NR_clock_getres]: Make code unconditional.
40064 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
40065 (clock_getcpuclockid): Remove code left unreachable by removal of
40067 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
40068 code unconditional.
40069 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
40070 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40071 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
40072 Make code unconditional.
40073 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
40074 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40075 * sysdeps/unix/sysv/linux/clock_settime.c
40076 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
40078 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
40079 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40081 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
40084 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
40085 scripts/test-installation.pl.
40087 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
40088 and $ld_so_version if it is set.
40090 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
40093 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
40094 failure if reading from procfs failed.
40095 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
40097 2012-08-27 Joseph Myers <joseph@codesourcery.com>
40099 * sysdeps/unix/sysv/linux/kernel-features.h
40100 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
40101 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
40102 Remove conditional code.
40103 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40104 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
40105 Remove conditional code.
40106 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40107 * sysdeps/unix/sysv/linux/i386/fxstat.c
40108 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40109 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40110 * sysdeps/unix/sysv/linux/i386/fxstatat.c
40111 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40112 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40113 * sysdeps/unix/sysv/linux/i386/lxstat.c
40114 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40115 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40116 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
40117 Remove conditional code.
40118 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40119 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
40120 Remove conditional code.
40121 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40122 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
40123 <kernel-features.h>.
40124 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
40126 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
40127 Remove conditional code.
40128 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40129 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
40130 Remove conditional.
40132 2012-08-27 Mike Frysinger <vapier@gentoo.org>
40135 * NEWS: Add fixed bug number.
40137 2012-08-27 Joseph Myers <joseph@codesourcery.com>
40140 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
40141 underflowing exponent in case of negative sign.
40142 * stdlib/tst-strtod-round-data: Add more tests.
40143 * stdlib/tst-strtod-round.c (tests): Regenerated.
40146 * stdlib/strtod_l.c (NDIG): Remove.
40147 (HEXNDIG): Likewise.
40148 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
40149 smallest representable value.
40150 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
40151 lie within an exact representation of 1/2 ulp of the result.
40152 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
40154 (TENS_P9_IDX): Define unconditionally.
40155 (TENS_P9_SIZE): Likewise.
40156 (TENS_P10_IDX): Likewise.
40157 (TENS_P10_SIZE): Likewise.
40158 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
40159 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
40160 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
40161 entries for 10^2^13 and 10^2^14.
40162 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
40163 (TENS_P13_IDX): Define.
40164 (TENS_P13_SIZE): Likewise.
40165 (TENS_P14_IDX): Likewise.
40166 (TENS_P14_SIZE): Likewise.
40167 (_fpioconst_pow10): Change array size to
40168 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
40170 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
40171 1024]: Add entries for 10^2^13 and 10^2^14.
40172 [LAST_POW10 > _LAST_POW10]: Remove #error.
40173 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
40174 (_fpioconst_pow10): Change array size to
40175 FPIOCONST_POW10_ARRAY_SIZE.
40176 * stdlib/gen-fpioconst.c: New file.
40177 * stdlib/gen-tst-strtod-round.c: Likewise.
40178 * stdlib/tst-strtod-round-data: Likewise.
40179 * stdlib/tst-strtod-round.c: Likewise.
40180 * stdlib/Makefile (tests): Add tst-strtod-round.
40183 * stdlib/strtod_l.c: Include <stdint.h>.
40184 (NDEBUG): Do not define.
40185 (round_and_return): Change EXPONENT parameter to type intmax_t.
40186 Rearrange calculations to avoid internal overflow possibilities.
40187 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
40188 Rearrange calculations to avoid internal overflow possibilities.
40189 Assert that number fits inside MPNSIZE limbs.
40190 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
40191 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
40192 calculations and add assertions to avoid internal overflow
40193 possibilities. Add casts to avoid signed/unsigned operations.
40194 * stdlib/tst-strtod-overflow.c: New file.
40195 * stdlib/Makefile (tests): Add tst-strtod-overflow.
40197 2012-08-25 Marek Polacek <polacek@redhat.com>
40199 * time/time.h: Fix some typos in comments.
40201 2012-08-23 Roland McGrath <roland@hack.frob.com>
40203 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
40204 * posix/tst-rfc3484-2.c: Likewise.
40205 * posix/tst-rfc3484-3.c: Likewise.
40207 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
40209 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
40210 (EF_ARM_ABI_FLOAT_HARD): Likewise.
40212 2012-08-23 Joseph Myers <joseph@codesourcery.com>
40214 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
40215 #include of fxstatat64.c.
40217 2012-08-22 Roland McGrath <roland@hack.frob.com>
40219 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
40220 * shadow/getspent_r.c: Likewise.
40221 * shadow/getspnam.c: Likewise.
40222 * shadow/getspnam_r.c: Likewise.
40223 * gshadow/getsgent.c: Likewise.
40224 * gshadow/getsgent_r.c: Likewise.
40225 * gshadow/getsgnam.c: Likewise.
40226 * gshadow/getsgnam_r.c: Likewise.
40227 * inet/getnetbyad.c: Likewise.
40228 * inet/getnetbyad_r.c: Likewise.
40229 * inet/getnetbynm.c: Likewise.
40230 * inet/getnetbynm_r.c: Likewise.
40231 * inet/getnetent.c: Likewise.
40232 * inet/getnetent_r.c: Likewise.
40233 * inet/getproto.c: Likewise.
40234 * inet/getproto_r.c: Likewise.
40235 * inet/getprtent.c: Likewise.
40236 * inet/getprtent_r.c: Likewise.
40237 * inet/getprtname.c: Likewise.
40238 * inet/getprtname_r.c: Likewise.
40239 * inet/getrpcbyname.c: Likewise.
40240 * inet/getrpcbyname_r.c: Likewise.
40241 * inet/getrpcbynumber.c: Likewise.
40242 * inet/getrpcbynumber_r.c: Likewise.
40243 * inet/getrpcent.c: Likewise.
40244 * inet/getrpcent_r.c: Likewise.
40245 * inet/getaliasent.c: Likewise.
40246 * inet/getaliasent_r.c: Likewise.
40247 * inet/getaliasname.c: Likewise.
40248 * inet/getaliasname_r.c: Likewise.
40249 * nscd/getgrgid_r.c: Likewise.
40250 * nscd/getgrnam_r.c: Likewise.
40251 * nscd/gethstbyad_r.c: Likewise.
40252 * nscd/gethstbynm3_r.c: Likewise.
40253 * nscd/getpwnam_r.c: Likewise.
40254 * nscd/getpwuid_r.c: Likewise.
40255 * nscd/getsrvbynm_r.c: Likewise.
40256 * nscd/getsrvbypt_r.c: Likewise.
40257 * nscd/gai.c: Likewise.
40259 * configure.in (build_nscd): New substituted variable, set
40260 by --disable-build-nscd and defaults to $use_nscd.
40261 * configure: Regenerated.
40262 * config.make.in (build-nscd): New substituted variable.
40263 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
40264 Change conditional to require [$(build-nscd) = yes] as well.
40265 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
40268 * configure.in (use_nscd): New substituted variable, set by
40269 --disable-nscd. If enabled, define USE_NSCD.
40270 * configure: Regenerated.
40271 * config.h.in: Add USE_NSCD.
40272 * config.make.in (use-nscd): New substituted variable.
40273 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
40274 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
40275 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
40276 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
40277 (CFLAGS-getgrnam_r.c): Likewise.
40278 (CFLAGS-initgroups.c): Likewise.
40279 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
40280 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
40282 * inet/getnetgrent_r.c
40283 (nscd_setnetgrent): New function, broken out of ...
40284 (setnetgrent): ... here. Call it.
40285 (innetgr): Conditionalize nscd bits on [USE_NSCD].
40286 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
40287 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
40288 * nscd/Makefile (routines, aux): Move definitions after include of
40289 Makeconfig. Conditionalize on [$(use-nscd) != no].
40290 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
40291 Conditionalize on [USE_NSCD].
40292 (is_nscd, nscd_init_cb): Likewise.
40293 (nss_load_library): Conditionalize init callback on [USE_NSCD].
40294 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
40295 * nss/nss_db/db-init.c: Likewise.
40296 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
40298 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
40299 (make_request): Use it.
40300 (cache_valid_p): New function.
40301 (__check_pf): Use it.
40302 * NEWS: Add item for --disable-nscd.
40304 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
40306 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
40307 to support sed >= 4.2.1-20-ga9bf076.
40308 * configure: Regenerated.
40310 2012-08-22 Roland McGrath <roland@hack.frob.com>
40312 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
40313 Conditionalize whole body on [IREL].
40315 2012-08-22 Jeff Law <law@redhat.com>
40318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
40319 if the family is PF_UNSPEC.
40321 2012-08-22 Mike Frysinger <vapier@gentoo.org>
40323 * Makerules (lib-version): Rename from V.
40324 (install-lib-nosubdir): Change V to lib-version.
40326 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
40329 * powerpc32/power6/wcschr.c: New file.
40330 * powerpc32/power6/wcscpy.c: New file.
40331 * powerpc32/power6/wcsrchr.c: New file.
40332 * powerpc64/power6/wcschr.c: New file.
40333 * powerpc64/power6/wcscpy.c: New file.
40334 * powerpc64/power6/wcsrchr.c: New file.
40336 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
40338 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
40339 (two_way_short_needle): Use it.
40340 * string/strstr.c (AVAILABLE1_USES_J): Define.
40341 * string/strcasestr.c: Likewise.
40343 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
40345 * string/strcasestr.c (TOLOWER): Make side-effect safe.
40348 * NEWS: Add an entry.
40349 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
40350 define their defaults.
40351 (two_way_short_needle): Detect end-of-string on-the-fly.
40352 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
40353 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
40354 * string/bug-strcasestr1.c: New test.
40355 * string/Makefile: Run it.
40357 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
40360 * string/str-two-way.h (two_way_short_needle): Optimize matching of
40361 the first character.
40363 2012-08-21 Roland McGrath <roland@hack.frob.com>
40365 * csu/elf-init.c (__libc_csu_irel): Function removed.
40366 * csu/libc-start.c (apply_irel): New function.
40367 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
40369 2012-08-21 Joseph Myers <joseph@codesourcery.com>
40371 * sysdeps/unix/sysv/linux/kernel-features.h
40372 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
40373 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
40374 <kernel-features.h>.
40375 [__NR_fadvise64_64]: Make code unconditional.
40376 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
40377 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
40378 !__NR_fadvise64_64)]: Likewise.
40379 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
40380 !__NR_fadvise64_64))]: Likewise.
40381 [__NR_fadvise64]: Make code unconditional.
40382 [!__NR_fadvise64]: Remove conditional code.
40383 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
40384 <kernel-features.h>.
40385 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40387 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
40390 not include <kernel-features.h>.
40391 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40393 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40395 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
40396 include <kernel-features.h>.
40397 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40399 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40402 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40404 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
40405 slight instruction rearrangements per scrollpipe analysis.
40406 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40408 2012-08-20 Roland McGrath <roland@hack.frob.com>
40410 * manual/syslog.texi (syslog; vsyslog, closelog):
40411 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
40412 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
40414 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
40415 DSOCAPS to match condition on defining it.
40417 2012-08-20 Joseph Myers <joseph@codesourcery.com>
40419 * sysdeps/unix/sysv/linux/kernel-features.h
40420 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
40421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
40422 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40423 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
40425 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40426 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
40428 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40429 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40431 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
40432 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
40434 * sysdeps/unix/sysv/linux/kernel-features.h
40435 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
40436 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
40438 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40439 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
40440 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
40441 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40442 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
40443 Make code unconditional.
40444 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40445 (__mmap64) [!__NR_mmap2]: Likewise.
40446 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
40447 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
40448 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40449 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
40450 [__NR_mmap2]: Make code unconditional.
40451 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40452 (__mmap64) [!__NR_mmap2]: Likewise.
40454 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40456 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
40458 2012-08-18 Andreas Jaeger <aj@suse.de>
40460 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
40462 2012-08-18 Mike Frysinger <vapier@gentoo.org>
40464 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
40465 * include/unistd.h (__have_sock_cloexec): Likewise.
40466 (__have_pipe2): Likewise.
40467 (__have_dup3): Likewise.
40469 2012-08-18 Mike Frysinger <vapier@gentoo.org>
40472 * include/unistd.h (__have_pipe2): Change define into an extern int.
40473 (__have_dup3): Likewise.
40474 * socket/have_sock_cloexec.c: Include fcntl.h.
40475 (__have_pipe2): New variable.
40476 (__have_dup3): Likewise.
40478 2012-08-17 Mike Frysinger <vapier@gentoo.org>
40480 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
40482 2012-08-17 Marek Polacek <polacek@redhat.com>
40484 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
40485 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
40487 2012-08-17 Roland McGrath <roland@hack.frob.com>
40489 * configure.in: Add AC_SUBST for sysheaders.
40490 * configure: Regenerated.
40491 * config.make.in (sysheaders): New substituted variable.
40493 * sysdeps/unix/mkfifo.c: Moved ...
40494 * sysdeps/posix/mkfifo.c: ... here.
40495 * sysdeps/unix/mkfifoat.c: Moved ...
40496 * sysdeps/posix/mkfifoat.c: ... here.
40498 * sysdeps/unix/utime.c: Moved ...
40499 * sysdeps/posix/utime.c: ... here.
40501 * sysdeps/unix/time.c: Moved ...
40502 * sysdeps/posix/time.c: ... here.
40503 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
40504 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
40506 * sysdeps/unix/nice.c: Moved ...
40507 * sysdeps/posix/nice.c: ... here.
40509 * sysdeps/unix/alarm.c: Moved ...
40510 * sysdeps/posix/alarm.c: ... here.
40512 * intl/Makefile ($(codeset_mo)): Depend on the input file.
40514 2012-08-17 Jeff Law <law@redhat.com>
40516 * intl/Makefile (codeset_mo): New variable.
40517 ($(codeset_mo)): New target.
40518 (tst-codeset.out): Depend on that. Remove explicit rule.
40519 (tst-gettext3.out, tst-gettext5.out): Likewise.
40520 (LOCPATH-ENV, tst-codeset-ENV): New variables.
40521 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
40522 * intl/tst-codeset.sh: Remove.
40523 * intl/tst-gettext3.sh: Likewise.
40524 * intl/tst-gettext5.sh: Likewise.
40526 2012-08-17 Roland McGrath <roland@hack.frob.com>
40528 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
40529 * sysdeps/unix/syscalls.list: ... here.
40531 * sysdeps/posix/getaddrinfo.c
40532 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
40533 (gaiconf_init, gaiconf_reload): Use them.
40534 [!_STATBUF_ST_NSEC]
40535 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
40536 Define using time_t rather than struct timespec.
40538 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
40539 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
40541 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
40543 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
40544 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
40547 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
40548 __libc_cleanup_push argument.
40550 * bits/param.h: New file.
40551 * misc/sys/param.h: New file.
40552 * include/sys/param.h: New file.
40553 * misc/Makefile (headers): Add bits/param.h.
40554 * sysdeps/generic/sys/param.h: File removed.
40555 * sysdeps/unix/sysv/linux/bits/param.h: New file.
40556 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
40557 * sysdeps/mach/hurd/bits/param.h: New file.
40558 * sysdeps/mach/hurd/sys/param.h: File removed.
40560 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
40563 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
40565 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
40566 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
40569 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
40570 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
40571 rather than -D_IO_MTSAFE_IO conditionally.
40572 * stdio-common/Makefile (CPPFLAGS): Likewise.
40573 * wcsmbs/Makefile (CPPFLAGS): Likewise.
40574 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
40575 Use $(libio-mtsafe).
40576 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
40577 of -D_IO_MTSAFE_IO.
40578 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
40579 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
40580 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
40581 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
40582 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
40583 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
40584 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
40585 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
40586 (CFLAGS-fread_u_chk.c): Likewise.
40587 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
40588 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
40589 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
40590 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
40591 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
40592 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
40593 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
40594 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
40595 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
40597 * libio/Makefile: Test [$(libc-reentrant) = yes]
40598 instead of [$(filter %REENTRANT, $(defines)) nonempty].
40601 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
40602 * sysdeps/pthread/configure: File removed.
40603 * sysdeps/pthread/Makeconfig: New file.
40604 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
40605 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
40607 2012-08-16 Gary Benson <gbenson@redhat.com>
40609 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
40610 unmapping the first object in a namespace.
40612 2012-08-16 Roland McGrath <roland@hack.frob.com>
40614 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
40615 (__internal_setnetgrent): ... this. Add internal_function to
40616 definition. Add libc_hidden_def.
40617 (setnetgrent): Update caller.
40618 (internal_endnetgrent): Renamed to ...
40619 (__internal_endnetgrent): ... this. Add internal_function to
40620 definition. Add libc_hidden_def.
40621 (endnetgrent): Update caller.
40622 (internal_getnetgrent_r): Renamed to ...
40623 (__internal_getnetgrent_r): ... this. Add internal_function to
40624 definition. Add libc_hidden_def.
40625 (__getnetgrent_r): Update caller.
40626 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
40628 2012-08-16 Joseph Myers <joseph@codesourcery.com>
40630 * stdlib/longlong.h: Update from GCC.
40632 2012-08-16 Roland McGrath <roland@hack.frob.com>
40634 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
40635 on _QL, which is set by umul_ppmm but never used.
40636 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
40637 variables, which are set by GMP macros but never used.
40638 * stdio-common/_itowa.c (_itowa): Likewise.
40639 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
40640 * stdlib/mod_1.c (mpn_mod_1): Likewise.
40642 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
40644 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
40645 struct La_sh_regs is not constant.
40646 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
40647 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
40648 and struct La_sparc64_regs are not constant.
40650 2012-08-16 Joseph Myers <joseph@codesourcery.com>
40652 * sysdeps/unix/sysv/linux/kernel-features.h
40653 (__ASSUME_POSIX_TIMERS): Remove.
40654 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40655 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40656 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
40657 Make code unconditional.
40658 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40659 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
40660 Make code unconditional.
40661 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40662 * sysdeps/unix/sysv/linux/clock_nanosleep.c
40663 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
40664 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40665 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
40666 Make code unconditional.
40667 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40668 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
40669 (__libc_missing_posix_timers): Remove.
40671 2012-08-15 Roland McGrath <roland@hack.frob.com>
40673 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
40674 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
40676 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
40678 * elf/dl-sym.c: Include <stdlib.h>.
40680 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
40681 constants, which avoids warnings in 32-bit builds.
40683 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
40684 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
40686 * misc/lseek.c: File moved to ...
40687 * io/lseek.c: ... here.
40689 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
40691 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
40692 shifting LEN more than 31 bits at once.
40694 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40697 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
40698 segmentation fault for a case of two empty input strings.
40699 * string/test-strncasecmp.c (check1): Renamed to...
40700 (bz12205): ...this.
40701 (bz14195): Add new testcase for two empty input strings and N > 0.
40702 (test_main): Call new testcase, adapt for renamed function.
40704 2012-08-15 Andreas Jaeger <aj@suse.de>
40707 * crypt/md5test2.c: New test, based on test supplied by Serge
40708 Belyshev <belyshev@depni.sinp.msu.ru>.
40709 * crypt/Makefile (xtests): Add md5test-giant..
40710 * crypt/Makefile ($(objpfx)md5test-giant): Add.
40712 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
40715 * crypt/md5.c (md5_process_block): Don't assume the buffer
40716 length is less than 2**32.
40717 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
40718 length is less than 2**64.
40720 2012-08-15 Roland McGrath <roland@hack.frob.com>
40722 * string/str-two-way.h: Include <sys/param.h>.
40723 (MAX): Macro removed.
40725 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
40726 Move #define and #undef of memmove to just before and after
40727 including <string.h>.
40729 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
40730 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
40731 and after including <string.h>. Move declarations of
40732 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
40733 to before #include "string/memmove.c".
40735 * include/dirent.h: Declare __getdirentries.
40737 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
40738 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
40740 2012-08-14 Mike Frysinger <vapier@gentoo.org>
40742 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
40743 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
40744 * sysdeps/i386/configure: Regenerated.
40745 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
40746 STABS_CURRENT_FILE, and STABS_FUN.
40747 (END): Remove call to STABS_FUN_END.
40748 (STABS_CURRENT_FILE1): Delete.
40749 (STABS_CURRENT_FILE): Likewise.
40750 (STABS_FUN): Likewise.
40751 (STABS_FUN_END): Likewise.
40752 (STABS_FUN2): Likewise.
40753 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
40754 * sysdeps/x86_64/configure: Regenerated.
40756 2012-08-14 Roland McGrath <roland@hack.frob.com>
40758 * elf/dl-open.c: Include <atomic.h>.
40759 * elf/dl-lookup.c: Likewise.
40761 2012-08-14 Joseph Myers <joseph@codesourcery.com>
40763 * sysdeps/unix/sysv/linux/kernel-features.h
40764 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
40765 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
40767 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
40769 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
40770 condition on __ASSUME_CLONE_THREAD_FLAGS.
40772 2012-08-14 Andreas Jaeger <aj@suse.de>
40774 * sysdeps/i386/fpu/libm-test-ulps: Update.
40776 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
40778 * include/atomic.h (atomic_exchange_and_add): Split into ...
40779 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
40782 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
40784 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40786 2012-08-13 Jeff Law <law@redhat.com>
40788 * manual/stdio.texi (snprintf): Clarify handling of the trailing
40789 null byte in the output string.
40791 2012-08-10 Joseph Myers <joseph@codesourcery.com>
40793 * sysdeps/unix/sysv/linux/kernel-features.h
40794 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
40795 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
40796 (__ASSUME_ARG_MAX_STACK_BASED): Define.
40797 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
40798 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
40799 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
40800 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
40802 2012-08-09 Jeff Law <law@redhat.com>
40805 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
40806 When avoid_arena is set, don't retry in the that arena. Pick the
40807 next one, whatever it might be.
40808 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
40809 (arena_lock): Pass in new parameter to arena_get2.
40810 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
40812 (__libc_malloc): Unify retrying after main arena failure with
40813 __libc_memalign version.
40814 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
40816 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
40819 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
40820 to __redirect_strstr.
40821 (__strstr_sse42): Use typeof __redirect_strstr.
40822 (__strstr_ia32): Likewise.
40823 (__libc_strstr): New prototype.
40824 (strstr): Renamed to ...
40825 (__libc_strstr): This.
40826 (strstr): New strong alias of __libc_strstr.
40827 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40828 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
40831 (__libc_time): New prototype.
40832 (time_ifunc): Replace time with __libc_time.
40833 (time): New strong alias and hidden definition of __libc_time.
40834 (__GI_time): Remove strong alias.
40835 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
40836 Include <stddef.h>.
40837 (memmove): Redefined to __redirect_memmove.
40838 (__memmove_sse2): Use typeof __redirect_memmove.
40839 (__memmove_ssse3): Likewise.
40840 (__memmove_ssse3_back): Likewise.
40841 (__libc_memmove): New prototype.
40842 (memmove): Renamed to ...
40843 (__libc_memmove): This.
40844 (memmove): New strong alias of __libc_memmove.
40846 2012-08-08 Mark Salter <msalter@redhat.com>
40849 (R_MN10300_TLS_GD): Define.
40850 (R_MN10300_TLS_LD): Likewise.
40851 (R_MN10300_TLS_LDO): Likewise.
40852 (R_MN10300_TLS_GOTIE): Likewise.
40853 (R_MN10300_TLS_IE): Likewise.
40854 (R_MN10300_TLS_LE): Likewise.
40855 (R_MN10300_TLS_DTPMOD): Likewise.
40856 (R_MN10300_TLS_DTPOFF): Likewise.
40857 (R_MN10300_TLS_TPOFF): Likewise.
40858 (R_MN10300_SYM_DIFF): Likewise.
40859 (R_MN10300_ALIGN): Likewise.
40860 (R_MN10300_NUM): Update.
40862 2012-08-08 Joseph Myers <joseph@codesourcery.com>
40864 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
40867 2012-08-08 Roland McGrath <roland@hack.frob.com>
40869 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
40871 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
40872 sysdeps/unix -> sysdeps/posix move.
40873 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40875 2012-08-07 Allan McRae <allan@archlinux.org>
40878 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
40879 (SUNOS_CPP): Likewise.
40880 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
40882 (open_input): Call CPP using execvp.
40884 2012-08-07 Joseph Myers <joseph@codesourcery.com>
40886 * sysdeps/unix/sysv/linux/kernel-features.h
40887 (__ASSUME_PROT_GROWSUPDOWN): Remove.
40888 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40889 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40890 (__ASSUME_WAITID_SYSCALL): Likewise.
40891 * sysdeps/unix/sysv/linux/dl-execstack.c
40892 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
40893 code unconditional.
40894 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
40896 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
40897 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
40898 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
40900 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
40902 [__ASSUME_WAITID_SYSCALL]: Likewise.
40903 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
40905 2012-08-07 Roland McGrath <roland@hack.frob.com>
40907 * sysdeps/unix/closedir.c: Renamed to ...
40908 * sysdeps/posix/closedir.c: ... here.
40909 * sysdeps/unix/dirfd.c: Renamed to ...
40910 * sysdeps/posix/dirfd.c: ... here.
40911 * sysdeps/unix/dirstream.h: Renamed to ...
40912 * sysdeps/posix/dirstream.h: ... here.
40913 * sysdeps/unix/fdopendir.c: Renamed to ...
40914 * sysdeps/posix/fdopendir.c: ... here.
40915 * sysdeps/unix/opendir.c: Renamed to ...
40916 * sysdeps/posix/opendir.c: ... here.
40917 * sysdeps/unix/readdir.c: Renamed to ...
40918 * sysdeps/posix/readdir.c: ... here.
40919 * sysdeps/unix/readdir_r.c: Renamed to ...
40920 * sysdeps/posix/readdir_r.c: ... here.
40921 * sysdeps/unix/rewinddir.c: Renamed to ...
40922 * sysdeps/posix/rewinddir.c: ... here.
40923 * sysdeps/unix/seekdir.c: Renamed to ...
40924 * sysdeps/posix/seekdir.c: ... here.
40925 * sysdeps/unix/telldir.c: Renamed to ...
40926 * sysdeps/posix/telldir.c: ... here.
40927 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
40928 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
40929 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
40930 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
40932 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
40933 * bits/fcntl.h: ... here.
40935 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
40937 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
40938 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
40939 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
40940 (struct flock): Move l_start, l_len to the beginning.
40941 Use __pid_t for l_pid.
40942 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
40943 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
40944 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
40945 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
40946 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
40947 [__USE_LARGEFILE64] (struct flock64): New type.
40948 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
40950 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
40951 * bits/dirent.h: ... here.
40953 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
40954 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
40956 2012-08-07 Joseph Myers <joseph@codesourcery.com>
40958 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40959 Change from 2.6.0 to 2.6.16.
40960 * sysdeps/unix/sysv/linux/configure: Regenerated.
40961 * sysdeps/unix/sysv/linux/kernel-features.h
40962 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
40963 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
40965 (__ASSUME_UTIMES): Likewise.
40966 (__ASSUME_CLONE_STOPPED): Remove.
40967 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
40968 architectures, not kernel version.
40969 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
40970 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40971 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40972 (__ASSUME_WAITID_SYSCALL): Likewise.
40973 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
40974 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
40975 * README: State 2.6.16 as minimum Linux kernel version. Do not
40976 refer to older versions.
40978 2012-08-06 Roland McGrath <roland@hack.frob.com>
40980 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40981 Define alphasort64 as an alias.
40982 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40983 Define versionsort64 as an alias.
40984 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40985 Define scandir64 as an alias.
40986 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40987 Define scandirat64 as an alias.
40988 * dirent/alphasort64.c (alphasort64):
40989 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40990 * dirent/versionsort64.c: Likewise.
40991 * dirent/scandir64.c: Likewise.
40992 * dirent/scandirat64.c: Likewise.
40993 * sysdeps/wordsize-64/alphasort.c: File removed.
40994 * sysdeps/wordsize-64/alphasort64.c: File removed.
40995 * sysdeps/wordsize-64/scandir.c: File removed.
40996 * sysdeps/wordsize-64/scandir64.c: File removed.
40997 * sysdeps/wordsize-64/scandirat.c: File removed.
40998 * sysdeps/wordsize-64/scandirat64.c: File removed.
40999 * sysdeps/wordsize-64/versionsort.c: File removed.
41000 * sysdeps/wordsize-64/versionsort64.c: File removed.
41001 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
41002 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
41003 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
41004 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
41005 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
41006 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
41007 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
41008 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
41010 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
41011 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
41012 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
41013 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41014 [defined __arch64__ || defined __sparcv9]
41015 (__INO_T_MATCHES_INO64_T): New macro.
41016 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41017 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
41018 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
41019 * sysdeps/unix/sysv/linux/bits/dirent.h
41020 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
41021 (_DIRENT_MATCHES_DIRENT64): New macro.
41023 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
41024 Define lockf64 as an alias.
41025 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
41026 Define fseeko64 as an alias.
41027 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
41028 Define ftello64 as an alias.
41029 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
41030 Define _IO_fgetpos64 and fgetpos64 as aliases.
41031 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
41032 Define _IO_fsetpos64 and fsetpos64 as aliases.
41033 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
41034 Conditionalize body on this.
41035 * libio/fseeko64.c: Likewise.
41036 * libio/ftello64.c: Likewise.
41037 * libio/iofgetpos64.c: Likewise.
41038 * libio/iofsetpos64.c: Likewise.
41039 * sysdeps/wordsize-64/lockf.c: File removed.
41040 * sysdeps/wordsize-64/lockf64.c: File removed.
41041 * sysdeps/wordsize-64/fseeko.c: File removed.
41042 * sysdeps/wordsize-64/fseeko64.c: File removed.
41043 * sysdeps/wordsize-64/ftello.c: File removed.
41044 * sysdeps/wordsize-64/ftello64.c: File removed.
41045 * sysdeps/wordsize-64/iofgetpos.c: File removed.
41046 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
41047 * sysdeps/wordsize-64/iofsetpos.c: File removed.
41048 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
41049 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
41050 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
41051 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
41052 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
41053 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
41054 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
41055 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
41056 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
41057 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
41058 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
41060 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
41061 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
41062 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
41063 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41064 [defined __arch64__ || defined __sparcv9]
41065 (__OFF_T_MATCHES_OFF64_T): New macro.
41066 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41067 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
41068 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41069 (__OFF_T_MATCHES_OFF64_T): New macro.
41071 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
41073 * stdlib/secure-getenv.c (__secure_getenv): Replace
41074 GLIBC_2_16 with GLIBC_2_17.
41076 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
41078 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
41079 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41081 2012-08-03 David S. Miller <davem@davemloft.net>
41083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41085 2012-08-03 Joseph Myers <joseph@codesourcery.com>
41087 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
41089 (__ASSUME_CORRECT_SI_PID): Likewise.
41090 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
41091 (__ASSUME_TMPFS_NAME): Likewise.
41092 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
41093 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
41094 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
41095 (HAVE_AUX_SECURE): Make definition unconditional.
41096 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
41097 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
41099 2012-08-03 Roland McGrath <roland@hack.frob.com>
41101 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
41102 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
41103 * sysdeps/mach/hurd/eloop-threshold.h: New file.
41104 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41105 __eloop_threshold instead of SYMLOOP_MAX.
41107 * sysdeps/generic/eloop-threshold.h: New file.
41108 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
41110 * elf/chroot_canon.c (chroot_canon): Likewise.
41112 2012-08-03 Joseph Myers <joseph@codesourcery.com>
41115 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41116 Change to 2.6.0 everywhere.
41117 * sysdeps/unix/sysv/linux/configure: Regenerated.
41118 * sysdeps/unix/sysv/linux/kernel-features.h
41119 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
41120 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
41122 (__ASSUME_POSIX_TIMERS): Define unconditionally.
41123 (__ASSUME_FUTEX_REQUEUE): Remove.
41124 (__ASSUME_STATFS64): Define unconditionally.
41125 (__ASSUME_AT_SECURE): Likewise.
41126 (__ASSUME_CORRECT_SI_PID): Likewise.
41127 (__ASSUME_TGKILL): Define without depending on kernel version for
41129 (__ASSUME_UTIMES): Likewise.
41130 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
41132 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
41133 (__ASSUME_TMPFS_NAME): Likewise.
41134 * README: Update reference to Linux kernel versions.
41136 2012-08-02 Marek Polacek <polacek@redhat.com>
41139 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
41140 libc_cv_asm_type_prefix with %.
41141 * configure: Regenerated.
41142 * include/libc-symbols.h: Remove comment about
41143 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
41144 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
41145 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
41146 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
41147 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
41148 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
41149 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
41150 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
41151 * elf/tst-unique2mod1.c: Likewise.
41152 * elf/tst-unique1mod2.c: Likewise.
41153 * elf/tst-unique1mod1.c: Likewise.
41154 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
41155 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
41156 Replace ASM_TYPE_DIRECTIVE with .type.
41157 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41158 * sysdeps/i386/sysdep.h: Likewise.
41159 * sysdeps/x86_64/sysdep.h: Likewise.
41160 * sysdeps/sh/sysdep.h: Likewise.
41161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41162 Do not define ASM_TYPE_DIRECTIVE.
41163 * sysdeps/powerpc/sysdep.h: Likewise.
41164 * sysdeps/powerpc/powerpc32/sysdep.h:
41165 Replace ASM_TYPE_DIRECTIVE with .type.
41166 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41167 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41168 * sysdeps/i386/fpu/e_powf.S: Likewise.
41169 * sysdeps/i386/fpu/e_expl.S: Likewise.
41170 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41171 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41172 * sysdeps/i386/fpu/e_pow.S: Likewise.
41173 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41174 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41175 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41176 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41177 * sysdeps/i386/fpu/e_log2.S: Likewise.
41178 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41179 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41180 * sysdeps/i386/fpu/e_powl.S: Likewise.
41181 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41182 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41183 * sysdeps/i386/fpu/e_logl.S: Likewise.
41184 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41185 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41186 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41187 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41188 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41189 * sysdeps/i386/fpu/e_log.S: Likewise.
41190 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41191 * sysdeps/i386/fpu/e_logf.S: Likewise.
41192 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41193 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41194 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41195 * sysdeps/i386/fpu/e_log10.S: Likewise.
41196 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41197 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41198 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41199 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41200 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41201 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
41202 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41203 * sysdeps/i386/i686/strtok.S: Likewise.
41204 * sysdeps/i386/i386-mcount.S: Likewise.
41205 * sysdeps/i386/strtok.S: Likewise.
41206 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
41207 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41208 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41209 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41210 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41211 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41212 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41213 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41214 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41215 * sysdeps/x86_64/_mcount.S: Likewise.
41216 * sysdeps/x86_64/strtok.S: Likewise.
41217 * sysdeps/sh/_mcount.S: Likewise.
41219 2012-08-01 Roland McGrath <roland@hack.frob.com>
41221 * libio/iofopen.c: Include <fcntl.h>.
41222 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
41223 (_IO_fopen64, fopen64): Define as aliases.
41224 * libio/iofopen64.c: Include <fcntl.h>.
41225 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
41226 Conditionalize body on this.
41227 * sysdeps/wordsize-64/iofopen.c: File removed.
41228 * sysdeps/wordsize-64/iofopen64.c: File removed.
41230 2012-08-01 Marek Polacek <polacek@redhat.com>
41232 * libc/Makeconfig: Use elf in place of binfmt-subdir.
41233 Use dlfcn directly instead of a variable.
41234 (binfmt-subdir): Do not define.
41237 2012-08-01 Joseph Myers <joseph@codesourcery.com>
41239 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
41240 Remove all definitions.
41241 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
41242 <kernel-features.h>.
41243 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
41244 (miss_F_GETOWN_EX): Remove all definitions.
41245 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
41247 [!__ASSUME_FCNTL64]: Remove conditional code.
41248 [__ASSUME_FCNTL64]: Make code unconditional.
41249 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
41250 <kernel-features.h>.
41251 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
41252 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
41253 (lockf64) [__NR_fcntl64]: Make code unconditional.
41254 (lockf64) [__ASSUME_FCNTL64]: Likewise.
41256 * sysdeps/unix/sysv/linux/kernel-features.h
41257 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
41258 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
41259 Make code unconditional.
41260 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41261 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
41263 [__NR_vfork]: Make code unconditional.
41264 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41265 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
41267 [__NR_vfork]: Make code unconditional.
41268 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41269 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41271 2012-08-01 Roland McGrath <roland@hack.frob.com>
41273 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
41274 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
41276 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41277 Define mkstemp64 as an alias.
41278 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41279 Define mkstemps64 as an alias.
41280 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41281 Define mkostemp64 as an alias.
41282 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41283 Define mkostemps64 as an alias.
41284 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
41285 Conditionalize body on this.
41286 * misc/mkostemp64.c: Likewise.
41287 * misc/mkostemps64.c: Likewise.
41288 * misc/mkstemps64.c: Likewise.
41289 * sysdeps/wordsize-64/mkstemp64.c: File removed.
41290 * sysdeps/wordsize-64/mkostemp64.c: File removed.
41291 * sysdeps/wordsize-64/mkostemp.c: File removed.
41292 * sysdeps/wordsize-64/mkstemp.c: File removed.
41293 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
41294 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
41295 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
41296 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
41299 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
41300 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
41301 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
41302 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
41304 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
41305 compat_symbol macros from <shlib-compat.h> rather than the underlying
41306 default_symbol_version and symbol_version macros, so that DEFAULT
41307 lines in shlib-versions are respected.
41308 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
41310 2012-08-01 Florian Weimer <fweimer@redhat.com>
41312 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
41313 Declare with warn_unused_result.
41314 (setgid, setregid, setegid, setresgid): Likewise.
41315 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
41317 * WUR-REPORT: Remove set*id functions.
41319 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
41321 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
41323 2012-07-31 Roland McGrath <roland@hack.frob.com>
41326 * include/sys/socket.h (__libc_accept, __libc_accept4):
41327 Add attribute_hidden.
41328 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
41330 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
41332 * inet/getnetgrent_r.c (setup): Likewise.
41334 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
41336 2012-07-31 David S. Miller <davem@davemloft.net>
41338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41340 2012-07-31 Joseph Myers <joseph@codesourcery.com>
41343 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
41344 value between 1.0 and 2.0 and smaller part has absolute value less
41346 * math/s_clog10.c (__clog10): Likewise.
41347 * math/s_clog10f.c (__clog10f): Likewise.
41348 * math/s_clog10l.c (__clog10l): Likewise.
41349 * math/s_clogf.c (__clogf): Likewise.
41350 * math/s_clogl.c (__clogl): Likewise.
41351 * math/libm-test.inc (clog_test): Add more tests.
41352 (clog10_test): Likewise.
41353 * sysdeps/i386/fpu/libm-test-ulps: Update.
41354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41356 2012-07-31 Florian Weimer <fweimer@redhat.com>
41358 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
41359 Exit with zero in case no suitable GID is found, and write a
41360 message to standard error.
41362 2012-07-30 Roland McGrath <roland@hack.frob.com>
41364 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
41366 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
41367 (MAXPATHLEN): Removed.
41368 (NOGROUP, NODEV): New macros.
41369 (setbit, clrbit, isset, isclr): New macros.
41370 (howmany, roundup, powerof2): New macros.
41371 (DEV_BSIZE): New macro.
41373 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
41374 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
41376 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
41377 definition on [!__NO_LONG_DOUBLE_MATH].
41379 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
41380 PTR_MANGLE and PTR_DEMANGLE.
41382 * socket/accept4.c (accept4): Rename to __libc_accept4.
41383 Define accept4 as a weak alias.
41385 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
41386 on [_DIRENT_HAVE_D_TYPE].
41387 * io/ftw.c (ftw_dir): Likewise.
41389 * io/xmknod.c (__xmknod): Don't check PATH for being null.
41391 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
41393 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
41394 Use the BSD numbers rather than the arbitrary ones we had.
41395 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
41396 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
41397 (SIGXCPU, SIGXFSZ): New macros.
41400 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
41401 initializer on [_LIBC_REENTRANT].
41403 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
41404 definitions inside [_POSIX_MAPPED_FILES].
41406 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
41408 * dirent/opendir.c: Include <fcntl.h>.
41410 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
41411 (__libc_getspecific): Likewise.
41412 (__libc_key_create): Likewise.
41414 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
41415 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
41416 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
41417 (tmpfile64): Define as alias.
41418 * sysdeps/wordsize-64/tmpfile.c: File removed.
41419 * sysdeps/wordsize-64/tmpfile64.c: File removed.
41420 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
41421 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
41423 * stdio-common/vfscanf.c: Include <stdbool.h>.
41424 * nss/makedb.c: Likewise.
41425 * stdio-common/_i18n_number.h: Likewise.
41426 * argp/argp-help.c: Likewise.
41427 * posix/wordexp.c: Likewise.
41428 * sysdeps/posix/spawni.c: Likewise.
41429 * nss/nss_files/files-initgroups.c: Likewise.
41430 * stdio-common/reg-modifier.c: Include <stdlib.h>.
41431 * nss/nss_files/files-initgroups.c: Likewise.
41432 * nss/nss_db/db-netgrp.c: Likewise.
41433 * nss/nss_db/db-initgroups.c: Likewise.
41434 * io/fchmodat.c: Include <sys/stat.h>.
41436 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
41437 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
41439 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
41442 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
41443 Add multiple inclusion protection.
41445 2012-07-27 David S. Miller <davem@davemloft.net>
41447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41449 2012-07-27 Gary Benson <gbenson@redhat.com>
41452 * elf/rtld.c: Include <stap-probe.h>.
41453 (dl_main): Added static probes "init_start" and "init_complete".
41454 * elf/dl-load.c: Include <stap-probe.h>.
41455 (lose): Take new parameter "nsid".
41456 Added static probe "map_failed".
41457 (_dl_map_object_from_fd): Pass namespace id to lose.
41458 Added static probe "map_start".
41459 (open_verify): Pass namespace id to lose.
41460 * elf/dl-open.c: Include <stap-probe.h>.
41461 (dl_open_worker) Added static probes "map_complete", "reloc_start"
41462 and "reloc_complete".
41463 * elf/dl-close.c: Include <stap-probe.h>.
41464 (_dl_close_worker): Added static probes "unmap_start" and
41466 * elf/rtld-debugger-interface.txt: New file documenting the above.
41468 2012-07-26 Roland McGrath <roland@hack.frob.com>
41470 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
41471 rather than a string variable.
41472 * sunrpc/rpc_main.c (h_output): Likewise.
41473 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
41475 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
41477 * inet/check_native.c: New file.
41479 2012-07-26 Joseph Myers <joseph@codesourcery.com>
41482 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
41483 if larger part has absolute value 1.0.
41484 * math/s_clog10.c (__clog10): Likewise.
41485 * math/s_clog10f.c (__clog10f): Likewise.
41486 * math/s_clog10l.c (__clog10l): Likewise.
41487 * math/s_clogf.c (__clogf): Likewise.
41488 * math/s_clogl.c (__clogl): Likewise.
41489 * math/libm-test.inc (clog_test): Add more tests.
41490 (clog10_test): Likewise.
41491 * sysdeps/i386/fpu/libm-test-ulps: Update.
41492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41494 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
41495 (pltexit): Likewise.
41496 (La_regs): Likewise.
41497 (La_retval): Likewise.
41498 (int_retval): Likewise.
41499 Update #error for removed macros to refer only to definitions in
41501 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
41503 (pltexit): Likewise.
41504 (La_regs): Likewise.
41505 (La_retval): Likewise.
41506 (int_retval): Likewise.
41507 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
41509 (pltexit): Likewise.
41510 (La_regs): Likewise.
41511 (La_retval): Likewise.
41512 (int_retval): Likewise.
41513 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
41515 (pltexit): Likewise.
41516 (La_regs): Likewise.
41517 (La_retval): Likewise.
41518 (int_retval): Likewise.
41519 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
41521 (pltexit): Likewise.
41522 (La_regs): Likewise.
41523 (La_retval): Likewise.
41524 (int_retval): Likewise.
41525 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
41527 (pltexit): Likewise.
41528 (La_regs): Likewise.
41529 (La_retval): Likewise.
41530 (int_retval): Likewise.
41531 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
41533 (pltexit): Likewise.
41534 (La_regs): Likewise.
41535 (La_retval): Likewise.
41536 (int_retval): Likewise.
41537 * sysdeps/generic/tst-audit.h: Update comment to refer only to
41538 macro definitions in tst-audit.h.
41539 * sysdeps/i386/tst-audit.h: New file.
41540 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
41541 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
41542 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
41543 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
41544 * sysdeps/sh/tst-audit.h: Likewise.
41545 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
41546 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
41547 * sysdeps/x86_64/tst-audit.h: Likewise.
41549 2012-07-26 Andreas Jaeger <aj@suse.de>
41551 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
41554 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
41555 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
41556 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
41558 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
41559 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
41560 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
41562 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
41565 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
41567 (si_call_addr, si_syscall, si_arch): Define new macro.
41568 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
41570 (si_call_addr, si_syscall, si_arch): Define new marcro.
41571 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
41573 (si_call_addr, si_syscall, si_arch): Define new macro.
41574 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
41576 (si_call_addr, si_syscall, si_arch): Define new macro.
41578 2012-07-25 Joseph Myers <joseph@codesourcery.com>
41581 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41582 Change to 2.4.21 where previously 2.4.1.
41583 * sysdeps/unix/sysv/linux/configure: Regenerated.
41584 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
41585 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
41586 Linux kernel version.
41587 (__ASSUME_STD_AUXV): Remove.
41588 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
41590 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
41591 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
41592 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
41593 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
41594 (__ASSUME_NETLINK_SUPPORT): Likewise.
41595 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
41596 (__no_netlink_support): Remove conditional definition.
41597 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
41599 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41600 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
41601 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
41602 (if_nameindex_ioctl): Remove.
41603 (if_nameindex_netlink): Do not handle __no_netlink_support.
41604 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41606 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
41607 Remove conditional code.
41608 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41610 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
41612 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41613 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
41614 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
41616 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
41617 [!__ASSUME_STD_AUXV]: Remove conditional code.
41618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
41619 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
41620 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
41621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
41622 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
41623 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41625 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41627 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
41628 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41630 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
41632 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41635 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
41638 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41639 code unconditional.
41640 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41642 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41644 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41647 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41649 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
41652 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41653 code unconditional.
41654 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41656 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41658 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
41661 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41662 code unconditional.
41663 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41665 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41667 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41670 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
41672 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
41673 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
41674 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41675 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
41676 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
41677 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
41678 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
41679 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
41680 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
41681 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
41682 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
41683 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
41684 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
41685 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
41686 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
41687 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
41688 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
41689 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
41690 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
41691 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
41692 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
41693 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
41694 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41696 2012-07-25 Florian Weimer <fweimer@redhat.com>
41698 * Versions.def: Add GLIBC_2.17.
41699 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
41700 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
41701 Introduce __libc_secure_getenv.
41702 * stdlib/Versions (2.17): Add secure_getenv
41703 (GLIBC_PRIVATE): Add __libc_secure_getenv.
41704 * stdlib/secure-getenv.c: Rename __secure_getenv to
41705 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
41706 symbol __secure_getenv for GLIBC_2.0.
41707 * stdlib/tst-secure-getenv.c: New.
41708 * stdlib/Makefile (tests): Add testcase.
41709 * manual/startup.texi (Environment Access): Document
41711 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
41712 __libc_secure_getenv.
41713 * inet/ruserpass.c (ruserpass): Likewise.
41714 * malloc/mtrace.c (mtrace): Likewise.
41715 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
41716 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
41717 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
41718 * sysdeps/posix/tempname.c: Likewise. Evaluate
41719 HAVE_SECURE_GETENV.
41720 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
41721 __secure_getenv to __libc_secure_getenv.
41722 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
41723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41729 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41732 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41735 2012-07-25 Joseph Myers <joseph@codesourcery.com>
41737 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
41738 (struct La_i86_retval): Likewise.
41739 (struct La_x86_64_regs): Likewise.
41740 (struct La_x86_64_retval): Likewise.
41741 (struct La_x32_regs): Likewise.
41742 (struct La_x32_retval): Likewise.
41743 (struct La_ppc32_regs): Likewise.
41744 (struct La_ppc32_retval): Likewise.
41745 (struct La_ppc64_regs): Likewise.
41746 (struct La_ppc64_retval): Likewise.
41747 (struct La_sh_regs): Likewise.
41748 (struct La_sh_retval): Likewise.
41749 (struct La_s390_32_regs): Likewise.
41750 (struct La_s390_32_retval): Likewise.
41751 (struct La_s390_64_regs): Likewise.
41752 (struct La_s390_64_retval): Likewise.
41753 (struct La_sparc32_regs): Likewise.
41754 (struct La_sparc32_retval): Likewise.
41755 (struct La_sparc64_regs): Likewise.
41756 (struct La_sparc64_retval): Likewise.
41757 (struct audit_ifaces): Remove architecture-specific pltenter and
41759 * sysdeps/i386/ldsodefs.h: New file.
41760 * sysdeps/powerpc/ldsodefs.h: Likewise.
41761 * sysdeps/s390/ldsodefs.h: Likewise.
41762 * sysdeps/sh/ldsodefs.h: Likewise.
41763 * sysdeps/sparc/ldsodefs.h: Likewise.
41764 * sysdeps/x86_64/ldsodefs.h: Likewise.
41766 2012-07-25 Marek Polacek <polacek@redhat.com>
41769 * math/libm-test.inc (yn_test): Add another test.
41770 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
41771 to ERANGE when the result is +-Inf.
41772 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41773 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
41774 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
41775 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
41777 2012-07-24 Joseph Myers <joseph@codesourcery.com>
41779 * conform/data/time.h-data (NULL): Use macro-constant. Require
41781 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
41783 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
41785 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
41787 * configure.in <sysdeps resolving>: Correct printing
41789 * configure: Regenerate.
41791 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
41793 * math/w_ilogb.c: Include <limits.h>.
41794 * math/w_ilogbl.c: Likewise.
41796 2012-07-20 Joseph Myers <joseph@codesourcery.com>
41798 * manual/lang.texi (__va_copy): Document primarily as ISO C99
41799 va_copy. Document allowing for unavailable va_copy only as
41800 pre-C99 compatibility.
41801 * manual/string.texi (Copying and Concatenation): Use va_copy
41802 instead of __va_copy in concat example.
41804 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
41806 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
41807 (__sendto): Use create_address_port. Initialize APORT and deallocate
41810 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
41811 with O_NOLINK passed to __file_name_lookup.
41813 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
41814 with O_NOLINK passed to __file_name_lookup.
41816 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
41817 negative N or less than NGIDS.
41819 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
41820 type to string_t. Set ERANGE as errno and return it if NAME is not big
41821 enough. Use memcpy instead of strncpy.
41823 2012-07-20 Joseph Myers <joseph@codesourcery.com>
41825 * elf/Makefile (check-data): Remove.
41826 (localplt.data): New vpath directive.
41827 ($(objpfx)check-localplt.out): Use localplt.data from vpath
41828 instead of $(check-data).
41829 * scripts/data/localplt-generic.data: Move to ...
41830 * sysdeps/generic/localplt.data: ... here.
41831 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
41832 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
41833 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
41834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41836 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
41837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
41839 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
41840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
41842 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
41843 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41845 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
41846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
41848 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
41849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
41852 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41854 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
41855 PPC32 and PPC64 files.
41856 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
41857 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
41859 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41861 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
41862 __makecontext_ret to ...
41863 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
41864 ... here and call exit if uc_link is NULL. New file.
41865 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
41866 __makecontext_ret.S.
41867 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
41868 __makecontext_ret to ...
41869 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
41870 ... here and call exit if uc_link is NULL. New file.
41871 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
41872 __makecontext_ret.S.
41874 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41876 * elf/elf.h (R_390_IRELATIVE): New definition.
41877 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
41878 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
41879 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
41880 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41881 (elf_machine_lazy_rel): Likewise.
41882 * sysdeps/s390/dl-irel.h: New file.
41883 * sysdeps/s390/s390-64/memcpy.S: New asm code.
41884 * sysdeps/s390/s390-64/memset.S: New asm code.
41885 * sysdeps/s390/s390-64/memcmp.S: New asm code.
41886 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
41887 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
41888 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
41889 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
41890 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
41891 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
41892 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
41893 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
41894 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
41895 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
41896 * sysdeps/s390/s390-32/memcpy.S: New asm code.
41897 * sysdeps/s390/s390-32/memset.S: New asm code.
41898 * sysdeps/s390/s390-32/memcmp.S: New asm code.
41900 2012-07-17 Marek Polacek <polacek@redhat.com>
41903 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
41904 * sysdeps/s390/s390-64/configure.in: Likewise.
41905 * sysdeps/sparc/configure.in: Likewise.
41906 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
41907 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
41908 * sysdeps/i386/configure.in: Likewise.
41909 * sysdeps/x86_64/configure.in: Likewise.
41910 * sysdeps/sh/configure.in: Likewise.
41911 * sysdeps/s390/s390-32/configure: Regenerated.
41912 * sysdeps/s390/s390-64/configure: Likewise.
41913 * sysdeps/x86_64/configure: Likewise.
41914 * sysdeps/sh/configure: Likewise.
41915 * sysdeps/powerpc/powerpc64/configure: Likewise.
41916 * sysdeps/powerpc/powerpc32/configure: Likewise.
41917 * sysdeps/sparc/configure: Likwise.
41918 * sysdeps/i386/configure: Likewise.
41920 * elf/dl-open.c: Comment fixes.
41922 2012-07-17 Joseph Myers <joseph@codesourcery.com>
41924 * Makefile [CXX] (check-data): Remove.
41925 [CXX] (c++-types.data): New vpath directive.
41926 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
41927 vpath. Do not allow for C++ type data being missing.
41928 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
41929 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
41930 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
41931 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
41932 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
41933 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
41934 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
41935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41937 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
41938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41940 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
41941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
41943 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
41944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
41946 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
41947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
41949 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
41950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
41952 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
41953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
41955 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
41956 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
41958 * elf/tls-macros.h (TLS_LE): Move architecture-specific
41959 definitions to architecture-specific files.
41960 (TLS_IE): Likewise.
41961 (TLS_LD): Likewise.
41962 (TLS_GD): Likewise.
41963 * sysdeps/i386/tls-macros.h: New file.
41964 * sysdeps/powerpc/tls-macros.h: Likewise.
41965 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
41966 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
41967 * sysdeps/sh/tls-macros.h: Likewise.
41968 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
41969 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
41970 * sysdeps/x86_64/tls-macros.h: Likewise.
41972 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41974 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
41975 zero value for regular exit case.
41977 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
41978 (__start_context): Preserve zero value for regular exit case.
41980 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41981 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41983 * manual/setjmp.texi (setcontext): Clarify normal process
41984 termination when uc_link is the null pointer.
41985 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41988 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
41990 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41991 preprocessor. Test for each exception mask separately.
41993 2012-07-16 Andreas Jaeger <aj@suse.de>
41995 * po/ru.po: Update from translation team.
41997 2012-07-15 Joseph Myers <joseph@codesourcery.com>
41999 * conform/data/string.h-data (NULL): Use macro-constant. Require
42001 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42002 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42003 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
42004 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
42005 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42007 2012-07-13 Andreas Jaeger <aj@suse.de>
42009 * po/fr.po: Update from translation team.
42011 2012-07-12 Marek Polacek <polacek@redhat.com>
42014 * math/libm-test.inc (yn_test): Add test for BZ #14173.
42015 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
42018 2012-07-12 Joseph Myers <joseph@codesourcery.com>
42021 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42022 Change to 2.4.1 where previously 2.4.0.
42023 * sysdeps/unix/sysv/linux/configure: Regenerated.
42024 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
42025 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
42027 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
42028 (__ASSUME_AT_CLKTCK): Remove.
42029 (__ASSUME_AT_PAGESIZE): Likewise.
42030 (__ASSUME_AT_XID): Likewise.
42031 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
42032 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
42033 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
42035 (HAVE_AUX_PAGESIZE): Likewise.
42036 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
42037 [__ASSUME_AT_CLKTCK]: Make code unconditional.
42038 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
42040 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
42043 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
42044 the temporary buffer used to invoke __gethostbyname2_r,
42045 __gethostbyaddr_r and gethostbyname4_r to make room for struct
42046 host_data / struct gaih_addrtuple.
42047 * resolv/nss_dns/dns-host.c (global scope): Move definition of
42048 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
42049 header file nss/nsswitch.h.
42050 * nss/nsswitch.h (global scope): Add definition of implementation
42051 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
42052 resolv/nss_dns/dns-host.c).
42054 2012-07-11 Andreas Jaeger <aj@suse.de>
42056 * po/fr.po: Update from translation team.
42058 * po/sv.po: Update from translation team
42059 * po/fr.po: Another update from translation team.
42061 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42063 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
42064 for subnormals or multiply small sinh result by itself.
42065 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42068 2012-07-11 David S. Miller <davem@davemloft.net>
42070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42072 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
42075 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
42076 (INTERNAL_MARK): Shift it here.
42078 2012-07-10 Marek Polacek <polacek@redhat.com>
42081 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
42082 libc_cv_asm_global_directive with .globl.
42083 * configure: Regenerated.
42084 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
42086 * sysdeps/i386/configure: Regenerated.
42087 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
42089 * sysdeps/x86_64/configure: Regenerated.
42090 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
42091 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
42092 * elf/tst-unique2mod2.c: Likewise.
42093 * elf/tst-unique2mod1.c: Likewise.
42094 * elf/tst-unique1mod2.c: Likewise.
42095 * elf/tst-unique1mod1.c: Likewise.
42096 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42097 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42098 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42099 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42100 * sysdeps/mach/sysdep.h: Likewise.
42101 * sysdeps/i386/sysdep.h: Likewise.
42102 * sysdeps/i386/i386-mcount.S: Likewise.
42103 * sysdeps/x86_64/_mcount.S: Likewise.
42104 * sysdeps/x86_64/sysdep.h: Likewise.
42105 * sysdeps/sh/_mcount.S: Likewise.
42106 * sysdeps/sh/sysdep.h: Likewise.
42107 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
42108 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
42109 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
42110 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42111 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
42112 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
42113 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
42114 * locale/localeinfo.h: Likewise.
42115 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
42116 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
42118 2012-07-09 Roland McGrath <roland@hack.frob.com>
42121 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
42123 * manual/message.texi (The Uniforum approach): Likewise.
42124 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
42125 (glibc iconv Implementation): Likewise.
42127 2012-07-09 Joseph Myers <joseph@codesourcery.com>
42130 * math/s_clog.c (__clog): Avoid scaling a value down where that
42131 could result in underflow.
42132 * math/s_clog10.c (__clog10): Likewise.
42133 * math/s_clog10f.c (__clog10f): Likewise.
42134 * math/s_clog10l.c (__clog10l): Likewise.
42135 * math/s_clogf.c (__clogf): Likewise.
42136 * math/s_clogl.c (__clogl): Likewise.
42137 * math/libm-test.inc (clog_test): Add more tests.
42138 (clog10_test): Likewise.
42139 * sysdeps/i386/fpu/libm-test-ulps: Update.
42140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42142 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
42145 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
42146 by 7 not 8 to examine high bit of fractional part.
42149 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
42150 for call to __mcount_internal.
42151 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
42152 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
42153 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
42155 2012-07-06 Joseph Myers <joseph@codesourcery.com>
42158 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
42159 approximation for values within 0x1p-13f of an odd multiple of
42161 * math/libm-test.inc (tan_test): Do not allow spurious underflow
42162 exception. Add more tests.
42163 * sysdeps/i386/fpu/libm-test-ulps: Update.
42166 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
42167 inputs and return -1 for them. Do not check for +Inf in case not
42168 reachable for +Inf.
42169 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42170 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
42171 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
42172 and return -1 for them. Do not check for +Inf in case not
42173 reachable for +Inf.
42174 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
42176 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
42177 and return -1 for them. Do not check for +Inf in case not
42178 reachable for +Inf.
42179 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
42180 spurious underflow.
42181 * sysdeps/i386/fpu/libm-test-ulps: Update.
42182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42184 2012-07-06 Mike Frysinger <vapier@gentoo.org>
42186 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
42188 2012-07-05 Joseph Myers <joseph@codesourcery.com>
42192 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
42193 could result in spurious underflow. Scale down values above
42194 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
42195 * math/s_csqrtf.c (__csqrtf): Likewise.
42196 * math/s_csqrtl.c (__csqrtl): Likewise.
42197 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
42198 spurious underflow.
42199 * sysdeps/i386/fpu/libm-test-ulps: Update.
42200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42202 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
42204 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
42206 * catgets/xopen-msg.awk: New file.
42207 * catgets/xopen-msg.sed: Removed.
42209 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
42211 * intl/po2test.awk: New file.
42212 * intl/po2test.sed: Removed.
42214 2012-07-04 Joseph Myers <joseph@codesourcery.com>
42217 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
42218 or multiply small sinh result by itself.
42219 * math/s_ctanf.c (__ctanf): Likewise.
42220 * math/s_ctanh.c (__ctanh): Likewise.
42221 * math/s_ctanhf.c (__ctanhf): Likewise.
42222 * math/s_ctanhl.c (__ctanhl): Likewise.
42223 * math/s_ctanl.c (__ctanl): Likewise.
42224 * math/libm-test.inc (ctan_test_tonearest): New function.
42225 (ctan_test_towardzero): Likewise.
42226 (ctan_test_downward): Likewise.
42227 (ctan_test_upward): Likewise.
42228 (ctanh_test_tonearest): Likewise.
42229 (ctanh_test_towardzero): Likewise.
42230 (ctanh_test_downward): Likewise.
42231 (ctanh_test_upward): Likewise.
42232 (main): Call these new functions.
42233 * sysdeps/i386/fpu/libm-test-ulps: Update.
42234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42236 2012-07-03 Mike Frysinger <vapier@gentoo.org>
42238 * .gitignore: Delete /ports entry.
42240 2012-07-03 Andreas Jaeger <aj@suse.de>
42242 * po/bg.po: Update from translation team.
42243 * po/cs.po: Likewise.
42244 * po/de.po: Likewise.
42245 * po/hr.po: Likewise.
42246 * po/nl.pl: Likewise.
42247 * po/pl.po: Likewise.
42248 * po/vi.po: Likewise.
42250 2012-07-03 Joseph Myers <joseph@codesourcery.com>
42252 * Makeconfig [!+link] (+link-before-libc): New variable.
42253 [!+link] (+link-after-libc): Likewise.
42254 [!+link] (+link-tests): Likewise.
42255 [!+link] (+link): Define in terms of $(+link-before-libc) and
42256 $(+link-after-libc).
42257 [!+link-static] (+link-static-before-libc): New variable.
42258 [!+link-static] (+link-static-after-libc): Likewise.
42259 [!+link-static] (+link-static-tests): Likewise.
42260 [!+link-static] (+link-static): Define in terms of
42261 $(+link-static-before-libc) and $(+link-static-after-libc).
42262 [build-shared] (link-libc-before-gnulib): New variable.
42263 [build-shared] (link-libc-tests): Likewise.
42264 [build-shared] (link-libc): Define in terms of
42265 $(link-libc-before-gnulib).
42266 [!build-shared] (link-libc-tests): New variable.
42267 (link-libc-static-tests): New variable.
42268 [!gnulib] (gnulib-arch): New variable.
42269 [!gnulib] (gnulib-tests): Likewise.
42270 [!gnulib] (static-gnulib-arch): Likewise.
42271 [!gnulib] (static-gnulib-tests): Likewise.
42272 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
42273 Define with "=" instead of ":=".
42274 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
42275 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
42276 * Rules (binaries-all-notests): New variable.
42277 (binaries-all-tests): Likewise.
42278 (binaries-static-notests): Likewise.
42279 (binaries-static-tests): Likewise.
42280 (binaries-all): Define using $(binaries-all-notests) and
42281 $(binaries-all-tests).
42282 (binaries-static): Define using $(binaries-static-notests) and
42283 $(binaries-static-tests).
42284 (binaries-shared-tests): New variable.
42285 (binaries-shared-notests): Likewise.
42286 (binaries-shared): Remove variable.
42287 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
42288 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
42289 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
42290 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
42291 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
42292 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
42293 * elf/Makefile (sln-modules): New variable.
42294 (extra-objs): Add $(sln-modules:=.o).
42295 (ldconfig-modules): Add static-stubs.
42296 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
42297 * elf/static-stubs.c: New file.
42300 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
42301 by 7 not 8 to examine high bit of fractional part. Use volatile
42302 variables when splitting into final array of floats if
42303 __FLT_EVAL_METHOD__ != 0.
42304 * math/libm-test.inc (cos_test): Add another test.
42305 (sin_test): Likewise.
42306 * sysdeps/i386/fpu/libm-test-ulps: Update.
42309 * math/libm-test.inc (cosh_test): Add more tests.
42311 * version.h (RELEASE): Set to "development".
42312 (VERSION): Set to "2.16.90".
42314 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
42316 * NEWS: Update copyright. Remove last-updated date.
42317 Mention math library bug fixes and timezone data changes.
42318 * README: Mention GNU/Hurd, x32, and HPPA support status.
42320 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
42322 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
42324 2012-06-27 Andreas Jaeger <aj@suse.de>
42326 * manual/contrib.texi (Contributors): Add Samuel Thibault.
42328 2012-06-25 Andreas Jaeger <aj@suse.de>
42330 * sysdeps/s390/fpu/libm-test-ulps: Update.
42332 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
42333 Thomas Schwinge <thomas@codesourcery.com>
42335 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
42336 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
42337 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
42340 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
42342 * sysdeps/mach/start.c: Remove file.
42343 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
42344 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
42345 * sysdeps/sh/init-first.c: Likewise.
42347 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
42348 registers for frame unwinding purposes, add CFI directives.
42349 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
42350 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
42351 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
42354 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
42355 __fortify_fail returning.
42356 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
42358 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
42359 sysdeps/sh/____longjmp_chk.S.
42360 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
42361 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
42362 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
42363 (gen-as-const-headers): Append sigaltstack-offsets.sym.
42365 * sysdeps/sh/abort-instr.h: New file.
42366 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
42367 process in case exit returns.
42369 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
42370 initialize the GOT register before use.
42372 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
42373 calculation of ARGC > 4.
42375 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
42376 meaningful names to some local labels.
42378 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42379 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42381 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
42382 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
42383 (__arch_compare_and_exchange_val_16_acq): Likewise.
42384 (__arch_compare_and_exchange_val_32_acq): Likewise.
42385 (atomic_exchange_and_add): Fix gUSA sequence.
42386 (atomic_add): Likewise.
42387 (atomic_add_negative): Likewise.
42388 (atomic_add_zero): Likewise.
42389 (atomic_bit_test_set): Likewise.
42391 2012-06-22 Andreas Schwab <schwab@redhat.com>
42394 * include/link.h (struct link_map): Add l_free_initfini.
42395 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
42397 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
42398 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
42399 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
42402 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
42404 * configure.in: Use AC_LANG_SOURCE.
42405 * configure: Regenerate.
42407 2012-06-22 Roland McGrath <roland@hack.frob.com>
42409 * configure.in (libc_cv_localstatedir): New substituted variable.
42410 * configure: Regenerated.
42411 * config.make.in (localstatedir): New variable, substituted from
42412 libc_cv_localstatedir.
42413 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
42414 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
42415 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
42416 * sysdeps/gnu/configure: Regenerated.
42418 2012-06-21 Jeff Law <law@redhat.com>
42421 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
42422 free. Simplify list management for _LIBC case.
42424 2012-06-21 Joseph Myers <joseph@codesourcery.com>
42427 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
42428 Clear sign bit of 64-bit integer value before comparing against
42431 * sysdeps/mach/configure: Regenerated.
42433 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
42436 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
42438 2012-06-21 Jeff Law <law@redhat.com>
42441 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
42442 uint16_t for elements in the "seen" array to avoid char overflows.
42443 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42444 * elf/dl-open.c (dl_open_worker): Likewise.
42446 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
42448 * scripts/list-sources.sh: Scan PORTS for translations.
42449 * po/libc.pot: Regenerated.
42451 2012-06-21 Andreas Jaeger <aj@suse.de>
42454 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
42456 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
42457 * bits/byteswap-16.h (__bswap_16): Likewise.
42458 * bits/byteswap.h (__bswap_constant_16): Likewise.
42460 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
42463 * sysdeps/i386/fpu_control.h: Removed.
42464 * sysdeps/x86_64/fpu_control.h: Moved to ...
42465 * sysdeps/x86/fpu_control.h: Here.
42467 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
42468 (_FPU_SETCW): Likewise.
42470 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
42473 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
42474 * sysdeps/x86/fpu/bits/mathinline.h: This.
42475 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
42479 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
42480 functions if __x86_64__ is defined.
42482 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
42484 * string/endian.h: Add !__ASSEMBLER__ condition for including
42485 conversion interfaces.
42487 2012-06-15 Joseph Myers <joseph@codesourcery.com>
42490 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
42491 of ABS(x) in calculating zero to negative powers other than odd
42493 * math/libm-test.inc (pow_test): Add more tests.
42495 2012-06-15 Andreas Jaeger <aj@suse.de>
42497 * manual/contrib.texi (Contributors): Update entry of Liubov
42498 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
42501 2012-06-15 Cyril Hrubis <metan@ucw.cz>
42503 * string/string.h: Add __wur to GNU version of strerror_r.
42505 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
42508 * string/Makefile (tests): Add tst-strtok_r.
42509 * string/tst-strtok_r.c: New file.
42510 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
42511 RAX_LP/RDX_LP on SAVE_PTR.
42513 2012-06-14 Roland McGrath <roland@hack.frob.com>
42515 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
42517 2012-06-14 Joseph Myers <joseph@codesourcery.com>
42519 * libm_test.inc (csqrt_test): Allow more spurious underflow
42521 (j0_test): Likewise.
42522 (j1_test): Likewise.
42523 (y0_test): Likewise.
42524 (y1_test): Likewise.
42526 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
42528 * po/Makefile (libc.pot): Use UTF-8 charset.
42530 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
42533 Suppress sign-conversion warning from FD_SET.
42534 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
42535 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
42536 not unsigned long int.
42537 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
42539 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
42543 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
42544 __extern_always_inline instead of __extern_inline.
42545 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
42546 (__signbit): Likewise.
42547 (__signbitl): Support C++ namespace.
42548 (lrintf): New inline function.
42550 (llrintf): Likewise.
42551 (llrint): Likewise.
42561 (floorf): Likewise.
42562 (nearbyint): Likewise.
42563 (nearbyintf): Likewise.
42565 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
42567 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
42568 non-default versions.
42570 2012-06-11 Roland McGrath <roland@hack.frob.com>
42573 * manual/argp.texi (Argp): Reword argp_parse description slightly.
42575 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
42577 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
42578 (FE_UPWARD, FE_DOWNWARD): Don't define.
42579 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
42580 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42582 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
42584 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42585 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42587 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42589 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42590 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
42591 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
42592 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
42594 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
42597 * sysdeps/i386/fpu/bits/fenv.h: Removed.
42598 * sysdeps/i386/fpu/Implies: New file.
42599 * sysdeps/x86_64/fpu/Implies: Likewise.
42600 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
42601 * sysdeps/x86/fpu/bits/fenv.h: This.
42603 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
42606 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
42609 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
42610 character 0xffff that matches the last element of the
42613 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42615 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
42618 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42620 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
42621 values higher than 25.6283.
42623 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42625 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
42626 subnormal exponent extraction and add some __builtin_expect.
42627 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
42628 Fix for subnormal mantissa calculation.
42630 2012-06-04 Mike Frysinger <vapier@gentoo.org>
42632 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
42633 cpu2 is -1 and errno is not ENOSYS.
42635 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
42638 * sysdeps/i386/i486/bits/string.h: Renamed to ...
42639 * sysdeps/x86/bits/string.h: This.
42640 * sysdeps/x86_64/bits/string.h: Removed.
42642 * sysdeps/i386/i486/bits/string.h: Define inline functions only
42643 if not compiling for x86-64, but compiling for >= i486.
42645 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
42646 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
42648 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
42649 New macro from Linux kernel 3.4.0.
42650 (FP_XSTATE_MAGIC2): Likewise.
42651 (FP_XSTATE_MAGIC2_SIZE): Likewise.
42652 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
42653 (struct _fpx_sw_bytes): New struct.
42654 (struct _xsave_hdr): Likewise.
42655 (struct _ymmh_state): Likewise.
42656 (struct _xstate): Likewise.
42658 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
42659 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
42660 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
42661 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
42662 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
42663 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
42665 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
42666 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
42667 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
42668 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
42669 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
42670 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
42672 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42675 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
42676 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
42677 (sysdep_headers): Include sys/platform/ppc.h.
42678 * sysdeps/powerpc/test-gettimebase.c: Test for
42679 __ppc_get_timebase() to catch future ISA opcode/insn changes.
42680 * manual/Makefile (appendices): Include platform.texi.
42681 * manual/contrib.texi (Contributors): Update @node pointers.
42682 * manual/maint.texi (Maintenance): Likewise.
42683 (Platform): New node.
42684 * manual/platform.texi: New file. Document the new features.
42686 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42687 Jakub Jelinek <jakub@redhat.com>
42690 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
42691 where __builtin_expect is unavailable.
42693 2012-06-03 David S. Miller <davem@davemloft.net>
42695 * stdlib/longlong.h: Updated from GCC.
42697 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
42700 * sysdeps/powerpc/powerpc32/mcount.c: New file.
42701 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
42703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42704 (GLIBC_2.16): Likewise.
42706 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42708 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
42710 2012-06-01 Joseph Myers <joseph@codesourcery.com>
42712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
42713 (default-abi): New variable.
42714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
42715 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
42717 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
42719 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
42721 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
42724 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
42725 definition. Document in comment.
42727 2012-06-01 David S. Miller <davem@davemloft.net>
42729 * stdlib/longlong.h: Updated from GCC.
42731 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42734 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
42735 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
42736 sys/debugreg.h sys/io.h here.
42737 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
42738 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
42740 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
42741 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
42742 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
42743 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
42744 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
42745 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
42747 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
42748 Define only if __x86_64__ is defined.
42750 2012-06-01 Joseph Myers <joseph@codesourcery.com>
42753 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
42754 Use int64_t for variable i.
42755 * math/libm-test.inc (fmod_test): Add more tests.
42757 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
42758 z computation is not scheduled after fetestexcept.
42759 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
42760 Use math_force_eval instead of asm to ensure calculation scheduled
42761 before exception test.
42762 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
42763 Ensure a1 + u.d computation is not scheduled after fetestexcept.
42765 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
42767 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
42768 computation is not scheduled after fetestexcept.
42770 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42773 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
42774 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
42776 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42778 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
42779 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42781 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42784 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
42786 (__WCHAR_MIN): Support __WORDSIZE == 64.
42787 (__WCHAR_MAX): Likewise.
42789 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
42790 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
42793 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
42794 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
42797 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
42798 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
42800 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
42801 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
42803 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
42804 Defined to 1 if __x86_64__ isn't defined.
42805 (_STAT_VER_LINUX_OLD): New.
42806 (st_atime): Remove duplicate.
42807 (st_mtime): Likewise.
42808 (st_ctime): Likewise.
42810 2012-05-31 David S. Miller <davem@davemloft.net>
42812 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
42815 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
42817 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
42821 * elf/dl-reloc.c: Include <_itoa.h>.
42822 (_dl_reloc_bad_type): Remove use of INTUSE.
42823 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
42824 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
42825 * stdio-common/psiginfo.c (psiginfo): Likewise.
42826 * stdio-common/psignal.c (psignal): Likewise.
42827 * string/strsignal.c (strsignal): Likewise.
42828 * include/signal.h (_sys_siglist): Declare hidden proto.
42829 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
42830 INTVARDEF with libc_hidden_data_def.
42831 * stdio-common/itoa-udigits.c: Likewise.
42832 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
42833 (_itoa_lower_digits_internal): Remove declaration.
42834 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
42835 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
42836 (_sys_sigabbrev_internal): Remove aliases.
42837 (_sys_siglist): Define hidden alias.
42839 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
42841 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42844 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42847 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
42848 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
42850 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
42851 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
42852 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
42853 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
42854 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
42855 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
42857 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
42858 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
42859 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
42861 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
42869 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
42870 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
42871 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
42873 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
42874 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
42875 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
42876 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
42877 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
42878 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
42880 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
42881 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
42883 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
42884 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
42886 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
42887 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
42888 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
42890 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
42891 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
42893 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
42895 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
42896 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
42897 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
42899 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
42901 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
42903 2012-05-31 Joseph Myers <joseph@codesourcery.com>
42905 * math/math.h (M_El): Use two more decimal places.
42906 (M_LOG2El): Likewise.
42907 (M_LOG10El): Likewise.
42908 (M_LN2l): Likewise.
42909 (M_LN10l): Likewise.
42911 (M_PI_2l): Likewise.
42912 (M_PI_4l): Likewise.
42913 (M_1_PIl): Likewise.
42914 (M_2_PIl): Likewise.
42915 (M_2_SQRTPIl): Likewise.
42916 (M_SQRT2l): Likewise.
42917 (M_SQRT1_2l): Likewise.
42919 2012-05-31 David S. Miller <davem@davemloft.net>
42921 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
42922 values between float registers.
42923 * sysdeps/sparc/sparc64/memset.S: Likewise.
42924 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42926 2012-05-31 Mike Frysinger <vapier@gentoo.org>
42928 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
42929 -D_FORTIFY_SOURCE=1.
42930 (CPPFLAGS-tst-longjmp_chk.c): Define.
42931 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
42932 (CPPFLAGS-tst-longjmp_chk2.c): Define.
42933 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
42934 CFLAGS-tst-wchar-h.c.
42936 2012-05-31 Marek Polacek <polacek@redhat.com>
42939 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
42940 __endmntent_internal): Remove declaration.
42941 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
42942 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
42943 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
42945 2012-05-30 David S. Miller <davem@davemloft.net>
42947 * sysdeps/sparc/sparc32/soft-fp/q_util.c
42948 (___Q_simulate_exceptions): Use real FP ops rather than writing
42950 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
42953 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42956 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
42957 * sysdeps/x86/bits/xtitypes.h: This.
42959 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
42960 * sysdeps/x86/bits/wordsize.h: This.
42962 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
42963 * sysdeps/x86/bits/huge_vall.h: This.
42965 * sysdeps/i386/bits/select.h: Removed.
42966 * sysdeps/x86_64/bits/select.h: Renamed to ...
42967 * sysdeps/x86/bits/select.h: This.
42969 * sysdeps/i386/bits/setjmp.h: Removed.
42970 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
42971 * sysdeps/x86/bits/setjmp.h: This.
42973 * sysdeps/i386/bits/mathdef.h: Removed.
42974 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
42975 * sysdeps/x86/bits/mathdef.h: This.
42977 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
42980 * include/sys/socket.h (__connect_internal)
42981 (__libc_sa_len_internal): Remove declaration.
42982 (__connect, __libc_sa_len): Declare hidden_proto.
42983 (SA_LEN): Remove use of INTUSE.
42984 * socket/connect.c: Add libc_hidden_def.
42985 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42986 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42987 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42989 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42990 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42991 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42992 of adding _internal alias.
42994 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42997 * sysdeps/i386/bits/link.h: Removed.
42998 * sysdeps/i386/bits/linkmap.h: Likewise.
42999 * sysdeps/x86_64/bits/link.h: Renamed to ...
43000 * sysdeps/x86/bits/link.h: This.
43001 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
43002 * sysdeps/x86/bits/linkmap.h: This.
43004 * sysdeps/i386/bits/endian.h: Removed.
43005 * sysdeps/x86_64/bits/endian.h: Renamed to ...
43006 * sysdeps/x86/bits/endian.h: This.
43008 * sysdeps/i386/bits/byteswap.h: Removed.
43009 * sysdeps/i386/bits/byteswap-16.h: Likewise.
43010 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
43011 * sysdeps/x86/bits/byteswap.h: This.
43012 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
43013 * sysdeps/x86/bits/byteswap-16.h: This.
43014 * sysdeps/i386/Implies: Add x86.
43015 * sysdeps/x86_64/Implies: Likewise.
43017 2012-05-30 David S. Miller <davem@davemloft.net>
43019 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
43020 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
43021 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
43022 (FP_TRAPPING_EXCEPTIONS): Define.
43023 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
43024 (FP_TRAPPING_EXCEPTIONS): Define.
43025 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
43026 subnormals only when inexact has been signalled or underflow
43027 exceptions are enabled.
43028 (_FP_PACK_CANONICAL): Likewise.
43030 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
43033 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
43034 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
43036 2012-05-30 Richard Henderson <rth@twiddle.net>
43038 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
43039 with #ifndef NOT_IN_libc.
43041 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
43042 marked to avoid plt entry.
43044 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
43047 * Makeconfig (default-abi): New macro.
43048 (abi-includes): Likewise.
43049 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
43050 $(abi-$(default-abi)-lib-soname) for soname if defined.
43051 ($(common-objpfx)gnu/lib-names.stmp): Generate from
43053 * Makefile (installed-stubs): Likewise.
43054 * include/stubs-biarch.h: Removed.
43055 * scripts/lib-names.awk: Only handle one library at a time.
43056 * scripts/soversions.awk: Remove WORDSIZE support.
43057 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
43059 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
43061 (syscall-list-default-condition): Likewise.
43062 (syscall-list-default-condition): Likewise.
43063 (syscall-list-includes): Likewise.
43064 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
43065 syscall-list-* with abi-*. Handle undefined abi-variants.
43066 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
43067 * sysdeps/unix/sysv/linux/i386/Implies: New file.
43068 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
43069 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
43070 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
43071 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
43073 (syscall-list-32-options): Likewise.
43074 (syscall-list-32-condition): Likewise.
43075 (syscall-list-64-options): Likewise.
43076 (syscall-list-64-condition): Likewise.
43077 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
43079 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
43082 (abi-64-ld-soname): New macro.
43083 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
43084 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
43087 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
43088 * sysdeps/x86_64/x32/shlib-versions: Likewise.
43090 2012-05-30 Joseph Myers <joseph@codesourcery.com>
43092 * sysdeps/unix/sysv/linux/kernel-features.h
43093 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
43094 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
43095 include <kernel-features.h>.
43096 [!__NR_ftruncate64]: Remove conditional code.
43097 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43098 [__NR_ftruncate64]: Make code unconditional.
43099 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43100 * sysdeps/unix/sysv/linux/truncate64.c: Do not
43101 include <kernel-features.h>.
43102 [!__NR_ftruncate64]: Remove conditional code.
43103 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43104 [__NR_ftruncate64]: Make code unconditional.
43105 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
43107 include <kernel-features.h>.
43108 [!__NR_ftruncate64]: Remove conditional code.
43109 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43110 [__NR_ftruncate64]: Make code unconditional.
43111 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
43113 include <kernel-features.h>.
43114 [!__NR_ftruncate64]: Remove conditional code.
43115 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43116 [__NR_ftruncate64]: Make code unconditional.
43117 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43119 * configure.in (libc_cv_fpie): Weaken to a compile test using
43120 LIBC_TRY_CC_OPTION.
43121 * configure: Regenerated.
43123 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
43126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
43127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
43128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
43131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
43132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
43133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
43134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
43135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43138 2012-05-27 David S. Miller <davem@davemloft.net>
43140 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
43142 (__Q_simulate_exceptions): Return void. Change to simulate
43143 exceptions by writing into the %fsr.
43144 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
43145 (__Qp_handle_exceptions): Likewise.
43147 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
43148 __Qp_handle_exceptions.
43149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
43150 __Qp_handle_exceptions.
43151 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
43152 as unused and give dummy FP_RND_NEAREST initializer.
43153 (FP_INHIBIT_RESULTS): Define.
43154 (___Q_simulate_exceptions): Update declaration.
43155 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
43157 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
43158 as unused and give dummy FP_RND_NEAREST initializer.
43159 (__Qp_handle_exceptions): Update declaration.
43160 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
43163 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
43165 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
43166 the temporary FPU control word.
43167 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
43168 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
43169 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
43170 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43171 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
43172 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
43173 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
43174 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43175 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
43176 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
43177 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43179 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43181 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
43184 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
43186 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
43187 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
43188 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
43189 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
43191 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
43192 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
43195 2012-05-27 Ulrich Drepper <drepper@gmail.com>
43197 * po/h.po: Update from translation team.
43199 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
43201 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
43203 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
43204 handling of denormals.
43205 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43206 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
43207 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43208 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43209 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43210 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
43211 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
43214 2012-05-26 Marek Polacek <polacek@redhat.com>
43217 * math/libm-test.inc (fma_test): Don't always expect underflow
43220 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
43223 * elf/tst-execstack.c: Include stackinfo.h.
43224 (do_test): Adjust test case to ensure that pthread_getattr_np
43225 behaviour remains the same after marking stack executable.
43227 2012-05-25 Joseph Myers <joseph@codesourcery.com>
43229 * sysdeps/unix/sysv/linux/kernel-features.h
43230 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
43231 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
43233 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
43234 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
43235 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
43237 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
43238 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
43240 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
43242 * configure.in: Define the default includes to being none.
43243 * configure: Regenerated.
43245 2012-05-25 Roland McGrath <roland@hack.frob.com>
43247 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
43248 * sysdeps/x86_64/setjmp.S: Likewise.
43249 * sysdeps/i386/bsd-setjmp.S: Likewise.
43250 * sysdeps/i386/bsd-_setjmp.S: Likewise.
43251 * sysdeps/i386/setjmp.S: Likewise.
43252 * sysdeps/i386/__longjmp.S: Likewise.
43253 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43254 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
43256 * include/stap-probe.h: New file.
43257 * configure.in: Handle --enable-systemtap.
43258 * configure: Regenerated.
43259 * config.h.in (USE_STAP_PROBE): New #undef.
43260 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
43261 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
43262 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43264 2012-05-25 Joseph Myers <joseph@codesourcery.com>
43267 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43268 to 2.4.0 where earlier.
43269 * sysdeps/unix/sysv/linux/configure: Regenerated.
43270 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
43271 <kernel-features.h>.
43272 [__ASSUME_32BITUIDS]: Make code unconditional.
43273 [!__ASSUME_32BITUIDS]: Remove conditional code.
43274 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
43275 <kernel-features.h>.
43276 [__ASSUME_32BITUIDS]: Make code unconditional.
43277 [!__ASSUME_32BITUIDS]: Remove conditional code.
43278 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
43279 [__ASSUME_32BITUIDS]: Make code unconditional.
43280 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
43281 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
43282 <kernel-features.h>.
43283 [__ASSUME_32BITUIDS]: Make code unconditional.
43284 [!__ASSUME_32BITUIDS]: Remove conditional code.
43285 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
43286 <kernel-features.h>.
43287 [__ASSUME_32BITUIDS]: Make code unconditional.
43288 [!__ASSUME_32BITUIDS]: Remove conditional code.
43289 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
43290 <kernel-features.h>.
43291 [__ASSUME_32BITUIDS]: Make code unconditional.
43292 [!__ASSUME_32BITUIDS]: Remove conditional code.
43293 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
43294 <kernel-features.h>.
43295 [__ASSUME_32BITUIDS]: Make code unconditional.
43296 [!__ASSUME_32BITUIDS]: Remove conditional code.
43297 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
43298 <kernel-features.h>.
43299 [__ASSUME_32BITUIDS]: Make code unconditional.
43300 [!__ASSUME_32BITUIDS]: Remove conditional code.
43301 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
43302 <kernel-features.h>.
43303 [__ASSUME_32BITUIDS]: Make code unconditional.
43304 [!__ASSUME_32BITUIDS]: Remove conditional code.
43305 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
43306 <kernel-features.h>.
43307 [__ASSUME_32BITUIDS]: Make code unconditional.
43308 [!__ASSUME_32BITUIDS]: Remove conditional code.
43309 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
43310 <kernel-features.h>.
43311 [__ASSUME_32BITUIDS]: Make code unconditional.
43312 [!__ASSUME_32BITUIDS]: Remove conditional code.
43313 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
43314 <kernel-features.h>.
43315 [__ASSUME_32BITUIDS]: Make code unconditional.
43316 [!__ASSUME_32BITUIDS]: Remove conditional code.
43317 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
43318 <kernel-features.h>.
43319 [__ASSUME_32BITUIDS]: Make code unconditional.
43320 [!__ASSUME_32BITUIDS]: Remove conditional code.
43321 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
43322 <kernel-features.h>.
43323 [__NR_setresgid] (__setresgid): Do not declare.
43324 [__ASSUME_32BITUIDS]: Make code unconditional.
43325 [!__ASSUME_32BITUIDS]: Remove conditional code.
43326 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
43327 <kernel-features.h>.
43328 [__NR_setresuid] (__setresuid): Do not declare.
43329 [__ASSUME_32BITUIDS]: Make code unconditional.
43330 [!__ASSUME_32BITUIDS]: Remove conditional code.
43331 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
43332 <kernel-features.h>.
43333 [__ASSUME_32BITUIDS]: Make code unconditional.
43334 [!__ASSUME_32BITUIDS]: Remove conditional code.
43335 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
43336 <kernel-features.h>.
43337 [__ASSUME_32BITUIDS]: Make code unconditional.
43338 [!__ASSUME_32BITUIDS]: Remove conditional code.
43339 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
43340 <kernel-features.h>.
43341 [__ASSUME_32BITUIDS]: Make code unconditional.
43342 [!__ASSUME_32BITUIDS]: Remove conditional code.
43343 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
43344 <kernel-features.h>.
43345 [__ASSUME_32BITUIDS]: Make code unconditional.
43346 [!__ASSUME_32BITUIDS]: Remove conditional code.
43347 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
43348 <kernel-features.h>.
43349 [__ASSUME_32BITUIDS]: Make code unconditional.
43350 [!__ASSUME_32BITUIDS]: Remove conditional code.
43351 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
43352 <kernel-features.h>.
43353 [__ASSUME_32BITUIDS]: Make code unconditional.
43354 [!__ASSUME_32BITUIDS]: Remove conditional code.
43355 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
43356 <kernel-features.h>.
43357 [__ASSUME_32BITUIDS]: Make code unconditional.
43358 [!__ASSUME_32BITUIDS]: Remove conditional code.
43359 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
43360 <kernel-features.h>.
43361 [__ASSUME_32BITUIDS]: Make code unconditional.
43362 [!__ASSUME_32BITUIDS]: Remove conditional code.
43363 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
43364 <kernel-features.h>.
43365 [__ASSUME_32BITUIDS]: Make code unconditional.
43366 [!__ASSUME_32BITUIDS]: Remove conditional code.
43367 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
43368 <kernel-features.h>.
43369 [__ASSUME_32BITUIDS]: Make code unconditional.
43370 [!__ASSUME_32BITUIDS]: Remove conditional code.
43371 * sysdeps/unix/sysv/linux/kernel-features.h
43372 (__ASSUME_SETRESUID_SYSCALL): Remove.
43373 (__ASSUME_SETRESGID_SYSCALL): Likewise.
43374 (__ASSUME_32BITUIDS): Likewise.
43375 (__ASSUME_LDT_WORKS): Likewise.
43376 (__ASSUME_O_DIRECTORY): Likewise.
43377 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
43378 architecture but not kernel version.
43379 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
43380 (__ASSUME_MMAP2_SYSCALL): Likewise.
43381 (__ASSUME_STAT64_SYSCALL): Likewise.
43382 (__ASSUME_IPC64): Likewise.
43383 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
43384 <kernel-features.h>.
43385 [__ASSUME_32BITUIDS]: Make code unconditional.
43386 [!__ASSUME_32BITUIDS]: Remove conditional code.
43387 * sysdeps/unix/sysv/linux/opendir.c: Do not include
43388 <kernel-features.h>.
43389 [__ASSUME_O_DIRECTORY]: Make code unconditional.
43390 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
43391 132096]: Remove conditional code.
43392 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
43393 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
43394 <kernel-features.h>.
43395 [__ASSUME_32BITUIDS]: Make code unconditional.
43396 [!__ASSUME_32BITUIDS]: Remove conditional code.
43397 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
43398 <kernel-features.h>.
43399 [__ASSUME_32BITUIDS]: Make code unconditional.
43400 [!__ASSUME_32BITUIDS]: Remove conditional code.
43401 * sysdeps/unix/sysv/linux/setegid.c: Do not include
43402 <kernel-features.h>.
43403 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
43405 (__setresgid): Do not declare.
43406 [__ASSUME_32BITUIDS]: Make code unconditional.
43407 [!__ASSUME_32BITUIDS]: Remove conditional code.
43408 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
43409 <kernel-features.h>.
43410 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
43412 (__setresuid): Do not declare.
43413 [__ASSUME_32BITUIDS]: Make code unconditional.
43414 [!__ASSUME_32BITUIDS]: Remove conditional code.
43415 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
43416 <kernel-features.h>.
43417 [__ASSUME_32BITUIDS]: Make code unconditional.
43418 [!__ASSUME_32BITUIDS]: Remove conditional code.
43419 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
43420 <kernel-features.h>.
43421 [__ASSUME_32BITUIDS]: Make code unconditional.
43422 [!__ASSUME_32BITUIDS]: Remove conditional code.
43424 2012-05-25 Richard Henderson <rth@twiddle.net>
43426 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
43427 dl_hwcap to ifunc resolver.
43428 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
43430 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
43431 dl_hwcap to ifunc resolver.
43432 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
43434 2012-05-24 Joseph Myers <joseph@codesourcery.com>
43437 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
43438 for |x| <= 2**-26, not 2**-57.
43439 * math/libm-test.inc (acos_test): Do not allow spurious underflow
43442 2012-05-24 Jeff Law <law@redhat.com>
43444 * stdio-common/Makefile (tests): Add bug25.
43445 * stdio-common/bug25.c: New test.
43447 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
43450 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
43451 multiple of MALLOC_ALIGNMENT in size.
43452 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
43454 2012-05-24 Joseph Myers <joseph@codesourcery.com>
43456 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
43458 (FILENAME_MAX): Use macro-int-constant.
43459 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
43460 (_IOFBF): Use macro-int-constant.
43461 (_IOLBF): Likewise.
43462 (_IONBF): Likewise.
43463 (SEEK_CUR): Likewise.
43464 (SEEK_END): Likewise.
43465 (SEEK_SET): Likewise.
43466 (TMP_MAX): Likewise.
43467 (EOF): Use macro-int-constant. Require < 0.
43468 (NULL): Use macro-constant. Require == 0.
43469 (stdin): Require type to be FILE *.
43470 (stdout): Likewise.
43471 (stderr): Likewise.
43472 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
43473 macro-int-constant.
43474 (EXIT_SUCCESS): Likewise.
43475 (NULL): Use macro-constant. Require == 0.
43476 (RAND_MAX): Use macro-int-constant.
43477 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
43478 [C99-based standards] (strtof): Require function.
43479 [C99-based standards] (strtold): Likewise.
43480 [C99-based standards] (strtoll): Likewise.
43481 [C99-based standards] (strtoull): Likewise.
43482 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43483 [ISO || ISO99 || ISO11] (limits.h): Likewise.
43484 [ISO || ISO99 || ISO11] (math.h): Likewise.
43485 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
43486 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43487 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43489 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
43492 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
43493 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
43494 * intl/dgettext.c (DCGETTEXT): Likewise.
43495 * intl/gettext.c (DCGETTEXT): Likewise.
43496 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
43497 * posix/regex_internal.h (gettext): Likewise.
43498 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
43499 Remove declaration.
43500 * include/argz.h (__argz_count_internal)
43501 (__argz_stringify_internal): Remove declaration.
43502 (__argz_count, __argz_stringify): Declare hidden proto.
43503 * intl/dcgettext.c: Remove use of INTDEF.
43504 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
43505 * string/argz-stringify.c: Likewise.
43506 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
43507 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
43508 Declare hidden proto.
43509 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
43510 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
43511 Declare hidden proto.
43512 * include/stdio.h (__asprintf_internal): Don't declare.
43513 (__asprintf): Don't define as macro. Declare hidden proto.
43514 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
43515 (__fsetlocking): Declare hidden proto.
43516 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
43517 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
43519 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
43520 (_IO_setlinebuf): Remove use of INTUSE.
43521 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
43522 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
43523 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
43524 Remove declaration.
43525 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
43526 (_IO_do_flush): Remove use of INTUSE.
43527 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
43528 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
43529 (_IO_adjust_column, _IO_least_wmarker)
43530 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
43531 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
43532 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
43533 (_IO_default_doallocate, _IO_wdefault_doallocate)
43534 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
43535 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
43536 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
43537 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
43538 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
43539 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
43540 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
43541 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
43542 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
43543 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
43544 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
43545 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
43546 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
43548 (_IO_flush_all_internal, _IO_adjust_column_internal)
43549 (_IO_default_uflow_internal, _IO_default_finish_internal)
43550 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
43551 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
43552 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
43553 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
43554 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
43555 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
43556 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
43557 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
43558 (_IO_file_close_internal, _IO_file_close_it_internal)
43559 (_IO_file_underflow_internal, _IO_file_overflow_internal)
43560 (_IO_file_init_internal, _IO_file_attach_internal)
43561 (_IO_file_fopen_internal, _IO_file_read_internal)
43562 (_IO_file_sync_internal, _IO_file_seek_internal)
43563 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
43564 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
43565 (_IO_str_underflow_internal, _IO_str_overflow_internal)
43566 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
43567 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
43568 (_IO_list_all_internal, _IO_link_in_internal)
43569 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
43570 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
43571 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
43572 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
43573 (_IO_do_write_internal, _IO_padn_internal)
43574 (_IO_getline_info_internal, _IO_getline_internal)
43575 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
43576 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
43577 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
43578 (_IO_vfscanf_internal, _IO_vfprintf_internal)
43579 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
43580 (_IO_init_internal, _IO_un_link_internal): Don't declare.
43581 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
43582 with libc_hidden_ver, remove use of INTUSE.
43583 * libio/genops.c: Likewise.
43584 * libio/freopen.c: Likewise.
43585 * libio/freopen64.c: Likewise.
43586 * libio/iofclose.c: Likewise.
43587 * libio/iofdopen.c: Likewise.
43588 * libio/iofflush.c: Likewise.
43589 * libio/iofflush_u.c: Likewise.
43590 * libio/iofgets.c: Likewise.
43591 * libio/iofgets_u.c: Likewise.
43592 * libio/iofopen.c: Likewise.
43593 * libio/iofopncook.c: Likewise.
43594 * libio/iofread.c: Likewise.
43595 * libio/iofread_u.c: Likewise.
43596 * libio/ioftell.c: Likewise.
43597 * libio/iofwrite.c: Likewise.
43598 * libio/iogetline.c: Likewise.
43599 * libio/iogets.c: Likewise.
43600 * libio/iogetwline.c: Likewise.
43601 * libio/iopadn.c: Likewise.
43602 * libio/iopopen.c: Likewise.
43603 * libio/ioseekoff.c: Likewise.
43604 * libio/ioseekpos.c: Likewise.
43605 * libio/iosetbuffer.c: Likewise.
43606 * libio/iosetvbuf.c: Likewise.
43607 * libio/ioungetc.c: Likewise.
43608 * libio/ioungetwc.c: Likewise.
43609 * libio/iovdprintf.c: Likewise.
43610 * libio/iovsprintf.c: Likewise.
43611 * libio/iovsscanf.c: Likewise.
43612 * libio/memstream.c: Likewise.
43613 * libio/obprintf.c: Likewise.
43614 * libio/oldfileops.c: Likewise.
43615 * libio/oldiofclose.c: Likewise.
43616 * libio/oldiofdopen.c: Likewise.
43617 * libio/oldiofopen.c: Likewise.
43618 * libio/oldiopopen.c: Likewise.
43619 * libio/oldstdfiles.c: Likewise.
43620 * libio/putc.c: Likewise.
43621 * libio/setbuf.c: Likewise.
43622 * libio/setlinebuf.c: Likewise.
43623 * libio/stdfiles.c: Likewise.
43624 * libio/strops.c: Likewise.
43625 * libio/vasprintf.c: Likewise.
43626 * libio/vscanf.c: Likewise.
43627 * libio/vsnprintf.c: Likewise.
43628 * libio/vswprintf.c: Likewise.
43629 * libio/wfiledoalloc.c: Likewise.
43630 * libio/wfileops.c: Likewise.
43631 * libio/wgenops.c: Likewise.
43632 * libio/wmemstream.c: Likewise.
43633 * libio/wstrops.c: Likewise.
43634 * libio/__fpurge.c: Likewise.
43635 * libio/__fsetlocking.c: Likewise.
43636 * assert/assert.c: Likewise.
43637 * debug/fgets_chk.c: Likewise.
43638 * debug/fgets_u_chk.c: Likewise.
43639 * debug/fread_chk.c: Likewise.
43640 * debug/fread_u_chk.c: Likewise.
43641 * debug/gets_chk.c: Likewise.
43642 * debug/obprintf_chk.c: Likewise.
43643 * debug/vasprintf_chk.c: Likewise.
43644 * debug/vdprintf_chk.c: Likewise.
43645 * debug/vsnprintf_chk.c: Likewise.
43646 * debug/vsprintf_chk.c: Likewise.
43647 * malloc/mtrace.c: Likewise.
43648 * misc/error.c: Likewise.
43649 * misc/syslog.c: Likewise.
43650 * stdio-common/asprintf.c: Likewise.
43651 * stdio-common/fxprintf.c: Likewise.
43652 * stdio-common/getw.c: Likewise.
43653 * stdio-common/isoc99_fscanf.c: Likewise.
43654 * stdio-common/isoc99_scanf.c: Likewise.
43655 * stdio-common/isoc99_vfscanf.c: Likewise.
43656 * stdio-common/isoc99_vscanf.c: Likewise.
43657 * stdio-common/isoc99_vsscanf.c: Likewise.
43658 * stdio-common/printf-prs.c: Likewise.
43659 * stdio-common/printf_fp.c: Likewise.
43660 * stdio-common/printf_fphex.c: Likewise.
43661 * stdio-common/printf_size.c: Likewise.
43662 * stdio-common/putw.c: Likewise.
43663 * stdio-common/scanf.c: Likewise.
43664 * stdio-common/sprintf.c: Likewise.
43665 * stdio-common/tmpfile.c: Likewise.
43666 * stdio-common/vfprintf.c: Likewise.
43667 * stdio-common/vfscanf.c: Likewise.
43668 * stdlib/strfmon_l.c: Likewise.
43669 * sunrpc/openchild.c: Likewise.
43670 * sunrpc/xdr_stdio.c: Likewise.
43671 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
43672 * sysdeps/mach/hurd/tmpfile.c: Likewise.
43674 2012-05-24 Roland McGrath <roland@hack.frob.com>
43676 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43678 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
43679 in the third column, to generate for the shared library an IFUNC
43680 that uses _dl_vdso_vsym.
43681 * Makerules (COMPILE.c, compile-stdin.c): New variables.
43682 * Makeconfig (object-suffixes-noshared): New variable.
43684 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
43685 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
43686 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
43687 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
43690 * include/sys/time.h (__gettimeofday): Remove macro.
43691 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
43692 * time/gettimeofday.c (__gettimeofday): Remove #undef.
43694 (__gettimeofday): Add libc_hidden_def.
43695 (gettimeofday): Add libc_hidden_weak.
43696 * sysdeps/mach/gettimeofday.c: Likewise.
43697 * sysdeps/posix/gettimeofday.c: Likewise.
43698 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
43699 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
43700 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
43701 (__gettimeofday_internal): Remove strong_alias.
43702 (__gettimeofday): Add libc_hidden_def.
43703 (gettimeofday): Add libc_hidden_weak.
43704 * sysdeps/unix/syscalls.list (gettimeofday):
43705 Remove __gettimeofday_internal alias.
43707 2012-05-24 Daniel Jacobowitz <drow@false.org>
43708 H.J. Lu <hongjiu.lu@intel.com>
43711 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
43712 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
43713 (largebin_index_32_big): New.
43714 (largebin_index): Use it for 16-byte alignment.
43715 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
43716 correction with front_misalign.
43718 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
43720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
43721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
43723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
43725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
43727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
43729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
43731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
43733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
43735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
43737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
43739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
43741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
43743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
43746 * scripts/data/c++-types-x32-linux-gnu.data: New file.
43747 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
43749 2012-05-24 Joseph Myers <joseph@codesourcery.com>
43753 * math/libm-test.inc (exp_test): Add test from bug 14036.
43754 (pow_test): Add test from bug 10846.
43756 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
43758 (special_function): Do not include flags in test name.
43759 (parse_args): Likewise.
43760 * sysdeps/i386/fpu/libm-test-ulps: Update.
43761 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43762 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43763 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43766 * math/gen-libm-test.pl (%beautify): Add entries for underflow
43768 * math/libm-test.inc ("Philosophy"): Update comment about
43770 (UNDERFLOW_EXCEPTION): New macro.
43771 (UNDERFLOW_EXCEPTION_OK): Likewise.
43772 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
43773 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
43774 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
43775 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
43776 (INVALID_EXCEPTION_OK): Update value.
43777 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43778 (OVERFLOW_EXCEPTION_OK): Likewise.
43779 (IGNORE_ZERO_INF_SIGN): Likewise.
43780 (test_exceptions): Handle underflow exceptions.
43781 (acos_test): Update for underflow exception expectations.
43782 (cexp_test): Likewise.
43783 (clog_test): Likewise.
43784 (clog10_test): Likewise.
43785 (csqrt_test): Likewise.
43786 (ctan_test): Likewise.
43787 (ctanh_test): Likewise.
43788 (exp_test): Likewise.
43789 (exp10_test): Likewise.
43790 (exp2_test): Likewise.
43791 (expm1_test): Likewise.
43792 (fma_test): Likewise.
43793 (j0_test): Likewise.
43794 (jn_test): Likewise.
43795 (nexttoward_test): Likewise.
43796 (pow_test): Likewise.
43797 (scalbn_test): Likewise.
43798 (scalbln_test): Likewise.
43799 (tan_test): Likewise.
43800 (y1_test): Likewise.
43801 * sysdeps/i386/fpu/libm-test-ulps: Update.
43802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43804 2012-05-23 David S. Miller <davem@davemloft.net>
43806 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43807 (__libc_sigaction): Remove unused local variables.
43809 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43811 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
43813 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
43815 mktime: avoid signed integer overflow
43816 * time/mktime.c (__mktime_internal): Do not mishandle the case
43817 where diff == INT_MIN.
43819 mktime: simplify computation of average
43820 * time/mktime.c (ranged_convert): Use new time_t_avg function
43821 instead of rolling our own (probably-slower) code.
43823 mktime: do not assume signed right shift propagates sign bit
43824 * time/mktime.c (isdst_differ): New static function.
43825 (__mktime_internal): No need to normalize tm_isdst now.
43826 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
43829 mktime: merge another wrapv change from gnulib
43830 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
43831 from some compilers.
43833 mktime: remove incorrect attempt at unusual arithmetics
43834 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
43835 The code didn't really work on such machines anyway.
43836 (TYPE_MINIMUM): Assume two's complement.
43837 (twos_complement_arithmetic): Verify that long_int and time_t
43838 are two's complement (or unsigned, in the latter case).
43840 mktime: check signed shifts on long_int and time_t, too
43841 * time/mktime.c (SHR): Check that shifts work as desired
43842 on the types long_int and time_t too, as SHR is used on
43845 mktime: do not assume 'long' is wide enough
43846 * time/mktime.c (verify): Move decl up.
43847 (long_int): New type.
43848 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
43849 to remove assumption in the code that 'long' is wide enough to
43850 store year values. This assumption is not true on x32 and on
43851 some non-glibc platforms.
43853 mktime: merge wrapv change from gnulib
43854 * time/mktime.c (WRAPV): New macro.
43855 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
43856 (guess_time_tm, __mktime_internal): Do not assume that signed
43857 integer overflow wraps around; modern compilers generate code
43858 where this assumption is no longer valid.
43860 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43862 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43863 Replace "jmp L(pseudo_end)" with "ret".
43864 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
43867 2012-05-23 Andreas Jaeger <aj@suse.de>
43869 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
43870 * sysdeps/unix/sysv/linux/poll.c: Remove file.
43872 2012-05-23 Andreas Jaeger <aj@suse.de>
43873 Maximilian Attems <max@stro.at>
43875 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
43878 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43880 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
43881 code so that pseudo_end is just ret and the stack pointer is
43882 correct also for static library in error case.
43884 2012-05-23 Joseph Myers <joseph@codesourcery.com>
43886 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
43887 move to syscalls.list.
43888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
43889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43893 * manual/install.texi (Running make install): Do not mention Linux
43894 kernel version for which pt_chown is not needed.
43895 (Linux): Do not mention problems with nscd with 2.0 kernels.
43896 * INSTALL: Regenerated.
43898 2012-05-23 Andreas Jaeger <aj@suse.de>
43900 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
43901 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
43903 * sysdeps/unix/sysv/linux/s390/bits/mman.h
43904 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43905 * sysdeps/unix/sysv/linux/sh/bits/mman.h
43906 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43907 * sysdeps/unix/sysv/linux/i386/bits/mman.h
43908 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43909 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
43910 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43911 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
43912 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43913 * sysdeps/unix/sysv/linux/bits/in.h
43914 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
43916 2012-05-22 Roland McGrath <roland@hack.frob.com>
43918 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
43919 (PREPARE_VERSION): Just use assert instead, it will be elided
43920 under [NDEBUG] anyway.
43922 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43924 * sysdeps/unix/sysv/linux/Makefile: Include
43925 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
43926 (sysdep_routines): Remove sysctl.
43927 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
43928 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
43929 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
43930 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
43931 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
43933 2012-05-22 Andreas Jaeger <aj@suse.de>
43935 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
43936 that pseudo_end is just ret and the stack pointer is correct also
43937 for static library in error case.
43939 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
43942 * nss/nsswitch.c (defconfig_entries): New variable.
43943 (__nss_database_lookup): Don't leak defconfig entries.
43944 (nss_parse_service_list): Don't leak on error paths.
43945 (free_database_entries): New function.
43946 (free_defconfig): New function.
43947 (free_mem): Move common code to free_database_entries.
43949 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43951 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
43953 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
43955 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43956 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
43957 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
43959 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
43960 (INTERNAL_SYSCALL_TYPES): Likewise.
43961 (LOAD_ARGS_TYPES_[1-6]): Likewise.
43962 (LOAD_REGS_TYPES_[1-6]): Likewise.
43963 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
43964 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
43966 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43968 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
43969 copysignl for GLIBC_2_0.
43970 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
43971 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
43972 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
43973 logbl for GLIBC_2_0.
43974 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43975 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43977 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43979 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43980 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43982 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43985 * time/mktime.c: Update copyright years.
43987 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
43989 mktime: merge comment-quoting-style change from gnulib
43990 * time/mktime.c: Quote 'like this' in comments.
43991 The GNU coding standards suggest that we no longer quote `like this',
43992 as "`" and "'" are typically rendered asymmetrically nowadays.
43993 The typical gnulib style is to quote 'like this' when quoting
43994 code, and "like this" when quoting English.
43996 * time/mktime.c (compile-command): Add "-I.".
43998 mktime: merge mktime-internal.h change from gnulib
43999 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
44001 mktime: merge time_r change from gnulib
44002 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
44004 mktime: merge DEBUG change from gnulib
44005 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
44006 case system <time.h> has a #define.
44008 mktime: merge <sys/types.h> change from gnulib
44009 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
44010 since <time.t> is now guaranteed to define time_t.
44012 mktime: merge HAVE_CONFIG_H change from gnulib
44013 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
44015 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
44017 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
44020 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
44022 (struct rusage): Use anonymous union to pad each field to
44025 2012-05-21 David S. Miller <davem@davemloft.net>
44027 * Makefules (o-iterator): Remove .s cases.
44028 (compile-command.s): Delete.
44029 (COMPILE.s): Delete.
44030 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
44032 2012-05-21 Joseph Myers <joseph@codesourcery.com>
44034 * configure.in (libc_cv_predef_stack_protector): Only consider
44035 "foobar" and "__stack_chk_fail" lines in libc_undefs.
44036 * configure: Regenerated.
44038 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
44040 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
44041 New macro. Use R*LP on int and pointer.
44042 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
44043 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
44044 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
44045 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
44047 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
44048 [__WORDSIZE_TIME64_COMPAT32] instead of
44049 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
44050 (struct utmp): Likewise.
44051 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
44052 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
44054 (__WORDSIZE_TIME64_COMPAT32): This.
44055 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
44056 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
44057 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
44058 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
44059 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
44060 (__WORDSIZE_TIME64_COMPAT32): New macro.
44062 2012-05-21 Andreas Jaeger <aj@suse.de>
44064 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
44065 only if [SHARED]. Add prototype for __wcschr_ia32.
44067 2012-05-21 Roland McGrath <roland@hack.frob.com>
44069 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
44070 of %rbp unmolested in the jmp_buf while mangling the low bits.
44071 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
44072 unmolested high bits of %rbp while demangling the low bits.
44073 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44075 2012-05-21 Andreas Jaeger <aj@suse.de>
44077 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
44078 * sunrpc/svc_simple.c: Use it for registerrpc.
44079 * sunrpc/xcrypt.c: Use it for passwd2des.
44081 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
44083 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
44085 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
44086 Don't define if [__SYSCALL_WORDSIZE != 32].
44087 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
44090 2012-05-21 Bruno Haible <bruno@clisp.org>
44091 Andreas Jaeger <aj@suse.de>
44093 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
44094 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
44095 inptr and inend for must_buffer_ch.
44096 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
44097 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
44098 * stdio-common/Makefile (tests): Remove bug15.
44099 (bug15-ENV): Remove macro.
44100 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
44103 2012-05-19 Andreas Jaeger <aj@suse.de>
44104 Roland McGrath <roland@hack.frob.com>
44106 * manual/contrib.texi: Completely rewritten. It contains now an
44107 alphabetical list of contributors and their contributions.
44109 2012-05-21 Richard Henderson <rth@twiddle.net>
44111 * misc/getauxval.c (__getauxval): Use unsigned long int.
44112 * misc/sys/auxv.h: Include <sys/cdefs.h>.
44113 (getauxval): Use unsigned long int.
44115 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
44117 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
44119 2012-05-21 Roland McGrath <roland@hack.frob.com>
44121 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
44122 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
44123 __alignof__ (long double).
44125 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44129 2012-05-20 Richard Henderson <rth@twiddle.net>
44131 * misc/getauxval.c: New file.
44132 * misc/sys/auxv.h: New file.
44133 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
44134 (routines): Add getauxval.
44135 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
44136 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
44137 * elf/dl-sysdep.c (_dl_auxv): Remove.
44138 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
44139 * elf/dl-support.c (_dl_auxv): New variable.
44140 (_dl_aux_init): Initialize it.
44141 * manual/startup.texi (Auxiliary Vector): New node.
44142 * sysdeps/generic/bits/hwcap.h: New file.
44143 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
44144 * sysdeps/powerpc/sysdep.h: ... here. Include it.
44145 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
44146 * sysdeps/sparc/sysdep.h: ... here. Include it.
44147 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
44148 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
44149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
44152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
44153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
44154 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
44155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
44156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
44157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
44158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
44160 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44164 2012-05-19 David S. Miller <davem@davemloft.net>
44166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44168 2012-05-19 Joseph Myers <joseph@codesourcery.com>
44171 * math/s_ccosh.c: Include <float.h>
44172 (__ccosh): Avoid internal overflow calculating sinh and cosh
44173 values before multiplying by sin and cos values.
44174 * math/s_ccoshf.c: Likewise.
44175 * math/s_ccoshl.c: Likewise.
44176 * math/s_csin.c: Likewise.
44177 * math/s_csinf.c: Likewise.
44178 * math/s_csinl.c: Likewise.
44179 * math/s_csinh.c: Likewise.
44180 * math/s_csinhf.c: Likewise.
44181 * math/s_csinhl.c: Likewise.
44182 * math/libm-test.inc (ccos_test): Add more tests.
44183 (ccosh_test): Likewise.
44184 (csin_test): Likewise.
44185 (csinh_test): Likewise.
44186 * sysdeps/i386/fpu/libm-test-ulps: Update.
44187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44189 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
44191 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
44192 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
44194 * sysdeps/x86_64/x32/_itoa.h: Add comment.
44196 2012-05-19 Joseph Myers <joseph@codesourcery.com>
44198 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
44199 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
44200 * sysdeps/powerpc/soft-fp/Versions: Likewise.
44201 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
44202 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
44203 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
44204 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
44205 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
44206 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
44207 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
44208 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
44209 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
44210 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
44211 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
44212 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
44213 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
44214 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
44215 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
44216 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
44217 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
44218 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
44219 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
44220 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
44221 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
44222 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
44223 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
44224 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
44225 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
44226 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
44227 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
44228 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
44230 2012-05-18 Andreas Jaeger <aj@suse.de>
44232 * csu/.gitignore: Delete.
44234 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
44236 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
44237 (timex): Use __syscall_slong_t.
44239 2012-05-18 Andreas Jaeger <aj@suse.de>
44240 Carlos O'Donell <carlos_odonell@mentor.com>
44242 * manual/install.texi (Configuring and compiling): Update
44243 description about files modified in the source directory.
44244 * INSTALL: Regenerated.
44246 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
44248 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
44249 value. Use "or" to set return value to -1.
44250 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
44251 negate return value.
44253 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44255 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
44256 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
44257 failure if the compiler has Graphite support disabled.
44258 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
44260 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
44261 (CFLAGS-memmove.c): Likewise.
44262 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
44265 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
44267 * sysdeps/x86_64/x32/_itoa.h: New file.
44269 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
44270 getdents system call only if kernel and user dirents have the
44271 same d_ino and d_off.
44273 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44274 LLONG_MAX != LONG_MAX.
44275 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44276 (_fitoa_word): Likewise.
44278 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
44280 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
44281 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
44282 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
44284 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
44285 include <bits/wordsize.h>. Check __x86_64__ instead of
44287 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
44288 if __x86_64__ is defined. Use anonymous union on fpstate.
44290 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
44293 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
44295 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44296 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
44297 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
44298 Refer to _rtld_local_ro instead of _rtld_global_ro.
44299 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
44301 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
44303 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
44305 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
44306 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
44307 of _rtld_global, and rtld_progname instead of _dl_argv[0].
44309 * sysdeps/powerpc/powerpc32/dl-machine.c
44310 (__elf_machine_runtime_setup) [PROF]: Don't reference
44313 2012-05-18 Andreas Jaeger <aj@suse.de>
44315 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
44316 function only available for GCCs before 3.4 since GCC 3.4
44317 introduced a builtin.
44319 (llrintf): Likewise.
44320 (llrint): Likewise.
44327 (nearbyint): Likewise.
44328 (nearbyintf): Likewise.
44332 (floorf): Likewise.
44334 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
44336 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
44337 on both fields and cast pointer to __syscall_ulong_t.
44339 * bits/types.h (__fsword_t): New type.
44340 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
44341 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
44342 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44343 (__FSWORD_T_TYPE): Likewise.
44344 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44345 (__FSWORD_T_TYPE): Likewise.
44346 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44347 (__FSWORD_T_TYPE): Likewise.
44348 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
44349 (__FSWORD_T_TYPE): Likewise.
44350 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
44351 __SWORD_TYPE with __fsword_t.
44352 (statfs64): Likewise.
44354 2012-05-17 David S. Miller <davem@davemloft.net>
44356 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
44358 2012-05-17 Andreas Jaeger <aj@suse.de>
44360 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
44363 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
44365 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
44367 2012-05-17 Andreas Jaeger <aj@suse.de>
44369 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
44372 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
44374 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
44376 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
44378 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
44379 * sysdeps/x86_64/tst-mallocalign1.c: New file.
44381 2012-05-17 Andreas Jaeger <aj@suse.de>
44382 Carlos O'Donell <carlos_odonell@mentor.com>
44385 * sysdeps/x86_64/multiarch/init-arch.h
44386 (bit_YMM_Usable): Rename to...
44387 (bit_AVX_Usable): ... this.
44388 (bit_FMA4_Usable): New macro.
44389 (bit_XMM_state): New macro.
44390 (bit_YMM_state): New macro.
44391 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
44392 [__ASSEMBLER__] (index_AVX_Usable): ... this.
44393 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
44394 (CPUID_OSXSAVE): New macro.
44395 (CPUID_AVX): New macro.
44396 (CPUID_FMA4): New macro.
44397 (index_YMM_Usable): Rename to...
44398 (index_AVX_Usable): ... this.
44399 (HAS_AVX): Use HAS_ARCH_FEATURE.
44400 (HAS_FMA4): Likewise.
44401 (HAS_YMM_USABLE): Remove.
44402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44403 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
44405 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
44406 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
44407 * sysdeps/x86_64/multiarch/Makefile: Likewise.
44408 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
44409 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
44411 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
44413 * math/libm-test.c: Support platforms without multiple rounding modes.
44414 * math/bug-nextafter.c: Support platforms without FP exceptions.
44415 * math/bug-nexttoward.c: Likewise.
44416 * math/test-fenv.c: Likewise.
44417 * math/test-misc.c: Likewise.
44418 * stdlib/bug-getcontext.c: Likewise.
44420 2012-05-17 Andreas Jaeger <aj@suse.de>
44422 * manual/examples/search.c (critter_cmp): Change signature to
44424 * manual/string.texi (Collation Functions): Likewise.
44426 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44428 * bits/types.h: Fold copyright years.
44429 * bits/typesizes.h: Likewise.
44430 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
44431 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
44432 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
44433 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
44434 * time/time.h: Likewise.
44436 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
44439 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
44440 in instead of returning them. Return void.
44441 (__libc_mallinfo): Accumulate over all arenas.
44442 (__malloc_stats): Adjust for change in int_mallinfo interface.
44444 2012-05-16 Roland McGrath <roland@hack.frob.com>
44447 * configure.in (NM): Add AC_CHECK_TOOL for it.
44448 (libc_extra_cflags): New substituted variable.
44449 Check for -fstack-protector being used implicitly.
44450 * configure: Regenerated.
44451 * config.make.in (config-extra-cflags): New variable,
44452 gets @libc_extra_cflags@.
44453 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
44456 * configure.in: Check for _FORTIFY_SOURCE being predefined.
44457 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
44458 * configure: Regenerated.
44459 * config.make.in (CPPUNDEFS): New substituted variable.
44460 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
44461 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
44462 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
44464 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44466 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
44467 (mq_attr): Use __syscall_slong_t.
44469 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44471 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
44472 Check __x86_64__ instead of __WORDSIZE.
44473 (_STAT_VER_LINUX): Likewise.
44474 (stat): Check __x86_64__ instead of __WORDSIZE. Use
44475 __syscall_ulong_t and __syscall_slong_t.
44476 (stat64): Likewise.
44478 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44480 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
44482 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44484 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
44486 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44488 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
44491 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
44492 include <bits/wordsize.h>. Check __x86_64__ instead of
44494 (greg_t): Use "__extension__ long long int" if __x86_64__ is
44496 (mcontext_t): Replace "unsigned long" with "unsigned long long".
44498 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
44499 include <bits/wordsize.h>. Check __x86_64__ instead of
44501 (user_regs_struct): Use "__extension__ unsigned long long"
44502 instead of "unsigned long" if __x86_64__ is defined.
44503 (user): Likewise. Pad after pointer field if __ILP32__ is
44506 2012-05-16 Joseph Myers <joseph@codesourcery.com>
44508 * configure.in (makeinfo): Require version 4.5 or later. Allow
44510 * configure: Regenerated.
44511 * manual/install.texi (texinfo): Increase version requirement to
44513 * INSTALL: Regenerated.
44515 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
44517 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44519 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
44521 * sysdeps/x86_64/x32/ffs.c: New file.
44523 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
44525 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
44526 defined. Use __syscall_ulong_t.
44527 (shminfo): Use __syscall_ulong_t.
44528 (shm_info): Likewise.
44530 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
44533 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
44535 (msgqnum_t): Use __syscall_ulong_t.
44536 (msglen_t): Likewise.
44537 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
44540 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
44541 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
44543 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
44545 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
44546 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
44548 * sysvipc/sys/msg.h (msgbuf): Replace long int with
44551 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
44552 include <bits/wordsize.h>. Check __x86_64__ instead of
44555 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
44556 "unsigned long long int" if __x86_64__ is defined.
44557 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
44559 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
44560 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
44561 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
44563 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
44565 (GET_PC): Cast to uintptr_t first.
44566 (GET_FRAME): Likewise.
44567 (GET_STACK): Likewise.
44569 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
44570 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
44571 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
44572 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
44573 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
44574 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
44575 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
44576 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
44577 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
44578 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
44579 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
44580 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
44581 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44582 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
44583 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
44584 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
44585 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
44586 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
44587 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
44588 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
44589 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
44590 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
44591 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
44592 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
44593 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
44594 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
44595 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
44596 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
44597 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
44599 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
44601 * Makerules (+depfiles): Also collect depfiles from .oS in
44603 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
44604 .oS, $(libnldbl-routines)).
44606 * Makerules (native-compile-mkdep-flags): Define.
44607 * sunrpc/Makefile (extra-objs): Add $(addprefix
44608 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
44609 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
44610 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
44611 calling $(make-target-directory).
44613 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44615 * bits/types.h (__snseconds_t): Removed.
44616 * time/time.h (struct timespec): Replace __snseconds_t with
44618 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
44619 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
44621 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44622 (__SNSECONDS_T_TYPE): Likewise.
44623 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44624 (__SNSECONDS_T_TYPE): Likewise.
44625 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44626 (__SNSECONDS_T_TYPE): Likewise.
44628 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44630 * sysdeps/mach/hurd/bits/typesizes.h
44631 (__SYSCALL_SLONG_TYPE): New macro.
44632 (__SYSCALL_ULONG_TYPE): Likewise.
44634 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44636 * bits/types.h (__syscall_slong_t): New type.
44637 (__syscall_ulong_t): Likewise.
44639 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
44640 (__SYSCALL_ULONG_TYPE): Likewise.
44641 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44642 (__SYSCALL_SLONG_TYPE): Likewise.
44643 (__SYSCALL_ULONG_TYPE): Likewise.
44644 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44645 (__SYSCALL_SLONG_TYPE): Likewise.
44646 (__SYSCALL_ULONG_TYPE): Likewise.
44647 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44648 (__SYSCALL_SLONG_TYPE): Likewise.
44649 (__SYSCALL_ULONG_TYPE): Likewise.
44651 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44653 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
44654 Add sigaltstack-offsets.sym.
44655 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
44656 <sigaltstack-offsets.h>.
44657 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
44658 longjmp_msg pointer.
44659 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
44660 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
44662 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
44664 2012-05-15 Joseph Myers <joseph@codesourcery.com>
44666 * elf/stackguard-macros.h: Remove file.
44667 * sysdeps/generic/stackguard-macros.h: New file.
44668 * sysdeps/i386/stackguard-macros.h: Likewise.
44669 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44670 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44671 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44672 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44673 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44674 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44675 * sysdeps/x86_64/stackguard-macros.h: Likewise.
44676 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
44677 <elf/stackguard-macros.h>.
44680 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
44681 __aligned__ in attribute.
44682 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
44683 (gregset_t): Likewise.
44685 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44687 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
44688 * sysdeps/x86_64/64/Implies-after: Here. New file.
44689 * sysdeps/x86_64/x32/Implies-after: New file.
44691 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44693 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
44694 and access return value for _dl_profile_fixup. Use R10_LP to
44697 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44699 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
44701 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44703 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
44704 * sysdeps/x86_64/x32/sysdep.h: New file.
44706 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44708 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
44709 * sysdeps/x86_64/setjmp.S: Likewise.
44711 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44713 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
44714 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
44715 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
44716 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
44717 remove unused global constant.
44719 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
44721 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
44722 include of <not-cancel.h>.
44724 2012-05-15 Roland McGrath <roland@hack.frob.com>
44726 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
44728 2012-05-15 Jeff Law <law@redhat.com>
44729 Andreas Jaeger <aj@suse.de>
44732 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
44734 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
44735 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
44736 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
44737 code changing __hst_map_handle.map.
44739 2012-05-15 Roland McGrath <roland@hack.frob.com>
44741 * configure.in (sysnames): Look for Implies-before and Implies-after
44743 * configure: Regenerated.
44745 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44747 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
44748 8-byte data alignment with LP_SIZE alignment.
44750 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44752 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
44755 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44757 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
44759 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44761 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
44762 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
44763 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
44765 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44767 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44769 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
44770 (stackinfo_sub_sp): Likewise.
44772 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44774 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
44777 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44779 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
44782 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44784 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
44787 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44789 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
44791 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44793 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
44794 into R11_LP and load __x86_64_shared_cache_size_half into
44797 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44799 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
44802 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44804 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
44806 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
44808 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
44810 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
44811 powerpc32/power7/fpu/s_logb.c via #include.
44812 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
44813 powerpc32/power7/fpu/s_logbf.c via #include.
44814 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
44815 powerpc32/power7/fpu/s_logbl.c via #include.
44817 2012-05-15 Joseph Myers <joseph@codesourcery.com>
44819 * README.libm: Remove file.
44821 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44823 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
44824 count for x32. Use R*_LP and omit operand-size suffix.
44826 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44828 * shlib-versions: Move x86_64-.*-linux.* entries to ...
44829 * sysdeps/x86_64/64/shlib-versions: Here. New file.
44830 * sysdeps/x86_64/x32/shlib-versions: New file.
44832 2012-05-14 Roland McGrath <roland@hack.frob.com>
44834 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
44835 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
44836 Use _dl_fatal_printf instead.
44838 2012-05-14 Joseph Myers <joseph@codesourcery.com>
44840 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
44841 set if not set by the user. Do not allow for being unset.
44842 * sysdeps/unix/sysv/linux/configure: Regenerated.
44844 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44846 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
44847 the `q' suffix from lea and replace .quad with ASM_ADDR.
44849 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44851 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
44852 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
44854 (PTR_DEMANGLE): Likewise.
44856 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44858 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
44860 (ASM_ADDR): Likewise.
44861 (RAX_LP): Likewise.
44862 (RBP_LP): Likewise.
44863 (RBX_LP): Likewise.
44864 (RCX_LP): Likewise.
44865 (RDI_LP): Likewise.
44866 (RSI_LP): Likewise.
44867 (RSP_LP): Likewise.
44870 (R10_LP): Likewise.
44871 (R10_LP): Likewise.
44872 (R11_LP): Likewise.
44873 (R12_LP): Likewise.
44874 (R13_LP): Likewise.
44875 (R14_LP): Likewise.
44876 (R15_LP): Likewise.
44878 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44880 * sysdeps/x86_64/x32/dl-machine.h: New file.
44882 2012-05-14 Andreas Jaeger <aj@suse.de>
44884 * manual/Makefile (subdir): Remove export of subdir.
44885 (all): Remove target.
44886 (.PHONY): Remove all from list.
44887 (mkinstalldirs): Remove.
44888 (.PHONY): Remove installdirs from list.
44889 ($(inst_infodir)/libc.info): Use make-target-directory.
44890 (installdirs): Remove.
44891 (subdir_%): Remove.
44892 (glibc-targets): Remove.
44895 ($(objpfx)stubs ../po/manual.pot): Remove.
44896 ($(objpfx)stamp%): Remove.
44897 (make-target-directory): Remove.
44898 (subdir_install): Remove.
44899 (routines): Remove.
44906 * manual/.gitignore: Remove, it's not needed anymore.
44907 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
44909 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
44911 (texis): Renamed to $(objpfx)texis.
44912 (texis-path): New, contains path to generated files.
44913 (chapters.%): Use texis-path for complete path, add extra argument
44915 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
44916 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
44917 (summary,texi, stamp-summary): Use complete path of
44918 files. Generate files in build dir.
44919 (dir-add.texi): Build in build dir.
44920 (libm-err.texi,stamp-libm-err): Likewise.
44921 (version.texi, stamp-version): Likewise.
44922 (.%c.texi): Likewise.
44923 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
44924 (mostlyclean): Remove target.
44925 (realclean): Remove target.
44926 (generated): Add new variable with contents from mostlyclean and
44927 realclean, remove entries duplicated in common-mostlyclean, add
44928 stamp-libm-err and stamp-version.
44929 (generated-dirs): Add libc directory.
44930 ($(inst_infodir)/libc.info): Install files from build dir.
44932 * manual/install.texi (Configuring and compiling): Adjust since
44933 the info files are not part of the tar ball anymore.
44935 2012-05-14 Andreas Jaeger <aj@suse.de>
44937 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
44940 2012-05-14 Joseph Myers <joseph@codesourcery.com>
44943 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44944 to 2.2.0 where earlier.
44945 * sysdeps/unix/sysv/linux/configure: Regenerated.
44946 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
44947 Remove conditional code.
44948 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
44949 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
44950 Remove conditional code.
44951 [!__NR_lchown]: Likewise.
44952 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44953 [__NR_lchown]: Likewise.
44954 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
44955 comment referencing __ASSUME_LCHOWN_SYSCALL.
44956 * sysdeps/unix/sysv/linux/i386/sigaction.c
44957 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44958 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44959 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
44960 Remove conditional code.
44961 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
44962 (__protocol_available): Remove #if 0 code.
44963 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
44965 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
44966 * sysdeps/unix/sysv/linux/kernel-features.h
44967 (__ASSUME_GETCWD_SYSCALL): Don't define.
44968 (__ASSUME_REALTIME_SIGNALS): Likewise.
44969 (__ASSUME_PREAD_SYSCALL): Likewise.
44970 (__ASSUME_PWRITE_SYSCALL): Likewise.
44971 (__ASSUME_POLL_SYSCALL): Likewise.
44972 (__ASSUME_LCHOWN_SYSCALL): Likewise.
44973 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
44975 (__ASSUME_SIOCGIFNAME): Don't define.
44976 (__ASSUME_MSG_NOSIGNAL): Likewise.
44977 (__ASSUME_SENDFILE): Define unconditionally.
44978 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44979 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44981 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44982 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44983 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44984 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44985 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44986 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44987 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44989 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44990 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44992 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44993 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44995 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44996 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44998 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44999 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
45001 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45002 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
45004 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45005 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
45007 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45008 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
45010 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45011 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45012 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
45013 Remove conditional code.
45014 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45015 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
45016 Remove conditional code.
45017 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45018 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
45019 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
45020 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
45021 Remove conditional code.
45022 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45023 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
45024 Remove conditional code.
45025 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45026 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
45027 Remove conditional code.
45028 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45029 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
45030 Remove conditional code.
45031 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45032 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
45033 Remove conditional code.
45034 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45035 * sysdeps/unix/sysv/linux/sh/pwrite64.c
45036 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45037 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45038 * sysdeps/unix/sysv/linux/sigaction.c
45039 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45040 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45041 * sysdeps/unix/sysv/linux/sigpending.c
45042 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45043 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45044 * sysdeps/unix/sysv/linux/sigprocmask.c
45045 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45046 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45047 * sysdeps/unix/sysv/linux/sigsuspend.c
45048 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45049 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45050 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45051 (__libc_missing_rt_sigs): Remove.
45052 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
45053 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
45054 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
45055 Remove conditional code.
45056 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
45057 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
45059 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
45060 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
45061 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
45062 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
45064 2012-05-14 Andreas Jaeger <aj@suse.de>
45066 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
45067 it's not used in glibc.
45068 (__coshm1): Likewise.
45069 (__acosh1p): Likewise.
45072 * manual/string.texi (Copying and Concatenation): Add missing
45073 variable in concat example.
45074 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
45076 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45079 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
45080 __builtin_clzl with __builtin_clzll.
45082 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45085 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
45088 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45090 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
45091 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
45092 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
45093 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
45095 2012-05-14 Mike Frysinger <vapier@gentoo.org>
45097 * NEWS: Update ia64 info.
45099 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
45101 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
45104 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
45106 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
45107 * sysdeps/unix/syscalls.list (dup3): Likewise.
45108 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
45109 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
45111 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
45113 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
45114 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
45116 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
45118 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
45120 (TLS_IE): Use mov/add instead of movq/addq to load thread
45122 (TLS_GD_PREFIX): New.
45125 2012-05-11 David S. Miller <davem@davemloft.net>
45127 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
45128 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
45129 (_FPU_SETCW): Likewise.
45131 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
45133 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
45134 is 32-byte aligned.
45136 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
45139 * iconvdata/gb18030.c: Update tables.
45140 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
45141 characters specially.
45142 (BODY for TO_LOOP): Add encoding of missing ranges.
45144 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
45147 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
45148 * sysdeps/mach/hurd/dup3.c: Likewise.
45149 * sysdeps/mach/hurd/readlinkat.c: Likewise.
45150 * sysdeps/powerpc/memmove.c:: Likewise.
45152 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
45154 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
45155 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
45157 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
45159 * elf/elf.h (R_X86_64_RELATIVE64): New.
45160 (R_X86_64_NUM): Updated.
45161 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
45162 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
45163 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
45164 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
45165 tst-quad1pie tst-quad2pie
45166 (modules-names): Add tst-quadmod1 tst-quadmod2.
45167 ($(objpfx)tst-quad1): New dependency.
45168 ($(objpfx)tst-quad2): Likewise.
45169 ($(objpfx)tst-quad1pie): Likewise.
45170 ($(objpfx)tst-quad2pie): Likewise.
45171 * sysdeps/x86_64/tst-quad1.c: New file.
45172 * sysdeps/x86_64/tst-quad1pie.c: New file.
45173 * sysdeps/x86_64/tst-quad2.c: Likewise.
45174 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
45175 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
45176 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
45177 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
45178 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
45180 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45182 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
45183 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
45184 * streams/stropts.h (t_scalar_t): Define type.
45186 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
45187 (_PATH_PRESERVE): Set to "/var/lib".
45188 (_PATH_RWHODIR): Set to "/var/spool/rwho".
45190 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
45193 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
45194 if __dir_mkfile succeeded.
45196 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
45197 checking for _hurd_dtablesize. Unlock it right after having
45198 finished _hurd_dtable allocation.
45200 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45202 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
45203 * sysdeps/mach/hurd/configure: Regenerated.
45204 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
45205 special-casing to...
45206 * sysdeps/gnu/configure.in: ... this new file.
45207 * sysdeps/unix/sysv/linux/configure: Regenerated.
45208 * sysdeps/gnu/configure: New generated file.
45210 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
45211 for Linux: use nsec instead of usec, as well as:
45212 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
45213 members of type struct timespec.
45214 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
45216 (struct stat64): Likewise.
45217 (_STATBUF_ST_NSEC): New macro.
45218 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
45220 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45221 __strtoul_internal rather than strtoul.
45223 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
45225 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
45228 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45230 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
45231 which preserves existing values.
45232 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
45234 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
45236 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
45237 TIMEOUT values. Return EINVAL for NFDS values either negative or
45238 greater than FD_SETSIZE.
45240 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45242 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
45243 allocated, call __vm_protect to finish enabling the existing space, and
45244 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
45245 allocate the remainder.
45247 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
45249 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
45250 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
45252 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45254 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
45255 sysdeps/mach/hurd/readlink.c.
45257 * posix/tst-sysconf.c (posix_options): Only use
45258 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
45259 _POSIX_SYNCHRONIZED_IO when they are defined
45260 * sysdeps/mach/hurd/bits/posix_opt.h:
45261 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
45262 (_XOPEN_REALTIME): Undefine macro.
45263 (_XOPEN_REALTIME_THREADS): Undefine macro.
45264 (_XOPEN_SHM): Undefine macro.
45265 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
45267 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
45269 (_POSIX_ASYNC_IO): Undefine macro.
45270 (_POSIX_PRIORITIZED_IO): Undefine macro.
45271 (_POSIX_SPIN_LOCKS): Define macro to -1.
45273 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
45274 SA_NODEFER, SA_RESETHAND.
45275 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
45276 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
45279 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45281 * elf/Makefile (pldd-modules): Define unconditionally.
45283 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45285 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
45287 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45289 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
45290 Return ENOENT when name is empty.
45291 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
45293 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45295 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
45297 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
45299 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45301 Fix mlock in all cases except non-readable pages.
45302 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
45303 instead of VM_PROT_ALL as parameter to __vm_wire function.
45305 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
45306 (__mkdir): When path is `/', just fail with EEXIST.
45307 * sysdeps/mach/hurd/mkdirat.c: Likewise.
45309 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45311 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
45312 <sys/uio.h> (for writev).
45313 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
45314 and <sys/param.h> (for MIN).
45316 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
45318 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
45319 REQUESTED_TIME. Properly set the remaining time and return EINTR
45322 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45324 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
45325 Depend on against $(link-rpcuserlibs).
45327 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45329 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
45330 (__libc_stack_end): Do not use attribute_relro.
45331 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
45332 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
45333 to libthread-provided value.
45334 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
45337 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45340 * bits/libc-lock.h (__libc_once_get): New macro.
45341 * sysdeps/mach/bits/libc-lock.h: Likewise.
45342 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
45343 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
45344 instead of using implementation details.
45346 * libio/fileops.c: Unconditionally include <kernel-features.h>.
45347 * libio/freopen.c: Likewise.
45348 * libio/freopen64.c: Likewise.
45349 * misc/syslog.c: Likewise.
45350 * nscd/connections.c: Likewise.
45351 * nscd/netgroupcache.c: Likewise.
45352 * sysdeps/posix/getcwd.c: Likewise.
45354 2012-05-10 Roland McGrath <roland@hack.frob.com>
45356 * math/w_ilogbf.c: Add #include <limits.h>.
45358 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45360 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
45361 path instead of returning without unlocking.
45363 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
45364 immediate-write ioctls.
45365 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
45367 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45369 * sysdeps/mach/hurd/i386/init-first.c (init): Use
45370 __builtin_frame_address instead of making assumptions about the
45371 location of the return address relative to DATA. Force early load of
45372 the return address.
45373 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
45374 __builtin_frame_address.
45377 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
45378 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
45379 implement dup3 and do some further code clean-ups.
45380 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
45381 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
45383 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45385 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
45387 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
45388 HURD_CRITICAL_END around holding _hurd_dtable_lock.
45389 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
45390 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
45391 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
45394 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
45395 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
45396 when handler == SIG_ERR, not when handler != SIG_ERR.
45398 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45400 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
45401 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
45404 accept4 for GNU Hurd.
45405 * include/sys/socket.h (__libc_accept4): New prototype.
45406 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
45407 to implement __libc_accept4.
45408 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
45410 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
45412 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
45413 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
45414 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
45415 signal-defines.sym.
45417 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45419 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
45421 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45423 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
45424 assertion on O_CLOEXEC flag.
45425 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
45426 * hurd/intern-fd.c: Likewise.
45427 * hurd/port2fd.c: Likewise.
45429 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45432 * bits/in.h (IPV6_PKTINFO): Define new macro.
45433 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
45435 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45440 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
45441 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45442 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
45443 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45444 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45445 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45446 * math/libm-test.inc (logb_test) : Additional logb tests.
45448 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
45449 Andreas Jaeger <aj@suse.de>
45451 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
45452 * configure: Regenerated.
45453 * config.h.in (LINK_OBSOLETE_RPC): New macro.
45454 * config.make.in (link-obsolete-rpc): New substituted variable.
45455 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
45456 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
45457 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
45458 (shared-only-routines): Don't set it under [link-obsolete-rpc],
45459 so that libc.a contains the symbols.
45460 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
45461 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
45462 * sunrpc/auth_none.c: Likewise.
45463 * sunrpc/auth_unix.c: Likewise.
45464 * sunrpc/authdes_prot.c: Likewise.
45465 * sunrpc/authuxprot.c: Likewise.
45466 * sunrpc/clnt_gen.c: Likewise.
45467 * sunrpc/clnt_perr.c: Likewise.
45468 * sunrpc/clnt_raw.c: Likewise.
45469 * sunrpc/clnt_simp.c: Likewise.
45470 * sunrpc/clnt_tcp.c: Likewise.
45471 * sunrpc/clnt_udp.c: Likewise.
45472 * sunrpc/clnt_unix.c: Likewise.
45473 * sunrpc/des_crypt.c: Likewise.
45474 * sunrpc/des_soft.c: Likewise.
45475 * sunrpc/get_myaddr.c: Likewise.
45476 * sunrpc/key_call.c: Likewise.
45477 * sunrpc/key_prot.c: Likewise.
45478 * sunrpc/netname.c: Likewise.
45479 * sunrpc/pm_getmaps.c: Likewise.
45480 * sunrpc/pm_getport.c: Likewise.
45481 * sunrpc/pmap_clnt.c: Likewise.
45482 * sunrpc/pmap_prot.c: Likewise.
45483 * sunrpc/pmap_prot2.c: Likewise.
45484 * sunrpc/pmap_rmt.c: Likewise.
45485 * sunrpc/publickey.c: Likewise.
45486 * sunrpc/rpc_cmsg.c: Likewise.
45487 * sunrpc/rpc_common.c: Likewise.
45488 * sunrpc/rpc_dtable.c: Likewise.
45489 * sunrpc/rpc_prot.c: Likewise.
45490 * sunrpc/rpc_thread.c: Likewise.
45491 * sunrpc/rtime.c: Likewise.
45492 * sunrpc/svc.c: Likewise.
45493 * sunrpc/svc_auth.c: Likewise.
45494 * sunrpc/svc_raw.c: Likewise.
45495 * sunrpc/svc_run.c: Likewise.
45496 * sunrpc/svc_tcp.c: Likewise.
45497 * sunrpc/svc_udp.c: Likewise.
45498 * sunrpc/svc_unix.c: Likewise.
45499 * sunrpc/svcauth_des.c: Likewise.
45500 * sunrpc/xcrypt.c: Likewise.
45501 * sunrpc/xdr.c: Likewise.
45502 * sunrpc/xdr_array.c: Likewise.
45503 * sunrpc/xdr_float.c: Likewise.
45504 * sunrpc/xdr_intXX_t.c: Likewise.
45505 * sunrpc/xdr_mem.c: Likewise.
45506 * sunrpc/xdr_rec.c: Likewise.
45507 * sunrpc/xdr_ref.c: Likewise.
45508 * sunrpc/xdr_sizeof.c: Likewise.
45509 * sunrpc/xdr_stdio.c: Likewise.
45511 2012-05-10 Roland McGrath <roland@hack.frob.com>
45513 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
45514 change. Update copyright years.
45516 2012-05-10 Joseph Myers <joseph@codesourcery.com>
45518 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
45520 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
45521 Joseph Myers <joseph@codesourcery.com>
45522 Paul Pluzhnikov <ppluzhnikov@google.com>
45525 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
45527 [cross-compiling] (extra-libs): Likewise.
45528 [cross-compiling] (extra-libs-others): Likewise.
45529 [cross-compiling] (librpcsvc-routines): Likewise.
45530 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
45531 [cross-compiling] (omit-deps): Likewise.
45532 (sunrpc-CPPFLAGS): New variable.
45533 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
45534 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
45535 (cross-rpcgen-objs): New variable.
45536 (extra-objs): Append $(cross-rpcgen-objs).
45537 ($(cross-rpcgen-objs)): New rule.
45538 ($(objpfx)cross-rpcgen): Likewise.
45539 (rpcgen-cmd): Define to use $(built-program-file). Expand
45541 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
45542 ($(objpfx)x%.stmp): Likewise.
45543 * sunrpc/proto.h [IS_IN_build] (_): Define.
45544 [IS_IN_build] (_libc_intl_domainname): Likewise.
45546 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
45548 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
45549 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
45550 and R_X86_64_TPOFF64.
45552 2012-05-10 Joseph Myers <joseph@codesourcery.com>
45554 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
45555 sysdeps/unix/sysv/syscalls.list.
45558 * sysdeps/unix/sysv/syscalls.list: Remove file.
45560 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
45563 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
45564 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
45565 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
45566 (__LC_IDENTIFICATION): Make these macros useful in #if
45567 expressions, as required by C99.
45569 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
45571 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
45572 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
45575 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
45577 * stdlib/longlong.h: Updated from GCC.
45579 2012-05-09 Andreas Jaeger <aj@suse.de>
45581 * nscd/nscd.c (run_modes): Make named enum, reorder so that
45582 default is first entry.
45583 (run_mode): Set type.
45584 (main): Remove informal message about syslog.
45585 (options): Fix typo.
45588 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
45591 (llrintf): Likewise.
45592 (llrint): Likewise.
45595 (nearbyint): Likewise.
45596 (nearbyintf): Likewise.
45598 2012-05-09 Andreas Jaeger <aj@suse.de>
45599 Pedro Alves <palves@redhat.com>
45601 * nscd/nscd.c (run_mode): Use enum.
45602 (main): Cleanup coding style issue.
45604 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
45605 Andreas Jaeger <aj@suse.de>
45607 * nscd/nscd.c (go_background): Replaced with...
45608 (run_mode): ... this.
45609 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
45610 (options): Add -F --foreground.
45611 (main): Implement it.
45612 (parse_opt): Parse it.
45614 2012-05-09 Andreas Jaeger <aj@suse.de>
45617 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
45618 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
45619 -Wconversion warning.
45620 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
45623 2012-05-09 Joseph Myers <joseph@codesourcery.com>
45625 * conform/data/locale.h-data (NULL): Use macro-constant. Require
45627 (LC_ALL): Use macro-int-constant.
45628 (LC_COLLATE): Likewise.
45629 (LC_CTYPE): Likewise.
45630 (LC_MESSAGES): Likewise.
45631 (LC_MONETARY): Likewise.
45632 (LC_NUMERIC): Likewise.
45633 (LC_TIME): Likewise.
45634 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
45635 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45636 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45637 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
45639 [C99-based standards] (float_t): Expect type.
45640 [C99-based standards] (double_t): Expect type.
45641 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
45643 [C99-based standards] (HUGE_VALL): Likewise.
45644 [C99-based standards] (INFINITY): Likewise.
45645 [C99-based standards] (NAN): Likewise.
45646 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
45647 [C99-based standards] (FP_NAN): Likewise.
45648 [C99-based standards] (FP_NORMAL): Likewise.
45649 [C99-based standards] (FP_SUBNORMAL): Likewise.
45650 [C99-based standards] (FP_ZERO): Likewise.
45651 [C99-based standards] (FP_FAST_FMA): Use
45652 optional-macro-int-constant. Specify type. Require == 1.
45653 [C99-based standards] (FP_FAST_FMAF): Likewise.
45654 [C99-based standards] (FP_FAST_FMAL): Likewise.
45655 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
45656 [C99-based standards] (FP_ILOGBNAN): Likewise.
45657 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
45659 [C99-based standards] (MATH_ERREXCEPT): Likewise.
45660 [C99-based standards] (math_errhandling): Specify type.
45661 [ISO99 || ISO11] (signgam): Do not allow.
45662 [non-C99-based standards] (copysignf): Do not allow.
45663 [non-C99-based standards] (exp2f): Likewise.
45664 [non-C99-based standards] (log2f): Likewise.
45665 [non-C99-based standards] (modff): Allow.
45666 [non-C99-based standards] (erff): Do not allow.
45667 [non-C99-based standards] (erfcf): Likewise.
45668 [non-C99-based standards] (gammaf): Likewise.
45669 [non-C99-based standards] (hypotf): Likewise.
45670 [non-C99-based standards] (j0f): Likewise.
45671 [non-C99-based standards] (j1f): Likewise.
45672 [non-C99-based standards] (jnf): Likewise.
45673 [non-C99-based standards] (lgammaf): Likewise.
45674 [non-C99-based standards] (tgammaf): Likewise.
45675 [non-C99-based standards] (y0f): Likewise.
45676 [non-C99-based standards] (y1f): Likewise.
45677 [non-C99-based standards] (ynf): Likewise.
45678 [non-C99-based standards] (isnanf): Likewise.
45679 [non-C99-based standards] (acoshf): Likewise.
45680 [non-C99-based standards] (asinhf): Likewise.
45681 [non-C99-based standards] (atanhf): Likewise.
45682 [non-C99-based standards] (cbrtf): Likewise.
45683 [non-C99-based standards] (expm1f): Likewise.
45684 [non-C99-based standards] (ilogbf): Likewise.
45685 [non-C99-based standards] (log1pf): Likewise.
45686 [non-C99-based standards] (logbf): Likewise.
45687 [non-C99-based standards] (nextafterf): Likewise.
45688 [non-C99-based standards] (remainderf): Likewise.
45689 [non-C99-based standards] (rintf): Likewise.
45690 [non-C99-based standards] (scalbf): Likewise.
45691 [non-C99-based standards] (copysignl): Likewise.
45692 [non-C99-based standards] (exp2l): Likewise.
45693 [non-C99-based standards] (log2l): Likewise.
45694 [non-C99-based standards] (modfl): Allow.
45695 [non-C99-based standards] (erfl): Do not allow.
45696 [non-C99-based standards] (erfcl): Likewise.
45697 [non-C99-based standards] (gammal): Likewise.
45698 [non-C99-based standards] (hypotl): Likewise.
45699 [non-C99-based standards] (j0l): Likewise.
45700 [non-C99-based standards] (j1l): Likewise.
45701 [non-C99-based standards] (jnl): Likewise.
45702 [non-C99-based standards] (lgammal): Likewise.
45703 [non-C99-based standards] (tgammal): Likewise.
45704 [non-C99-based standards] (y0l): Likewise.
45705 [non-C99-based standards] (y1l): Likewise.
45706 [non-C99-based standards] (ynl): Likewise.
45707 [non-C99-based standards] (isnanl): Likewise.
45708 [non-C99-based standards] (acoshl): Likewise.
45709 [non-C99-based standards] (asinhl): Likewise.
45710 [non-C99-based standards] (atanhl): Likewise.
45711 [non-C99-based standards] (cbrtl): Likewise.
45712 [non-C99-based standards] (expm1l): Likewise.
45713 [non-C99-based standards] (ilogbl): Likewise.
45714 [non-C99-based standards] (log1pl): Likewise.
45715 [non-C99-based standards] (logbl): Likewise.
45716 [non-C99-based standards] (nextafterl): Likewise.
45717 [non-C99-based standards] (remainderl): Likewise.
45718 [non-C99-based standards] (rintl): Likewise.
45719 [non-C99-based standards] (scalbl): Likewise.
45720 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45721 [non-C99-based standards] (FP_*): Do not allow.
45722 [C99-based standards] (FP_*): Change to
45723 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45724 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45726 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
45727 (SIG_ERR): Likewise.
45728 [X/Open-based standards] (SIG_HOLD): Likewise.
45729 (SIG_IGN): Likewise.
45730 (SIGABRT): Use macro-int-constant. Specify type. Require
45732 (SIGFPE): Likewise.
45733 (SIGILL): Likewise.
45734 (SIGINT): Likewise.
45735 (SIGSEGV): Likewise.
45736 (SIGTER): Likewise.
45737 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
45738 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
45739 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
45740 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
45741 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
45742 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
45743 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
45744 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
45745 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
45746 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
45747 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
45748 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
45749 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
45750 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
45751 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
45752 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
45753 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
45754 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
45755 [X/Open-based standards] (SIGTRAP): Likewise.
45756 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
45757 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
45758 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
45759 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
45760 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45763 2012-05-08 Ian Wienand <ianw@vmware.com>
45766 * time/tzset.c (__tzset_parse_tz): Update default rules for
45767 daylight time changes in the Energy Policy Act of 2005.
45769 2012-05-09 Andreas Jaeger <aj@suse.de>
45772 * elf/ldconfig.c (parse_conf): Change string to make clear that
45773 ldconfig only issued a warning if ld.so.conf does not exist.
45775 2012-05-08 David S. Miller <davem@davemloft.net>
45777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
45778 movxtod instead of popping the value on the stack.
45780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45782 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
45784 * config.h.in: Add HAVE_ARM_PCS_VFP.
45786 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
45789 * include/features.h: Warn if user requests __FORTIFY_SOURCE
45790 checking but the checks are disabled for any reason.
45792 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
45794 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
45795 and ELF64_R_TYPE with ELFW(R_TYPE).
45797 2012-05-08 Joseph Myers <joseph@codesourcery.com>
45799 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
45800 (ulimit): Likewise.
45802 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
45803 (settimeofday): Likewise.
45805 2012-05-08 Mike Frysinger <vapier@gentoo.org>
45807 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
45808 a struct th_u2 inside the union, and move tu_block/tu_code into
45809 a new th_u3 union of tu_block/tu_code inside of that. Move
45810 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
45811 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
45812 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
45813 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
45814 (th_stuff): Change to th_u1.tu_stuff.
45816 (th_msg): Change to th_u1.th_u2.tu_data.
45818 2012-05-07 David S. Miller <davem@davemloft.net>
45820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45823 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
45824 (SETUP_PIC_REG): Use it.
45825 (SETUP_PIC_REG_LEAF): Use it.
45827 2012-05-07 Joseph Myers <joseph@codesourcery.com>
45831 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45833 (EXPL_FINITE): Likewise.
45834 (FLDLOG): Likewise.
45835 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45836 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45838 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45840 (EXPL_FINITE): Likewise.
45841 (FLDLOG): Likewise.
45842 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45843 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45845 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
45846 test of -max_value argument for long double.
45847 * sysdeps/i386/fpu/libm-test-ulps: Update.
45848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45850 2012-05-06 David S. Miller <davem@davemloft.net>
45852 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
45853 quad soft-float symbols whose references which are compiler
45855 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45857 2012-05-06 Joseph Myers <joseph@codesourcery.com>
45861 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45863 (EXPL_FINITE): Likewise.
45864 (FLDLOG): Likewise.
45867 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45868 Adjust comments for base varying.
45869 (__expl_finite): Change alias to EXPL_FINITE.
45870 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
45872 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
45873 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
45874 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45875 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
45876 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45878 (EXPL_FINITE): Likewise.
45879 (FLDLOG): Likewise.
45882 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45883 Adjust comments for base varying.
45884 (__expl_finite): Change alias to EXPL_FINITE.
45885 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
45887 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45890 * math/libm-test.inc (check_float_internal): Correct ulp
45891 calculation for subnormal expected results.
45893 2012-05-06 Andreas Jaeger <aj@suse.de>
45895 * Makeconfig (+math-flags): New, set to -frounding-math.
45896 (+cflags): Add +math-flags so that all of glibc gets compiled with
45899 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
45901 2012-05-05 Joseph Myers <joseph@codesourcery.com>
45903 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
45909 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
45910 (__ieee754_expl): Allow for and saturate large arguments.
45911 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
45912 (u_threshold): Likewise.
45913 (__exp): Call __ieee754_exp before checking for overflow and
45915 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
45916 (u_threshold): Likewise.
45917 (__expf): Call __ieee754_expf before checking for overflow and
45919 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
45920 (u_threshold): Likewise.
45921 (__expl): Call __ieee754_expl before checking for overflow and
45923 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
45924 (__ieee754_expl): Allow for and saturate large arguments.
45925 * math/libm-test.inc (exp_test): Add another test. Do not allow
45926 missing overflow exception on overflow.
45927 (expm1_test): Do not allow missing overflow exception on overflow.
45929 * sysdeps/i386/fpu/e_expl.c: Move to ...
45930 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
45931 rather than using inline asm.
45932 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
45933 * sysdeps/x86_64/fpu/e_expl.S: Copy from
45934 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
45936 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
45939 (signal): Likewise.
45943 2012-05-04 Joseph Myers <joseph@codesourcery.com>
45945 * sysdeps/unix/syscalls.list (adjtime): Add entry from
45946 sysdeps/unix/common/syscalls.list.
45947 (fchmod): Likewise.
45948 (fchown): Likewise.
45949 (ftruncate): Likewise.
45950 (getrusage): Likewise.
45951 (gettimeofday): Likewise.
45952 (setpgid): Likewise.
45953 (setregid): Likewise.
45954 (setreuid): Likewise.
45955 (sigaction): Likewise.
45956 (truncate): Likewise.
45957 (vhangup): Likewise.
45958 * sysdeps/unix/common/syscalls.list: Remove file.
45959 * sysdeps/unix/bsd/Implies: Don't include unix/common.
45960 * sysdeps/unix/sysv/linux/Implies: Likewise.
45962 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
45964 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
45965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
45966 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
45968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45970 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
45972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
45973 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
45975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
45976 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
45978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45979 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45981 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45982 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45985 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45988 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45992 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45996 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45999 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
46001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
46003 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
46005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
46007 2012-05-04 Joseph Myers <joseph@codesourcery.com>
46009 * sysdeps/unix/common/bits/dirent.h: Remove file.
46010 * sysdeps/unix/common/bits/fcntl.h: Likewise.
46012 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
46013 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
46014 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
46015 * sysdeps/unix/bsd/isatty.c: Likewise.
46016 * sysdeps/unix/bsd/tcdrain.c: Likewise.
46017 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
46018 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
46020 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46023 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
46024 long double comparison inaccuracies.
46025 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46028 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
46030 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
46031 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
46033 2012-05-04 Joseph Myers <joseph@codesourcery.com>
46036 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
46037 nonzero digits before rounding a hex value.
46038 * stdlib/tst-strtod.c (tests): Add another test.
46040 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46042 * sysdeps/s390/fpu/libm-test-ulps: Update.
46044 2012-05-03 Andreas Jaeger <aj@suse.de>
46046 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
46047 does not get optimized out.
46048 (malloc_opt_barrier): New.
46050 2012-05-03 Andreas Jaeger <aj@suse.de>
46051 Roland McGrath <roland@hack.frob.com>
46053 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
46054 intermediate file deletion.
46055 (generated): Add .symlist files.
46057 2012-05-03 Joseph Myers <joseph@codesourcery.com>
46060 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
46061 Redirect under this condition.
46062 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
46063 [__USE_GNU] (__dprintf_chk): Not under this condition.
46064 [__USE_GNU] (__vdprintf_chk): Likewise.
46065 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
46066 under this condition.
46067 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
46068 [__USE_XOPEN2K8] (dprintf): Define under this condition.
46069 [__USE_XOPEN2K8] (vdprintf): Likewise.
46070 [__USE_GNU] (__dprintf_chk): Not under this condition.
46071 [__USE_GNU] (__vdprintf_chk): Likewise.
46072 [__USE_GNU] (dprintf): Likewise.
46073 [__USE_GNU] (vdprintf): Likewise.
46075 2012-05-03 Roland McGrath <roland@hack.frob.com>
46077 * elf/Makefile (common-generated): Set this instead of generated for
46078 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
46079 $(all-built-dso)-derived lists.
46081 2012-05-03 Andreas Jaeger <aj@suse.de>
46083 * sysdeps/i386/fpu/libm-test-ulps: Update.
46086 * FAQ.in: Likewise.
46087 * scripts/gen-FAQ.pl: Likewise.
46088 * manual/install.texi (Installation): Point to online location of
46090 * Makefile (files-for-dist): Remove FAQ.
46093 2012-05-02 Allan McRae <allan@archlinux.org>
46095 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
46096 (LDFLAGS-reldepmod5.so): Likewise.
46097 (LDFLAGS-reldep6mod1.so): Likewise.
46098 (LDFLAGS-reldep6mod4.so): Likewise.
46099 (LDFLAGS-reldep8mod3.so): Likewise.
46100 (LDFLAGS-unload4mod1.so): Likewise.
46101 (LDFLAGS-unload4mod2.so): Likewise.
46102 (LDFLAGS-tst-initorder): Likewise.
46103 (LDFLAGS-tst-initordera2.so): Likewise.
46104 (LDFLAGS-tst-initordera3.so): Likewise.
46105 (LDFLAGS-tst-initordera4.so): Likewise.
46106 (LDFLAGS-tst-initorderb2.so): Likewise.
46107 (LDFLAGS-noload): Likewise.
46108 (LDFLAGS-next): Likewise.
46109 (LDFLAGS-order2mod1.so): Likewise.
46110 (LDFLAGS-order2mod2.so): Likewise.
46111 (LDFLAGS-tst-initorder2): Likewise.
46112 (LDFLAGS-tst-initorder2a.so): Likewise.
46113 (LDFLAGS-tst-initorder2b.so): Likewise.
46114 (LDFLAGS-tst-initorder2c.so): Likewise.
46115 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
46117 2012-05-02 David S. Miller <davem@davemloft.net>
46119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46121 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
46124 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
46126 2012-05-02 Andreas Jaeger <aj@suse.de>
46128 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
46129 since we manipulate rounding mode.
46130 (CPPFLAGS-test-idouble.c): Likewise.
46131 (CPPFLAGS-test-ifloat.c): Likewise.
46132 (CFLAGS-test-ldouble.c): Likewise.
46133 (CFLAGS-test-double.c): Likewise.
46134 (CFLAGS-test-float.c): Likewise.
46135 (CFLAGS-test-misc.c): Likewise.
46136 (CFLAGS-test-test-fenv.c): Likewise.
46138 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46142 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
46143 comparisons to determine direction to adjust input.
46145 2012-05-01 Roland McGrath <roland@hack.frob.com>
46147 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
46148 output to the target.
46150 * scripts/localplt.awk: New file.
46151 * elf/Makefile ($(objpfx)check-localplt): Target removed.
46152 (check-localplt-CFLAGS): Variable removed.
46153 ($(all-built-dso:=.jmprel)): New static pattern rule.
46154 (generated): Add those targets.
46155 (localplt-built-dso): New variable.
46156 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
46158 * elf/check-localplt.c: File removed.
46160 * scripts/check-execstack.awk: New file.
46161 * elf/Makefile ($(objpfx)check-execstack): Target removed.
46162 (check-execstack-CFLAGS): Variable removed.
46163 ($(objpfx)check-execstack.h): Target removed.
46164 ($(objpfx)execstack-default): New target.
46165 (generated): Add that instead of check-execstack.h.
46166 ($(all-built-dso:=.phdr)): New static pattern rule.
46167 (generated): Add those targets.
46168 * elf/check-execstack.c: File removed.
46170 * scripts/check-textrel.awk: New file.
46171 * elf/Makefile ($(objpfx)check-textrel): Target removed.
46172 (check-textrel-CFLAGS): Variable removed.
46173 (all-built-dso): Use := to define.o
46174 ($(all-built-dso:=.dyn)): New static pattern rule.
46175 (generated): Add those targets.
46176 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
46177 * config.make.in (READELF): New substituted variable.
46178 * elf/check-textrel.c: File removed.
46180 2012-05-01 Joseph Myers <joseph@codesourcery.com>
46182 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46184 * conform/data/ctype.h-data [C99-based standards] (isblank):
46186 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
46187 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
46188 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46189 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
46190 Specify type. Require positive value.
46191 (EILSEQ): Likewise.
46192 (ERANGE): Likewise.
46193 [ISO || POSIX] (EILSEQ): Do not expect.
46194 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
46195 Specify type. Require positive value.
46196 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
46197 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
46198 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
46199 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
46200 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
46201 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
46202 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
46203 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
46204 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
46205 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
46206 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
46207 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
46208 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
46209 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
46210 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
46211 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
46212 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
46213 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
46214 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
46215 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
46216 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
46217 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
46218 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
46219 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
46220 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
46221 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
46222 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
46223 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
46224 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
46225 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
46226 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
46227 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
46228 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
46229 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
46230 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
46231 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
46232 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
46233 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
46234 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
46235 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
46236 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
46237 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
46238 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
46239 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
46240 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
46241 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
46242 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
46243 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
46244 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
46245 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
46246 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
46247 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
46248 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
46249 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
46250 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
46251 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
46252 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
46253 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
46254 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
46255 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
46256 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
46257 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
46258 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
46259 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
46260 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
46261 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
46262 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
46263 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
46264 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
46265 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
46266 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
46267 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
46268 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
46269 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
46270 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
46271 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
46272 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
46274 (FLT_ROUNDS): Expect as macro, not constant.
46275 (FLT_MANT_DIG): Use macro-int-constant.
46276 (DBL_MANT_DIG): Likewise.
46277 (LDBL_MANT_DIG): Likewise.
46278 (FLT_DIG): Likewise.
46279 (DBL_DIG): Likewise.
46280 (LDBL_DIG): Likewise.
46281 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
46282 (DBL_MIN_EXP): Likewise.
46283 (LDBL_MIN_EXP): Likewise.
46284 (FLT_MAX_EXP): Use macro-int-constant.
46285 (DBL_MAX_EXP): Likewise.
46286 (LDBL_MAX_EXP): Likewise.
46287 (FLT_MAX_10_EXP): Likewise.
46288 (DBL_MAX_10_EXP): Likewise.
46289 (LDBL_MAX_10_EXP): Likewise.
46290 (FLT_MAX): Use macro-constant.
46291 (DBL_MAX): Likewise.
46292 (LDBL_MAX): Likewise.
46293 (FLT_EPSILON): Use macro-constant. Give upper bound.
46294 (DBL_EPSILON): Likewise.
46295 (LDBL_EPSILON): Likewise.
46296 (FLT_MIN): Likewise.
46297 (DBL_MIN): Likewise.
46298 (LDBL_MIN): Likewise.
46299 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
46300 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
46301 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
46302 [ISO11] (FLT_HAS_SUBNORM): Likewise.
46303 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
46304 [ISO11] (DBL_DECIMAL_DIG): Likewise.
46305 [ISO11] (FLT_DECIMAL_DIG): Likewise.
46306 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
46307 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
46308 [ISO11] (FLT_TRUE_MIN): Likewise.
46309 [ISO11] (LDBL_TRUE_MIN): Likewise.
46310 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46311 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
46312 (SCHAR_MIN): Use macro-int-constant. Specify type.
46313 (SCHAR_MAX): Likewise.
46314 (UCHAR_MAX): Likewise.
46315 (CHAR_MIN): Likewise.
46316 (CHAR_MAX): Likewise.
46317 (MB_LEN_MAX): Use macro-int-constant.
46318 (SHRT_MIN): Use macro-int-constant. Specify type.
46319 (SHRT_MAX): Likewise.
46320 (USHRT_MAX): Likewise.
46321 (INT_MAX): Likewise.
46322 (INT_MIN): Use macro-int-constant. Specify type. Make upper
46324 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
46326 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
46328 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
46329 bound negative. Suffix upper bound with "L".
46330 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
46332 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
46334 [C99-based standards] (LLONG_MAX): Likewise.
46335 [C99-based standards] (ULLONG_MAX): Likewise.
46336 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
46338 [ISO11] (max_align_t): Require type.
46339 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46341 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
46342 from $CFLAGS, without defining away __attribute__ calls.
46343 (checknamespace): Use $CFLAGS_namespace.
46345 * conform/conformtest.pl (@keywords): Only include C99 keywords
46346 for standards based on C99 or C11.
46348 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
46350 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
46353 * conform/conformtest.pl: Handle "macro-int-constant" and test for
46354 usability of symbols in #if.
46356 * conform/conformtest.pl: If macro or constant types start
46357 "promoted:", expect the symbol to be of the following type
46358 promoted by the integer promotions.
46360 * conform/conformtest.pl: Parse all "constant" and "macro" lines
46361 in one place. Also handle "macro-constant".
46363 * conform/conformtest.pl: Only accept expected macro values with
46364 "==". Parse all "macro" lines in one place.
46365 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
46367 * conform/conformtest.pl: Handle braced types on "constant" lines
46368 instead of handling "typed-constant".
46369 * conform/data/signal.h-data: Use "constant" instead of
46372 * conform/conformtest.pl: Handle "optional-" at start of lines in
46373 one place rather than duplicating several cases. Handle each
46374 format of "macro" line with initial "optional-".
46376 * conform/conformtest.pl: Only accept expected constant or
46377 optional-constant values with "==". Parse all "constant" lines in
46378 one place. Parse all "optional-constant" lines in one place.
46379 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
46380 * conform/data/fmtmsg.h-data: Likewise.
46381 * conform/data/netinet/in.h-data: Likewise.
46382 * conform/data/tar.h-data: Likewise.
46383 * conform/data/limits.h-data: Use "==" form on "constant" and
46384 "optional-constant" lines.
46386 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
46387 Use -std=c99 for XOPEN2K.
46388 (@knownproblems): Remove.
46389 (newtoken): Don't check %isknown.
46391 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
46392 Do not expect macro.
46393 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
46394 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
46395 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
46396 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
46397 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
46398 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
46399 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
46400 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
46401 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
46402 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
46403 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
46404 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
46405 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
46406 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
46407 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
46408 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
46409 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
46410 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
46411 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
46412 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
46413 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
46414 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
46415 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
46416 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
46417 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
46418 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
46419 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
46420 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
46421 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
46422 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
46423 [XPG3] (acosh): Likewise.
46424 [XPG3] (asinh): Likewise.
46425 [XPG3] (atanh): Likewise.
46426 [XPG3] (cbrt): Likewise.
46427 [XPG3] (expm1): Likewise.
46428 [XPG3] (ilogb): Likewise.
46429 [XPG3] (log1p): Likewise.
46430 [XPG3] (logb): Likewise.
46431 [XPG3] (nextafter): Likewise.
46432 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
46433 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
46434 [XPG3] (remainder): Likewise.
46435 [XPG3] (rint): Likewise.
46436 [XPG3 || XPG4 || UNIX98] (round): Likewise.
46437 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
46438 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
46439 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
46440 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
46441 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
46442 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
46443 [UNIX98 || XOPEN2K] (scalb): Expect.
46444 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
46445 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
46446 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
46447 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
46448 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
46449 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
46450 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
46451 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
46452 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
46453 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
46454 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
46455 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
46456 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
46457 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
46458 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
46459 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
46460 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
46461 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
46462 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
46463 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
46464 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
46465 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
46466 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
46467 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
46468 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
46469 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
46470 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
46471 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
46472 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
46473 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
46474 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
46475 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
46476 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
46477 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
46478 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
46479 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
46480 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
46481 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
46482 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
46483 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
46484 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
46485 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
46486 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
46487 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
46488 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
46489 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
46490 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
46491 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
46492 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
46493 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
46494 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
46495 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
46496 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
46497 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
46498 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
46499 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
46500 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
46501 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
46502 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
46503 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
46504 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
46505 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
46506 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
46507 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
46508 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
46509 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
46510 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
46511 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
46512 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
46513 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
46514 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
46515 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
46516 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
46517 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
46518 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
46519 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
46520 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
46521 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
46522 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
46523 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
46524 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
46525 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
46526 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
46527 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
46528 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
46529 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
46530 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
46531 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
46532 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
46533 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
46534 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
46535 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
46536 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
46537 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
46538 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
46539 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
46540 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
46541 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
46542 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
46543 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
46544 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
46545 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
46546 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
46547 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
46548 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
46549 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
46550 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
46551 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
46552 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
46553 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
46554 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
46555 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
46556 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
46557 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
46558 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
46559 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
46560 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
46561 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
46562 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
46563 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
46564 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
46565 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
46566 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
46567 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
46568 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
46569 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
46570 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
46571 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
46572 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
46573 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
46574 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
46575 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
46576 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
46577 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
46578 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
46579 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
46580 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
46582 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
46583 _XOPEN_SOURCE_EXTENDED for XPG4.
46585 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
46587 * Makeconfig (localtime): Remove variable.
46588 (inst_localtime-file): Likewise.
46590 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
46592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
46594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
46598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
46602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
46604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
46608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46611 2012-05-01 Joseph Myers <joseph@codesourcery.com>
46615 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
46616 comparisons to determine direction to adjust input.
46617 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
46618 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
46619 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
46621 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
46623 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46625 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
46626 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
46628 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
46630 * math/libm-test.inc (nexttoward_test): Add more tests.
46632 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
46635 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
46636 in version GLIBC_2.1, not GLIBC_2.0.
46637 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
46640 2012-04-30 Joseph Myers <joseph@codesourcery.com>
46643 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
46645 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46646 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
46647 * math/libm-test.inc (acos_test): Add more tests.
46648 (asin_test): Likewise.
46649 * sysdeps/i386/fpu/libm-test-ulps: Update.
46650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46653 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
46655 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
46656 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46657 * math/libm-test.inc (acos_test_tonearest): New function.
46658 (acos_test_towardzero): Likewise.
46659 (acos_test_downward): Likewise.
46660 (acos_test_upward): Likewise.
46661 (asin_test_tonearest): Likewise.
46662 (asin_test_towardzero): Likewise.
46663 (asin_test_downward): Likewise.
46664 (asin_test_upward): Likewise.
46665 (main): Call the new functions.
46666 * sysdeps/i386/fpu/libm-test-ulps: Update.
46667 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46671 * math/e_exp10.c: Include <float.h>.
46672 (__ieee754_exp10): Handle underflow here rather than multiplying
46673 large negative argument by M_LN10.
46674 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
46676 * math/e_exp10l.c: Include <float.h>.
46677 (__ieee754_exp10l): Handle underflow here rather than multiplying
46678 large negative argument by M_LN10l.
46679 * math/libm-test.inc (exp10_test): Add another test. Do not allow
46680 spurious overflow exception on underflow.
46682 2012-04-29 Marek Polacek <polacek@redhat.com>
46684 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
46685 (__fortify_function): New macro.
46686 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
46687 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
46688 __extern_always_inline.
46689 * libio/bits/stdio2.h: Likewise.
46690 * libio/bits/stdio.h: Likewise.
46691 * string/string.h: Likewise.
46692 * string/bits/string3.h: Likewise.
46693 * include/stdio.h: Likewise.
46694 * stdlib/bits/stdlib.h: Likewise.
46695 * stdlib/stdlib.h: Likewise.
46696 * rt/bits/mqueue2.h: Likewise.
46697 * rt/mqueue.h: Likewise.
46698 * posix/bits/unistd.h: Likewise.
46699 * posix/unistd.h: Likewise.
46700 * io/bits/poll2.h: Likewise.
46701 * io/bits/fcntl2.h: Likewise.
46702 * io/fcntl.h: Likewise.
46703 * io/sys/poll.h: Likewise.
46704 * misc/bits/syslog.h: Likewise.
46705 * misc/bits/syslog-ldbl.h: Likewise.
46706 * misc/sys/syslog.h: Likewise.
46707 * socket/bits/socket2.h: Likewise.
46708 * socket/sys/socket.h: Likewise.
46709 * debug/tst-chk1.c: Likewise.
46710 * wcsmbs/bits/wchar2.h: Likewise.
46711 * wcsmbs/bits/wchar-ldbl.h: Likewise.
46712 * wcsmbs/wchar.h: Likewise.
46714 2012-04-29 Andreas Jaeger <aj@suse.de>
46716 * Makerules (tests): Remove enable-check-abi protection.
46717 (check-abi-warn): Remove.
46718 (check-abi-%): Remove check-abi-warn usage.
46720 * configure.in: Remove check-abi configure option.
46721 * configure: Regenerated.
46722 * config.make.in (enable-check-abi): Remove.
46724 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
46727 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
46728 double functions to double *_finite functions.
46731 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
46732 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
46734 * stdio-common/Makefile (tests): Add tst-sprintf3.
46735 * stdio-common/tst-sprintf3.c: New file.
46737 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
46738 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
46740 2012-04-28 Joseph Myers <joseph@codesourcery.com>
46742 * conform/conformtest.pl: Remove duplicate typed-constant
46745 2012-04-28 David S. Miller <davem@davemloft.net>
46747 * Makerules (%.abilist): Add vpath on sysdep_dirs.
46748 (check-abi-%): Remove AWK script prerequisite and explicit
46750 (check-abi): Rewrite to just diff the symlist with the abilist.
46751 (config-tls, config-abi-config): Delete, no longer used.
46752 (update-abi-%): Remove AWK script and explicit abilist directory.
46753 (update-abi): Rewrite to simply compare and conditionally copy the
46754 symlist and the sysdep abilist file. Remove update-abi-config
46756 * abilist/ld.abilist: Remove.
46757 * abilist/libBrokenLocale.abilist: Remove.
46758 * abilist/libanl.abilist: Remove.
46759 * abilist/libcrypt.abilist: Remove.
46760 * abilist/libdl.abilist: Remove.
46761 * abilist/librt.abilist: Remove.
46762 * abilist/libthread_db.abilist: Remove.
46763 * abilist/libutil.abilist: Remove.
46764 * scripts/extract-abilist.awk: Remove.
46765 * scripts/merge-abilist.awk: Remove.
46766 * sysdeps/generic/libcidn.abilist: New file.
46767 * sysdeps/generic/libnss_compat.abilist: New file.
46768 * sysdeps/generic/libnss_db.abilist: New file.
46769 * sysdeps/generic/libnss_dns.abilist: New file.
46770 * sysdeps/generic/libnss_files.abilist: New file.
46771 * sysdeps/generic/libnss_hesiod.abilist: New file.
46772 * sysdeps/generic/libnss_nis.abilist: New file.
46773 * sysdeps/generic/libnss_nisplus.abilist: New file.
46774 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
46775 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
46776 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
46778 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
46779 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
46780 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
46781 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
46782 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
46783 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
46784 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
46785 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
46786 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
46788 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
46789 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
46790 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
46791 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
46793 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
46794 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
46795 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
46796 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
46797 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
46798 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
46800 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
46801 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
46802 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
46804 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
46805 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
46807 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
46809 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
46811 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
46813 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
46815 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
46817 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
46819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
46821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
46823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
46825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
46827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
46829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
46831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
46833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
46839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
46845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
46858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
46860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
46864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
46866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
46868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
46870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
46872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
46876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
46878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
46880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
46882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
46883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
46885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
46887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
46889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
46891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
46893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
46895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
46897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
46901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
46903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
46905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
46907 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46908 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
46909 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
46911 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
46912 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
46913 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
46914 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
46915 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
46916 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
46917 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
46918 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
46919 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
46920 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
46921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
46922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
46924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
46928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
46930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
46932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
46934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
46936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
46942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
46946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
46947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
46949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
46953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
46955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
46957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
46959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
46961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
46967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
46972 2012-04-28 Joseph Myers <joseph@codesourcery.com>
46974 * conform/conformtest.pl: Fix typo in handling typed-constant from
46977 2012-04-27 Joseph Myers <joseph@codesourcery.com>
46979 * README: Cut down references to pre-2.6 Linux kernels and
46980 Linuxthreads. Update lists of configurations in libc and ports
46981 and sort alphabetically. Say "or newer" with Linux kernel version
46984 * config.h.in [IS_IN_build]: Allow compiling without optimization.
46986 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46989 * math/libm-test.inc (logb_test_downward): New test to expose
46990 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46993 2012-04-27 Joseph Myers <joseph@codesourcery.com>
46996 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46998 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46999 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
47001 2012-04-26 Joseph Myers <joseph@codesourcery.com>
47003 * sysdeps/unix/i386/brk.S: Remove file.
47004 * sysdeps/unix/i386/dl-brk.S: Likewise.
47005 * sysdeps/unix/i386/pipe.S: Likewise.
47006 * sysdeps/unix/i386/sigreturn.S: Likewise.
47007 * sysdeps/unix/i386/syscall.S: Likewise.
47008 * sysdeps/unix/i386/vfork.S: Likewise.
47009 * sysdeps/unix/i386/wait.S: Likewise.
47011 * sysdeps/unix/common/tcsendbrk.c: Move to ...
47012 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
47014 * configure.in (arm*-none*): Do not allow without
47015 --enable-hacker-mode.
47016 (netbsd*): Remove case setting base_os.
47017 (386bsd*): Likewise.
47018 (freebsd*): Likewise.
47021 (sunos*): Likewise.
47022 (ultrix*): Likewise.
47023 (newsos*): Likewise.
47024 (dynix*): Likewise.
47030 (minix*): Likewise.
47031 (irix4*): Likewise.
47032 (irix6*): Likewise.
47033 (solaris[2-9]*): Likewise.
47035 * configure: Regenerated.
47037 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47040 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
47041 overflow or cancellation in calculating denominator.
47042 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
47043 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
47044 down expression to avoid unexpected rounding in newer GCCs.
47045 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
47047 2012-04-26 David S. Miller <davem@davemloft.net>
47049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
47050 long-double compat symbols.
47051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
47055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
47057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
47058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
47059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
47060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
47061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
47062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
47063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47065 2012-04-25 David S. Miller <davem@davemloft.net>
47067 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
47068 HWCAP_* values only after the memory barriers have been defined.
47069 (atomic_full_barrier): Define.
47070 (atomic_read_barrier): Define.
47071 (atomic_write_barrier): Define.
47073 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
47075 * shlib-versions: Add libgcc_s version information.
47076 * sysdeps/generic/libgcc_s.h: Remove.
47077 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
47079 * sysdeps/gnu/unwind-resume.c: Likewise.
47080 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
47082 2012-04-25 David S. Miller <davem@davemloft.net>
47084 * sysdeps/unix/sparc/brk.S: Delete.
47085 * sysdeps/unix/sparc/dl-brk.S: Delete.
47086 * sysdeps/unix/sparc/pipe.S: Delete.
47087 * sysdeps/unix/sparc/sysdep.S: Delete.
47088 * sysdeps/unix/sparc/sysdep.h: Delete.
47089 * sysdeps/unix/sparc/vfork.S: Delete.
47090 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
47091 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
47092 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
47093 (ret_ERRVAL, r0, r1, MOVE): Define.
47094 (JUMPTARGET): Remove.
47095 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
47096 sysdeps/unix/sparc/sysdep.h
47097 (ENTRY, END): Remove.
47098 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47100 2012-04-25 Joseph Myers <joseph@codesourcery.com>
47102 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
47103 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
47106 * timezone/README: Update upstream location and email address for
47108 * timezone/zdump.c: Update from tzcode 2012b.
47109 * timezone/zic.c: Likewise.
47111 * configure.in (libc_cv_as_needed): Remove test.
47112 * configure: Regenerated.
47113 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
47114 conditional definition.
47115 [$(have-as-needed) != yes] (no-as-needed): Likewise.
47116 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
47117 * config.make.in (have-as-needed): Remove variable.
47119 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
47120 Paul Pluzhnikov <ppluzhnikov@google.com>
47122 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
47125 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
47127 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
47128 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
47129 * sysdeps/sh/strlen.S: Likewise.
47131 2012-04-24 Joseph Myers <joseph@codesourcery.com>
47133 * sysdeps/unix/fork.S: Remove file.
47134 * sysdeps/unix/i386/fork.S: Likewise.
47135 * sysdeps/unix/sparc/fork.S: Likewise.
47137 * sysdeps/unix/system.c: Remove file.
47138 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
47140 * sysdeps/unix/getegid.S: Remove file.
47141 * sysdeps/unix/geteuid.S: Likewise.
47143 2012-04-24 Roland McGrath <roland@hack.frob.com>
47145 * scripts/check-localplt.awk: New file.
47146 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
47148 * scripts/data/localplt-generic.data: Add a comment.
47150 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
47151 NODE when __dir_mkfile failed.
47152 * sysdeps/mach/hurd/symlinkat.c: Likewise.
47153 Reported by Ludovic Courtès <ludo@gnu.org>.
47155 2012-04-24 Andreas Jaeger <aj@suse.de>
47157 * Makerules (common-clean): Also remove gen-as-const-headers
47160 2012-04-24 Joseph Myers <joseph@codesourcery.com>
47162 * Makerules (native-compile): Do not change working directory for
47163 build. Use $(OUTPUT_OPTION) in command.
47164 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
47166 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47169 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
47170 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
47171 * math/libm-test.inc (floor_test): Add more tests.
47172 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
47174 2012-04-24 Joseph Myers <joseph@codesourcery.com>
47176 * sysdeps/unix/getdents.c: Remove file.
47177 * sysdeps/unix/sysv/getdents.c: Likewise.
47178 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
47180 * sysdeps/unix/syscalls.list (madvise): Add syscall from
47181 sysdeps/unix/mman/syscalls.list.
47183 (mprotect): Likewise.
47185 (munmap): Likewise.
47186 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
47187 * sysdeps/unix/mman/syscalls.list: Remove.
47188 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
47190 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
47191 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
47192 * configure: Regenerated.
47193 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
47194 $(libgcc_s_suffix).
47195 * config.make.in (libgcc_s_suffix): Remove variable.
47197 2012-04-23 Joseph Myers <joseph@codesourcery.com>
47199 * sysdeps/unix/sysv/gethostname.c: Move to ...
47200 * sysdeps/posix/gethostname.c: ... here.
47202 * sysdeps/unix/execve.S: Remove file.
47204 * sysdeps/unix/_exit.S: Remove file.
47206 2012-04-23 Andreas Jaeger <aj@suse.de>
47209 * manual/Makefile: Remove make dist support, there's no
47210 need for a stand-alone documentation tar ball.
47211 (TEXI2DVI): Define always, it's not in Makeconfig.
47214 (edition): Removed.
47215 (glibc-doc-$(edition).tar): Removed
47219 (ETAGS): Remove, it's in Makeconfig.
47220 (move-if-change): Remove, it's in Makeconfig.
47222 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
47225 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
47226 (strtod, strtof, strtold, strtol, strtoul, strtoq)
47227 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
47228 (strtod_l, strtof_l, strtold_l): Remove __wur.
47229 It is not necessarily an error to ignore strtol's return value.
47230 One can reliably look at the stored endptr to decide whether
47231 the number had valid syntax.
47233 2012-04-21 Andreas Jaeger <aj@suse.de>
47236 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
47238 2012-04-21 Joseph Myers <joseph@codesourcery.com>
47240 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
47241 * sysdeps/unix/sysv/Versions: Remove file.
47243 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
47246 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47248 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
47251 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
47252 version from __vm86.
47254 2012-04-20 Joseph Myers <joseph@codesourcery.com>
47256 * sysdeps/unix/common/lxstat.c: Remove file.
47257 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
47259 * sysdeps/unix/sysv/Makefile: Remove file.
47261 * sysdeps/unix/sysv/direct.h: Remove file.
47263 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
47264 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
47265 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
47266 * sysdeps/unix/sysv/bits/signum.h: Likewise.
47267 * sysdeps/unix/sysv/bits/stat.h: Likewise.
47268 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
47269 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
47271 * sysdeps/unix/sysv/setrlimit.c: Remove file.
47273 * sysdeps/unix/xmknod.c: Remove file.
47274 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
47276 * sysdeps/unix/sysv/settimeofday.c: Remove file.
47278 * sysdeps/unix/sysv/i386/time.S: Remove file.
47280 * sysdeps/unix/fxstat.c: Remove file.
47281 * sysdeps/unix/xstat.c: Likewise.
47282 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
47284 * sysdeps/unix/sysv/sigaction.c: Remove file.
47286 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
47287 (sysdep_headers): Remove variable.
47288 [termio.h not in sysdep_headers] (generated): Likewise.
47289 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
47290 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
47291 * sysdeps/unix/sysv/tcdrain.c: Likewise.
47292 * sysdeps/unix/sysv/tcflow.c: Likewise.
47293 * sysdeps/unix/sysv/tcflush.c: Likewise.
47294 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
47295 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
47296 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
47297 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
47298 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
47300 * sysdeps/unix/siglist.c: Remove file.
47302 * sysdeps/unix/getppid.S: Remove file.
47304 * sysdeps/unix/mkdir.c: Remove file.
47305 * sysdeps/unix/rmdir.c: Likewise.
47307 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
47309 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
47311 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
47312 errlist-compat value.
47314 2012-04-18 David S. Miller <davem@davemloft.net>
47316 * sysdeps/generic/memcopy.h (reg_char): Delete.
47317 * debug/strcat_chk.c: Use char, not reg_char.
47318 * debug/strcpy_chk.c: Likewise.
47319 * debug/strncat_chk.c: Likewise.
47320 * debug/strncpy_chk.c: Likewise.
47321 * string/memchr.c: Likewise.
47322 * string/memrchr.c: Likewise.
47323 * string/rawmemchr.c: Likewise.
47324 * string/strcat.c: Likewise.
47325 * string/strchr.c: Likewise.
47326 * string/strchrnul.c: Likewise.
47327 * string/strcmp.c: Likewise.
47328 * string/strcpy.c: Likewise.
47329 * string/strncat.c: Likewise.
47330 * string/strncmp.c: Likewise.
47331 * string/strncpy.c: Likewise.
47333 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
47335 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
47336 __builtin_memcopy is called when src and dest ranges are known to not
47339 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
47341 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
47342 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
47343 fwd_align_merge macro call.
47344 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
47345 bwd_align_merge macro call.
47346 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47348 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
47350 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
47351 bwd_align_merge macros.
47352 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
47353 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
47354 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47356 2012-04-18 David S. Miller <davem@davemloft.net>
47358 * sysdeps/sparc/sparc64/memcopy.h: Delete.
47360 2012-04-18 Andreas Jaeger <aj@suse.de>
47363 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
47364 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
47365 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47367 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
47368 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
47369 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47371 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
47372 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
47373 Adjust for changed ldbl-128 files.
47375 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
47376 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
47377 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47379 2012-04-17 David S. Miller <davem@davemloft.net>
47381 * sysdeps/sparc/sparc32/memcopy.h: Delete.
47383 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
47385 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
47386 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
47387 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
47388 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
47389 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
47390 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
47392 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47395 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
47396 * math/libm-test.inc: Add ilogb errno and exception tests.
47397 * math/w_ilogb.c: New file: ilogb wrapper.
47398 * math/w_ilogbf.c: New file: ilogbf wrapper.
47399 * math/w_ilogbl.c: New file: ilogbl wrapper.
47400 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
47401 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
47402 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
47403 exception being thrown with 0.0 as argument.
47404 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
47405 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
47406 exception being thrown with 0.0 as argument.
47407 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
47408 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
47409 exception being thrown with 0.0 as argument.
47410 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
47411 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
47412 exception being thrown with 0.0 as argument.
47413 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
47414 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
47415 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
47416 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
47417 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
47418 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
47419 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
47420 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
47421 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
47423 2012-04-17 Petr Baudis <pasky@ucw.cz>
47425 * include/sys/uio.h: Change __vector to __iovec to avoid clash
47428 2012-04-16 Marek Polacek <polacek@redhat.com>
47430 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
47432 2012-04-16 Marek Polacek <polacek@redhat.com>
47434 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
47435 operands of fdivp instruction.
47437 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
47439 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
47440 * elf/tst-auditmod3b.c: Likewise.
47441 * elf/tst-auditmod4b.c: Likewise.
47442 * elf/tst-auditmod5b.c: Likewise.
47443 * elf/tst-auditmod6b.c: Likewise.
47444 * elf/tst-auditmod6c.c: Likewise.
47445 * elf/tst-auditmod7b.c: Likewise.
47446 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
47447 * sysdeps/x86_64/preconfigure.in: Likewise.
47448 * sysdeps/x86_64/preconfigure: Regenerated.
47450 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
47452 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
47455 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
47457 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47458 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
47460 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
47463 * locale/iso-639.def: Fix gl language name. Spotted by
47466 2012-04-12 Roland McGrath <roland@hack.frob.com>
47469 * libio/libio.h (__io_write_fn): Update comment.
47471 2012-04-12 Petr Baudis <pasky@ucw.cz>
47474 * stdio.texi (Hook Functions): The user provided writer function
47475 is not allowed to return -1.
47477 2012-04-11 David S. Miller <davem@davemloft.net>
47479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47481 2012-04-11 Mike Frysinger <vapier@gentoo.org>
47483 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
47484 Add a leading slash to rtkaio.
47486 2012-04-11 Jim Meyering <meyering@redhat.com>
47489 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
47490 It is not necessarily an error to ignore fwrite's return
47491 value. One can reliably use ferror to test for errors after
47494 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
47496 * bits/types.h (__snseconds_t): New type.
47497 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
47499 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
47500 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47501 (__SNSECONDS_T_TYPE): Likewise.
47502 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47503 (__SNSECONDS_T_TYPE): Likewise.
47504 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47505 (__SNSECONDS_T_TYPE): Likewise.
47507 2012-04-10 Andreas Jaeger <aj@suse.de>
47510 * manual/time.texi (Processor Time): Return type of times is
47511 elapsed real time since an arbitrary point in the past.
47512 (CPU Time): Move CLK_TCK from here...
47513 (Processor Time): ...to here. Correct description.
47514 * manual/conf.texi (Constants for Sysconf): Correct description of
47517 2012-04-10 David S. Miller <davem@davemloft.net>
47520 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
47521 where the is a gap between DT_REL(A) and DT_JMPREL.
47523 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
47525 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
47526 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
47527 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
47529 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47531 * elf/dl-support.c (_dl_inhibit_cache): New variable.
47532 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
47533 (dl_main): Handle --inhibit-cache.
47534 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
47536 * elf/dl-load.c (_dl_map_object): Use it.
47537 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
47539 2012-04-09 Joseph Myers <joseph@codesourcery.com>
47542 * sysdeps/i386/fpu/e_powl.S (p78): New object.
47543 (__ieee754_powl): Saturate large exponents rather than testing for
47544 overflow of y*log2(x).
47545 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47546 * math/libm-test.inc (pow_test): Do not permit spurious overflow
47550 * math/s_ctan.c: Include <float.h>.
47551 (__ctan): Avoid internal overflow or cancellation in calculating
47553 * math/s_ctanf.c: Likewise.
47554 * math/s_ctanl.c: Likewise.
47555 * math/s_ctanh.c: Likewise.
47556 * math/s_ctanhf.c: Likewise.
47557 * math/s_ctanhl.c: Likewise.
47558 * math/libm-test.inc (ctan_test): Add more tests.
47559 (ctanh_test): Likewise.
47560 * sysdeps/i386/fpu/libm-test-ulps: Update.
47561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47563 2012-04-09 Andreas Jaeger <aj@suse.de>
47566 * manual/filesys.texi (Directory Entries): Mention that d_namlen
47567 is an optional BSD extension.
47570 * manual/stdio.texi (Opening Streams): Document additional fopen
47573 2012-04-09 Roland McGrath <roland@hack.frob.com>
47575 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
47576 %eax without telling the compiler.
47578 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
47581 * manual/install.texi: Use sourceware.org.
47583 2012-04-09 Joseph Myers <joseph@codesourcery.com>
47586 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
47587 (__ieee754_pow): Generate overflow and underflow using huge*huge
47588 and tiny*tiny rather than just returning constant infinity or zero
47589 for large exponents.
47590 * math/libm-test.inc (pow_test): Require overflow exceptions for
47591 applicable cases of large exponents.
47594 * sysdeps/i386/fpu/e_pow.S (p10): New object.
47595 (__ieee754_pow): Use iterative multiplication algorithm only for
47596 integer exponents with absolute value below 1024. Check for odd
47597 integer exponents when using algorithm for real exponents.
47598 * math/libm-test.inc (pow_test): Add more tests.
47599 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47601 2012-04-08 Joseph Myers <joseph@codesourcery.com>
47604 * math/libm-test.inc (exp_test): Do not allow overflow exception
47607 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
47610 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
47611 instead of __kernel_standard_f.
47613 2012-04-08 Mike Frysinger <vapier@gentoo.org>
47615 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
47616 * sysdeps/x86_64/memset_chk.S: Likewise.
47618 2012-04-08 Andreas Jaeger <aj@suse.de>
47621 * manual/startup.texi (Environment Access): Describe return value
47622 for putenv and setenv.
47625 * manual/filesys.texi (Directory Entries): Add description for
47629 * manual/filesys.texi (Directory Entries): Clarify that it's file
47630 system not operating system in the description of DT_UNKNOWN.
47633 * manual/syslog.texi (closelog): Fix reference, it's openlog.
47635 2012-04-08 Stephen Compall <s11@member.fsf.org>
47638 * manual/llio.texi (Opening and Closing Files): Add cross
47639 reference to explain mode argument.
47641 2012-04-07 Mike Frysinger <vapier@gentoo.org>
47643 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
47644 * sysdeps/x86_64/memset_chk.S: Likewise.
47646 2012-04-07 David S. Miller <davem@davemloft.net>
47648 * elf/elf.h (R_SPARC_WDISP10): Define.
47649 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
47651 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
47652 R_SPARC_SIZE64 and R_SPARC_H34.
47654 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
47656 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
47657 conditions and remove no longer applicable assertion.
47659 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
47661 * bits/byteswap.h: Include <features.h>.
47662 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
47663 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
47665 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
47667 * bits/byteswap.h (__bswap_16): Removed.
47668 Include <bits/byteswap-16.h> to get __bswap_16.
47669 * sysdeps/i386/bits/byteswap.h: Likewise.
47670 * sysdeps/s390/bits/byteswap.h: Likewise.
47671 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47672 * bits/byteswap-16.h: New file.
47673 * sysdeps/i386/bits/byteswap-16.h: Likewise.
47674 * sysdeps/s390/bits/byteswap-16.h: Likewise.
47675 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
47676 * string/Makefile (headers): Add bits/byteswap-16.h.
47678 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47681 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
47683 * nss/Makefile (tests-static, tests): Add tst-nss-static.
47684 * nss/tst-nss-static.c: New.
47686 2012-04-06 Robert Millan <rmh@gnu.org>
47689 * manual/llio.texi (File Position Primitive): lseek
47690 refers to WHENCE when it really means OFFSET.
47692 2012-04-06 Andreas Jaeger <aj@suse.de>
47694 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
47695 strncmp declarations.
47697 * abilist/libc.abilist: Add __poll and __ppoll.
47699 2012-04-05 David S. Miller <davem@davemloft.net>
47701 * scripts/check-local-headers.sh: Accept a host triplet in the
47702 path matched by the exclude regexp.
47704 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
47706 * sysdeps/powerpc/powerpc32/dl-machine.h
47707 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
47708 * sysdeps/s390/s390-32/dl-machine.h
47709 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47710 * sysdeps/sparc/sparc32/dl-machine.h
47711 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47712 * sysdeps/sparc/sparc64/dl-machine.h
47713 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47715 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
47717 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
47718 undefined symbol errors.
47720 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
47723 2012-04-05 Michael Matz <matz@suse.de>
47726 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
47728 2012-04-05 Andreas Jaeger <aj@suse.de>
47731 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
47734 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47736 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
47737 which ROUND is no valid rounding mode.
47739 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47741 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
47743 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
47745 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47747 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
47748 an exception using FPU order intentionally.
47750 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47752 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
47753 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
47754 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
47755 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
47757 2012-04-05 Simon Josefsson <simon@josefsson.org>
47760 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
47761 EINVAL when BUFLEN is too smal.
47763 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
47766 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
47767 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
47769 2012-04-03 Andreas Jaeger <aj@suse.de>
47772 * manual/setjmp.texi (System V contexts): Fix sentence.
47775 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
47776 New macro for this case.
47777 [!__GNUC__] (__bswap_64): New inline function for this case.
47778 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47779 * bits/byteswap.h: Likewise.
47780 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
47781 ull, guard with __GLIBC_HAVE_LONG_LONG.
47783 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
47784 __GLIBC_HAVE_LONG_LONG.
47786 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
47787 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
47789 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47792 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
47793 inptr and inend, rather than using last_ch.
47795 2012-04-02 David S. Miller <davem@davemloft.net>
47797 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
47798 * stdio-common/printf-parse.h (read_int): Change return type to
47799 'int', return -1 on INT_MAX overflow.
47800 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
47801 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
47802 overflows INT_MAX. Check for overflow of in-format-string precision
47803 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
47804 SIZE_MAX not INT_MAX for integer overflow test.
47805 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
47806 skip the construct in the format string but do not record anything.
47807 * stdio-common/bug22.c: Adjust to test both width/prevision
47808 INT_MAX overflow as well as total length INT_MAX overflow. Check
47809 explicitly for proper errno values.
47811 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
47813 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
47815 * string/test-strcmp.c [! WIDE]: Likewise.
47816 * time/tst-mktime2.c: Likewise for INT_MAX.
47817 * string/test-string.h: #include <sys/param.h> for MIN.
47819 * csu/init-first.c (__libc_init_first): Call __ctype_init.
47820 * sysdeps/i386/init-first.c (init): Likewise.
47821 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
47822 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
47823 * sysdeps/sh/init-first.c (init): Likewise.
47825 2012-04-01 Ulrich Drepper <drepper@gmail.com>
47827 * po/ru.po: Update from translation team.
47828 * po/vi.po: Likewise.
47830 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
47832 * resolv/nss_dns/dns-host.c: Merge copyright years.
47834 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47836 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47837 Optimize memcpy with prefetch if
47838 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
47839 src, dst pointers have unequal 16 byte alignments.
47841 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
47844 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
47845 from a CNAME entry and return the minimum ttl for the query.
47846 (gaih_getanswer_slice): Likewise.
47848 2012-03-30 Jeff Law <law@redhat.com>
47850 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
47852 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
47853 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
47855 * resolv/nss_dns/dns-host.c: Update copyright year.
47857 2012-03-30 Ulrich Drepper <drepper@gmail.com>
47859 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
47860 requests to save a system call. Fix check that all bytes are sent.
47862 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
47863 comments for sendmmsg.
47865 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47868 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
47869 with only 1 character between 0x0041 and 0x01b0.
47870 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
47871 * wcsmbs/tst-mbsnrtowcs.c: New file.
47873 2012-03-29 David S. Miller <davem@davemloft.net>
47875 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
47876 small copies by hand.
47878 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47881 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
47882 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
47885 2012-03-28 David S. Miller <davem@davemloft.net>
47887 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
47888 that branches into memcpy.
47889 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47890 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
47891 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47892 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
47893 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
47895 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
47896 implementation too.
47897 * sysdeps/sparc/mempcpy.S: New file.
47899 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
47900 the IFUNC routine in the libc case.
47901 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47903 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
47904 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
47905 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
47906 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
47907 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
47908 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
47909 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
47910 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
47912 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
47913 loop to 256 bytes instead of 64 bytes and fix test signedness.
47915 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
47916 * sysdeps/sparc/sparc32/Makefile: rather than here...
47917 * sysdeps/sparc/sparc64/Makefile: and here.
47919 2012-03-28 Ulrich Drepper <drepper@gmail.com>
47921 * malloc/mallocbug.c: Avoid warnings about unused variables.
47923 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
47926 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
47927 in the right place. Discard and retry query if response is
47928 larger than input buffer size.
47930 2012-03-28 Joseph Myers <joseph@codesourcery.com>
47935 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
47936 x for large integer exponent.
47937 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47938 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
47939 sign of result as needed afterwards.
47940 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47941 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
47942 result for underflowing pow the same as for overflow.
47943 (__kernel_standard_l): Handle powl overflow and underflow here
47944 rather than calling __kernel_standard.
47945 * math/libm-test.inc (pow_test): Add more tests.
47960 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
47961 * sysdeps/ieee754/k_standard.c: Include <float.h>.
47962 (__kernel_standard_l): New function.
47963 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
47965 * math/w_acosl.c (__acosl): Likewise.
47966 * math/w_asinl.c (__asinl): Likewise.
47967 * math/w_atan2l.c (__atan2l): Likewise.
47968 * math/w_atanhl.c (__atanhl): Likewise.
47969 * math/w_coshl.c (__coshl): Likewise.
47970 * math/w_exp10l.c (__exp10l): Likewise.
47971 * math/w_exp2l.c (__exp2l): Likewise.
47972 * math/w_fmodl.c (__fmodl): Likewise.
47973 * math/w_hypotl.c (__hypotl): Likewise.
47974 * math/w_j0l.c (__j0l, __y0l): Likewise.
47975 * math/w_j1l.c (__j1l, __y1l): Likewise.
47976 * math/w_jnl.c (__jnl, __ynl): Likewise.
47977 * math/w_lgammal.c (__lgammal): Likewise.
47978 * math/w_log10l.c (__log10l): Likewise.
47979 * math/w_log2l.c (__log2l): Likewise.
47980 * math/w_logl.c (__logl): Likewise.
47981 * math/w_powl.c (__powl): Likewise.
47982 * math/w_remainderl.c (__remainderl): Likewise.
47983 * math/w_scalbl.c (sysv_scalbl): Likewise.
47984 * math/w_sinhl.c (__sinhl): Likewise.
47985 * math/w_sqrtl.c (__sqrtl): Likewise.
47986 * math/w_tgammal.c (__tgammal): Likewise.
47987 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47988 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47989 * math/libm-test.inc (acos_test): Add more tests.
47990 (acosh_test): Likewise.
47991 (asin_test): Likewise.
47992 (atanh_test): Likewise.
47993 (exp_test): Likewise.
47994 (exp10_test): Likewise.
47995 (exp2_test): Likewise.
47996 (expm1_test): Likewise.
47997 (lgamma_test): Likewise.
47998 (log_test): Likewise.
47999 (log10_test): Likewise.
48000 (log1p_test): Likewise.
48001 (log2_test): Likewise.
48002 (pow_test): Do not allow some spurious overflow exceptions.
48003 (sqrt_test): Add more tests.
48004 (tgamma_test): Likewise.
48005 (y0_test): Likewise.
48006 (y1_test): Likewise.
48007 (yn_test): Likewise.
48009 2012-03-27 Anton Blanchard <anton@samba.org>
48011 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
48013 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48014 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48015 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48017 2012-03-27 David S. Miller <davem@davemloft.net>
48019 * conform/Makefile: Run run-conformtest.sh using $(BASH).
48021 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
48022 have-as-vis3 check.
48024 2012-03-27 Andreas Jaeger <aj@suse.de>
48026 * sysdeps/x86_64/elf/configure.in: Moved to ...
48027 * sysdeps/x86_64/configure.in: ... here.
48028 * sysdeps/x86_64/elf/start.S: Moved to ...
48029 * sysdeps/x86_64/start.S: ... here.
48030 * sysdeps/x86_64/elf/configure: Delete.
48032 * sysdeps/x86_64/configure.in: Merge contents from
48033 sysdeps/i386/configure.in (without i686 check).
48035 * sysdeps/i386/elf/Versions: Merge into ...
48036 * sysdeps/i386/Versions: ... this.
48037 * sysdeps/i386/elf/Versions: Delete file.
48038 * sysdeps/i386/elf/start.S: Moved to ...
48039 * sysdeps/i386/start.S: ...here.
48040 * sysdeps/i386/elf/configure.in: Merge into...
48041 * sysdeps/i386/configure.in: ...here.
48042 * sysdeps/i386/elf/configure.in: Delete file.
48043 * sysdeps/i386/elf/configure: Delete file.
48045 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
48046 * debug/backtracesyms.c: ... here.
48047 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
48048 * debug/backtracesymsfd.c: ... here.
48049 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
48050 * sysdeps/generic/ifunc-sel.h: ... here.
48052 * sysdeps/unix/i386/start.c: Delete file.
48053 * sysdeps/unix/sparc/start.c: Delete file.
48054 * sysdeps/unix/start.c: Delete file.
48056 * sysdeps/sh/elf/configure.in: Moved to ...
48057 * sysdeps/sh/configure.in: ... here.
48058 * sysdeps/sh/elf/start.S: Moved to ...
48059 * sysdeps/sh/start.S: ... here.
48060 * sysdeps/sh/elf/configure: Delete file.
48062 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
48063 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
48064 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
48065 * sysdeps/powerpc/powerpc64/entry.h: ... here.
48066 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
48067 * sysdeps/powerpc/powerpc64/start.S: here.
48068 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
48069 * sysdeps/powerpc/powerpc64/Makefile: ... this.
48070 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
48071 * sysdeps/powerpc/powerpc64/configure.in: ... this.
48072 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
48074 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
48075 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
48076 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
48077 * sysdeps/powerpc/powerpc32/start.S: ... here.
48078 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
48079 * sysdeps/powerpc/powerpc32/configure.in: ... this.
48080 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
48082 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
48083 * sysdeps/powerpc/ifunc-sel.h: ... here.
48084 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
48085 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
48087 * sysdeps/sparc/elf/configure.in: Moved to ...
48088 * sysdeps/sparc/configure.in: ... here.
48089 * sysdeps/sparc/elf/configure: Delete file.
48090 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
48091 * sysdeps/sparc/sparc32/start.S: ... here.
48092 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
48093 * sysdeps/sparc/sparc64/start.S: ... here.
48094 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
48095 * sysdeps/sparc/sparc32/Makefile: ... this.
48096 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
48097 * sysdeps/sparc/sparc64/Makefile: ... this.
48099 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
48100 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
48101 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
48102 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
48103 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
48104 * sysdeps/s390/s390-32/setjmp.S: ... here.
48105 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
48106 * sysdeps/s390/s390-32/configure.in: ... here.
48107 * sysdeps/s390/s390-32/elf/configure: Delete file.
48108 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
48109 * sysdeps/s390/s390-32/start.S: ... here.
48111 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
48112 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
48113 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
48114 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
48115 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
48116 * sysdeps/s390/s390-64/setjmp.S: ... here.
48117 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
48118 * sysdeps/s390/s390-64/configure.in: ... here
48119 * sysdeps/s390/s390-64/elf/configure: Delete file.
48120 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
48121 * sysdeps/s390/s390-64/start.S: ... here.
48122 * sysdeps/s390/s390-64/elf/configure: Delete.
48124 * configure.in: Remove support for elf directories in sysdeps.
48126 * configure: Regenerated.
48127 * sysdeps/i386/configure: Regenerated.
48128 * sysdeps/powerpc/powerpc32/configure: Regenerated.
48129 * sysdeps/powerpc/powerpc64/configure: Regenerated.
48130 * sysdeps/s390/s390-32/configure: Regenerated.
48131 * sysdeps/s390/s390-64/configure: Regenerated.
48132 * sysdeps/sh/configure: Regenerated.
48133 * sysdeps/sparc/configure: Regenerated.
48134 * sysdeps/x86_64/configure: Regenerated.
48136 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
48138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48140 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
48141 denormal result into account.
48143 2012-03-25 Roland McGrath <roland@hack.frob.com>
48145 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
48146 Reported by Allan McRae <allan@archlinux.org>.
48148 2012-03-23 Jeff Law <law@redhat.com>
48150 * nss/getnssent.c (__nss_getent): Fix typo.
48152 2012-03-23 David S. Miller <davem@davemloft.net>
48154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48156 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
48158 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
48159 to pad to uint64_t for each field.
48160 (dl_tls_index): Replace unsigned long with uint64_t.
48162 2012-03-23 Daniel Jacobowitz <dmj@google.com>
48163 Paul Pluzhnikov <ppluzhnikov@google.com>
48166 * grp/Makefile (otherlibs): Don't set it.
48167 * inet/Makefile (otherlibs): Likewise.
48168 * login/Makefile (otherlibs): Likewise.
48169 * nscd/Makefile (otherlibs): Likewise.
48170 * posix/Makefile (otherlibs): Likewise.
48171 * pwd/Makefile (otherlibs): Likewise.
48172 * rt/Makefile (otherlibs): Likewise.
48173 * sunrpc/Makefile (otherlibs): Likewise.
48174 * nss/Makefile (otherlibs): Likewise.
48175 Add libnss_files to routines and static-only-routines.
48176 ($(objpfx)getent): Remove rule.
48177 * resolv/Makefile: Add libnss_dns and libresolv to routines and
48178 static-only-routines.
48180 2012-03-22 Joseph Myers <joseph@codesourcery.com>
48183 * math/s_cexp.c: Include <float.h>.
48184 (__cexp): Handle exp result overflowing not necessarily
48185 overflowing both real and imaginary parts of result.
48186 * math/s_cexpf.c: Likewise.
48187 * math/s_cexpl.c: Likewise.
48188 * math/libm-test.inc (cexp_test): Add more tests.
48189 * sysdeps/i386/fpu/libm-test-ulps: Update.
48190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48192 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
48194 * include/link.h (ELFW): New macro.
48195 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
48196 Replace ELF64_R_TYPE with ELFW(R_TYPE).
48198 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
48200 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
48203 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
48205 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
48207 (struct La_x32_retval): Likewise.
48209 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
48211 * sysdeps/x86_64/preconfigure.in: New file.
48212 * sysdeps/x86_64/preconfigure: New generated file.
48214 2012-03-22 Joseph Myers <joseph@codesourcery.com>
48217 * math/e_exp2l.c: Include <float.h>.
48218 (__ieee754_exp2l): Handle overflow and underflow cases
48219 separately. Only pass fractional part of argument to
48221 * math/libm-test.inc (exp2_test): Add more tests.
48223 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
48224 negating x to take absolute value.
48225 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
48227 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
48228 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
48230 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
48231 computing low part if x was negated.
48232 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
48234 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
48236 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
48237 la_x32_gnu_pltexit.
48238 (pltexit): Cast int_retval to ptrdiff_t.
48239 * elf/tst-auditmod3b.c: Likewise.
48240 * elf/tst-auditmod4b.c: Likewise.
48241 * elf/tst-auditmod5b.c: Likewise.
48242 * elf/tst-auditmod6b.c: Likewise.
48243 * elf/tst-auditmod6c.c: Likewise.
48244 * elf/tst-auditmod7b.c: Likewise.
48246 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
48247 and x32_gnu_pltexit.
48249 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
48250 __ELF_NATIVE_CLASS.
48251 (La_x32_regs): New macro.
48252 (La_x32_retval): Likewise.
48253 (la_x32_gnu_pltenter): New function prototype.
48254 (la_x32_gnu_pltexit): Likewise.
48256 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
48258 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
48261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48263 * configure.in (libc_cv_cc_nofma): Check for option to disable
48264 generation of FMA instructions.
48265 * configure: Regenerate.
48266 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
48267 * sysdeps/ieee754/dbl-64/Makefile: New file.
48268 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
48269 Remove brandred-fma4.
48270 (CFLAGS-brandred-fma4.c): Remove.
48271 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
48272 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
48274 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
48277 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
48279 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48280 LLONG_MAX != LONG_MAX.
48281 (_itoa_word): Use _ITOA_WORD_TYPE on value.
48282 (_fitoa_word): Likewise.
48283 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
48284 LLONG_MAX != LONG_MAX.
48285 * stdio-common/_itowa.h: Include <_itoa.h>.
48286 (_itowa_word): Use _ITOA_WORD_TYPE on value.
48287 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
48288 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
48289 only if not defined.
48290 (_ITOA_WORD_TYPE): Likewise.
48291 (_itoa_word): Use _ITOA_WORD_TYPE on value.
48292 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
48294 2012-03-21 David S. Miller <davem@davemloft.net>
48296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48298 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
48300 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
48301 of x86_64 when setting libc_cv_slibdir, libdir and
48303 * sysdeps/unix/sysv/linux/configure: Regenerated.
48305 2012-03-21 Joseph Myers <joseph@codesourcery.com>
48307 * manual/lang.texi (Old Varargs): Remove section.
48308 (How Variadic): Update menu.
48309 (va_start): Do not mention varargs.h.
48311 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
48312 Joseph Myers <joseph@codesourcery.com>
48314 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
48316 * configure: Regenerated.
48318 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
48320 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
48321 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
48324 2012-03-21 Joseph Myers <joseph@codesourcery.com>
48327 * Makefile (files-for-dist): Remove NOTES.
48328 (NOTES): Remove rule.
48329 * README: Don't refer to NOTES.
48330 * manual/creature.texi: Don't include macros.texi.
48331 * manual/intro.texi (creature.texi): Remove comment referring to
48334 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
48335 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
48336 * configure: Regenerated.
48337 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
48338 LIBC_TRY_CC_OPTION.
48339 (libc_cv_as_i686): Likewise.
48340 (libc_cv_cc_avx): Likewise.
48341 (libc_cv_cc_sse2avx): Likewise.
48342 (libc_cv_cc_fma4): Likewise.
48343 (libc_cv_cc_novzeroupper): Likewise.
48344 * sysdeps/i386/configure: Regenerated.
48347 * sysdeps/i386/fpu/s_cexp.S: Remove.
48348 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48349 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48350 * math/libm-test.inc (cexp_test): Add more tests.
48351 * sysdeps/i386/fpu/libm-test-ulps: Update.
48352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48354 2012-03-21 Allan McRae <allan@archlinux.org>
48356 * timezone/Makefile: Do not install iso3166.tab and zone.tab
48358 2012-03-21 Joseph Myers <joseph@codesourcery.com>
48361 * math/w_exp2.c: Do not include <float.h>.
48362 (o_threshold, u_threshold): Remove.
48363 (__exp2): Calculate result before checking finiteness and calling
48365 * math/w_exp2f.c: Likewise.
48366 * math/w_exp2l.c: Likewise.
48367 * math/libm-test.inc (exp2_test): Require overflow exception for
48371 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
48372 range of signed 64-bit integers before using fistpll. Remove
48373 checks for whether integers fit in mantissa bits.
48374 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
48375 the range of signed 32-bit integers before using fistpl. Remove
48376 checks for whether integers fit in mantissa bits.
48377 * sysdeps/i386/fpu/e_powl.S (p64): New object.
48378 (__ieee754_powl): Test for y outside the range of signed 64-bit
48379 integers before using fistpll. Reduce 64-bit values to 63-bit
48381 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
48382 divide-by-zero is raised for zero to large negative powers.
48383 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
48384 (__ieee754_powl): Test for y outside the range of signed 64-bit
48385 integers before using fistpll. Reduce 64-bit values to 63-bit
48387 * math/libm-test.inc (pow_test): Add more tests.
48389 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
48391 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
48392 <stdio-common/_itoa.h>.
48393 * debug/segfault.c: Likewise.
48394 * elf/dl-cache.c: Likewise.
48395 * elf/dl-minimal.c: Likewise.
48396 * elf/dl-misc.c: Likewise.
48397 * elf/dl-sysdep.c: Likewise.
48398 * elf/dl-version.c: Likewise.
48399 * elf/rtld.c: Likewise.
48400 * hurd/hurdsock.c: Likewise.
48401 * hurd/lookup-retry.c: Likewise.
48402 * malloc/malloc.c: Likewise.
48403 * malloc/mtrace.c: Likewise.
48404 * nscd/nscd_getgr_r.c: Likewise.
48405 * nscd/nscd_getpw_r.c: Likewise.
48406 * nscd/nscd_getserv_r.c: Likewise.
48407 * posix/getopt_init.c: Likewise.
48408 * posix/wordexp.c: Likewise.
48409 * stdio-common/_itoa.c: Likewise.
48410 * stdio-common/printf_fphex.c: Likewise.
48411 * stdio-common/vfprintf.c: Likewise.
48412 * string/_strerror.c: Likewise.
48413 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
48414 * sysdeps/i386/i686/hp-timing.h: Likewise.
48415 * sysdeps/mach/_strerror.c: Likewise.
48416 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
48417 * sysdeps/mach/hurd/sethostid.c: Likewise.
48418 * sysdeps/mach/hurd/xmknodat.c: Likewise.
48419 * sysdeps/mach/xpg-strerror.c: Likewise.
48420 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48421 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48422 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
48423 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
48424 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48425 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
48426 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
48427 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
48428 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
48429 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
48430 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
48431 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48432 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
48433 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
48434 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
48435 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
48436 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
48437 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
48438 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
48439 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
48440 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
48442 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
48444 * stdio-common/_itoa.h: Moved to ...
48445 * sysdeps/generic/_itoa.h: Here.
48447 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
48449 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
48450 instead of "_itoa.h" and "_itowa.h".
48451 * stdio-common/vfprintf.: Likewise.
48453 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
48455 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
48457 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
48458 (__signbit): Likwise.
48459 (llrintf): Likwise.
48462 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
48464 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
48467 2012-03-20 Joseph Myers <joseph@codesourcery.com>
48469 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
48470 OVERFLOW_EXCEPTION_OK.
48471 * math/libm-test.inc ("Philosophy"): Update comment about
48473 (OVERFLOW_EXCEPTION): Define.
48474 (OVERFLOW_EXCEPTION_OK): Likewise.
48475 (INVALID_EXCEPTION_OK): Renumber.
48476 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48477 (IGNORE_ZERO_INF_SIGN): Likewise.
48478 (test_exceptions): Handle FE_OVERFLOW.
48479 (exp10_test): Expect overflow exceptions.
48480 (exp2_test): Likewise.
48481 (expm1_test): Likewise.
48482 (nextafter_test): Likewise.
48483 (pow_test): Likewise.
48484 (scalbn_test): Likewise.
48485 (scalbln_test): Likewise.
48487 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48489 * sysdeps/x86_64/bits/atomic.h
48490 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
48492 (atomic_exchange_acq): Likewise.
48493 (__arch_exchange_and_add_body): Likewise.
48494 (__arch_add_body): Likewise.
48495 (atomic_add_negative): Likewise.
48496 (atomic_add_zero): Likewise.
48498 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48500 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
48501 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
48503 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48505 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
48506 Check __x86_64__ instead of __WORDSIZE.
48508 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48510 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
48512 2012-03-19 David S. Miller <davem@davemloft.net>
48514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48516 * sysdeps/sparc/fpu/fenv_private.h: New file.
48517 * sysdeps/sparc/fpu/math_private.h: Use it.
48518 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
48520 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
48521 (libc_feholdexcept_setroundl): Remove.
48522 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
48524 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
48525 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
48527 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48529 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
48530 int64_t instead of long int.
48531 (INSERT_WORDS64): Likwise.
48533 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48535 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
48536 _Unwind_GetCFA return to _Unwind_Ptr first.
48538 2012-03-19 Joseph Myers <joseph@codesourcery.com>
48541 * math/s_clog.c: Include <float.h>.
48542 (__clog): Scale large or subnormal inputs.
48543 * math/s_clogf.c: Likewise.
48544 * math/s_clogl.c: Likewise.
48545 * math/s_clog10.c: Include <float.h>.
48546 (M_LOG10_2): Define.
48547 (__clog10): Scale large or subnormal inputs.
48548 * math/s_clog10f.c: Likewise.
48549 * math/s_clog10l.c: Likewise.
48550 * math/libm-test.inc (clog_test): Add more tests.
48551 (clog10_test): Likewise.
48552 * sysdeps/i386/fpu/libm-test-ulps: Update.
48553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48556 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
48558 * math/libm-test.inc (atan2_test): Add another test.
48560 * Makerules (common-objdir-compile): Remove.
48561 * sysdeps/unix/Makefile (config-generated): Do not add
48562 $(unix-generated) to variable.
48563 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
48564 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
48566 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
48568 [generic bits/local_lim.h] (before-compile): Do not append to
48570 [generic bits/local_lim.h] (common-generated): Likewise.
48571 [generic sys/param.h] (before-compile): Do not append to variable.
48572 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
48573 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
48574 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
48575 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
48577 [generic sys/param.h] (sys/param.h-includes): Remove variable.
48578 [generic sys/param.h] (sys/param.h-includes): Remove rule.
48579 [generic sys/param.h] ($(addprefix
48580 $(common-objpfx),$(sys/param.h-includes))): Likewise.
48581 [generic sys/param.h] (common-generated): Do not append to
48583 [generic sys/param.h] (sysdep_headers): Likewise.
48584 [generic bits/errno.h] (before-compile): Do not append to
48586 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
48588 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
48589 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
48590 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
48591 [generic bits/errno.h] (common-generated): Do not append to
48593 [generic bits/ioctls.h] (before-compile): Do not append to
48595 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
48597 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
48598 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
48599 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
48601 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
48602 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
48603 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
48604 [generic bits/ioctls.h] (common-generated): Do not append to
48606 [generic sys/syscall.h] (syscall.h): Remove variable.
48607 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
48609 [generic sys/syscall.h] (before-compile): Do not append to
48611 [generic sys/syscall.h] (common-generated): Likewise.
48612 * sysdeps/unix/errnos-tmpl.c: Remove file.
48613 * sysdeps/unix/errnos.awk: Likewise.
48614 * sysdeps/unix/ioctls-tmpl.c: Likewise.
48615 * sysdeps/unix/ioctls.awk: Likewise.
48616 * sysdeps/unix/mk-local_lim.c: Likewise.
48617 * sysdeps/unix/snarf-ioctls: Likewise.
48619 2012-03-19 Richard Henderson <rth@twiddle.net>
48621 * sysdeps/i386/fpu/fenv_private.h: New file.
48622 * sysdeps/i386/fpu/math_private.h: Use it.
48623 (math_opt_barrier, math_force_eval): Remove.
48624 (libc_feholdexcept_setround_53bit): Remove.
48625 (libc_feupdateenv_53bit): Remove.
48626 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48627 (math_opt_barrier, math_force_eval): Remove.
48628 (libc_feholdexcept): Remove.
48629 (libc_feholdexcept_setround): Remove.
48630 (libc_fetestexcept, libc_fesetenv): Remove.
48631 (libc_feupdateenv_test): Remove.
48632 (libc_feupdateenv, libc_feholdsetround): Remove.
48633 (libc_feresetround): Remove.
48635 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
48636 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
48638 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
48639 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
48640 (libc_feupdateenv_testl): New.
48641 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
48642 (libc_feupdateenv_testf): New.
48643 (libc_feupdateenv): Use libc_feupdateenv_test.
48644 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
48645 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
48647 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
48648 (libc_feholdsetroundf, libc_feholdsetroundl): New.
48649 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
48650 (libc_feresetround_noex): New.
48651 (libc_feresetround_noexf): New.
48652 (libc_feresetround_noexl): New.
48653 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
48654 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
48655 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
48656 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
48658 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
48659 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
48661 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
48662 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
48663 SET_RESTORE_ROUND_NOEX.
48664 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
48665 SET_RESTORE_ROUND_NOEXF.
48666 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
48667 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
48668 (libc_feholdsetroundf): New.
48669 (libc_feresetround, libc_feresetroundf): New.
48671 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
48672 (libc_feholdexcept_setround_53bit): Convert from macro to function.
48673 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
48675 * sysdeps/generic/math_private.h: Include <fenv.h>.
48676 (default_libc_feholdexcept): New.
48677 (default_libc_feholdexcept_setround): New.
48678 (default_libc_fesetenv, default_libc_feupdateenv): New.
48679 (libc_feholdexcept): Only define if undefined.
48680 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
48681 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
48682 (libc_feholdexcept_setroundl): Likewise.
48683 (libc_feholdexcept_setround_53bit): Likewise.
48684 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
48685 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
48686 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
48687 (libc_feupdateenv_53bit): Likewise.
48688 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
48689 (libc_feholdexcept): Convert from macro to inline function.
48690 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
48691 (libc_fesetenv, libc_feupdateenv): Likewise.
48693 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
48694 not previously defined.
48695 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
48696 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
48697 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
48698 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
48699 * sysdeps/ieee754/flt-32/math_private.h: New file.
48700 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
48701 math_private.h below SET_FLOAT_WORD.
48702 (__isnan, __isinf_ns, __finite): Remove.
48703 (__isnanf, __isinf_nsf, __finitef): Remove.
48705 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
48707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48709 2012-03-17 David S. Miller <davem@davemloft.net>
48712 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
48715 2012-03-16 David S. Miller <davem@davemloft.net>
48717 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
48721 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
48723 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
48724 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
48725 sysdep_routines when subdir is sysvipc.
48726 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
48727 __getshmlba helper.
48729 * sysdeps/sparc/fpu/libm-test/ulps: Update.
48731 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48733 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
48736 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48738 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
48739 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
48740 (__lround): Renamed to ...
48741 (__llround): This. Replace long int with long long int.
48742 Define lround functions as aliases of llround functions.
48743 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
48745 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48747 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
48748 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
48749 adresses to uintptr_t. Replace "long int" and "unsigned long
48750 int" with "greg_t" on va_arg.
48752 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48754 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
48755 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
48757 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
48758 Move e_machine check before EI_CLASS check. Handle x32
48759 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
48760 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
48761 SKIP_EM_IA_64 and include
48762 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
48764 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
48765 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
48766 (add_system_dir): New macro.
48768 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
48769 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
48771 2012-03-16 Joseph Myers <joseph@codesourcery.com>
48782 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
48784 * math/w_j0f.c (j0f): Likewise.
48786 * math/w_j0l.c (__j0l): Likewise.
48788 * math/w_j1.c (j1): Likewise.
48790 * math/w_j1f.c (j1f): Likewise.
48792 * math/w_j1l.c (__j1l): Likewise.
48794 * math/w_jn.c (jn): Likewise.
48796 * math/w_jnf.c (jnf): Likewise.
48798 * math/w_jnl.c (__jnl): Likewise.
48800 * math/libm-test.inc (j0_test): Add more tests.
48801 (j1_test): Likewise.
48802 (jn_test): Likewise. Add trailing semicolon to existing test.
48803 (y0_test): Likewise.
48804 (y1_test): Likewise.
48805 * sysdeps/i386/fpu/libm-test-ulps: Update.
48806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48810 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
48811 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
48812 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
48813 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
48814 (__tanl): Set errno for infinite argument.
48815 * sysdeps/i386/fpu/mptan.c: Remove.
48816 * sysdeps/i386/fpu/s_tan.S: Likewise.
48817 * sysdeps/i386/fpu/s_tanl.S: Likewise.
48818 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
48819 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
48820 * math/libm-test.inc (tan_test): Add more tests and enable more
48821 tests for double and long double.
48822 * sysdeps/i386/fpu/libm-test-ulps: Update.
48823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48825 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
48827 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
48828 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
48830 2012-03-16 Roland McGrath <roland@hack.frob.com>
48832 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
48833 * configure.in: Use it for both main tree and add-ons.
48834 * configure: Regenerated.
48836 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48838 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
48840 2012-03-16 Joseph Myers <joseph@codesourcery.com>
48842 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
48846 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
48847 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
48848 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
48849 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
48850 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
48852 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
48853 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
48854 != 0 for prec == 2.
48855 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
48856 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
48857 * sysdeps/i386/fpu/s_cosl.S: Likewise.
48858 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
48859 * sysdeps/i386/fpu/s_sinl.S: Likewise.
48860 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
48861 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
48862 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
48863 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
48864 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
48865 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
48866 * math/libm-test.inc (cos_test): Add more tests and enable more
48867 tests for long double.
48868 (sin_test): Likewise.
48869 (sincos_test): Likewise.
48870 * sysdeps/i386/fpu/libm-test-ulps: Update.
48871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48873 2012-03-16 David S. Miller <davem@davemloft.net>
48875 * sysdeps/sparc/fpu/math_private.h: New file.
48877 2012-03-15 David S. Miller <davem@davemloft.net>
48879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
48881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
48882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
48884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
48885 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
48886 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
48887 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
48888 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
48889 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
48891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48893 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
48894 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
48896 * sysdeps/sparc/sparc-ifunc.h: New file.
48897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
48899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
48900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
48902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
48904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
48905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
48906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
48911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
48913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
48915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
48917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
48919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
48920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
48921 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48922 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48923 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
48924 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
48925 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48926 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48927 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
48928 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
48929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
48930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
48931 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
48932 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
48933 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
48934 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
48935 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
48936 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
48937 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
48938 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
48939 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
48940 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
48942 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48944 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
48946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48948 2012-03-15 Andreas Jaeger <aj@suse.de>
48951 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
48952 ieee754/flt-32 implementation for sin, cos and sincos.
48953 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
48954 * sysdeps/i386/fpu/s_cosf.S: Likewise.
48955 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
48956 * sysdeps/i386/fpu/s_sinf.S: Likewise.
48957 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
48958 ieee754/flt-32 implementation for tan.
48960 * math/libm-test.inc (cos_test): Enable some large input tests for
48962 (sin_test): Likewise.
48963 (sincos_test): Likewise.
48964 (tan_test): Add tests for large input.
48966 * sysdeps/i386/fpu/libm-test-ulps: Update.
48968 2012-03-15 Andreas Jaeger <aj@suse.de>
48971 * math/libm-test.inc (cos_test): Add more test cases.
48972 (sin_test): Likewise.
48973 (sincos_test): Likewise.
48975 2012-03-15 Andreas Jaeger <aj@suse.de>
48978 * math/libm-test.inc (cos_test): Add a test case for large input
48980 (sin_test): Likewise.
48981 (sincos_test): Likewise.
48983 2012-03-15 Andreas Jaeger <aj@suse.de>
48984 Joseph Myers <joseph@codesourcery.com>
48987 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
48988 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48989 * sysdeps/i386/fpu/branred.c: Likewise.
48990 * sysdeps/i386/fpu/dosincos.c: Likewise.
48991 * sysdeps/i386/fpu/mpa.c: Likewise.
48992 * sysdeps/i386/fpu/s_cos.S: Likewise.
48993 * sysdeps/i386/fpu/s_sin.S: Likewise.
48994 * sysdeps/i386/fpu/s_sincos.S: Likewise.
48995 * sysdeps/i386/fpu/sincos32.c: Likewise.
48997 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48999 (libc_feupdateenv_53bit): Define.
49000 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
49002 (libc_feupdateenv_53bit): Define.
49004 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
49005 53 bit (without extend i386 double precision).
49007 * math/libm-test.inc (sincos_test): Add tests for large input.
49011 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
49013 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
49015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49017 2012-03-15 David S. Miller <davem@davemloft.net>
49019 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
49020 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
49021 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
49022 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
49023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
49024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
49025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
49026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
49027 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
49028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
49029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
49030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
49031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
49032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
49033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
49034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
49036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
49037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
49039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
49040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
49042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
49043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
49045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
49046 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
49047 fmin/fmax sysdep routines.
49048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
49050 2012-03-14 David S. Miller <davem@davemloft.net>
49052 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
49053 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
49054 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
49055 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
49056 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
49057 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
49058 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
49059 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
49060 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
49061 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
49062 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
49063 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
49064 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
49065 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
49066 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
49067 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
49068 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
49069 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
49070 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
49071 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
49072 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
49073 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
49074 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
49075 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
49076 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
49077 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
49078 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
49079 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
49080 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
49082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
49084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
49085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
49087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
49088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
49090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
49091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
49093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
49094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
49096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
49097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
49099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
49101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
49103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
49105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
49107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
49109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
49111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
49112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
49114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
49115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
49117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
49118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
49120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
49121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
49124 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
49127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49129 * sysdeps/sparc/configure.in: New file.
49130 * sysdeps/sparc/configure: Generate.
49131 * configure.in (libc_cv_sparc_as_vis3): Substitute.
49132 * configure: Regenerate.
49133 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
49134 * config.make.in (have-as-vis3): New.
49135 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
49136 available use -Av9d instead of -Av9a.
49137 * sysdeps/sparc/sparc64/Makefile: Likewise.
49138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
49139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
49141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
49143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
49145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
49147 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
49148 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
49149 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
49150 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
49151 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
49153 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
49154 fzeros/fnegs to load 0x80000000 into a float register instead of
49156 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
49158 2012-03-14 Joseph Myers <joseph@codesourcery.com>
49160 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49162 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
49163 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
49164 ($(inst_includedir)/bits/syscall.h): Remove rule.
49165 ($(objpfx)bits/syscall.d): Include instead of
49166 $(objpfx)syscall-list.d.
49167 (generated): Change syscall-list.h and syscall-list.d to
49168 bits/syscall.h and bits/syscall.d.
49170 2012-03-14 Roland McGrath <roland@hack.frob.com>
49173 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
49175 2012-03-14 Joseph Myers <joseph@codesourcery.com>
49178 * math/s_csqrt.c: Include <float.h>.
49179 (__csqrt): Scale large or subnormal inputs.
49180 * math/s_csqrtf.c: Likewise.
49181 * math/s_csqrtl.c: Likewise.
49182 * math/libm-test.inc (csqrt_test): Add more tests.
49183 * sysdeps/i386/fpu/libm-test-ulps: Update.
49184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49187 * math/libm-test.inc (hypot_test): Add more tests.
49189 2012-03-13 David S. Miller <davem@davemloft.net>
49192 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
49193 double-precision for the calculation instead of scaling.
49195 2012-03-13 Joseph Myers <joseph@codesourcery.com>
49197 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
49198 manipulate bits before adding and subtracting TWO52[sx].
49199 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
49200 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
49202 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
49204 2012-03-13 David S. Miller <davem@davemloft.net>
49206 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
49207 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
49208 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
49209 rtld-global-offsets.h
49210 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49212 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
49215 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
49217 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
49218 'err' in the ifdef scope in which it is actually used.
49220 * nss/nss_db/db-init.c: Include string.h
49222 2012-03-12 David S. Miller <davem@davemloft.net>
49224 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49225 masking out of the most significant byte of random value used.
49226 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49227 Fix coding style in previous change.
49229 * sysdeps/unix/sysv/linux/kernel-features.h
49230 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
49231 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
49233 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
49236 2012-03-11 David S. Miller <davem@davemloft.net>
49238 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
49239 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
49240 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
49241 for 'resultvar' otherwise things get truncated on 64-bit.
49243 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49244 Fix masking out of the most significant byte of random value used.
49246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49248 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
49250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49252 2012-03-09 David S. Miller <davem@davemloft.net>
49254 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
49255 variables with appropriate CPP guards.
49256 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
49257 from the frame pointer, not the stack pointer. Correct layout
49258 comments. Fix test on resulting framesize and the management of
49259 the outregs buffer for pltexit. Preserve floating point return
49260 values across _dl_call_pltexit call.
49261 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
49262 framesize and the management of the outregs buffer for pltexit.
49263 Preserve floating point return values across _dl_call_pltexit
49265 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
49266 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
49267 (la_sparc64_gnu_pltexit): New functions.
49268 (print_exit): Fix format string for return register value.
49270 2012-03-10 Joseph Myers <joseph@codesourcery.com>
49272 * sunrpc/Makefile (others): Add rpcgen.
49273 ($(objpfx)rpcgen): Remove special build rule and dependency on
49275 * sunrpc/rpcgen.c: New file.
49277 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
49280 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
49281 * stdio-common/bug-vfprintf-nargs.c: Likewise.
49282 * sysdeps/i386/crti.S: Likewise.
49283 * sysdeps/i386/crtn.S: Likewise.
49284 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
49285 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
49286 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
49287 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
49288 * sysdeps/sh/crti.S: Likewise.
49289 * sysdeps/sh/crtn.S: Likewise.
49290 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
49293 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
49295 * locale/programs/locfile-kw.gperf: Likewise.
49296 * locale/programs/charmap-kw.h: Regenerated.
49297 * locale/programs/locfile-kw.h: Likewise.
49300 * intl/plural.y: Replace FSF snail mail address with URL.
49301 * intl/plural.c: Regenerated.
49303 2012-03-09 Richard Henderson <rth@twiddle.net>
49305 * include/math_private.h: Remove file.
49306 * math/math_private.h: Move file ...
49307 * sysdeps/generic/math_private.h: ... here.
49309 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
49310 * sysdeps/powerpc/fpu/math_private.h: Likewise.
49311 * sysdeps/x86_64/fpu/math_private.h: Likewise.
49313 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
49314 and <math_private.h>.
49315 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49316 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49317 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49318 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49319 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49320 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
49321 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49322 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49323 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49324 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49325 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49326 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49327 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49328 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49329 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49330 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49331 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49332 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49333 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49334 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49335 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49336 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49337 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49338 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49339 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
49340 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49341 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49342 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49343 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49344 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49345 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49346 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49347 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
49348 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49349 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49350 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49351 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49352 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49353 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49354 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49355 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
49356 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49357 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49358 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
49359 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
49360 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49361 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
49362 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
49363 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49364 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49365 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
49366 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
49367 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
49368 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49369 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
49370 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49371 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49372 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49373 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
49374 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
49375 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49376 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
49377 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49378 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49379 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
49380 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49381 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49382 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49383 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
49384 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
49385 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
49386 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49387 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
49388 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49389 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
49390 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
49391 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
49392 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49393 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
49394 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
49395 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
49396 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
49397 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
49398 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49399 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49400 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
49401 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
49402 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
49403 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49404 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49405 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49406 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49407 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49408 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49409 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49410 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49411 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49412 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49413 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49414 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49415 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49416 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49417 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49418 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49419 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49420 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49421 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49422 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49423 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49424 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49425 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49426 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49427 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49428 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49429 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
49430 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49431 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49432 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49433 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49434 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49435 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49436 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49437 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49438 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
49439 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49440 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49441 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49442 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
49443 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49444 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
49445 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
49446 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49447 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49448 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
49449 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
49450 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49451 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49452 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49453 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
49454 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49455 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49456 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49457 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49458 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
49459 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
49460 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49461 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49462 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49463 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
49464 * sysdeps/ieee754/k_standard.c: Likewise.
49465 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49466 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49467 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49468 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49469 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49470 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49471 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49472 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49473 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49474 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49475 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49476 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49477 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49478 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49479 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49480 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49481 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49482 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49483 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49484 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
49485 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
49486 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
49487 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49488 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49489 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49490 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
49491 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49492 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49493 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49494 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49495 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49496 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49497 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49498 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49499 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49500 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49501 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49502 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
49503 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
49504 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49505 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49506 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49507 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49508 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49509 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49510 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49511 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49512 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49513 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49514 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49515 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49516 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49517 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49518 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
49519 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49520 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49521 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
49522 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
49523 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49524 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49525 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49526 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49527 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49528 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49529 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49530 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49531 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49532 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49533 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49534 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49535 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49536 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49537 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49538 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49539 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49540 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49541 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
49542 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49543 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49544 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49545 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49546 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49547 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49548 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49549 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
49550 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49551 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49552 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
49553 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
49554 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49555 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
49556 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49557 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
49558 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49559 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49560 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49561 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
49562 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
49563 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
49564 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
49565 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49566 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49567 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49568 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49569 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
49570 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49571 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49572 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
49573 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
49574 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49575 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49576 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49577 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49578 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49579 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49580 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49581 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49582 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49583 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49584 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49585 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49586 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49587 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49588 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49589 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49590 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
49591 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49592 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49593 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49594 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49595 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49596 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49597 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49598 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
49599 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49600 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49601 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
49602 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
49603 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49604 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
49605 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
49606 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49607 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
49608 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
49609 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49610 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49611 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49612 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49613 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49614 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
49615 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49616 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49617 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49618 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49619 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
49620 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
49621 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49622 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49623 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49624 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
49625 * sysdeps/ieee754/s_lib_version.c: Likewise.
49626 * sysdeps/ieee754/s_matherr.c: Likewise.
49627 * sysdeps/ieee754/s_signgam.c: Likewise.
49628 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49629 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49630 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
49631 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
49632 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
49633 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49634 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
49635 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
49636 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
49637 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
49638 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49639 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
49640 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49641 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49642 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
49643 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
49644 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49645 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
49646 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49647 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49648 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49650 2012-03-09 Joseph Myers <joseph@codesourcery.com>
49652 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
49653 * sunrpc/rpc_main.c: Likewise.
49654 * sunrpc/rpc_svcout.c: Likewise.
49656 2012-03-09 David S. Miller <davem@davemloft.net>
49658 * include/math_private.h: New file.
49660 2012-03-09 Joseph Myers <joseph@codesourcery.com>
49662 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
49663 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
49664 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
49665 from <bits/socket_type.h>.
49666 (enum __socket_type): Don't define here.
49667 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
49668 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49669 bits/socket_type.h.
49672 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
49673 checking __USE_GNU.
49675 * Makerules ($(inst_includedir)/%.h): New rule.
49676 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
49677 (install-others): Remove variable setting.
49678 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
49680 2012-03-08 Richard Henderson <rth@twiddle.net>
49682 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
49683 from macro to inline function; merge with the
49684 !__LIBC_INTERNAL_MATH_INLINES version.
49685 (__ieee754_sqrtf): Likewise.
49687 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
49688 to inline function.
49689 (__rintf, __floor, __floorf): Likewise.
49691 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
49692 macro to inline function.
49693 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
49695 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
49696 not <math/math_private.h>.
49698 2012-03-08 David S. Miller <davem@davemloft.net>
49700 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
49702 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
49704 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
49706 * resolv/gai_misc.c (handle_requests): Fix struct timespec
49708 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
49709 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
49711 2012-03-08 Ulrich Drepper <drepper@gmail.com>
49713 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
49714 be defined individually, they must be defined as a block. Define
49715 S for printing a string instead of hidint the different by using a
49716 macro for adding the 'l'.
49717 * stdio-common/tst-fphex-wide.c: Adjust.
49719 2012-03-07 Marek Polacek <polacek@redhat.com>
49721 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
49723 2012-03-08 Marek Polacek <polacek@redhat.com>
49726 * stdio-common/Makefile (tests): Add tst-fphex-wide.
49727 * stdio-common/tst-fphex.c: Define a few macros to make the
49728 test reusable. Use them.
49729 * stdio-common/tst-fphex-wide.c: New file.
49731 2012-03-08 Joseph Myers <joseph@codesourcery.com>
49734 * manual/macros.texi (gnusystems): New macro.
49735 (nongnusystems): Likewise.
49736 (gnulinuxhurdsystems): Likewise.
49737 (gnuhurdsystems): Likewise..
49738 (gnulinuxsystems): Likewise.
49739 * manual/charset.texi: Use new macros or @theglibc{} to refer to
49740 variants of the GNU system, not "GNU system".
49741 * manual/conf.texi: Likewise.
49742 * manual/errno.texi: Likewise. Update example of errno macro
49744 * manual/filesys.texi: Likewise.
49745 (getumask): Document as specific to GNU/Hurd.
49746 * manual/install.texi: Likewise. Reword some references to
49748 * manual/intro.texi: Likewise.
49749 * manual/io.texi: Likewise.
49750 (File Name Portability): Detail which constraints are inapplicable
49751 to all GNU systems and which are only inapplicable to GNU/Hurd.
49752 * manual/job.texi: Likewise.
49753 * manual/llio.texi: Likewise.
49754 (O_NOCTTY): Document as present on GNU/Linux.
49755 * manual/maint.texi: Likewise.
49756 * manual/memory.texi: Likewise.
49757 * manual/pattern.texi: Likewise.
49758 * manual/pipe.texi: Likewise.
49759 * manual/process.texi: Likewise.
49760 * manual/resource.texi: Likewise.
49761 (RUSAGE_CHILDREN): Remove statement about specifying a particular
49763 * manual/setjmp.texi: Likewise.
49764 * manual/signal.texi: Likewise.
49765 * manual/startup.texi: Likewise.
49766 * manual/stdio.texi: Likewise.
49767 * manual/terminal.texi: Likewise.
49768 (ONLCR): Document as POSIX.
49769 (OXTABS): Document availability on GNU/Linux as XTABS.
49770 (ONOEOT): Document availability separately from other bits.
49771 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
49772 * manual/time.texi: Likewise.
49773 * manual/users.texi: Likewise.
49774 * INSTALL: Regenerated.
49775 * sysdeps/gnu/errlist.c: Regenerated.
49777 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
49778 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
49779 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
49781 * configure: Regenerated.
49783 2012-03-07 Joseph Myers <joseph@codesourcery.com>
49785 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
49786 default includes instead of AC_HEADER_CHECK.
49787 * sysdeps/i386/configure: Regenerated.
49790 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
49791 * math/s_cacoshf.c (__cacoshf): Likewise.
49792 * math/s_cacoshl.c (__cacoshl): Likewise.
49793 * math/s_casinh.c (__casinh): Set signs of result from argument.
49794 * math/s_casinhf.c (__casinhf): Likewise.
49795 * math/s_casinhl.c (__casinhl): Likewise.
49796 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
49797 (casinh_test): Add more tests.
49798 * sysdeps/i386/fpu/libm-test-ulps: Update.
49799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49801 2012-03-07 Ulrich Drepper <drepper@gmail.com>
49803 * po/zh_TW.po: Update from translation team.
49805 * login/Makefile (distribute): Remove variable.
49806 * catgets/Makefile: Likewise.
49807 * mach/Makefile: Likewise.
49808 * malloc/Makefile: Likewise.
49809 * misc/Makefile: Likewise.
49810 * iconv/Makefile: Likewise.
49811 * nscd/Makefile: Likewise.
49812 * hurd/Makefile: Likewise.
49813 * manual/Makefile: Likewise.
49814 * locale/Makefile: Likewise.
49815 * intl/Makefile: Likewise.
49816 * conform/Makefile: Likewise.
49817 * nss/Makefile: Likewise.
49818 * time/Makefile: Likewise.
49819 * soft-fp/Makefile: Likewise.
49820 * dirent/Makefile: Likewise.
49821 * gmon/Makefile: Likewise.
49822 * po/Makefile: Likewise.
49823 * rt/Makefile: Likewise.
49824 * socket/Makefile: Likewise.
49825 * math/Makefile: Likewise.
49826 * signal/Makefile: Likewise.
49827 * debug/Makefile: Likewise.
49828 * elf/Makefile: Likewise.
49829 * timezone/Makefile: Likewise.
49830 * stdlib/Makefile: Likewise.
49831 * iconvdata/Makefile: Likewise.
49832 * sunrpc/Makefile: Likewise.
49833 * io/Makefile: Likewise.
49834 * argp/Makefile: Likewise.
49835 * inet/Makefile: Likewise.
49836 * hesiod/Makefile: Likewise.
49837 * grp/Makefile: Likewise.
49838 * csu/Makefile: Likewise.
49839 * wctype/Makefile: Likewise.
49840 * crypt/Makefile: Likewise.
49841 * libio/Makefile: Likewise.
49842 * string/Makefile: Likewise.
49843 * nis/Makefile: Likewise.
49844 * resolv/Makefile: Likewise.
49845 * stdio-common/Makefile: Likewise.
49846 * wcsmbs/Makefile: Likewise.
49847 * dlfcn/Makefile: Likewise.
49848 * posix/Makefile: Likewise.
49851 * timezone/Makefile: Don't install timezone files, just the programs
49854 2012-03-06 Ulrich Drepper <drepper@gmail.com>
49856 * nss/databases.def: Add missing gshadow entry.
49858 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
49860 2012-03-06 Marek Polacek <polacek@redhat.com>
49863 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
49864 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49865 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
49866 * stdio-common/tst-long-dbl-fphex.c: New file.
49868 2012-03-06 David S. Miller <davem@davemloft.net>
49870 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49871 (set_obp_int): New function.
49872 (get_obp_int): New function.
49873 (__get_clockfreq_via_dev_openprom): Likewise.
49874 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
49875 Avoid unused variable warnings on 'val' and use builtin_expect.
49876 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
49878 (INLINE_CLONE_SYSCALL): Likewise.
49880 2012-03-05 David S. Miller <davem@davemloft.net>
49882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49884 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
49886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49888 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
49889 only for |x| >= 40.
49890 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49892 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
49894 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
49895 Replace gettimeofday with __vdso_gettimeofday.
49897 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49898 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
49899 __vdso_clock_gettime and __vdso_getcpu.
49901 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
49902 time with __vdso_time.
49904 2012-03-05 Joseph Myers <joseph@codesourcery.com>
49906 * manual/lang.texi (size_t): Note types to which size_t may be
49907 equivalent with the GNU C Library, but do not describe when
49908 differences between them are significant.
49910 2012-03-05 Andreas Jaeger <aj@suse.de>
49912 * sysdeps/i386/fpu/libm-test-ulps: Update.
49914 2012-03-05 Joseph Myers <joseph@codesourcery.com>
49917 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
49918 (__ieee754_pow): Save and restore rounding mode and use
49919 round-to-nearest for main computations.
49920 * math/libm-test.inc (pow_test_tonearest): New function.
49921 (pow_test_towardzero): Likewise.
49922 (pow_test_downward): Likewise.
49923 (pow_test_upward): Likewise.
49924 (main): Call the new functions.
49925 * sysdeps/i386/fpu/libm-test-ulps: Update.
49926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49929 * math/libm-test.inc (cosh_test_tonearest): New function.
49930 (cosh_test_towardzero): Likewise.
49931 (cosh_test_downward): Likewise.
49932 (cosh_test_upward): Likewise.
49933 (sinh_test_tonearest): Likewise.
49934 (sinh_test_towardzero): Likewise.
49935 (sinh_test_downward): Likewise.
49936 (sinh_test_upward): Likewise.
49937 (main): Call the new functions.
49938 * sysdeps/i386/fpu/libm-test-ulps: Update.
49939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49941 2012-03-05 Tom de Vries <tom@codesourcery.com>
49943 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
49944 default stack guard is set in last bytes.
49945 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
49947 2012-03-05 Kees Cook <keescook@chromium.org>
49949 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
49952 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
49953 possibly allocate from heap instead of stack.
49954 * stdio-common/bug-vfprintf-nargs.c: New file.
49955 * stdio-common/Makefile (tests): Add nargs overflow test.
49957 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
49959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49961 2012-03-03 Marek Polacek <polacek@redhat.com>
49963 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
49964 * math/math_private.h: Likewise.
49965 * stdlib/tst-strtod.c: Likewise.
49966 * sysdeps/i386/i486/bits/atomic.h: Likewise.
49967 * sysdeps/x86_64/bits/atomic.h: Likewise.
49969 2012-03-02 David S. Miller <davem@davemloft.net>
49971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
49972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
49973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
49974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
49975 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
49976 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
49977 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
49978 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49980 2012-03-02 Roland McGrath <roland@hack.frob.com>
49983 * manual/examples/README: New file, says the example source files
49984 can be used under GPL>=2.
49985 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49986 line containing just "*/".
49987 * manual/examples/add.c: Add copyright header (GPL>=2).
49988 * manual/examples/argp-ex1.c: Likewise.
49989 * manual/examples/argp-ex2.c: Likewise.
49990 * manual/examples/argp-ex3.c: Likewise.
49991 * manual/examples/argp-ex4.c: Likewise.
49992 * manual/examples/atexit.c: Likewise.
49993 * manual/examples/db.c: Likewise.
49994 * manual/examples/dir.c: Likewise.
49995 * manual/examples/dir2.c: Likewise.
49996 * manual/examples/execinfo.c: Likewise.
49997 * manual/examples/filecli.c: Likewise.
49998 * manual/examples/filesrv.c: Likewise.
49999 * manual/examples/fmtmsgexpl.c: Likewise.
50000 * manual/examples/genpass.c: Likewise.
50001 * manual/examples/inetcli.c: Likewise.
50002 * manual/examples/inetsrv.c: Likewise.
50003 * manual/examples/isockad.c: Likewise.
50004 * manual/examples/longopt.c: Likewise.
50005 * manual/examples/memopen.c: Likewise.
50006 * manual/examples/memstrm.c: Likewise.
50007 * manual/examples/mkfsock.c: Likewise.
50008 * manual/examples/mkisock.c: Likewise.
50009 * manual/examples/mygetpass.c: Likewise.
50010 * manual/examples/pipe.c: Likewise.
50011 * manual/examples/popen.c: Likewise.
50012 * manual/examples/rprintf.c: Likewise.
50013 * manual/examples/search.c: Likewise.
50014 * manual/examples/select.c: Likewise.
50015 * manual/examples/setjmp.c: Likewise.
50016 * manual/examples/sigh1.c: Likewise.
50017 * manual/examples/sigusr.c: Likewise.
50018 * manual/examples/stpcpy.c: Likewise.
50019 * manual/examples/strdupa.c: Likewise.
50020 * manual/examples/strftim.c: Likewise.
50021 * manual/examples/strncat.c: Likewise.
50022 * manual/examples/subopt.c: Likewise.
50023 * manual/examples/swapcontext.c: Likewise.
50024 * manual/examples/termios.c: Likewise.
50025 * manual/examples/testopt.c: Likewise.
50026 * manual/examples/testpass.c: Likewise.
50027 * manual/examples/timeval_subtract.c: Likewise.
50030 * manual/time.texi (Elapsed Time): Move timeval_subtract example
50032 * manual/timeval_subtract.c.texi: ... here, new file.
50034 2012-03-02 David S. Miller <davem@davemloft.net>
50036 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
50038 2012-03-02 Joseph Myers <joseph@codesourcery.com>
50041 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
50042 (__sin): Save and restore rounding mode and use round-to-nearest
50043 for all computations.
50044 (__cos): Save and restore rounding mode and use round-to-nearest
50045 for all computations.
50046 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
50048 (tan): Save and restore rounding mode and use round-to-nearest for
50050 * math/libm-test.inc (cos_test_tonearest): New function.
50051 (cos_test_towardzero): Likewise.
50052 (cos_test_downward): Likewise.
50053 (cos_test_upward): Likewise.
50054 (sin_test_tonearest): Likewise.
50055 (sin_test_towardzero): Likewise.
50056 (sin_test_downward): Likewise.
50057 (sin_test_upward): Likewise.
50058 (tan_test_tonearest): Likewise.
50059 (tan_test_towardzero): Likewise.
50060 (tan_test_downward): Likewise.
50061 (tan_test_upward): Likewise.
50062 (main): Call the new functions.
50063 * sysdeps/i386/fpu/libm-test-ulps: Update.
50064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50067 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
50068 small n, then large n, before computing and testing k+n.
50069 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
50070 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
50072 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
50074 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
50075 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
50076 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
50077 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
50078 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
50079 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
50080 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
50081 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
50082 * math/libm-test.inc (scalbn_test): Add more tests.
50083 (scalbln_test): Likewise.
50085 * manual/filesys.texi (mode_t): Describe constraints on size and
50086 signedness, not exact equivalence to a particular type.
50088 (ino64_t): Likewise.
50090 (nlink_t): Likewise.
50091 (blkcnt_t): Likewise.
50092 (blkcnt64_t): Likewise.
50093 * manual/llio.texi (off_t): Likewise.
50096 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
50097 (__ieee754_exp): Save and restore rounding mode and use
50098 round-to-nearest for all computations.
50099 * math/libm-test.inc (exp_test_tonearest): New function.
50100 (exp_test_towardzero): Likewise.
50101 (exp_test_downward): Likewise.
50102 (exp_test_upward): Likewise.
50103 (main): Call the new functions.
50104 * sysdeps/i386/fpu/libm-test-ulps: Update.
50105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50107 2012-03-01 Chris Demetriou <cgd@google.com>
50109 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
50110 have predictable order.
50112 2012-03-01 David S. Miller <davem@davemloft.net>
50114 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
50116 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
50117 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
50118 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
50119 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
50121 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
50122 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
50123 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
50124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
50125 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
50126 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
50127 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
50128 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
50129 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
50131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50133 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
50134 * sysdeps/sparc/fpu/libm-test-ulps: to here.
50135 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
50137 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
50138 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50139 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
50140 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
50141 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
50142 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
50143 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
50144 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50145 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
50146 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
50147 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
50148 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50149 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50150 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
50151 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50152 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50153 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
50154 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
50155 * sysdeps/sparc/elf/configure: Regenerated.
50157 2012-03-01 Joseph Myers <joseph@codesourcery.com>
50159 * configure.in (AS, LD): Require binutils 2.20 or later.
50160 * configure: Regenerated.
50161 * manual/install.texi (Tools for Compilation): Give binutils 2.20
50162 as required minimum version.
50163 * INSTALL: Regenerated.
50167 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
50168 before squaring exponent.
50169 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
50170 bottom long double and 27 bits of top long double before squaring
50172 * math/libm-test.inc (erfc_test): Add more tests.
50173 * sysdeps/i386/fpu/libm-test-ulps: Update.
50174 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50177 2012-03-01 Kai Tietz <ktietz@redhat.com>
50179 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
50180 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
50181 containing bit-fields.
50182 * soft-fp/extended.h (_FP_UNION_E): Likewise.
50183 * soft-fp/single.h (_FP_UNION_S): Likewise.
50184 * soft-fp/double.h (_FP_UNION_D): Likewise.
50186 2012-02-29 Joseph Myers <joseph@codesourcery.com>
50189 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
50190 not include ../strcmp.S.
50191 [USE_AS_STRNCASECMP_L]: Likewise.
50192 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
50193 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
50194 * sysdeps/i386/i686/multiarch/strncase_l-c.c
50195 (__strncasecmp_l_ia32): Define as alias to
50196 __strncasecmp_l_nonascii.
50199 * math/libm-test.inc (expm1_test): Add test for bug 5794.
50200 * sysdeps/i386/fpu/libm-test-ulps: Update.
50201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50203 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
50204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50206 2012-02-29 Jeff Law <law@redhat.com>
50208 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
50209 out of bounds read.
50211 2012-02-29 Marek Polacek <polacek@redhat.com>
50214 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
50215 * elf/Makefile: Add rules to run tst-unused-dep.out.
50217 2012-02-28 David S. Miller <davem@davemloft.net>
50219 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
50220 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
50221 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
50222 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
50223 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
50224 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
50226 2012-02-29 Joseph Myers <joseph@codesourcery.com>
50228 * math/libm-test.inc (llround_test): Move one test from
50229 lround_test. Use TEST_f_L in moved test.
50230 (lround_test): Move misplaced test to llround_test. Add testcase
50233 2012-02-28 Ulrich Drepper <drepper@gmail.com>
50235 * sysdeps/x86_64/fpu/e_expf.S: New file.
50236 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
50238 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
50241 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
50242 of remain_len that may cause incomplete multi-byte character and
50244 * posix/bug-regex33.c: New file.
50245 * posix/Makefile (tests): Add bug-regex33.
50247 2012-02-28 Joseph Myers <joseph@codesourcery.com>
50249 * manual/macros.texi: New file.
50250 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
50251 * manual/libc.texinfo: Include macros.texi.
50252 * manual/creatute.texi: Likewise.
50253 * manual/install.texi: Likewise.
50254 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
50255 @glibcadj{} in references to the GNU C Library.
50256 * manual/charset.texi: Likewise.
50257 * manual/conf.texi: Likewise.
50258 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
50259 when not using those macros.
50260 * manual/creature.texi: Likewise.
50261 * manual/crypt.texi: Likewise.
50262 * manual/errno.texi: Likewise.
50263 * manual/filesys.texi: Likewise.
50264 * manual/header.texi: Likewise.
50265 * manual/install.texi: Likewise.
50266 * manual/intro.texi: Likewise.
50267 * manual/io.texi: Likewise.
50268 * manual/job.texi: Likewise.
50269 * manual/lang.texi: Likewise.
50270 * manual/libc.texiinfo: Likewise.
50271 * manual/llio.texi: Likewise.
50272 * manual/locale.texi: Likewise.
50273 * manual/maint.texi: Likewise.
50274 * manual/math.texi: Likewise.
50275 * manual/memory.texi: Likewise.
50276 * manual/message.texi: Likewise.
50277 * manual/nss.texi: Likewise.
50278 * manual/pattern.texi: Likewise.
50279 * manual/process.texi: Likewise.
50280 * manual/resource.texi: Likewise.
50281 * manual/search.texi: Likewise.
50282 * manual/setjmp.texi: Likewise.
50283 * manual/signal.texi: Likewise.
50284 * manual/socket.texi: Likewise.
50285 * manual/startup.texi: Likewise.
50286 * manual/stdio.texi: Likewise.
50287 * manual/string.texi: Likewise.
50288 * manual/sysinfo.texi: Likewise.
50289 * manual/syslog.texi: Likewise.
50290 * manual/terminal.texi: Likewise.
50291 * manual/time.texi: Likewise.
50292 * manual/users.texi: Likewise.
50293 * INSTALL: Regenerated.
50294 * NOTES: Regenerated.
50295 * sysdeps/gnu/errlist.c: Regenerated.
50297 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
50299 * include/dirent.h: Include <dirstream.h> before
50302 2012-02-28 David S. Miller <davem@davemloft.net>
50304 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
50305 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
50306 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
50307 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
50309 2012-02-27 David S. Miller <davem@davemloft.net>
50311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
50312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
50313 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
50314 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
50316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
50317 frame pointer instead of stack pointer relative arg slot.
50318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
50319 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
50320 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
50322 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
50325 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
50327 2012-02-27 David S. Miller <davem@davemloft.net>
50329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
50330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
50331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
50333 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
50334 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
50335 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
50336 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
50338 2012-02-27 Joseph Myers <joseph@codesourcery.com>
50340 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
50341 later. Allow versions 5-9.
50342 * configure: Regenerated.
50343 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
50344 required minimum version and 4.6 as recommended version. Do not
50345 mention bugs in GCC 2.7 and 2.8.
50346 * INSTALL: Regenerated.
50348 2012-02-27 David S. Miller <davem@davemloft.net>
50350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
50351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
50352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
50353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
50354 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
50355 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
50356 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
50357 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
50359 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
50360 manipulate bits before adding and subtracting TWO112[sx].
50361 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
50363 2012-02-27 Roland McGrath <roland@hack.frob.com>
50366 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
50367 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
50368 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
50369 being in POSIX, because they are in 1003.1-2008.
50371 * rt/tst-aio.c: Include <fcntl.h>.
50372 * rt/tst-aio7.c: Likewise.
50373 * rt/tst-aio64.c: Likewise.
50375 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
50377 2012-02-27 Joseph Myers <joseph@codesourcery.com>
50379 * manual/install.texi (--with-headers): Describe headers as
50380 interface headers, not private headers.
50381 (Specific advice for GNU/Linux systems): Describe use of headers
50382 from "make headers_install", not private headers from older
50384 * INSTALL: Regenerated.
50385 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
50387 * sysdeps/unix/sysv/linux/configure: Regenerated.
50389 * manual/llio.texi (fclean): Remove documentation.
50391 * manual/Makefile (libc-texi-generated): New variable. Include
50393 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
50394 $(libc-texi-generated), not duplicated list of files.
50395 (version.texi, stamp-version): New rules.
50396 (realclean): Remove $(libc-texi-generated), not individual files
50397 from that list. Do not remove dir-add.texinfo.
50398 * manual/libc.texinfo: Comment out uses of edition numbers and
50399 references to printed manual. Remove last-updated dates.
50400 (EDITION): Comment out.
50402 (VERSION, UPDATED): Remove.
50403 (version.texi): Include.
50405 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
50407 * sysdeps/posix/spawni.c: Include <signal.h>.
50408 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
50409 * sysdeps/pthread/aio_fsync.c: Likewise.
50411 2012-02-26 Ulrich Drepper <drepper@gmail.com>
50413 * conform/Makefile (tests): Run only when not cross-compiling and
50414 when fast-check is not defined.
50416 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
50417 * conform/data/limits.h-data: Fixes for POSIX2008.
50418 * conform/run-conformtest.sh: Run all tests.
50419 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
50421 * include/bits/dlfcn.h: Likewise.
50422 * include/langinfo.h: Likewise.
50423 * include/monetary.h: Likewise.
50424 * include/sys/poll.h: Likewise.
50426 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
50428 * posix/spawn.h: Define __need_sigset_t.
50429 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
50430 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
50431 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
50432 to get sigevent_t only.
50433 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
50434 only for __USE_GNU.
50435 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50436 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50437 process_vm_writev only for __USE_GNU.
50438 * termios/termios.h: Declare tcgetsid also for POSIX2008.
50440 * conform/Makefile: For now ignore errors from run-conformtest.
50441 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
50442 POSIX to avoid namespace pollution. Don't prepend headers.
50443 * conform/data/aio.h-data: Fixes for POSIX testing.
50444 * conform/data/fcntl.h-data: Likewise.
50445 * conform/data/glob.h-data: Likewise.
50446 * conform/data/grp.h-data: Likewise.
50447 * conform/data/pthread.h-data: Likewise.
50448 * conform/data/pwd.h-data: Likewise.
50449 * conform/data/signal.h-data: Likewise.
50450 * conform/data/spawn.h-data: Likewise.
50451 * conform/data/stdio.h-data: Likewise.
50452 * conform/data/stdlib.h-data: Likewise.
50453 * conform/data/stropts.h-data: Likewise.
50454 * conform/data/sys/mman.h-data: Likewise.
50455 * conform/data/sys/stat.h-data: Likewise.
50456 * conform/data/sys/types.h-data: Likewise.
50457 * conform/data/sys/wait.h-data: Likewise.
50458 * conform/data/time.h-data: Likewise.
50459 * conform/data/unistd.h-data: Likewise.
50460 * conform/data/utime.h-data: Likewise.
50462 * io/sys/stat.h: fchmod was always in POSIX.
50463 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
50464 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
50465 * rt/aio.h: Define __need_timespec before including <time.h>.
50466 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
50467 struct. Add forward declaration of pthread_attr_t and use it in
50469 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50470 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50471 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
50472 always remove CLK_TCK definition.
50474 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
50476 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
50478 2012-02-25 Ulrich Drepper <drepper@gmail.com>
50480 * conform/run-conformtest.sh: New file.
50481 * conform/Makefile: Run run-conformtest for tests.
50482 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
50485 * conform/data/uchar.h-data: New file.
50486 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
50487 * conform/data/arpa/inet.h-data: Likewise.
50488 * conform/data/assert.h-data: Likewise.
50489 * conform/data/complex.h-data: Likewise.
50490 * conform/data/cpio.h-data: Likewise.
50491 * conform/data/ctype.h-data: Likewise.
50492 * conform/data/dirent.h-data: Likewise.
50493 * conform/data/dlfcn.h-data: Likewise.
50494 * conform/data/errno.h-data: Likewise.
50495 * conform/data/fcntl.h-data: Likewise.
50496 * conform/data/float.h-data: Likewise.
50497 * conform/data/fmtmsg.h-data: Likewise.
50498 * conform/data/fnmatch.h-data: Likewise.
50499 * conform/data/ftw.h-data: Likewise.
50500 * conform/data/glob.h-data: Likewise.
50501 * conform/data/grp.h-data: Likewise.
50502 * conform/data/iconv.h-data: Likewise.
50503 * conform/data/inttypes.h-data: Likewise.
50504 * conform/data/langinfo.h-data: Likewise.
50505 * conform/data/libgen.h-data: Likewise.
50506 * conform/data/limits.h-data: Likewise.
50507 * conform/data/locale.h-data: Likewise.
50508 * conform/data/math.h-data: Likewise.
50509 * conform/data/monetary.h-data: Likewise.
50510 * conform/data/mqueue.h-data: Likewise.
50511 * conform/data/ndbm.h-data: Likewise.
50512 * conform/data/net/if.h-data: Likewise.
50513 * conform/data/netdb.h-data: Likewise.
50514 * conform/data/netinet/in.h-data: Likewise.
50515 * conform/data/nl_types.h-data: Likewise.
50516 * conform/data/poll.h-data: Likewise.
50517 * conform/data/pthread.h-data: Likewise.
50518 * conform/data/pwd.h-data: Likewise.
50519 * conform/data/regex.h-data: Likewise.
50520 * conform/data/sched.h-data: Likewise.
50521 * conform/data/search.h-data: Likewise.
50522 * conform/data/semaphore.h-data: Likewise.
50523 * conform/data/setjmp.h-data: Likewise.
50524 * conform/data/signal.h-data: Likewise.
50525 * conform/data/spawn.h-data: Likewise.
50526 * conform/data/stdarg.h-data: Likewise.
50527 * conform/data/stdio.h-data: Likewise.
50528 * conform/data/stdlib.h-data: Likewise.
50529 * conform/data/string.h-data: Likewise.
50530 * conform/data/strings.h-data: Likewise.
50531 * conform/data/stropts.h-data: Likewise.
50532 * conform/data/sys/ipc.h-data: Likewise.
50533 * conform/data/sys/mman.h-data: Likewise.
50534 * conform/data/sys/msg.h-data: Likewise.
50535 * conform/data/sys/resource.h-data: Likewise.
50536 * conform/data/sys/select.h-data: Likewise.
50537 * conform/data/sys/sem.h-data: Likewise.
50538 * conform/data/sys/shm.h-data: Likewise.
50539 * conform/data/sys/socket.h-data: Likewise.
50540 * conform/data/sys/stat.h-data: Likewise.
50541 * conform/data/sys/statvfs.h-data: Likewise.
50542 * conform/data/sys/time.h-data: Likewise.
50543 * conform/data/sys/timeb.h-data: Likewise.
50544 * conform/data/sys/times.h-data: Likewise.
50545 * conform/data/sys/types.h-data: Likewise.
50546 * conform/data/sys/uio.h-data: Likewise.
50547 * conform/data/sys/un.h-data: Likewise.
50548 * conform/data/sys/utsname.h-data: Likewise.
50549 * conform/data/sys/wait.h-data: Likewise.
50550 * conform/data/syslog.h-data: Likewise.
50551 * conform/data/tar.h-data: Likewise.
50552 * conform/data/termios.h-data: Likewise.
50553 * conform/data/utime.h-data: Likewise.
50554 * conform/data/utmpx.h-data: Likewise.
50555 * conform/data/varargs.h-data: Likewise.
50556 * conform/data/wchar.h-data: Likewise.
50557 * conform/data/wctype.h-data: Likewise.
50558 * conform/data/wordexp.h-data: Likewise.
50560 * include/stropts.h: New file.
50561 * include/uchar.h: New file.
50562 * include/aio.h: Changes to allow conformtest.pl to use the headers.
50563 * include/assert.h: Likewise.
50564 * include/ctype.h: Likewise.
50565 * include/dirent.h: Likewise.
50566 * include/dlfcn.h: Likewise.
50567 * include/fcntl.h: Likewise.
50568 * include/fnmatch.h: Likewise.
50569 * include/glob.h: Likewise.
50570 * include/grp.h: Likewise.
50571 * include/libio.h: Likewise.
50572 * include/locale.h: Likewise.
50573 * include/math.h: Likewise.
50574 * include/net/if.h: Likewise.
50575 * include/netdb.h: Likewise.
50576 * include/netinet/in.h: Likewise.
50577 * include/pthread.h: Likewise.
50578 * include/pwd.h: Likewise.
50579 * include/regex.h: Likewise.
50580 * include/sched.h: Likewise.
50581 * include/search.h: Likewise.
50582 * include/setjmp.h: Likewise.
50583 * include/signal.h: Likewise.
50584 * include/stdio.h: Likewise.
50585 * include/stdlib.h: Likewise.
50586 * include/string.h: Likewise.
50587 * include/sys/cdefs.h: Likewise.
50588 * include/sys/mman.h: Likewise.
50589 * include/sys/msg.h: Likewise.
50590 * include/sys/resource.h: Likewise.
50591 * include/sys/select.h: Likewise.
50592 * include/sys/socket.h: Likewise.
50593 * include/sys/stat.h: Likewise.
50594 * include/sys/statvfs.h: Likewise.
50595 * include/sys/time.h: Likewise.
50596 * include/sys/times.h: Likewise.
50597 * include/sys/uio.h: Likewise.
50598 * include/sys/utsname.h: Likewise.
50599 * include/sys/wait.h: Likewise.
50600 * include/termios.h: Likewise.
50601 * include/time.h: Likewise.
50602 * include/ulimit.h: Likewise.
50603 * include/unistd.h: Likewise.
50604 * include/utime.h: Likewise.
50605 * include/wchar.h: Likewise.
50606 * include/wctype.h: Likewise.
50607 * include/wordexp.h: Likewise.
50609 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
50611 * time/time.h: TIME_UTC must be a macro.
50612 Make timespec_get available for ISO C11 only as well.
50614 2012-02-24 Ulrich Drepper <drepper@gmail.com>
50616 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
50617 Reported by Peng Haitao <penght@cn.fujitsu.com>.
50619 2012-02-24 Joseph Myers <joseph@codesourcery.com>
50621 * configure.in: Use -o not -a in test for unsupported multi-arch.
50623 2012-02-24 Joseph Myers <joseph@codesourcery.com>
50625 * manual/texinfo.tex: Update to version 2012-01-19.16.
50627 2012-02-24 Joseph Myers <joseph@codesourcery.com>
50629 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
50631 2012-02-24 Roland McGrath <roland@hack.frob.com>
50634 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
50635 * manual/fdl-1.3.texi: New file.
50636 * manual/fdl-1.1.texi: File removed.
50639 * manual/libc.texinfo (FDL_VERSION): New @set.
50640 Use it for mention of FDL in cover text.
50641 (Documentation License): Use it in @include file name.
50643 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50644 Roland McGrath <roland@hack.frob.com>
50647 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
50648 (not LONG_LONG_MAX and LONG_LONG_MIN.
50649 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
50650 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
50652 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
50654 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50658 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
50659 manipulate bits before adding and subtracting TWO23[sx].
50660 * math/libm-test.inc (nearbyint_test): Add more tests.
50662 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50665 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
50666 bits before adding and subtracting TWO23[sx].
50667 * math/libm-test.inc (rint_test): Add more tests.
50668 (rint_test_tonearest): Likewise.
50669 (rint_test_towardzero): Likewise.
50670 (rint_test_downward): Likewise.
50671 (rint_test_upward: Likewise.
50673 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50676 * include/stdc-predef.h: New file. Extracted from features.h.
50677 * include/features.h: Include stdc-predef.h.
50678 * Makefile (headers): Add stdc-predef.h.
50679 * CONFORMANCE (Compiler limitations): Update.
50681 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50683 * manual/libc.texinfo (VERSION, UPDATED): Revert.
50685 2012-02-21 David S. Miller <davem@davemloft.net>
50687 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
50688 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50690 2012-02-20 David S. Miller <davem@davemloft.net>
50692 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
50693 using a normal save/restore sequence, rather than allocating a
50694 dummy stack frame just to store a frame pointer and restore.
50695 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50697 2012-02-21 Joseph Myers <joseph@codesourcery.com>
50699 * manual/install.texi: Fix stray word in line-wrapped comment.
50701 2012-02-20 David S. Miller <davem@davemloft.net>
50703 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
50704 both binutils and gcc support GOTDATA.
50706 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
50707 "rd %pc" in the PIC register setup sequences.
50709 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
50710 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
50711 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
50712 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
50713 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
50714 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50715 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50716 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50717 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
50718 (SYSCALL_ERROR_HANDLER): Likewise.
50719 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
50720 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50721 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
50722 (SYSCALL_ERROR_HANDLER): Likewise.
50724 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
50725 (HAVE_GCC_GOTDATA): New.
50726 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
50727 relocation support in both binutils and gcc.
50728 * sysdeps/sparc/elf/configure: Regenerate.
50730 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
50731 * sysdeps/sparc/sparc32/elf/configure: Delete.
50732 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
50733 * sysdeps/sparc/sparc64/elf/configure: Delete.
50734 * sysdeps/sparc/elf/configure.in: New file.
50735 * sysdeps/sparc/elf/configure: Generate.
50737 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
50738 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
50739 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50740 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
50741 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
50743 2012-02-21 Joseph Myers <joseph@codesourcery.com>
50745 * manual/install.texi: Do not mention specific glibc version
50747 * manual/libc.texinfo (VERSION, UPDATED): Update.
50748 (@copying): Use @copyright{} and range of years.
50750 2012-02-21 Joseph Myers <joseph@codesourcery.com>
50753 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
50754 [crti.S not in sysdirs] (generated): Do not append.
50755 [crti.S not in sysdirs] (omit-deps): Likewise.
50756 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
50757 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
50758 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
50759 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
50760 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
50762 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
50763 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
50764 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
50765 * csu/defs.awk: Remove file.
50766 * sysdeps/generic/initfini.c: Likewise.
50767 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
50769 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
50772 2012-02-20 Joseph Myers <joseph@codesourcery.com>
50774 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
50775 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
50776 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
50777 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
50778 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50779 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
50781 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
50782 (__EPOLL_PACKED): Define to empty if not defined by
50784 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
50785 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50788 2012-02-20 Joseph Myers <joseph@codesourcery.com>
50790 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
50791 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
50792 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
50793 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
50795 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
50796 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50799 2012-02-20 Joseph Myers <joseph@codesourcery.com>
50801 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
50803 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50804 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50805 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
50806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50808 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
50810 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50811 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50813 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
50815 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
50816 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
50818 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
50820 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
50823 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
50825 * math/w_acos.c: Use non-signaling floating-point comparisons.
50826 * math/w_acosf.c: Likewise.
50827 * math/w_acosh.c: Likewise.
50828 * math/w_acoshf.c: Likewise.
50829 * math/w_acoshl.c: Likewise.
50830 * math/w_acosl.c: Likewise.
50831 * math/w_asin.c: Likewise.
50832 * math/w_asinf.c: Likewise.
50833 * math/w_asinl.c: Likewise.
50834 * math/w_atanh.c: Likewise.
50835 * math/w_atanhf.c: Likewise.
50836 * math/w_atanhl.c: Likewise.
50837 * math/w_exp2.c: Likewise.
50838 * math/w_exp2f.c: Likewise.
50839 * math/w_exp2l.c: Likewise.
50840 * math/w_j0.c: Likewise.
50841 * math/w_j0f.c: Likewise.
50842 * math/w_j0l.c: Likewise.
50843 * math/w_j1.c: Likewise.
50844 * math/w_j1f.c: Likewise.
50845 * math/w_j1l.c: Likewise.
50846 * math/w_jn.c: Likewise.
50847 * math/w_jnf.c: Likewise.
50848 * math/w_log.c: Likewise.
50849 * math/w_log10.c: Likewise.
50850 * math/w_log10f.c: Likewise.
50851 * math/w_log10l.c: Likewise.
50852 * math/w_log2.c: Likewise.
50853 * math/w_log2f.c: Likewise.
50854 * math/w_log2l.c: Likewise.
50855 * math/w_logf.c: Likewise.
50856 * math/w_logl.c: Likewise.
50857 * math/w_sqrt.c: Likewise.
50858 * math/w_sqrtf.c: Likewise.
50859 * math/w_sqrtl.c: Likewise.
50860 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50861 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
50862 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50863 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50864 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50866 2012-02-19 Joseph Myers <joseph@codesourcery.com>
50869 * manual/string.texi (strnlen): Use correct parameter name in
50870 equivalent expression.
50872 2012-02-19 Joseph Myers <joseph@codesourcery.com>
50875 * manual/users.texi (seteuid): Consistently use neweuid for
50878 2012-02-19 Joseph Myers <joseph@codesourcery.com>
50881 * manual/nss.texi (Services in the NSS configuration): Correct
50882 list of services in example configuration file.
50884 2012-02-19 Nick Bowler <nbowler@draconx.ca>
50887 * manual/arith.texi: Remove statements about negative zero
50888 behaving identically to zero.
50890 2012-02-18 Joseph Myers <joseph@codesourcery.com>
50893 * manual/install.texi: Do not document upgrading from libc5.
50895 2012-02-18 Joseph Myers <joseph@codesourcery.com>
50898 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
50900 2012-02-18 David S. Miller <davem@davemloft.net>
50902 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
50903 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
50904 %o7 across the call.
50905 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
50907 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
50908 SETUP_PIC_REG_LEAF.
50909 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50910 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
50911 * sysdeps/sparc/crtn.S: Likewise.
50913 2012-02-17 Ulrich Drepper <drepper@gmail.com>
50915 * aout/Makefile: Remove.
50917 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
50920 * manual/examples/argp-ex1.c (main): Format definition in GNU
50922 * manual/examples/argp-ex2.c (main): Likewise.
50923 * manual/examples/argp-ex3.c (main): Likewise.
50924 * manual/examples/argp-ex4.c (main): Likewise.
50925 * manual/examples/longopt.c (main): Use new-style prototype
50927 * manual/examples/strncat.c (main): Specify return type and use
50928 (void) for arguments.
50929 * manual/examples/subopt.c (main): Use char **argv argument.
50931 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50934 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
50937 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
50940 * manual/string.texi (strchr): Change when strchrnul is
50943 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
50946 * manual/locale.texi (setlocale): Document LOCPATH.
50948 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50951 * manual/process.texi (execle): Move @dots{} before last argument.
50953 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
50956 * manual/charset.texi (Generic Charset Conversion): Fix typo
50957 (LC_TYPE -> LC_CTYPE).
50959 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
50962 * manual/arith.texi (scalbn): Use @var{} on parameter names.
50963 (scalbnf): Likewise.
50964 (scalbnl): Likewise.
50965 (scalbln): Likewise.
50966 (scalblnf): Likewise.
50967 (scalblnl): Likewise.
50968 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
50969 (vwarnx): Likewise.
50972 * manual/filesys.texi (telldir): Use braces around return type.
50973 * manual/llio.texi (mmap): Add space after comma.
50974 (mmap64): Likewise.
50975 * manual/math.texi (jn): Use @var{} on parameter names.
50981 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50983 * manual/resource.texi (ulimit): Use @dots{} instead of literal
50985 (sched_get_priority_min): Remove semicolon on @deftypefun line.
50986 (sched_get_priority_max): Likewise.
50987 * manual/signal.texi (sigvec): Add space after comma.
50988 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50990 (if_indextoname): Likewise.
50991 (if_freenameindex): Likewise.
50992 (sendto): Use ',' instead of '.' in prototype.
50993 * manual/startup.texi (syscall): Use @dots{} instead of literal
50995 * manual/stdio.texi (__fpending): Separate initial words of
50996 paragraph from @deftypefun line.
50997 * manual/syslog.texi (syslog): Use @dots{} instead of literal
50999 (vsyslog): Use @var{} on parameter names.
51000 * manual/terminal.texi (stty): Use @var{} on parameter names.
51001 * manual/users.texi (getutmp): Use @var{} on parameter names.
51002 (getutmpx): Likewise.
51004 2012-02-17 Joseph Myers <joseph@codesourcery.com>
51007 * manual/stdio.texi (fopen): Fix typos in description of
51010 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
51013 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
51014 get clock_id definition.
51016 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
51019 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
51020 (madvise): Cast every argument to void on its own.
51022 2012-02-17 Joseph Myers <joseph@codesourcery.com>
51025 * manual/startup.texi (Exit Status): Fix typo.
51027 2012-02-17 Joseph Myers <joseph@codesourcery.com>
51030 * manual/examples/argp-ex1.c: Include <stdlib.h>.
51031 * manual/examples/argp-ex2.c: Likewise.
51032 * manual/examples/argp-ex3.c: Likewise.
51034 2012-02-16 Richard Henderson <rth@redhat.com>
51036 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
51037 * sysdeps/s390/s390-32/initfini.c: Remove.
51038 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
51039 * sysdeps/s390/s390-64/initfini.c: Remove.
51041 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
51043 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
51044 compiler output for sysdeps/generic/initfini.c.
51045 * sysdeps/sh/elf/initfini.c: Remove file.
51047 2012-02-16 David S. Miller <davem@davemloft.net>
51050 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
51052 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
51053 * sysdeps/sparc/crti.S: New file.
51054 * sysdeps/sparc/crtn.S: New file.
51055 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
51056 * sysdeps/sparc/sparc64/Makefile: Likewise.
51058 2012-02-15 Mike Frysinger <vapier@gentoo.org>
51061 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
51063 2012-02-15 Roland McGrath <roland@hack.frob.com>
51066 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
51068 * mach/devstream.c (cookie_io_functions_t): Macro removed.
51069 (write, read, close): Likewise.
51070 Patch by Aurelien Jarno <aurelien@aurel32.net>.
51072 2012-02-15 Joseph Myers <joseph@codesourcery.com>
51074 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
51075 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
51076 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
51077 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
51079 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
51080 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51083 2012-02-14 Marek Polacek <polacek@redhat.com>
51085 * sysdeps/x86_64/crti.S: New file.
51086 * sysdeps/x86_64/crtn.S: New file.
51087 * sysdeps/x86_64/elf/initfini.c: Remove file.
51089 2012-02-13 Joseph Myers <joseph@codesourcery.com>
51091 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
51092 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
51093 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
51094 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
51096 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
51097 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51100 2012-02-13 Joseph Myers <joseph@codesourcery.com>
51102 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
51103 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
51104 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
51105 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
51107 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
51108 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51111 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
51113 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
51114 __feraiseexcept instead of feraiseexcept.
51116 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
51117 nanosleep invocations.
51118 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
51119 strings, and add error checking for a nanosleep invocations.
51121 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
51123 Replace FSF snail mail address with URLs, as per GNU coding standards.
51124 Most of the snail mail addresses were wrong anyway, and omitting
51125 them makes the source code easier to maintain. Almost all of the
51126 changes are to license notices and to locale LC_IDENTIFICATION
51127 addresses, except for this one:
51128 * manual/libc.texinfo: In "Published by", give the FSF's URL,
51129 not its snail mail address.
51131 2012-02-09 Richard Henderson <rth@twiddle.net>
51133 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
51134 of kernel-features.h.
51136 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
51138 2012-02-08 Marek Polacek <polacek@redhat.com>
51140 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
51141 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
51142 * sysdeps/gnu/_G_config.h: Likewise.
51143 * sysdeps/generic/_G_config.h: Likewise.
51145 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
51147 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
51149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51151 * sysdeps/powerpc/powerpc32/crti.S: New file.
51152 * sysdeps/powerpc/powerpc32/crtn.S: New file.
51153 * sysdeps/powerpc/powerpc64/crti.S: New file.
51154 * sysdeps/powerpc/powerpc64/crtn.S: New file.
51156 * Makeconfig (have-initfini): Don't set.
51157 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
51158 * configure.in (nopic_initfini): Don't substitute.
51159 * config.h.in (HAVE_INITFINI): Don't #undef.
51160 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
51161 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
51163 2012-02-08 Joseph Myers <joseph@codesourcery.com>
51165 Support crti.S and crtn.S provided directly by architectures.
51166 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
51167 [crti.S in sysdirs] (omit-deps): Likewise.
51168 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
51169 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
51170 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
51171 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
51172 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
51173 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
51174 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
51175 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
51176 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
51177 compiler output for sysdeps/generic/initfini.c.
51178 * sysdeps/i386/elf/Makefile: Remove file.
51179 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
51181 2012-02-07 Marek Polacek <polacek@redhat.com>
51183 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
51184 * sysdeps/gnu/_G_config.h: Likewise.
51185 * sysdeps/mach/hurd/_G_config.h: Likewise.
51187 2012-02-07 Marek Polacek <polacek@redhat.com>
51189 * math/Makefile (tests): Add tst-CMPLX2.
51190 * math/tst-CMPLX2.c: New file.
51192 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
51194 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51196 * math/libm-test.inc (jn_test): Add missing L suffix.
51198 2012-02-06 Marek Polacek <polacek@redhat.com>
51200 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
51201 * sysdeps/i386/fpu/e_powf.S: Likewise.
51202 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51203 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51204 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51205 * sysdeps/i386/fpu/e_pow.S: Likewise.
51206 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
51207 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51208 * sysdeps/i386/fpu/s_expm1.S: Likewise.
51209 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
51210 * sysdeps/i386/fpu/e_log2.S: Likewise.
51211 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51212 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51213 * sysdeps/i386/fpu/e_powl.S: Likewise.
51214 * sysdeps/i386/fpu/s_log1p.S: Likewise.
51215 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51216 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
51217 * sysdeps/i386/fpu/e_logl.S: Likewise.
51218 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
51219 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
51220 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
51221 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
51222 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51223 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51224 * sysdeps/i386/fpu/e_log.S: Likewise.
51225 * sysdeps/i386/fpu/s_cexp.S: Likewise.
51226 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51227 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
51228 * sysdeps/i386/fpu/e_logf.S: Likewise.
51229 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51230 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51231 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
51232 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
51233 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51234 * sysdeps/i386/fpu/e_log10.S: Likewise.
51235 * sysdeps/i386/fpu/s_frexp.S: Likewise.
51236 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51237 * sysdeps/i386/fpu/s_asinh.S: Likewise.
51238 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
51239 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51240 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
51241 * sysdeps/i386/asm-syntax.h: Likewise.
51242 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51243 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51244 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51245 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
51246 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
51247 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51248 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
51249 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
51250 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51251 * sysdeps/powerpc/sysdep.h: Likewise.
51252 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
51253 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
51255 2012-02-06 Joseph Myers <joseph@codesourcery.com>
51258 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
51260 2012-02-06 Joseph Myers <joseph@codesourcery.com>
51262 * sysdeps/i386/sysdep.h: Include <features.h>.
51263 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
51266 2012-02-05 Joseph Myers <joseph@codesourcery.com>
51268 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
51270 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
51273 2012-02-03 Joseph Myers <joseph@codesourcery.com>
51275 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
51276 (SETUP_PIC_REG): Use GET_PC_THUNK.
51277 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
51280 2012-02-03 Joseph Myers <joseph@codesourcery.com>
51282 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
51283 for non-PIC compilation.
51284 (SETUP_PIC_REG): Add .p2align directive.
51285 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
51286 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
51287 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
51288 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
51289 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
51290 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
51291 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
51292 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51293 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
51294 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
51295 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
51296 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
51297 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
51298 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
51299 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
51300 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
51301 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
51302 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
51303 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
51304 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
51305 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51306 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
51307 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
51308 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
51309 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
51310 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
51311 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51312 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
51313 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
51314 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
51315 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
51316 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51317 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
51318 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
51319 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
51320 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
51321 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
51322 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
51323 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
51324 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
51325 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
51327 2012-02-03 Joseph Myers <joseph@codesourcery.com>
51329 * math/tst-CMPLX.c: Include <stdio.h>.
51331 2012-01-31 Joseph Myers <joseph@codesourcery.com>
51333 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
51335 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
51336 * sysdeps/sparc/bits/mathdef.h: Likewise.
51338 2012-01-31 Marek Polacek <polacek@redhat.com>
51340 * libio/libio.h: Don't define _PARAMS.
51341 * locale/programs/config.h: Don't define PARAMS.
51342 * stdlib/strtol_l.c: Likewise.
51343 (__strtol_l): Remove PARAMS from the prototype.
51345 2012-01-31 Ulrich Drepper <drepper@gmail.com>
51347 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
51348 names. Just use the correct names. Remove unnecessary wrapper
51350 * malloc/arena.c: Likewise.
51351 * malloc/hooks.c: Likewise.
51353 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
51354 ARENA_TEST says not to. Simplify test for creation of a new arena.
51355 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
51357 2012-01-30 Ulrich Drepper <drepper@gmail.com>
51359 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
51361 (update_get_addr): New function.
51362 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
51363 GET_ADDR_MODULE parameter.
51365 2012-01-30 Joseph Myers <joseph@codesourcery.com>
51367 * crypt/cert.c: Remove __STDC__ conditionals.
51368 * crypt/crypt-entry.c: Likewise.
51369 * crypt/crypt_util.c: Likewise.
51370 * libio/filedoalloc.c: Likewise.
51371 * libio/fileops.c: Likewise.
51372 * libio/genops.c: Likewise.
51373 * libio/iofclose.c: Likewise.
51374 * libio/iofdopen.c: Likewise.
51375 * libio/iofopen.c: Likewise.
51376 * libio/iofopen64.c: Likewise.
51377 * libio/iogetdelim.c: Likewise.
51378 * libio/iopopen.c: Likewise.
51379 * libio/obprintf.c: Likewise.
51380 * libio/oldfileops.c: Likewise.
51381 * libio/oldiofclose.c: Likewise.
51382 * libio/oldiofdopen.c: Likewise.
51383 * libio/oldiofopen.c: Likewise.
51384 * libio/oldiopopen.c: Likewise.
51385 * libio/wfiledoalloc.c: Likewise.
51386 * libio/wgenops.c: Likewise.
51387 * locale/programs/xmalloc.c: Likewise.
51388 * misc/syslog.c: Likewise.
51389 * stdio-common/xbug.c: Likewise.
51390 * string/memchr.c: Likewise.
51391 * string/memcmp.c: Likewise.
51392 * string/memrchr.c: Likewise.
51393 * string/rawmemchr.c: Likewise.
51394 * sysdeps/posix/getcwd.c: Likewise.
51395 * time/strftime_l.c: Likewise.
51397 2012-01-30 Joseph Myers <joseph@codesourcery.com>
51399 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
51400 * config.make.in (config-cflags-sse2avx): Define.
51401 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
51404 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
51406 * scripts/config.guess: Update from upstream config git repository.
51407 * scripts/config.sub: Likewise.
51409 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
51411 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
51413 (R_TILEPRO_*, R_TILEGX_*): New macros.
51415 * scripts/firstversions.awk: Fix bug in version range handling.
51417 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
51419 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
51421 * include/sys/epoll.h: New file.
51422 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
51425 2012-01-28 Ulrich Drepper <drepper@gmail.com>
51427 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
51428 Avoid unnecessary __WORDSIZE == 64 test.
51429 (fmaxf): Use VEX format if possible.
51434 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
51435 * math/math_private.h: Remove libc_fegetround* and
51437 * sysdeps/i386/configure.in: Check for -msse2avx.
51438 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
51439 also if SSE2AVX is defined.
51440 Remove libc_fegetround* and libc_fesetround*.
51441 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
51442 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
51443 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
51445 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51446 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51447 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51448 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51449 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51451 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
51453 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51455 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
51457 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51459 2012-01-27 Ulrich Drepper <drepper@gmail.com>
51462 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
51464 * Makeconfig (libm): Define.
51465 * elf/Makefile: Add rules to build and run tst-relsort1.
51466 * elf/tst-relsort1.c: New file.
51467 * elf/tst-relsort1mod1.c: New file.
51468 * elf/tst-relsort1mod2.c: New file.
51470 2012-01-27 Joseph Myers <joseph@codesourcery.com>
51472 * math/s_ldexp.c: Remove __STDC__ conditionals.
51473 * math/s_ldexpf.c: Likewise.
51474 * math/s_ldexpl.c: Likewise.
51475 * math/s_nextafter.c: Likewise.
51476 * math/s_nexttowardf.c: Likewise.
51477 * math/s_significand.c: Likewise.
51478 * math/s_significandf.c: Likewise.
51479 * math/s_significandl.c: Likewise.
51480 * math/w_jnl.c: Likewise.
51481 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51482 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51483 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51484 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51485 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51486 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51487 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
51488 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51489 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51490 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51491 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51492 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51493 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51494 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51495 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51496 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51497 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51498 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51499 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51500 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51501 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51502 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51503 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51504 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51505 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51506 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51507 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51508 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51509 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51510 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51511 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51512 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51513 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51514 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51515 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51516 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51517 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51518 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51519 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51520 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51521 * sysdeps/ieee754/k_standard.c: Likewise.
51522 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51523 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51524 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51525 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51526 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51527 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51528 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51529 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51530 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51531 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51532 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51533 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51534 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51535 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51536 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51537 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51538 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51539 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51540 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51541 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51542 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51543 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51544 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51545 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51546 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51547 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51548 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51549 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51550 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51551 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51552 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51553 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
51554 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51555 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51556 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51557 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51558 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
51559 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51560 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51561 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
51562 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
51563 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51564 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
51565 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
51566 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51567 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
51568 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
51569 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51570 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51571 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
51572 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
51573 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51574 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51575 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51576 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51577 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51578 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
51579 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51580 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51581 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51582 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51583 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51584 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51585 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51586 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51587 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51588 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51589 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51590 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51591 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51592 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51593 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51594 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51595 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51596 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51597 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51598 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51599 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51600 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51601 * sysdeps/ieee754/s_matherr.c: Likewise.
51602 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51603 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51604 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51605 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51607 2012-01-26 Joseph Myers <joseph@codesourcery.com>
51609 * crypt/md5.h: Remove __STDC__ conditionals.
51610 * libio/libioP.h: Likewise.
51611 * locale/programs/config.h: Likewise.
51612 * sysdeps/generic/sysdep.h: Likewise.
51613 * sysdeps/i386/asm-syntax.h: Likewise.
51614 * sysdeps/s390/asm-syntax.h: Likewise.
51615 * sysdeps/unix/sysdep.h: Likewise.
51616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
51617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51619 2012-01-26 Joseph Myers <joseph@codesourcery.com>
51621 * libio/libio.h: Remove __STDC__ conditionals.
51622 * malloc/obstack.h: Likewise.
51623 * math/complex.h: Likewise.
51624 * math/math.h: Likewise.
51625 * sysdeps/generic/_G_config.h: Likewise.
51626 * sysdeps/gnu/_G_config.h: Likewise.
51627 * sysdeps/mach/hurd/_G_config.h: Likewise.
51628 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51629 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
51630 * sysdeps/sparc/bits/mathdef.h: Likewise.
51632 2012-01-26 Ulrich Drepper <drepper@gmail.com>
51635 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
51636 Clean up HAS_* macros.
51637 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
51638 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
51640 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
51642 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51643 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51644 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51645 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51646 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51648 2012-01-25 Joseph Myers <joseph@codesourcery.com>
51650 * elf/tst-unique3.cc (gets): Remove declaration.
51651 * elf/tst-unique3lib.cc (gets): Likewise.
51652 * elf/tst-unique3lib2.cc (gets): Likewise.
51653 * elf/tst-unique4.cc (gets): Likewise.
51655 2012-01-24 Ulrich Drepper <drepper@gmail.com>
51657 * include/stdio.h: Add C++ protection. Add gets declarations and
51659 * debug/tst-chk1.c: Don't declare gets here.
51660 * stdio-common/tst-gets.c: Likewise.
51662 2012-01-24 Joseph Myers <joseph@codesourcery.com>
51664 * posix/glob: Remove directory.
51666 2012-01-24 Joseph Myers <joseph@codesourcery.com>
51668 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
51670 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
51672 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
51673 of the non-standard EPFNOSUPPORT.
51675 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
51677 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
51678 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
51679 ANYWHERE set to 1 only on KERN_NO_SPACE error.
51681 2012-01-21 Ulrich Drepper <drepper@gmail.com>
51683 * wcsmbs/uchar.h: Test __STDC_VERSION__.
51685 2012-01-20 Ulrich Drepper <drepper@gmail.com>
51687 * nscd/aicache.c (addhstaiX): Do not cache negative results of
51689 * nscd/grpcache.c (cache_addgr): Likewise.
51690 * nscd/hstcache.c (cache_addhst): Likewise.
51691 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51692 * nscd/pwdcache.c (cache_addpw): Likewise.
51693 * nscd/servicescache.c (cache_addserv): Likewise.
51695 2012-01-16 Ulrich Drepper <drepper@gmail.com>
51697 * malloc/malloc.c: Various cleanups.
51698 * malloc/hooks.c: Likewise.
51700 * stdlib/Makefile (tests): Add bug-fmtmsg1.
51701 * stdlib/bug-fmtmsg1.c: New file.
51703 * stdlib/fmtmsg.c (init): Add missing unlock.
51704 Patch by Peng Haitao <penght@cn.fujitsu.com>.
51706 2012-01-12 Marek Polacek <polacek@redhat.com>
51708 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
51711 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51713 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
51714 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
51715 macro to ensure uniqueness of label name.
51716 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51717 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51719 2012-01-11 Ulrich Drepper <drepper@gmail.com>
51721 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
51723 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
51724 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51725 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51726 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
51728 2012-01-10 Ulrich Drepper <drepper@gmail.com>
51730 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
51732 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
51733 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51734 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51736 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
51738 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
51739 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51740 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51741 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
51743 * math/bits/math-finite.h: Add ldexp support.
51745 2012-01-10 Marek Polacek <polacek@redhat.com>
51747 * locale/programs/localedef.h (show_archive_content): Add noreturn
51750 2012-01-09 Ulrich Drepper <drepper@gmail.com>
51752 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
51754 2012-01-08 Ulrich Drepper <drepper@gmail.com>
51756 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
51758 * io/Makefile (headers): Add bits/poll2.h.
51760 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
51762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
51763 typo #include statement.
51765 2012-01-08 Ulrich Drepper <drepper@gmail.com>
51767 * include/sys/cdefs.h: Define __attribute_alloc_size.
51768 * catgets/gencat.c: Add alloc_size attribute and apply consistently
51769 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
51770 * elf/pldd.c: Likewise.
51771 * iconv/iconv_charmap.c: Likewise.
51772 * iconv/iconvconfig.c: Likewise.
51773 * iconv/strtab.c: Likewise.
51774 * locale/programs/locale.c: Likewise.
51775 * locale/programs/localedef.h: Likewise.
51776 * locale/programs/simple-hash.c: Likewise.
51777 * nscd/nscd.h: Likewise.
51778 * nss/makedb.c: Likewise.
51779 * sysdeps/generic/ldconfig.h: Likewise.
51780 * locale/programs/localedef.c: Remove xmalloc prototype.
51781 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
51783 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51785 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
51788 2012-01-08 Ulrich Drepper <drepper@gmail.com>
51790 * math/Makefile (tests): Add tst-CMPLX.
51791 * math/tst-CMPLX.c: New file.
51793 * math/complex.h (CMPLXL): Fix typo.
51795 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
51796 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
51798 * debug/tst-chk1.c: Add poll and ppoll tests.
51799 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
51800 * include/sys/poll.h: Add hidden proto for ppoll.
51801 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
51802 * sysdeps/mach/hurd/ppoll.c: Likewise.
51803 * io/ppoll.c: Likewise.
51804 * debug/poll_chk.c: New file.
51805 * debug/ppoll_chk.c: New file.
51806 * include/bits/poll2.h: New file.
51807 * io/bits/poll2.h: New file.
51810 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
51812 * configure.in: static is always set to yes. Remove.
51813 * config.make.in: Don't set build-static.
51814 * Makeconfig: Remove use of build-static.
51815 * dlfcn/Makefile: Likewise.
51816 * elf/Makefile: Likewise.
51817 * math/Makefile: Likewise.
51818 * misc/Makefile: Likewise.
51819 * nptl/Makefile: Likewise.
51820 * sysdeps/mach/hurd/Makefile: Likewise.
51822 * configure.in: PWD_P is not used anymore.
51823 * config.make.in: Remove PWD_P entry.
51825 * configure.in: Remove last remnants of RANLIB.
51826 No need to check for signed size_t anymore.
51827 Don't set libc_commonpagesize and libc_relro_required here for Alpha
51829 Remove __builtin_expect test because we require at least gcc 3.4.
51830 * aclocal.m4: Likewise.
51832 * wcsmbs/mbrtoc16.c: Implement using towc function.
51833 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
51834 * wcsmbs/wcsmbsload.c: Likewise.
51835 * iconv/gconv_simple.c: Likewise.
51836 * iconv/gconv_int.h: Likewise.
51837 * iconv/gconv_builtin.h: Likewise.
51838 * iconv/iconv_prog.c: Remove CHAR16 handling.
51840 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
51842 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
51844 * configure.in: Remove --with-elf and --enable-bounded options.
51845 Dont set base_machine for ia64. More non-ELF conditions removed.
51846 Remove testing and setting of leading underscore information.
51847 * config.make.in (build-bounded): Set to no.
51848 * config.h.in: Remove NO_UNDERSCORES entry.
51849 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
51851 * csu/start.c: Remove !NO_UNDERSCORE code.
51852 * locale/localeinfo.h: Likewise.
51853 * sysdeps/generic/machine-gmon.h: Likewise.
51854 * sysdeps/generic/sysdep.h: Likewise.
51855 * sysdeps/i386/sysdep.h: Likewise.
51856 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51857 * sysdeps/mach/sysdep.h: Likewise.
51858 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51859 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51860 * sysdeps/sh/sysdep.h: Likewise.
51861 * sysdeps/sparc/sparc32/alloca.S: Likewise.
51862 * sysdeps/unix/i386/sysdep.S: Likewise.
51863 * sysdeps/unix/sparc/start.c: Likewise.
51864 * sysdeps/unix/sparc/sysdep.S: Likewise.
51865 * sysdeps/unix/sparc/sysdep.h: Likewise.
51866 * sysdeps/unix/start.c: Likewise.
51867 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51868 * sysdeps/x86_64/sysdep.h: Likewise.
51870 2012-01-07 Ulrich Drepper <drepper@gmail.com>
51873 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
51875 * argp/argp-fmtstream.h: Use const instead __const.
51876 * argp/argp.h: Likewise.
51877 * assert/assert.h: Likewise.
51878 * bits/fenv.h: Likewise.
51879 * bits/sched.h: Likewise.
51880 * bits/sigset.h: Likewise.
51881 * bits/sigthread.h: Likewise.
51882 * catgets/nl_types.h: Likewise.
51883 * conform/data/pthread.h-data: Likewise.
51884 * crypt/crypt-private.h: Likewise.
51885 * crypt/crypt.h: Likewise.
51886 * crypt/crypt_util.c: Likewise.
51887 * ctype/ctype.h: Likewise.
51888 * debug/execinfo.h: Likewise.
51889 * debug/mbsnrtowcs_chk.c: Likewise.
51890 * debug/mbsrtowcs_chk.c: Likewise.
51891 * debug/wcsnrtombs_chk.c: Likewise.
51892 * debug/wcsrtombs_chk.c: Likewise.
51893 * debug/wcstombs_chk.c: Likewise.
51894 * dirent/dirent.h: Likewise.
51895 * dlfcn/dlfcn.h: Likewise.
51896 * elf/neededtest4.c: Likewise.
51897 * grp/grp.h: Likewise.
51898 * gshadow/gshadow.h: Likewise.
51899 * iconv/gconv.h: Likewise.
51900 * iconv/gconv_int.h: Likewise.
51901 * iconv/gconv_simple.c: Likewise.
51902 * iconv/iconv.h: Likewise.
51903 * iconv/loop.c: Likewise.
51904 * iconv/skeleton.c: Likewise.
51905 * include/aio.h: Likewise.
51906 * include/aliases.h: Likewise.
51907 * include/argz.h: Likewise.
51908 * include/arpa/inet.h: Likewise.
51909 * include/assert.h: Likewise.
51910 * include/dirent.h: Likewise.
51911 * include/dlfcn.h: Likewise.
51912 * include/execinfo.h: Likewise.
51913 * include/fcntl.h: Likewise.
51914 * include/fenv.h: Likewise.
51915 * include/glob.h: Likewise.
51916 * include/grp.h: Likewise.
51917 * include/libintl.h: Likewise.
51918 * include/mntent.h: Likewise.
51919 * include/netdb.h: Likewise.
51920 * include/pwd.h: Likewise.
51921 * include/rpc/netdb.h: Likewise.
51922 * include/sched.h: Likewise.
51923 * include/search.h: Likewise.
51924 * include/shadow.h: Likewise.
51925 * include/signal.h: Likewise.
51926 * include/stdio.h: Likewise.
51927 * include/stdlib.h: Likewise.
51928 * include/string.h: Likewise.
51929 * include/sys/socket.h: Likewise.
51930 * include/sys/stat.h: Likewise.
51931 * include/sys/statfs.h: Likewise.
51932 * include/sys/statvfs.h: Likewise.
51933 * include/sys/syslog.h: Likewise.
51934 * include/sys/time.h: Likewise.
51935 * include/sys/uio.h: Likewise.
51936 * include/time.h: Likewise.
51937 * include/unistd.h: Likewise.
51938 * include/utmp.h: Likewise.
51939 * include/wchar.h: Likewise.
51940 * include/wctype.h: Likewise.
51941 * inet/aliases.h: Likewise.
51942 * inet/arpa/inet.h: Likewise.
51943 * inet/netinet/ether.h: Likewise.
51944 * inet/netinet/in.h: Likewise.
51945 * intl/libintl.h: Likewise.
51946 * io/bits/fcntl2.h: Likewise.
51947 * io/fcntl.h: Likewise.
51948 * io/ftw.h: Likewise.
51949 * io/sys/poll.h: Likewise.
51950 * io/sys/stat.h: Likewise.
51951 * io/sys/statfs.h: Likewise.
51952 * io/sys/statvfs.h: Likewise.
51953 * io/utime.h: Likewise.
51954 * libio/bits/stdio.h: Likewise.
51955 * libio/bits/stdio2.h: Likewise.
51956 * libio/libio.h: Likewise.
51957 * libio/libioP.h: Likewise.
51958 * libio/stdio.h: Likewise.
51959 * locale/lc-ctype.c: Likewise.
51960 * locale/locale.h: Likewise.
51961 * login/utmp.h: Likewise.
51962 * malloc/arena.c: Likewise.
51963 * malloc/malloc.c: Likewise.
51964 * malloc/malloc.h: Likewise.
51965 * malloc/mcheck.c: Likewise.
51966 * malloc/mtrace.c: Likewise.
51967 * math/bits/mathcalls.h: Likewise.
51968 * math/fenv.h: Likewise.
51969 * math/math_private.h: Likewise.
51970 * misc/bits/error.h: Likewise.
51971 * misc/bits/syslog.h: Likewise.
51972 * misc/err.h: Likewise.
51973 * misc/error.h: Likewise.
51974 * misc/fstab.h: Likewise.
51975 * misc/mntent.h: Likewise.
51976 * misc/regexp.h: Likewise.
51977 * misc/search.h: Likewise.
51978 * misc/sgtty.h: Likewise.
51979 * misc/sys/mman.h: Likewise.
51980 * misc/sys/syslog.h: Likewise.
51981 * misc/sys/uio.h: Likewise.
51982 * misc/sys/xattr.h: Likewise.
51983 * misc/ttyent.h: Likewise.
51984 * nis/rpcsvc/ypclnt.h: Likewise.
51985 * nss/nss.h: Likewise.
51986 * posix/bits/unistd.h: Likewise.
51987 * posix/fnmatch.h: Likewise.
51988 * posix/glob.h: Likewise.
51989 * posix/sched.h: Likewise.
51990 * posix/spawn.h: Likewise.
51991 * posix/sys/wait.h: Likewise.
51992 * posix/unistd.h: Likewise.
51993 * posix/wordexp.h: Likewise.
51994 * pwd/pwd.h: Likewise.
51995 * resolv/netdb.h: Likewise.
51996 * resource/sys/resource.h: Likewise.
51997 * rt/aio.h: Likewise.
51998 * rt/bits/mqueue2.h: Likewise.
51999 * rt/mqueue.h: Likewise.
52000 * shadow/shadow.h: Likewise.
52001 * signal/signal.h: Likewise.
52002 * socket/send.c: Likewise.
52003 * socket/sendto.c: Likewise.
52004 * socket/sys/socket.h: Likewise.
52005 * stdio-common/printf.h: Likewise.
52006 * stdlib/bits/stdlib.h: Likewise.
52007 * stdlib/fmtmsg.h: Likewise.
52008 * stdlib/monetary.h: Likewise.
52009 * stdlib/stdlib.h: Likewise.
52010 * stdlib/ucontext.h: Likewise.
52011 * streams/stropts.h: Likewise.
52012 * string/argz.h: Likewise.
52013 * string/bits/string2.h: Likewise.
52014 * string/string.h: Likewise.
52015 * string/strings.h: Likewise.
52016 * sunrpc/rpc/auth.h: Likewise.
52017 * sunrpc/rpc/auth_des.h: Likewise.
52018 * sunrpc/rpc/clnt.h: Likewise.
52019 * sunrpc/rpc/netdb.h: Likewise.
52020 * sunrpc/rpc/pmap_clnt.h: Likewise.
52021 * sunrpc/rpc/xdr.h: Likewise.
52022 * sysdeps/generic/inttypes.h: Likewise.
52023 * sysdeps/generic/net/if.h: Likewise.
52024 * sysdeps/generic/sys/swap.h: Likewise.
52025 * sysdeps/gnu/net/if.h: Likewise.
52026 * sysdeps/gnu/utmpx.h: Likewise.
52027 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
52028 * sysdeps/i386/i486/bits/string.h: Likewise.
52029 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
52030 * sysdeps/s390/bits/string.h: Likewise.
52031 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
52032 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
52033 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
52034 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
52035 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
52036 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
52037 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
52038 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
52039 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
52040 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
52041 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
52042 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
52043 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
52044 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
52045 * sysdeps/unix/sysv/linux/readv.c: Likewise.
52046 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
52047 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
52048 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52049 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
52050 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
52051 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
52052 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
52053 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
52054 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
52055 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
52056 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
52057 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
52058 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52059 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
52060 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
52061 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
52062 * sysvipc/sys/ipc.h: Likewise.
52063 * sysvipc/sys/msg.h: Likewise.
52064 * sysvipc/sys/sem.h: Likewise.
52065 * sysvipc/sys/shm.h: Likewise.
52066 * termios/termios.h: Likewise.
52067 * time/sys/time.h: Likewise.
52068 * time/time.h: Likewise.
52069 * wcsmbs/bits/wchar2.h: Likewise.
52070 * wcsmbs/uchar.h: Likewise.
52071 * wcsmbs/wchar.h: Likewise.
52072 * wctype/wctype.h: Likewise.
52075 * Makeconfig: Remove all but ELF support including AIX support.
52076 * Makerules: Likewise.
52077 * config.h.in: Likewise.
52078 * config.make.in: Likewise.
52079 * configure: Likewise.
52080 * configure.in: Likewise.
52081 * csu/Makefile: Likewise.
52082 * csu/version.c: Likewise.
52083 * debug/Makefile: Likewise.
52084 * dlfcn/Makefile: Likewise.
52085 * elf/Makefile: Likewise.
52086 * extra-lib.mk: Likewise.
52087 * iconv/Makefile: Likewise.
52088 * include/libc-symbols.h: Likewise.
52089 * include/shlib-compat.h: Likewise.
52090 * resolv/Makefile: Likewise.
52091 * resolv/res_libc.c: Likewise.
52092 * rt/Makefile: Likewise.
52093 * sysdeps/i386/asm-syntax.h: Likewise.
52094 * sysdeps/i386/sysdep.h: Likewise.
52095 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
52096 * sysdeps/mach/sysdep.h: Likewise.
52097 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
52098 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
52099 * sysdeps/s390/asm-syntax.h: Likewise.
52100 * sysdeps/s390/s390-32/sysdep.h: Likewise.
52101 * sysdeps/s390/s390-64/sysdep.h: Likewise.
52102 * sysdeps/sh/sysdep.h: Likewise.
52103 * sysdeps/unix/sparc/sysdep.h: Likewise.
52104 * sysdeps/wordsize-32/divdi3.c: Likewise.
52105 * sysdeps/x86_64/sysdep.h: Likewise.
52107 * argp/Versions: Remove _argp_unlock_xxx.
52110 * abilist/ld.abilist: Update. Adjust for removal of tls option.
52111 * abilist/libBrokenLocale.abilist: Likewise.
52112 * abilist/libanl.abilist: Likewise.
52113 * abilist/libc.abilist: Likewise.
52114 * abilist/libcrypt.abilist: Likewise.
52115 * abilist/libdl.abilist: Likewise.
52116 * abilist/libm.abilist: Likewise.
52117 * abilist/libnsl.abilist: Likewise.
52118 * abilist/libpthread.abilist: Likewise.
52119 * abilist/libresolv.abilist: Likewise.
52120 * abilist/librt.abilist: Likewise.
52121 * abilist/libthread_db.abilist: Likewise.
52122 * abilist/libutil.abilist: Likewise.
52123 * abilist/libnss_db.abilist: New file.
52125 * scripts/abilist.awk: Add support for indirect functions.
52127 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
52129 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
52131 * shlib-versions: Remove entries for ports architectures.
52133 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
52135 * elf/stackguard-macros.h: Remove support for IA-64.
52136 * elf/tst-auditmod1.c: Likewise.
52137 * sysdeps/generic/ldsodefs.h: Likewise.
52139 * sysdeps/unix/sysv/linux/configure.in: Ports should define
52140 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
52144 * configure.in: Remove --enable-omitfp support.
52146 * config.make.in: Likewise.
52147 * Makeconfig: Likewise.
52148 * manual/install.texi: Likewise.
52150 In case anyone cares, the IA-64 architecture could move to ports.
52151 * sysdeps/ia64/*: Removed.
52152 * sysdeps/unix/sysv/linux/ia64/*: Removed.
52153 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
52156 * configure.in: Remove entries for unsupported architectures.
52159 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
52160 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
52162 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
52163 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
52164 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
52165 fall back to using wcrtomb.
52166 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
52167 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
52169 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
52170 * wcsmbs/tst-c16c32-1.c: New file.
52172 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
52175 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
52177 * elf/tst-unique3.cc: Add explicit declaration of gets.
52178 * elf/tst-unique3lib.cc: Likewise.
52179 * elf/tst-unique3lib2.cc: Likewise.
52180 * elf/tst-unique4.cc: Likewise.
52182 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
52184 2012-01-06 Joseph Myers <joseph@codesourcery.com>
52187 * assert/assert.h (static_assert): Don't define for C++.
52188 * libio/stdio.h (gets): Do declare for C++ <= C++11.
52189 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
52191 2012-01-03 Ulrich Drepper <drepper@gmail.com>
52193 * iconv/loop.c (single loop): Fix assertion in storing of
52196 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
52198 2012-01-01 Ulrich Drepper <drepper@gmail.com>
52200 * posix/getconf.c: Update copyright year.
52201 * nss/getent.c: Likewise.
52202 * nss/makedb.c: Likewise.
52203 * iconv/iconvconfig.c: Likewise.
52204 * iconv/iconv_prog.c: Likewise.
52205 * elf/ldconfig.c: Likewise.
52206 * elf/pldd.c: Likewise.
52207 * elf/sotruss.ksh: Likewise.
52208 * catgets/gencat.c: Likewise.
52209 * csu/version.c: Likewise.
52210 * elf/ldd.bash.in: Likewise.
52211 * elf/sprof.c (print_version): Likewise.
52212 * locale/programs/locale.c: Likewise.
52213 * locale/programs/localedef.c: Likewise.
52214 * login/programs/pt_chown.c: Likewise.
52215 * nscd/nscd.c (print_version): Likewise.
52216 * debug/xtrace.sh: Likewise.
52217 * malloc/memusage.sh: Likewise.
52218 * malloc/mtrace.pl: Likewise.
52219 * debug/catchsegv.sh: Likewise.
52221 2011-12-30 Jakub Jelinek <jakub@redhat.com>
52223 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
52226 2011-12-24 Ulrich Drepper <drepper@gmail.com>
52229 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
52230 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
52232 * iconv/gconv_int.h: Likewise.
52233 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
52234 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
52235 from libc for GLIBC_2.16.
52236 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
52237 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
52238 * wcsmbs/uchar.h: Really define mbstate_t.
52239 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
52240 * wcsmbs/c16rtomb.c: New file.
52241 * wcsmbs/mbrtoc16.c: New file.
52242 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
52243 for C/POSIX locale.
52244 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
52245 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
52247 * wcsmbs/wchar.h: Add missing __restrict.
52249 2011-12-23 Ulrich Drepper <drepper@gmail.com>
52252 * time/Makefile (routines): Add timespec_get.
52253 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
52254 * time/time.h: Define TIME_UTC and declare timespec_get. Define
52255 timespec for ISO C11.
52256 * time/timespec_get.c: New file.
52257 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
52258 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
52261 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
52262 * stdlib/stdlib.h: Declare aligned_alloc.
52263 * Versions.def: Add GLIBC_2.16 for libc.
52264 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
52267 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
52270 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
52274 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
52277 * assert/assert.h (static_assert): Define.
52279 * version.h: Update for 2.16 development version.
52282 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
52285 * version.h (RELEASE): Bump for 2.15 release.
52286 * include/features.h (__GLIBC_MINOR__): Bump to 15.
52288 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
52289 Patch by Marek Polacek <mpolacek@redhat.com>.
52291 * bits/byteswap.h: Protect long long constants with __extension__.
52292 * sysdeps/i386/bits/byteswap.h: Likewise.
52293 * sysdeps/ia64/bits/byteswap.h: Likewise.
52294 * sysdeps/s390/bits/byteswap.h: Likewise.
52295 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52297 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52300 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
52301 destination buffer.
52302 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
52304 2011-12-23 Marek Polacek <polacek@redhat.com>
52306 * elf/dl-addr.c (determine_info): Add inline keyword.
52307 * elf/tst-auditmod4b.c (check_avx): Likewise.
52308 * elf/tst-auditmod6b.c (check_avx): Likewise.
52309 * elf/tst-auditmod6c.c (check_avx): Likewise.
52310 * elf/tst-auditmod7b.c (check_avx): Likewise.
52312 2011-12-23 Ulrich Drepper <drepper@gmail.com>
52314 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
52317 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52320 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
52321 processing for last bytes.
52323 2011-08-06 Bruno Haible <bruno@clisp.org>
52326 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
52327 U+0385, not to U+1FEE.
52330 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
52331 entry for U+00A5 U+0301.
52333 2011-12-22 Ulrich Drepper <drepper@gmail.com>
52336 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
52337 buffer for the output is too small.
52339 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
52343 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
52344 SSE flags if possible.
52346 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52349 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
52350 processing for last bytes.
52352 2011-12-22 Joseph Myers <joseph@codesourcery.com>
52354 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
52355 (syscall-list-default-options, syscall-list-default-condition)
52356 (syscall-list-includes): Define.
52357 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
52358 list of ABIs and options and #if conditions for each ABI. Do not
52359 handle common syscalls between ABIs specially.
52360 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
52362 (syscall-list-variants, syscall-list-32bit-options)
52363 (syscall-list-32bit-condition, syscall-list-64bit-options)
52364 (syscall-list-64bit-condition): Define.
52365 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
52366 (syscall-list-variants, syscall-list-32bit-options)
52367 (syscall-list-32bit-condition, syscall-list-64bit-options)
52368 (syscall-list-64bit-condition): Define.
52369 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
52371 (syscall-list-variants, syscall-list-32bit-options)
52372 (syscall-list-32bit-condition, syscall-list-64bit-options)
52373 (syscall-list-64bit-condition): Define.
52374 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
52376 (syscall-list-variants, syscall-list-32bit-options)
52377 (syscall-list-32bit-condition, syscall-list-64bit-options)
52378 (syscall-list-64bit-condition): Define.
52380 2011-12-22 Ulrich Drepper <drepper@gmail.com>
52382 * locale/iso-639.def: Add brx entry.
52385 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
52386 Proposed by Mariusz_Cukr <marcukr@op.pl>.
52388 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
52389 __feraiseexcept_renamed.
52391 2011-12-21 Ulrich Drepper <drepper@gmail.com>
52394 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
52395 EPOLLET with unsigned values.
52396 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52397 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
52399 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
52400 to large cancellation.
52401 * math/s_cacoshf.c: Likewise.
52402 * math/s_cacoshl.c: Likewise.
52404 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
52408 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
52409 * math/s_cacoshf.c: Likewise.
52410 * math/s_cacoshl.c: Likewise.
52412 2011-12-21 Ulrich Drepper <drepper@gmail.com>
52415 * iconv/gconv.h: Define __GCONV_SWAP.
52416 * iconvdata/unicode.c: The swap bit must be stored in __flags.
52417 * iconvdata/utf-16.c: Likewise.
52418 * iconvdata/utf-32.c: Likewise.
52420 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
52423 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
52424 numerator after shifting it by one limb.
52426 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
52428 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
52429 under [__USE_EXTERN_INLINES].
52431 2011-12-17 Ulrich Drepper <drepper@gmail.com>
52434 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
52436 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52438 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
52439 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
52441 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
52442 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
52443 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
52444 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
52445 for strncasecmp/strncasecmp_l compilation.
52446 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
52447 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
52449 2011-12-08 Marek Polacek <mpolacek@redhat.com>
52452 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
52455 2011-12-17 Ulrich Drepper <drepper@gmail.com>
52458 * time/tzfile.c (__tzfile_read): Check values from file header.
52460 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
52462 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
52463 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
52464 * powerpc/powerpc32/dl-start.S: Likewise.
52465 * powerpc/powerpc32/elf/start.S: Likewise.
52466 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
52467 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
52468 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
52469 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
52470 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
52471 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
52472 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
52473 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52474 * powerpc/powerpc32/fpu/s_round.S: Likewise.
52475 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
52476 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
52477 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
52478 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
52479 * powerpc/powerpc32/memset.S: Likewise.
52480 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
52481 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52482 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52483 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52484 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52485 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
52486 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
52487 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
52488 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
52489 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
52490 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
52491 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
52492 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
52494 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52496 * math/libm-test.inc: Added more nearbyint tests.
52497 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
52498 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
52499 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
52500 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
52502 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
52504 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
52507 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52509 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
52510 Add wcscpy-ssse3 wcscpy-c.
52511 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
52512 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
52513 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
52514 * sysdeps/x86_64/wcschr.S: New file.
52515 * sysdeps/x86_64/wcsrchr.S: New file.
52516 * string/test-strcmp.c: Remove checking of wcscmp function for
52518 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
52519 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
52520 wcsrchr-sse2 wcsrchr-c.
52521 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
52522 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
52523 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
52524 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
52525 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
52526 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
52527 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
52528 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
52529 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
52530 * wcsmbc/wcschr.c (WCSCHR): New macro.
52532 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52534 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
52535 * wcsmbs/test-wcsrchr.c: New file.
52536 * string/test-strrchr.c: Add wcsrchr support.
52538 * wcsmbs/test-wcscpy.c: New file.
52539 * string/test-strcpy.c: Add wcscpy support.
52542 2011-12-10 Ulrich Drepper <drepper@gmail.com>
52544 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
52547 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
52550 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
52552 2011-12-04 Ulrich Drepper <drepper@gmail.com>
52554 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52555 Minor optimizations.
52557 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
52558 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
52559 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
52561 2011-12-03 Ulrich Drepper <drepper@gmail.com>
52563 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
52564 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
52565 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
52566 for gcc to avoid warnings.
52567 * inet/Makefile (tests): Add tst-checks.
52568 * inet/tst-checks.c: New file.
52570 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
52573 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
52576 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
52577 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
52579 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
52581 2011-12-02 Ulrich Drepper <drepper@gmail.com>
52583 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
52586 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
52588 2011-11-29 Joseph Myers <joseph@codesourcery.com>
52590 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
52591 conditional on GCC version.
52592 (__arch_compare_and_exchange_val_8_acq)
52593 (__arch_compare_and_exchange_val_16_acq)
52594 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
52595 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
52596 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
52598 2011-12-02 Joseph Myers <joseph@codesourcery.com>
52600 * sysdeps/sh/backtrace.c: New file.
52602 2011-12-02 Andreas Schwab <schwab@redhat.com>
52604 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
52607 2011-12-01 Andreas Schwab <schwab@redhat.com>
52609 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
52610 falling back to utime.
52612 2011-11-30 Andreas Schwab <schwab@redhat.com>
52614 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
52615 expectations for float.
52617 2011-11-29 Andreas Schwab <schwab@redhat.com>
52619 * locale/weight.h (findidx): Add parameter len.
52620 * locale/weightwc.h (findidx): Likewise.
52621 * posix/fnmatch_loop.c (FCT): Adjust caller.
52622 * posix/regcomp.c (build_equiv_class): Likewise.
52623 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
52624 * posix/regexec.c (check_node_accept_bytes): Likewise.
52625 * string/strcoll_l.c (STRCOLL): Likewise.
52626 * string/strxfrm_l.c (STRXFRM): Likewise.
52628 2011-11-17 Ulrich Drepper <drepper@gmail.com>
52630 * Makefile.in: Remove CVSOPT handling.
52631 * configure.in: Remove use of AC_REVISION.
52632 * iconvdata/Makefile (distribute): No need to filter out CVS.
52633 * scripts/list-sources.sh: Remove CVS, subversion and monotone
52636 2011-11-16 Andreas Schwab <schwab@redhat.com>
52638 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
52639 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
52640 [USE_AS_STRNCASECMP_L]: Likewise.
52641 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
52642 NO_TLS_DIRECT_SEG_REFS.
52643 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
52644 Fix argument offsets for non-PIC.
52645 [USE_AS_STRNCASECMP_L]: Likewise.
52646 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
52647 NO_TLS_DIRECT_SEG_REFS.
52649 2011-11-15 Ulrich Drepper <drepper@gmail.com>
52651 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
52653 * locale/loadlocale.c (_nl_load_locale): Likewise.
52655 2011-11-15 Andreas Schwab <schwab@redhat.com>
52657 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
52658 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
52659 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
52660 (SYSCALL_GETTIME): Set errno on error.
52662 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
52663 count references to noai6ai_cached.
52665 2011-11-15 Ulrich Drepper <drepper@gmail.com>
52667 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
52669 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
52670 FD_CLOEXEC for /proc/self/maps.
52672 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
52673 FD_CLOEXEC for /proc/meminfo.
52675 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
52678 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
52679 FD_CLOEXEC for given file.
52681 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
52683 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
52684 FD_CLOEXEC for /etc/hosts.
52685 (_gethtent): Likewise.
52687 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
52689 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
52690 cancellation and set FD_CLOEXEC for /etc/netgroup.
52692 * nss/nss_files/files-key.c (search): Don't allow cancellation when
52693 reading /etc/publickey.
52695 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
52696 allow cancellation when reading /etc/group.
52698 * nss/nss_files/files-alias.c (internal_setent): Don't allow
52700 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
52702 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
52703 when using data file.
52705 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
52707 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
52708 (write_nis_obj): Use "c" and "e" in fopen.
52710 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
52712 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
52714 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
52716 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
52718 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
52721 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
52723 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
52725 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
52727 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
52728 file parsing and set FD_CLOEXEC.
52730 2011-11-14 Ulrich Drepper <drepper@gmail.com>
52732 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
52734 2011-11-14 Andreas Schwab <schwab@redhat.com>
52736 * malloc/arena.c (arena_get2): Don't call reused_arena when
52737 _int_new_arena failed.
52739 2011-11-14 Ulrich Drepper <drepper@gmail.com>
52741 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
52742 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
52743 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
52744 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52745 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52746 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
52747 to compile strcasecmp and strncasecmp.
52748 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
52749 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
52751 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
52753 2011-11-13 Ulrich Drepper <drepper@gmail.com>
52755 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
52756 locale-defines.sym to gen-as-const-headers.
52757 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
52758 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
52759 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
52760 to compile strcasecmp and strncasecmp.
52761 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
52762 strcasecmp_l and strncasecmp_l.
52763 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
52764 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
52765 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
52766 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
52767 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
52768 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
52769 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
52770 * sysdeps/i386/i686/multiarch/strncase.S: New file.
52771 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
52772 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
52773 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
52775 2011-11-12 Ulrich Drepper <drepper@gmail.com>
52777 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
52778 result of SYSDEP_GETTIME_CPU to retval.
52779 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
52780 parameter list to macro. Remove trailing semicolon. Adjust users.
52782 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
52785 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
52787 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
52789 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
52790 from unused variable.
52792 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
52794 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
52797 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
52800 * sunrpc/rpc_prot.c (rejected): Fix case value.
52802 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
52803 unsigned long long int to avoid warnings in shift.
52805 * posix/regex_internal.c (re_string_reconstruct): Actually use result
52807 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
52810 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
52811 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
52812 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
52814 * nis/nis_table.c (nis_list): Use variable of correct type for
52815 result of __follow_path call.
52817 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52819 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
52820 of math functions ceil, trunc, floor, round, and sqrt, when
52821 avaliable on the platform.
52822 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
52824 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52825 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52826 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52828 2011-10-30 Marek Polacek <mpolacek@redhat.com>
52830 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
52831 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52833 2011-11-11 Roland McGrath <roland@hack.frob.com>
52835 * include/unistd.h: Fix __readlink return type.
52836 Reported by Chris Metcalf <cmetcalf@tilera.com>.
52838 2011-11-11 Ulrich Drepper <drepper@gmail.com>
52840 * stdlib/ucontext.h: Undo last change for makecontext.
52842 2011-11-11 Andreas Schwab <schwab@redhat.com>
52844 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
52846 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
52847 * setjmp/setjmp.h: Mark functions as non-leaf.
52848 * setjmp/bits/setjmp2.h: Likewise.
52849 * stdlib/ucontext.h: Likewise.
52851 2011-11-10 Andreas Schwab <schwab@redhat.com>
52853 * malloc/arena.c (_int_new_arena): Don't increment narenas.
52854 (reused_arena): Don't check arena limit.
52855 (arena_get2): Atomically check arena limit.
52857 2011-11-08 Ulrich Drepper <drepper@gmail.com>
52859 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
52860 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
52862 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
52865 2011-11-07 Andreas Schwab <schwab@redhat.com>
52867 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
52868 handler when locking.
52870 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52871 Fix size of allocated buffer.
52873 2011-11-04 Andreas Schwab <schwab@redhat.com>
52876 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
52877 declarations for long double functions.
52878 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
52880 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
52882 2011-11-03 Andreas Schwab <schwab@redhat.com>
52884 * nscd/nscd.c (main): Don't start AVC thread until credentials are
52887 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
52890 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
52892 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
52894 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
52896 * include/alloca.h (stackinfo_alloca_round): Define.
52897 (extend_alloca): Use it.
52898 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
52899 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
52902 * scripts/check-local-headers.sh: Ignore libaudit.h.
52904 * nscd/Makefile (extra-objs): Make recursively expanded.
52906 2011-11-01 Ulrich Drepper <drepper@gmail.com>
52908 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
52909 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52911 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
52912 * posix/tst-rfc3484-2.c: Likewise.
52913 * posix/tst-rfc3484-3.c: Likewise.
52915 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52917 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
52919 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
52920 process_vm_writev from libc using GLIBC_2.15 version.
52922 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
52924 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
52926 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
52929 2011-10-31 Ulrich Drepper <drepper@gmail.com>
52932 * nss/getent.c (initgroups_keys): Show error message in case no group
52935 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
52936 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
52937 __bump_nl_timestamp.
52938 * nscd/connections (nscd_init): When host database is served open
52939 netlink socket and request notification about configuration changes.
52940 (main_loop_poll): Track netlink file descriptor and bump timestamp
52941 in case data becomes available.
52942 (main_loop_epoll): Likewise.
52943 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
52944 (database_pers_head): Add extra_data fileds.
52945 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
52946 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
52947 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
52949 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
52950 in6ai data, call __free_in6ai.
52951 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
52952 Add -DHAVE_NETLINK.
52953 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
52954 interface information. Reuse previous data if netlink timestamp
52956 (__bump_nl_timestamp): New function.
52957 (__free_in6ai): New function.
52959 2011-10-30 Ulrich Drepper <drepper@gmail.com>
52961 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
52962 close_not_cancel_no_status here.
52963 (__check_pf): Reorganize code a bit to not call close twice if OOM.
52965 2011-10-29 Ulrich Drepper <drepper@gmail.com>
52968 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
52971 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
52972 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
52973 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
52975 2011-07-03 Andreas Jaeger <aj@suse.de>
52978 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52979 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52980 * math/libm-test.inc (sin_test): Add test case.
52982 2011-10-29 Ulrich Drepper <drepper@gmail.com>
52985 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52986 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52988 * elf/chroot_canon.c (chroot_canon): Cleanups.
52990 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52993 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52994 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52996 * string/test-strchr.c: Make usable for strchrnul testing.
52997 * string/test-strchrnul.c: New file.
52998 * string/Makefile (strop-tests): Add strchrnul.
53000 * po/it.po: Update from translation team.
53001 * po/es.po: Likewise.
53003 2011-10-28 Ulrich Drepper <drepper@gmail.com>
53005 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
53006 the three constants needed as parameters. Drop the others.
53007 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
53008 __m128i_strloadu_tolower.
53009 Create and initialize variable zero and use it in all the places
53010 where _mm_setzero_si128 was used.
53012 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
53013 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
53014 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
53015 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
53017 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
53018 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
53019 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
53020 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
53021 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
53022 __mpranred, __mptan.
53023 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
53024 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
53025 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
53026 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
53027 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
53028 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
53029 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
53030 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
53031 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
53033 2011-10-28 Andreas Schwab <schwab@redhat.com>
53035 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
53036 redefine if SHARED.
53037 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
53039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
53040 wide char related routines to wcsmbs subdir.
53042 2011-10-27 Andreas Schwab <schwab@redhat.com>
53045 * misc/sys/cdefs.h (__THROWNL): Define.
53046 * posix/unistd.h: Use __THREADNL instead of __THREAD
53047 for memory synchronization functions.
53049 2011-10-26 Roland McGrath <roland@hack.frob.com>
53052 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
53054 * manual/stdio.texi (Obstack Streams): Node removed.
53056 2011-10-26 Andreas Schwab <schwab@redhat.com>
53058 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
53059 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53060 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53062 * math/math_private.h (math_force_eval): Allow non-addressable
53064 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
53066 2011-10-25 Ulrich Drepper <drepper@gmail.com>
53068 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
53069 file is not needed.
53071 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
53072 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
53073 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53074 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53075 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53076 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53077 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53078 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
53080 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
53081 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
53082 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
53083 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
53084 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
53085 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
53086 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
53087 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
53088 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
53089 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
53090 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
53091 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
53092 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
53093 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
53094 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
53095 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
53096 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
53097 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
53098 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
53100 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
53101 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
53103 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
53104 place. Use VEX encoding when compiling for AVX.
53106 2011-10-25 Andreas Schwab <schwab@redhat.com>
53108 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
53109 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
53111 * string/test-strchr.c (do_test): Don't generate NUL bytes.
53113 2011-10-25 Ulrich Drepper <drepper@gmail.com>
53115 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
53116 useless if() expression.
53117 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53118 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53119 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53120 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53121 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53122 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53123 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53124 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53125 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53126 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53127 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53128 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53129 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53130 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53131 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53132 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53133 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53134 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53135 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53137 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
53139 2011-10-25 Andreas Schwab <schwab@redhat.com>
53141 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
53143 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53145 2011-10-25 Ulrich Drepper <drepper@gmail.com>
53147 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
53148 .text section. Avoid duplicate constants.
53149 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53150 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53151 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53152 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53153 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53154 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53155 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53156 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53157 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53158 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
53159 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53160 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53161 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
53162 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
53163 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
53164 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
53165 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
53166 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53167 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53168 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53169 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53170 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53171 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53172 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
53173 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
53174 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
53175 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
53176 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
53177 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
53178 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
53179 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
53180 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
53181 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53182 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
53183 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
53184 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
53185 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
53186 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
53187 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
53188 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
53189 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
53190 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
53191 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
53192 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
53193 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
53195 2011-10-24 Ulrich Drepper <drepper@gmail.com>
53197 * sysdeps/x86_64/dla.h: Move to ...
53198 * sysdeps/x86_64/fpu/dla.h: ...here.
53199 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
53200 situations. Use __builtin_fma only for gcc 4.6 and up.
53202 * config.make.in: Add have-mfma4 entry.
53203 * configure.in: Substitute libc_cv_cc_fma4.
53204 * math/Makefile (dbl-only-routines): Add sincostab.
53205 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
53206 Use __sincostab not sincos.
53207 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
53209 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53210 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53211 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53212 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
53214 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
53215 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
53216 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
53217 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
53219 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
53220 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
53222 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
53223 define aliases when function name is a macro.
53224 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
53225 sysdeps/ieee754/dbl-64/sincos.tbl.
53226 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
53227 fma4-enabled routines.
53228 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
53229 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
53230 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
53231 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
53232 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
53233 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
53234 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
53235 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
53236 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
53237 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
53238 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
53239 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
53240 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
53241 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
53242 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
53243 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
53244 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
53245 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
53246 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
53247 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
53248 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
53249 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
53250 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
53251 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
53252 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
53253 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
53254 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
53255 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
53256 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
53257 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
53259 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
53261 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53262 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53263 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53264 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53265 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53266 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53267 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53268 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53270 2011-10-24 Andreas Schwab <schwab@redhat.com>
53272 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
53274 2011-10-23 Ulrich Drepper <drepper@gmail.com>
53276 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
53278 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
53280 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
53282 * string/strnlen.c: Don't define STRNLEN, reverse logic.
53283 Remove unused variable magic_bits.
53284 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
53286 * string/strnlen.c: Define and use STRNLEN macro.
53287 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
53288 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
53289 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
53290 * wcsmbs/wcslen.c: Define and use WCSLEN.
53291 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
53292 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
53293 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
53294 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
53295 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
53296 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
53297 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53299 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53302 strnlen-sse2-no-bsf.
53303 Rename strlen-no-bsf to strlen-sse2-no-bsf.
53304 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
53305 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
53306 Add strnlen support.
53307 (USE_AS_STRNLEN): New macro.
53308 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
53309 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
53310 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
53311 * sysdeps/x86_64/wcslen.S: New file.
53313 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
53315 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53316 XMM-moves are used for copying on small sizes.
53318 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53320 * wcsmbs/Makefile (strop-tests): Add wcschr.
53321 * wcsmbs/test-wcschr.c: New file.
53322 * string/test-strchr.c: Update.
53323 Add wcschr support.
53326 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53328 * wcsmbs/Makefile (strop-tests): Add wcslen.
53329 * wcsmbs/test-wcslen.c: New file.
53330 * string/test-strlen.c: Update.
53331 Add wcslen support.
53334 2011-10-23 Ulrich Drepper <drepper@gmail.com>
53336 * po/it.po: Update from translation team.
53338 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53340 * sysdeps/x86_64/wcscmp.S: Update.
53341 Fix wrong comparison semantics.
53342 wcscmp shall use signed comparison not unsigned.
53343 Don't use substraction to avoid overflow bug.
53344 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
53345 * wcsmbc/wcscmp.c: Likewise.
53346 * string/test-strcmp.c: Likewise.
53347 Add new tests to check cases with negative values.
53349 2011-10-23 Ulrich Drepper <drepper@gmail.com>
53351 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
53352 * sysdeps/x86_64/dla.h: ...here. New file.
53353 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
53354 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53355 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53356 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53357 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53358 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53359 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53360 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53361 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53363 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
53365 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
53366 __ynl_finite aliases.
53368 2011-10-22 Ulrich Drepper <drepper@gmail.com>
53370 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53372 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
53374 [DLA_FMA] (EMULV): Use DLA_FMA.
53375 [DLA_FMA] (MUL12): Use EMULV.
53376 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
53377 that are not needed.
53378 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53379 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53380 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53381 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53382 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53383 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53384 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53386 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
53388 * math/s_nan.c: Undef __nan.
53389 * math/s_nanf.c: Undef __nanf.
53390 * math/s_nanl.c: Undef __nanl.
53391 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
53394 2011-10-22 Ulrich Drepper <drepper@gmail.com>
53396 * math/s_catan.c: Add branch predictions.
53397 * math/s_catanf.c: Likewise.
53398 * math/s_catanh.c: Likewise.
53399 * math/s_catanhf.c: Likewise.
53400 * math/s_catanhl.c: Likewise.
53401 * math/s_catanl.c: Likewise.
53402 * math/s_cexp.c: Likewise.
53403 * math/s_cexpf.c: Likewise.
53404 * math/s_cexpl.c: Likewise.
53405 * math/s_clog.c: Likewise.
53406 * math/s_clog10.c: Likewise.
53407 * math/s_clog10f.c: Likewise.
53408 * math/s_clog10l.c: Likewise.
53409 * math/s_clogf.c: Likewise.
53410 * math/s_clogl.c: Likewise.
53411 * math/s_csqrt.c: Likewise.
53412 * math/s_csqrtf.c: Likewise.
53413 * math/s_csqrtl.c: Likewise.
53414 * math/s_ctanf.c: Likewise.
53415 * math/s_ctanh.c: Likewise.
53416 * math/s_ctanhf.c: Likewise.
53417 * math/s_ctanhl.c: Likewise.
53418 * math/s_ctanl.c: Likewise.
53420 * math/math_private.h: Define __nan, __nanf, __nanl.
53421 * math/s_cacosh.c: Include <math_private.h>.
53422 * math/s_cacoshl.c: Likewise.
53423 * math/s_casinh.c: Likewise.
53424 * math/s_casinhf.c: Likewise.
53425 * math/s_casinhl.c: Likewise.
53426 * math/s_ccos.c: Rely entire on ccosh.
53427 * math/s_ccosf.c: Rely entire on ccoshf.
53428 * math/s_ccosl.c: Rely entirely on ccoshl.
53429 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
53430 Remove tests for FE_INVALID.
53431 * math/s_ccoshf.c: Likewise.
53432 * math/s_ccoshl.c: Likewise.
53433 * math/s_csin.c: Likewise.
53434 * math/s_csinf.c: Likewise.
53435 * math/s_csinh.c Likewise.
53436 * math/s_csinhf.c: Likewise.
53437 * math/s_csinhl.c: Likewise.
53438 * math/s_csinl.c: Likewise.
53439 * math/s_ctan.c: Likewise.
53440 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
53441 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
53442 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
53444 2011-10-21 Ulrich Drepper <drepper@gmail.com>
53446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
53447 compilation problems.
53449 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
53452 2011-10-20 Ulrich Drepper <drepper@gmail.com>
53454 * sysdeps/i386/configure.in: Test for -mfma4 option.
53455 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
53456 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
53457 COMMON_CPUID_INDEX_80000001.
53458 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
53459 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
53460 use it if FMA3 is not supported.
53461 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
53463 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
53464 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53466 2011-10-20 Andreas Schwab <schwab@redhat.com>
53469 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
53470 it would create a cycle with a link time dependency.
53472 2011-10-19 Ulrich Drepper <drepper@gmail.com>
53474 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
53476 * string/Makefile (strop-tests): Add rawmemchr.
53477 * string/test-rawmemchr.c: New file.
53479 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
53480 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
53481 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
53482 when compiling str{,n}casecmp and when AVX is available. Hook up
53483 new optimized code in initializers.
53485 2011-10-19 Andreas Schwab <schwab@redhat.com>
53487 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
53488 __feraiseexcept instead of feraiseexcept.
53490 2011-10-18 Ulrich Drepper <drepper@gmail.com>
53492 * math/math_private.h: Define defaults for libc_fetestexcept and
53494 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
53495 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
53496 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53497 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
53498 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53499 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
53500 libc_fetestexcept and libc_feupdateenv.
53502 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
53503 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
53504 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
53505 * sysdeps/x86_64/fpu/math_private.h: Define special version of
53506 libc_feholdexcept_setround.
53508 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
53509 Add s_nearbyint-c and s_nearbyintf-c.
53510 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
53511 nearbyintf inlines.
53512 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
53513 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
53514 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
53515 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
53517 * math/math_private.h: Define defaults for libc_fegetround,
53518 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
53519 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
53520 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
53521 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
53522 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
53523 standard functions.
53524 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53525 Remove comments and hacks for old compiler versions.
53526 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
53527 libc_fegetround, libc_fesetround, libc_feholdexcept, and
53528 libc_feholdexceptl.
53530 2011-10-18 Andreas Schwab <schwab@redhat.com>
53532 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
53533 (__feraiseexcept_renamed): Add __NTH.
53534 (feraiseexcept): Add __NTH. Rename local variables to fix
53535 namespace violations.
53537 2011-10-17 Ulrich Drepper <drepper@gmail.com>
53539 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
53541 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
53543 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
53544 recently added interfaces.
53545 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
53547 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
53548 about macro parameter expansion.
53550 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
53551 __NO_MATH_INLINES is defined. Cleanups.
53553 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
53554 and __floorf is target has SSE4.1.
53555 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
53556 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
53557 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
53558 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
53560 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
53562 (floorf): Likewise.
53564 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
53566 2011-10-17 Andreas Schwab <schwab@redhat.com>
53568 * misc/sys/cdefs.h: Fix last change.
53570 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
53573 2011-10-16 Ulrich Drepper <drepper@gmail.com>
53575 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
53577 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
53578 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53579 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53580 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53581 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53582 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53583 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53584 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53585 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53586 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
53587 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
53588 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
53589 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
53590 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
53591 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
53592 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
53593 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
53594 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
53595 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
53596 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
53597 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
53598 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
53600 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
53601 ceil, ceilf, floor, floorf.
53603 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
53604 Perform IRELATIVE relocations last.
53606 * elf/do-rel.h: Add another parameter nrelative, replacing the
53607 local variable with the same name. Change name of the function
53608 to end in Rel or Rela (uppercase).
53609 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
53610 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
53611 elf_dynamic_do_##reloc function.
53613 2011-10-15 Ulrich Drepper <drepper@gmail.com>
53615 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
53616 is sufficient, at least on modern CPUs.
53618 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
53620 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
53621 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
53623 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
53625 * math/bits/math-finite.h: Add entries for exp.
53626 * math/e_expl.c: Add __*_finite alias.
53627 * sysdeps/i386/fpu/e_exp.S: Likewise.
53628 * sysdeps/i386/fpu/e_expf.S: Likewise.
53629 * sysdeps/i386/fpu/e_expl.c: Likewise.
53630 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53631 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
53632 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53633 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53634 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
53635 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53636 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53638 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
53639 is sufficient, at least on modern CPUs.
53641 * ctype/ctype-info.c (__ctype_init): Define.
53642 * include/ctype.h (__ctype_init): Declare.
53643 (__ctype_b_loc): The variable is always initialized.
53644 (__ctype_toupper_loc): Likewise.
53645 (__ctype_tolower_loc): Likewise.
53646 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
53647 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
53649 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
53651 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
53653 * configure.in: Also look in $cxxmachine/include for C++ system
53656 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53658 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
53659 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
53660 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
53661 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
53662 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
53663 (USE_AS_WMEMCMP): New macro.
53665 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
53666 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
53667 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
53668 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
53669 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53670 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
53671 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
53672 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
53673 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
53674 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
53675 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
53676 (USE_AS_WMEMCMP): New macro.
53677 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
53678 * sysdeps/string/test-memcmp.c: Update.
53679 Fix simple_wmemcmp.
53681 * wcsmbs/wmemcmp.c: Update.
53682 (WMEMCMP): New macro.
53685 2011-10-12 Andreas Jaeger <aj@suse.de>
53688 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
53690 2011-10-15 Ulrich Drepper <drepper@gmail.com>
53692 * libio/iofwide.c (do_length): Avoid warning.
53694 * ctype/ctype.h (__isctype_f): Add missing __THROW.
53696 2011-10-14 Ulrich Drepper <drepper@gmail.com>
53698 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
53700 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
53701 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
53702 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
53703 * sysdeps/i386/i686/fpu/e_log.S: New file.
53704 * sysdeps/i386/i686/fpu/e_logf.S: New file.
53705 * sysdeps/i386/i686/fpu/e_logl.S: New file.
53707 * ctype/ctype.h: Add support for inlined isXXX functions when
53708 compiling C++ code.
53710 2011-10-14 Andreas Schwab <schwab@redhat.com>
53712 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53714 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
53716 2011-10-13 Roland McGrath <roland@hack.frob.com>
53719 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
53721 2011-10-13 Andreas Schwab <schwab@redhat.com>
53723 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
53724 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
53727 * sysdeps/x86_64/memrchr.S: Check for zero size.
53729 * string/stratcliff.c: Add memrchr tests.
53731 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53733 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53734 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
53735 rawmemchr-sse2 rawmemchr-sse2-bsf.
53736 * sysdeps/i386/i686/multiarch/memchr.S: New file.
53737 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
53738 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
53739 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
53740 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
53741 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
53742 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
53743 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
53744 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
53745 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
53746 * string/memrchr.c (MEMRCHR): New macro.
53748 2011-10-12 Ulrich Drepper <drepper@gmail.com>
53750 Add integration with gcc's -ffinite-math-only and optimize wrapper
53752 * Versions.def: Define GLIBC_2.15 version for libm.
53753 * math/Makefile (headers): Add bits/math-finite.h.
53754 * math/bits/math-finite.h: New file.
53755 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
53756 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
53757 * math/e_acoshl.c: Add __*_finite alias.
53758 * math/e_acosl.c: Likewise.
53759 * math/e_asinl.c: Likewise.
53760 * math/e_atan2l.c: Likewise.
53761 * math/e_atanhl.c: Likewise.
53762 * math/e_coshl.c: Likewise.
53763 * math/e_exp10.c: Likewise.
53764 * math/e_exp10f.c: Likewise.
53765 * math/e_exp10l.c: Likewise.
53766 * math/e_exp2l.c: Likewise.
53767 * math/e_fmodl.c: Likewise.
53768 * math/e_gammal_r.c: Likewise.
53769 * math/e_hypotl.c: Likewise.
53770 * math/e_j0l.c: Likewise.
53771 * math/e_j1l.c: Likewise.
53772 * math/e_jnl.c: Likewise.
53773 * math/e_lgammal_r.c: Likewise.
53774 * math/e_log10l.c: Likewise.
53775 * math/e_log2l.c: Likewise.
53776 * math/e_logl.c: Likewise.
53777 * math/e_powl.c: Likewise.
53778 * math/e_sinhl.c: Likewise.
53779 * math/e_sqrtl.c: Likewise.
53780 * math/e_scalb.c: Completely rewritten and optimized.
53781 * math/e_scalbf.c: Likewise.
53782 * math/e_scalbl.c: Likewise.
53783 * math/w_acos.c: Likewise.
53784 * math/w_acosf.c: Likewise.
53785 * math/w_acosl.c: Likewise.
53786 * math/w_acosh.c: Likewise.
53787 * math/w_acoshf.c: Likewise.
53788 * math/w_acoshl.c: Likewise.
53789 * math/w_asin.c: Likewise.
53790 * math/w_asinf.c: Likewise.
53791 * math/w_asinl.c: Likewise.
53792 * math/w_atan2.c: Likewise.
53793 * math/w_atan2f.c: Likewise.
53794 * math/w_atan2l.c: Likewise.
53795 * math/w_atanh.c: Likewise.
53796 * math/w_atanhf.c: Likewise.
53797 * math/w_atanhl.c: Likewise.
53798 * math/w_exp10.c: Likewise.
53799 * math/w_exp10f.c: Likewise.
53800 * math/w_exp10l.c: Likewise.
53801 * math/w_fmod.c: Likewise.
53802 * math/w_fmodf.c: Likewise.
53803 * math/w_fmodl.c: Likewise.
53804 * math/w_j0.c: Likewise.
53805 * math/w_j0f.c: Likewise.
53806 * math/w_j0l.c: Likewise.
53807 * math/w_j1.c: Likewise.
53808 * math/w_j1f.c: Likewise.
53809 * math/w_j1l.c: Likewise.
53810 * math/w_jn.c: Likewise.
53811 * math/w_jnf.c: Likewise.
53812 * math/w_log.c: Likewise.
53813 * math/w_logf.c: Likewise.
53814 * math/w_logl.c: Likewise.
53815 * math/w_log10.c: Likewise.
53816 * math/w_log10f.c: Likewise.
53817 * math/w_log10l.c: Likewise.
53818 * math/w_log2.c: Likewise.
53819 * math/w_log2f.c: Likewise.
53820 * math/w_log2l.c: Likewise.
53821 * math/w_pow.c: Likewise.
53822 * math/w_powf.c: Likewise.
53823 * math/w_powl.c: Likewise.
53824 * math/w_remainder.c: Likewise.
53825 * math/w_remainderf.c: Likewise.
53826 * math/w_remainderl.c: Likewise.
53827 * math/w_scalb.c: Likewise.
53828 * math/w_scalbf.c: Likewise.
53829 * math/w_scalbl.c: Likewise.
53830 * math/w_sqrt.c: Likewise.
53831 * math/w_sqrtf.c: Likewise.
53832 * math/w_sqrtl.c: Likewise.
53833 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
53834 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
53836 * math/math_private.h: Declare __kernel_standard_f.
53837 * math/w_cosh.c: Remove cruft and optimize a bit.
53838 * math/w_coshf.c: Likewise.
53839 * math/w_coshl.c: Likewise.
53840 * math/w_exp2.c: Likewise.
53841 * math/w_exp2f.c: Likewise.
53842 * math/w_exp2l.c: Likewise.
53843 * math/w_hypot.c: Likewise.
53844 * math/w_hypotf.c: Likewise.
53845 * math/w_hypotl.c: Likewise.
53846 * math/w_lgamma.c: Likewise.
53847 * math/w_lgamma_r.c: Likewise.
53848 * math/w_lgammaf.c: Likewise.
53849 * math/w_lgammaf_r.c: Likewise.
53850 * math/w_lgammal.c: Likewise.
53851 * math/w_lgammal_r.c: Likewise.
53852 * math/w_sinh.c: Likewise.
53853 * math/w_sinhf.c: Likewise.
53854 * math/w_sinhl.c: Likewise.
53855 * math/w_tgamma.c: Likewise.
53856 * math/w_tgammaf.c: Likewise.
53857 * math/w_tgammal.c: Likewise.
53858 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53859 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53860 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
53861 Minor optimizations. Pretty printing. Remove cruft.
53862 * sysdeps/i386/fpu/e_acosf.S: Likewise.
53863 * sysdeps/i386/fpu/e_acosh.S: Likewise.
53864 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53865 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53866 * sysdeps/i386/fpu/e_acosl.c: Likewise.
53867 * sysdeps/i386/fpu/e_asin.S: Likewise.
53868 * sysdeps/i386/fpu/e_asinf.S: Likewise.
53869 * sysdeps/i386/fpu/e_atan2.S: Likewise.
53870 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
53871 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
53872 * sysdeps/i386/fpu/e_atanh.S: Likewise.
53873 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53874 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53875 * sysdeps/i386/fpu/e_exp10.S: Likewise.
53876 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
53877 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
53878 * sysdeps/i386/fpu/e_exp2.S: Likewise.
53879 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
53880 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
53881 * sysdeps/i386/fpu/e_fmod.S: Likewise.
53882 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
53883 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
53884 * sysdeps/i386/fpu/e_hypot.S: Likewise.
53885 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
53886 * sysdeps/i386/fpu/e_log.S: Likewise.
53887 * sysdeps/i386/fpu/e_log10.S: Likewise.
53888 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53889 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53890 * sysdeps/i386/fpu/e_log2.S: Likewise.
53891 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53892 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53893 * sysdeps/i386/fpu/e_logf.S: Likewise.
53894 * sysdeps/i386/fpu/e_logl.S: Likewise.
53895 * sysdeps/i386/fpu/e_pow.S: Likewise.
53896 * sysdeps/i386/fpu/e_powf.S: Likewise.
53897 * sysdeps/i386/fpu/e_powl.S: Likewise.
53898 * sysdeps/i386/fpu/e_remainder.S: Likewise.
53899 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
53900 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
53901 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53902 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53903 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53904 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
53905 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
53906 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
53907 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53908 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53909 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53910 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53911 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53912 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53913 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53914 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53915 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53916 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53917 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53918 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53919 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53920 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53921 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53922 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53923 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53924 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53925 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53926 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53927 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53928 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53929 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53930 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53931 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53932 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53933 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53934 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53935 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
53936 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53937 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53938 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53939 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53940 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53941 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53942 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53943 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53944 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53945 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53946 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53947 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53948 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53949 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53950 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53951 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53952 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53953 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53954 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53955 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53956 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
53957 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53958 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53959 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53960 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53961 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53962 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53963 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53964 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53965 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53966 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53967 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53968 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53969 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53970 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53971 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53972 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53973 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53974 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53975 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
53976 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53977 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53978 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53979 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53980 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53981 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53982 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53983 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53984 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53985 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53986 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53987 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53988 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53989 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53990 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53991 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53992 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53993 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53994 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53995 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53996 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53997 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53998 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53999 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54000 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
54001 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54002 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54003 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54004 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
54005 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
54006 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
54007 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
54008 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
54009 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
54010 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
54011 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54012 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54013 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54014 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54015 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
54016 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54017 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
54018 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
54019 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
54020 (__isnanf): Likewise.
54021 (__isinf_ns): Likewise.
54022 (__isinf_nsf): Likewise.
54023 (__finite): Likewise.
54024 (__finitef): Likewise.
54025 (__ieee754_sqrt): Define as macro.
54026 (__ieee754_sqrtf): Define as macro.
54027 (__ieee754_sqrtl): Define as macro.
54028 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
54030 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
54031 __FINITE_MATH_ONLY__ consistent.
54032 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
54034 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
54036 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
54039 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
54041 2011-10-09 Ulrich Drepper <drepper@gmail.com>
54043 * po/ja.po: Update from translation team.
54045 2011-10-08 Roland McGrath <roland@hack.frob.com>
54047 * locale/programs/locarchive.c (prepare_address_space): New function.
54048 (create_archive, enlarge_archive, open_archive): Use it.
54050 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
54051 inside [SHARED], where it is used.
54053 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
54055 * nss/getent.c (netgroup_keys): Remove unused variable.
54056 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54058 2011-10-08 Ulrich Drepper <drepper@gmail.com>
54060 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
54061 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
54062 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
54063 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
54064 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
54065 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
54066 * math/Makefile (libm-calls): Add s_isinf_ns.
54067 * math/divtc3.c: Use __isinf_nsl instead of isinf.
54068 * math/multc3.c: Likewise.
54069 * math/s_casin.c: Likewise.
54070 * math/s_casinf.c: Likewise.
54071 * math/s_casinl.c: Likewise.
54072 * math/s_ccos.c: Likewise.
54073 * math/s_ccosf.c: Likewise.
54074 * math/s_ccosl.c: Likewise.
54075 * math/s_ctan.c: Likewise.
54076 * math/s_ctanf.c: Likewise.
54077 * math/s_ctanh.c: Likewise.
54078 * math/s_ctanhf.c: Likewise.
54079 * math/s_ctanhl.c: Likewise.
54080 * math/s_ctanl.c: Likewise.
54081 * math/w_fmod.c: Likewise.
54082 * math/w_fmodf.c: Likewise.
54083 * math/w_fmodl.c: Likewise.
54084 * math/w_remainder.c: Likewise.
54085 * math/w_remainderf.c: Likewise.
54086 * math/w_remainderl.c: Likewise.
54087 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
54088 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
54089 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
54090 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
54091 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
54092 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
54093 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
54094 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
54096 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
54098 * stdio-common/printf_fphex.c: Likewise.
54099 * stdio-common/printf_size.c: Likewise.
54101 * math/e_exp10.c: Include math_private.h using <...> not "...".
54102 * math/e_exp10f.c: Likewise.
54103 * math/e_exp10l.c: Likewise.
54104 * math/e_exp2l.c: Likewise.
54105 * math/e_j0l.c: Likewise.
54106 * math/e_j1l.c: Likewise.
54107 * math/e_jnl.c: Likewise.
54108 * math/e_lgammal_r.c: Likewise.
54109 * math/e_rem_pio2l.c: Likewise.
54110 * math/e_scalb.c: Likewise.
54111 * math/e_scalbf.c: Likewise.
54112 * math/e_scalbl.c: Likewise.
54113 * math/k_cosl.c: Likewise.
54114 * math/k_sinl.c: Likewise.
54115 * math/k_tanl.c: Likewise.
54116 * math/s_cacoshf.c: Likewise.
54117 * math/s_catan.c: Likewise.
54118 * math/s_catanf.c: Likewise.
54119 * math/s_catanh.c: Likewise.
54120 * math/s_catanhf.c: Likewise.
54121 * math/s_catanhl.c: Likewise.
54122 * math/s_catanl.c: Likewise.
54123 * math/s_ccosh.c: Likewise.
54124 * math/s_ccoshf.c: Likewise.
54125 * math/s_ccoshl.c: Likewise.
54126 * math/s_cexp.c: Likewise.
54127 * math/s_cexpf.c: Likewise.
54128 * math/s_cexpl.c: Likewise.
54129 * math/s_clog.c: Likewise.
54130 * math/s_clog10.c: Likewise.
54131 * math/s_clog10f.c: Likewise.
54132 * math/s_clog10l.c: Likewise.
54133 * math/s_clogf.c: Likewise.
54134 * math/s_clogl.c: Likewise.
54135 * math/s_csin.c: Likewise.
54136 * math/s_csinf.c: Likewise.
54137 * math/s_csinh.c: Likewise.
54138 * math/s_csinhf.c: Likewise.
54139 * math/s_csinhl.c: Likewise.
54140 * math/s_csinl.c: Likewise.
54141 * math/s_csqrt.c: Likewise.
54142 * math/s_csqrtf.c: Likewise.
54143 * math/s_csqrtl.c: Likewise.
54144 * math/s_ctan.c: Likewise.
54145 * math/s_ctanf.c: Likewise.
54146 * math/s_ctanh.c: Likewise.
54147 * math/s_ctanhf.c: Likewise.
54148 * math/s_ctanhl.c: Likewise.
54149 * math/s_ctanl.c: Likewise.
54150 * math/s_ldexp.c: Likewise.
54151 * math/s_ldexpf.c: Likewise.
54152 * math/s_ldexpl.c: Likewise.
54153 * math/s_significand.c: Likewise.
54154 * math/s_significandf.c: Likewise.
54155 * math/s_significandl.c: Likewise.
54156 * math/w_acos.c: Likewise.
54157 * math/w_acosf.c: Likewise.
54158 * math/w_acosh.c: Likewise.
54159 * math/w_acoshf.c: Likewise.
54160 * math/w_acoshl.c: Likewise.
54161 * math/w_acosl.c: Likewise.
54162 * math/w_asin.c: Likewise.
54163 * math/w_asinf.c: Likewise.
54164 * math/w_asinl.c: Likewise.
54165 * math/w_atan2.c: Likewise.
54166 * math/w_atan2f.c: Likewise.
54167 * math/w_atan2l.c: Likewise.
54168 * math/w_atanh.c: Likewise.
54169 * math/w_atanhf.c: Likewise.
54170 * math/w_atanhl.c: Likewise.
54171 * math/w_cosh.c: Likewise.
54172 * math/w_coshf.c: Likewise.
54173 * math/w_coshl.c: Likewise.
54174 * math/w_dremf.c: Likewise.
54175 * math/w_exp10.c: Likewise.
54176 * math/w_exp10f.c: Likewise.
54177 * math/w_exp10l.c: Likewise.
54178 * math/w_exp2.c: Likewise.
54179 * math/w_exp2f.c: Likewise.
54180 * math/w_fmod.c: Likewise.
54181 * math/w_fmodf.c: Likewise.
54182 * math/w_fmodl.c: Likewise.
54183 * math/w_hypot.c: Likewise.
54184 * math/w_hypotf.c: Likewise.
54185 * math/w_hypotl.c: Likewise.
54186 * math/w_j0.c: Likewise.
54187 * math/w_j0f.c: Likewise.
54188 * math/w_j0l.c: Likewise.
54189 * math/w_j1.c: Likewise.
54190 * math/w_j1f.c: Likewise.
54191 * math/w_j1l.c: Likewise.
54192 * math/w_jn.c: Likewise.
54193 * math/w_jnf.c: Likewise.
54194 * math/w_jnl.c: Likewise.
54195 * math/w_lgamma.c: Likewise.
54196 * math/w_lgamma_r.c: Likewise.
54197 * math/w_lgammaf.c: Likewise.
54198 * math/w_lgammaf_r.c: Likewise.
54199 * math/w_lgammal.c: Likewise.
54200 * math/w_lgammal_r.c: Likewise.
54201 * math/w_log.c: Likewise.
54202 * math/w_log10.c: Likewise.
54203 * math/w_log10f.c: Likewise.
54204 * math/w_log10l.c: Likewise.
54205 * math/w_log2.c: Likewise.
54206 * math/w_log2f.c: Likewise.
54207 * math/w_log2l.c: Likewise.
54208 * math/w_logf.c: Likewise.
54209 * math/w_logl.c: Likewise.
54210 * math/w_pow.c: Likewise.
54211 * math/w_powf.c: Likewise.
54212 * math/w_powl.c: Likewise.
54213 * math/w_remainder.c: Likewise.
54214 * math/w_remainderf.c: Likewise.
54215 * math/w_remainderl.c: Likewise.
54216 * math/w_scalb.c: Likewise.
54217 * math/w_scalbf.c: Likewise.
54218 * math/w_scalbl.c: Likewise.
54219 * math/w_sinh.c: Likewise.
54220 * math/w_sinhf.c: Likewise.
54221 * math/w_sinhl.c: Likewise.
54222 * math/w_sqrt.c: Likewise.
54223 * math/w_sqrtf.c: Likewise.
54224 * math/w_sqrtl.c: Likewise.
54225 * math/w_tgamma.c: Likewise.
54226 * math/w_tgammaf.c: Likewise.
54227 * math/w_tgammal.c: Likewise.
54229 * po/ja.po: Update from translation team.
54231 2011-09-29 Andreas Jaeger <aj@suse.de>
54234 * sunrpc/netname.c (netname2host): Fix logic.
54238 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
54240 * math/w_remainder.c (__remainder): Likewise.
54241 * math/w_remainderf.c (__remainderf): Likewise.
54242 * math/libm-test.inc (remainder_test): Add test cases.
54244 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54246 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
54249 2011-10-07 Ulrich Drepper <drepper@gmail.com>
54251 * string/test-memcmp.c: Avoid unncessary #defines.
54252 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54254 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54256 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
54257 Use new sse2 version for core i3 - i7 as it's faster
54258 than sse42 version.
54259 (bit_Prefer_PMINUB_for_stringop): New.
54260 * sysdeps/x86_64/rawmemchr.S: Update.
54261 Replace with faster SSE2 version.
54262 * sysdeps/x86_64/memrchr.S: New file.
54263 * sysdeps/x86_64/memchr.S: Update.
54264 Replace with faster SSE2 version.
54266 2011-09-12 Marek Polacek <mpolacek@redhat.com>
54268 * elf/dl-load.c (lose): Add cast to avoid warning.
54270 2011-10-07 Ulrich Drepper <drepper@gmail.com>
54272 * po/ca.po: Update from translation team.
54274 * inet/getnetgrent_r.c: Hook up nscd.
54275 * nscd/Makefile (routines): Add nscd_netgroup.
54276 (nscd-modules): Add netgroupcache.
54277 (CFLAGS-netgroupcache.c): Define.
54278 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
54279 (cache_search): Add const to second parameter.
54280 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
54282 (dbs): Add netgrdb entry.
54283 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
54284 (verify_persistent_db): Handle netgrdb.
54285 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
54286 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
54288 (netgroup_response_header): Define.
54289 (innetgroup_response_header): Define.
54290 (datahead): Add netgroup_response_header and innetgroup_response_header
54292 * nscd/nscd.conf: Add entries for netgroup cache.
54293 * nscd/nscd.h (dbtype): Add netgrdb.
54294 (_PATH_NSCD_NETGROUP_DB): Define.
54295 (netgroup_iov_disabled): Declare.
54296 (xmalloc, xcalloc, xrealloc): Move declarations here.
54297 (cache_search): Adjust prototype.
54298 Add netgroup-related prototypes.
54299 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
54300 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
54301 (__nscd_innetgr): Declare.
54302 * nscd/selinux.c (perms): Use access_vector_t as element type and
54303 add netgroup-related initializers.
54304 * nscd/netgroupcache.c: New file.
54305 * nscd/nscd_netgroup.c: New file.
54306 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
54307 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
54308 For four parameters use innetgr.
54309 * nss/nss_files/files-init.c: Add definition and callback for netgr.
54310 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
54311 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
54312 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
54314 * nscd/connections.c (register_traced_file): Don't register file
54315 for disabled databases.
54317 2011-10-06 Ulrich Drepper <drepper@gmail.com>
54319 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
54321 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
54322 from tree and freeing node.
54324 2011-09-25 Jiri Olsa <jolsa@redhat.com>
54326 * nss/nsswitch.c (__nss_database_lookup): Handle
54327 nss_parse_service_list out of memory case.
54329 2011-09-15 Jiri Olsa <jolsa@redhat.com>
54331 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
54332 out of memory case.
54334 2011-10-04 Andreas Schwab <schwab@redhat.com>
54336 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
54337 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
54339 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
54340 elf_machine_rela, elf_machine_lazy_rel.
54341 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
54342 (ELF_DYNAMIC_DO_REL): Likewise.
54343 (ELF_DYNAMIC_DO_RELA): Likewise.
54344 (ELF_DYNAMIC_RELOCATE): Likewise.
54345 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
54346 to ELF_DYNAMIC_DO_REL.
54347 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
54348 (dl_main): In trace mode always set __RTLD_NOIFUNC.
54349 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
54351 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
54352 skip_ifunc, don't call ifunc function if non-zero.
54353 (elf_machine_rela): Likewise.
54354 (elf_machine_lazy_rel): Likewise.
54355 (elf_machine_lazy_rela): Likewise.
54356 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
54357 (elf_machine_lazy_rel): Likewise.
54358 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
54360 (elf_machine_lazy_rel): Likewise.
54361 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54363 (elf_machine_lazy_rel): Likewise.
54364 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
54365 (elf_machine_lazy_rel): Likewise.
54366 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
54367 (elf_machine_lazy_rel): Likewise.
54368 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54369 (elf_machine_lazy_rel): Likewise.
54370 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
54371 (elf_machine_lazy_rel): Likewise.
54372 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
54373 (elf_machine_lazy_rel): Likewise.
54374 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
54375 (elf_machine_lazy_rel): Likewise.
54377 2011-09-28 Ulrich Drepper <drepper@gmail.com>
54379 * nss/nss_files/files-init.c (_nss_files_init): Use static
54380 initialization for all the *_traced_file variables.
54382 2011-09-28 Andreas Schwab <schwab@redhat.com>
54384 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54386 2011-09-27 Roland McGrath <roland@hack.frob.com>
54389 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
54391 2011-09-27 Andreas Schwab <schwab@redhat.com>
54393 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54394 Reread the line before reparsing it.
54396 2011-09-26 Andreas Schwab <schwab@redhat.com>
54398 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
54400 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
54401 Maxim Kuvyrkov <maxim@codesourcery.com>
54402 Joseph Myers <joseph@codesourcery.com>
54404 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
54405 if needed for __stack_chk_guard.
54407 2011-09-19 Roland McGrath <roland@hack.frob.com>
54409 * sysdeps/posix/spawni.c (script_execute): Always define it.
54410 It will be optimized away if unused.
54411 (maybe_script_execute): New function.
54412 (__spawni): Call it.
54414 * Makerules: Don't include tls.make.
54415 (config-tls): Always set to thread.
54416 * tls.make.c: File removed.
54418 2011-09-19 Mike Frysinger <vapier@gentoo.org>
54420 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
54421 * config.make.in (CPPFLAGS-config): New substituted variable.
54423 2011-09-15 Ulrich Drepper <drepper@gmail.com>
54425 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
54428 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
54429 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
54431 2011-09-15 Roland McGrath <roland@hack.frob.com>
54433 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
54434 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
54435 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54436 (CALL_FAIL): Likewise.
54437 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
54438 (CALL_FAIL): Macro removed.
54439 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
54441 2011-09-15 Ulrich Drepper <drepper@gmail.com>
54443 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
54444 for __FINITE_MATH_ONLY__ == 1.
54446 2011-09-15 Andreas Schwab <schwab@redhat.com>
54448 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
54449 __ieee754_sqrt instead of sqrt.
54450 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
54451 __ieee754_sqrtf instead of sqrtf.
54452 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
54453 __floorf instead of floorf.
54454 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
54455 __floorf, __truncf instead of floorf, truncf.
54457 2011-09-14 Ulrich Drepper <drepper@gmail.com>
54459 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
54461 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
54462 __extern_always_inline.
54463 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
54466 2011-09-14 Andreas Schwab <schwab@redhat.com>
54468 * elf/rtld.c (dl_main): Also relocate in dependency order when
54469 doing symbol dependency testing.
54471 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
54473 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54474 Always define `refsym'.
54476 2011-09-13 Andreas Schwab <schwab@redhat.com>
54478 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
54479 (__FD_ELT): Renamed from __FDELT.
54480 * misc/bits/select2.h (__FD_ELT): Likewise.
54481 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
54482 __FD_MASK instead of __FDELT, __FDMASK.
54483 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
54485 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
54488 * elf/Makefile (gen-ldd): Fix pattern.
54490 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
54491 (init_tls): Likewise.
54493 2011-09-12 Ulrich Drepper <drepper@gmail.com>
54495 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
54497 2011-09-12 Andreas Schwab <schwab@redhat.com>
54499 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
54500 `struct cmsghdr *' instead of `void *'.
54501 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
54504 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
54506 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
54508 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
54509 ldd_rewrite_script.
54511 2011-09-11 Ulrich Drepper <drepper@gmail.com>
54513 * configure.in: Remove --with-tls option.
54514 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
54515 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
54516 out in case it is missing.
54517 * sysdeps/ia64/elf/configure.in: Likewise.
54518 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
54519 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
54520 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
54521 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
54522 * sysdeps/sh/elf/configure.in: Likewise.
54523 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
54524 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54525 * sysdeps/x86_64/elf/configure.in: Likewise.
54526 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
54527 * sysdeps/mach/hurd/tls.h: Likewise.
54530 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
54533 * configure.in: Fix use of AC_INIT.
54535 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
54537 2011-09-10 Ulrich Drepper <drepper@gmail.com>
54539 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
54541 * malloc/hooks.c: Likewise.
54544 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
54545 variables statically.
54546 (narenas): Initialize.
54547 (list_lock): Initialize.
54548 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
54549 initializtion of main_arena and list_lock. Small cleanups.
54550 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
54551 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
54552 Add initializers to main_arena and mp_.
54553 (malloc_state): Remove pagesize member. Change all users to use
54556 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
54557 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
54558 is always initialized.
54560 * malloc/malloc.c: Removed unused configurations and dead code.
54561 * malloc/arena.c: Likewise.
54562 * malloc/hooks.c: Likewise.
54563 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
54565 * include/tls.h: Removed. USE___THREAD must always be defined.
54566 * bits/libc-tsd.h: Don't handle !USE___THREAD.
54567 * elf/dl-libc.c: Likewise.
54568 * elf/dl-tsd.c: Likewise.
54569 * include/errno.h: Likewise.
54570 * include/netdb.h: Likewise.
54571 * include/resolv.h: Likewise.
54572 * inet/herrno-loc.c: Likewise.
54573 * inet/herrno.c: Likewise.
54574 * malloc/arena.c: Likewise.
54575 * malloc/hooks.c: Likewise.
54576 * malloc/malloc.c: Likewise.
54577 * resolv/res-state.c: Likewise.
54578 * resolv/res_libc.c: Likewise.
54579 * sysdeps/i386/dl-machine.h: Likewise.
54580 * sysdeps/ia64/dl-machine.h: Likewise.
54581 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
54582 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54583 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
54584 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
54585 * sysdeps/sh/dl-machine.h: Likewise.
54586 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54587 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54588 * sysdeps/unix/i386/sysdep.S: Likewise.
54589 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
54590 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
54591 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
54592 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
54593 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
54594 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
54595 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
54596 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54597 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54598 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
54599 * sysdeps/unix/x86_64/sysdep.S: Likewise.
54600 * sysdeps/x86_64/dl-machine.h: Likewise.
54601 * tls.make.c: Likewise.
54603 * configure.in: Remove --with-__thread option. Make tests for
54604 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
54605 tls_model attribute fail if no support is available. Remove
54607 * Makeconfig: Adjust for dropped configure option. All features are
54609 * Makerules: Likewise.
54610 * Versions.def: Likewise.
54611 * argp/argp-fmtstream.c: Likewise.
54612 * argp/argp-fmtstream.h: Likewise.
54613 * argp/argp-help.c: Likewise.
54614 * assert/assert.c: Likewise.
54615 * config.h.in: Likewise.
54616 * config.make.in: Likewise.
54617 * configure: Likewise.
54618 * configure.in: Likewise.
54619 * csu/Versions: Likewise.
54620 * csu/init.c: Likewise.
54621 * elf/tst-audit2.c: Likewise.
54622 * elf/tst-tls10.c: Likewise.
54623 * elf/tst-tls10.h: Likewise.
54624 * elf/tst-tls11.c: Likewise.
54625 * elf/tst-tls12.c: Likewise.
54626 * elf/tst-tls14.c: Likewise.
54627 * elf/tst-tlsmod11.c: Likewise.
54628 * elf/tst-tlsmod12.c: Likewise.
54629 * elf/tst-tlsmod13.c: Likewise.
54630 * elf/tst-tlsmod13a.c: Likewise.
54631 * elf/tst-tlsmod14a.c: Likewise.
54632 * elf/tst-tlsmod15b.c: Likewise.
54633 * elf/tst-tlsmod16a.c: Likewise.
54634 * elf/tst-tlsmod16b.c: Likewise.
54635 * elf/tst-tlsmod7.c: Likewise.
54636 * elf/tst-tlsmod8.c: Likewise.
54637 * elf/tst-tlsmod9.c: Likewise.
54638 * gmon/gmon.c: Likewise.
54639 * grp/fgetgrent_r.c: Likewise.
54640 * grp/putgrent.c: Likewise.
54641 * hurd/fopenport.c: Likewise.
54642 * include/libc-symbols.h: Likewise.
54643 * include/tls.h: Likewise.
54644 * intl/gettextP.h: Likewise.
54645 * intl/loadinfo.h: Likewise.
54646 * locale/global-locale.c: Likewise.
54647 * locale/localeinfo.h: Likewise.
54648 * mach/devstream.c: Likewise.
54649 * malloc/arena.c: Likewise.
54650 * malloc/set-freeres.c: Likewise.
54651 * misc/err.c: Likewise.
54652 * misc/getttyent.c: Likewise.
54653 * misc/mntent_r.c: Likewise.
54654 * posix/getopt.c: Likewise.
54655 * posix/wordexp.c: Likewise.
54656 * pwd/fgetpwent_r.c: Likewise.
54657 * resolv/Versions: Likewise.
54658 * resolv/res_hconf.c: Likewise.
54659 * shadow/fgetspent_r.c: Likewise.
54660 * shadow/putspent.c: Likewise.
54661 * stdio-common/printf_fphex.c: Likewise.
54662 * stdio-common/tmpfile.c: Likewise.
54663 * stdlib/abort.c: Likewise.
54664 * stdlib/fmtmsg.c: Likewise.
54665 * sunrpc/auth_unix.c: Likewise.
54666 * sunrpc/clnt_perr.c: Likewise.
54667 * sunrpc/clnt_tcp.c: Likewise.
54668 * sunrpc/clnt_udp.c: Likewise.
54669 * sunrpc/clnt_unix.c: Likewise.
54670 * sunrpc/openchild.c: Likewise.
54671 * sunrpc/svc_simple.c: Likewise.
54672 * sunrpc/svc_tcp.c: Likewise.
54673 * sunrpc/svc_udp.c: Likewise.
54674 * sunrpc/svc_unix.c: Likewise.
54675 * sunrpc/xdr.c: Likewise.
54676 * sunrpc/xdr_array.c: Likewise.
54677 * sunrpc/xdr_rec.c: Likewise.
54678 * sunrpc/xdr_ref.c: Likewise.
54679 * sunrpc/xdr_stdio.c: Likewise.
54681 2011-09-09 Ulrich Drepper <drepper@gmail.com>
54683 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54685 2011-07-03 Andreas Jaeger <aj@suse.de>
54687 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
54688 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
54689 regenerate with gen-libm-tests.pl.
54691 2010-05-12 Petr Baudis <pasky@suse.cz>
54694 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
54695 around j0() zero points by switching to j1().
54696 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54697 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54698 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54699 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54701 2011-09-09 Ulrich Drepper <drepper@gmail.com>
54703 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
54705 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
54707 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54708 Patch in part by Pavel Roskin <proski@gnu.org>.
54711 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
54713 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
54714 Free memory block if necessary.
54717 * libio/genops.c (INTDEF): For string streams the _lock pointer can
54718 be NULL. Don't lock in this case.
54720 2011-09-09 Roland McGrath <roland@hack.frob.com>
54722 * elf/elf.h (ELFOSABI_GNU): New macro.
54723 (ELFOSABI_LINUX): Define to that.
54725 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
54727 * string/strncat.c (strncat): Undef the symbol in case it has been
54728 defined in bits/string.h.
54730 2011-09-09 Ulrich Drepper <drepper@gmail.com>
54732 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
54734 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
54737 2011-08-17 Andreas Jaeger <aj@suse.de>
54739 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
54741 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
54742 Ian Lance Taylor <iant@google.com>
54744 * math/libm-test.inc (lround_test): New testcase.
54745 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
54747 2011-09-08 Ulrich Drepper <drepper@gmail.com>
54749 * Makefile: Remove support for automatic cvs check-ins.
54750 * Makerules: Likewise.
54751 * config.make.in: Likewise.
54752 * configure.in: Likewise.
54753 * intl/Makefile: Likewise.
54754 * locale/Makefile: Likewise.
54755 * po/Makefile: Likewise.
54756 * posix/Makefile: Likewise.
54757 * sysdeps/gnu/Makefile: Likewise.
54758 * sysdeps/mach/hurd/Makefile: Likewise.
54759 * sysdeps/sparc/sparc32/Makefile: Likewise.
54762 * posix/Makefile (bug-regex32-ENV): Define.
54763 Patch by John Stanley <jpsinthemix@verizon.net>.
54765 * misc/Makefile (headers): Add bits/select2.h.
54766 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
54767 * misc/bits/select2.h: New file.
54768 * include/bits/select2.h: New file.
54769 * debug/Makefile (routines): Add fdelt_chk.
54770 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
54771 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
54773 * debug/fdelt_chk.c: New file.
54775 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
54776 * wcsmbs/test-wmemcmp.c: Likewise.
54777 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
54778 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
54780 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54782 * string/Makefile (strop-tests): Add memcmp.
54783 * string/test-wmemcmp.c: New file.
54784 * string/test-memcmp.c: Add wmemcmp support.
54786 2011-09-08 Roland McGrath <roland@hack.frob.com>
54789 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
54792 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
54793 garbage value in a __mach_port_mod_refs call in the cases of the
54794 task-self and thread-self ports.
54796 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
54798 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
54800 2011-09-08 Andreas Schwab <schwab@redhat.com>
54802 * elf/dl-load.c (lose): Check for non-null L.
54804 2011-09-07 Ulrich Drepper <drepper@gmail.com>
54806 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
54808 * elf/dl-libc.c (dlerror_run): Pass back error code from
54812 * elf/dl-load.c (lose): Free l_origin if it is valid.
54814 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
54816 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
54817 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54818 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54819 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54820 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
54821 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
54823 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54825 * sysdeps/powerpc/fpu/e_hypot.c: New file.
54826 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
54827 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
54828 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
54829 * sysdeps/powerpc/fpu/k_cosf.c: New file.
54830 * sysdeps/powerpc/fpu/k_sinf.c: New file.
54831 * sysdeps/powerpc/fpu/s_cosf.c: New file.
54832 * sysdeps/powerpc/fpu/s_sinf.c: New file.
54833 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
54834 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
54836 2011-08-15 Alan Modra <amodra@gmail.com>
54839 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
54840 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
54841 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
54842 ppc_mcount to static-only-routines.
54843 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
54845 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
54846 __mcount_internal with usual JUMPTARGET. Remove useless nop.
54848 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
54850 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
54851 for finite and infinity parameters.
54853 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54855 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
54856 and add nop instructions for throughput optimization.
54857 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54859 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
54861 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
54862 aligned copy for power7 with vector-scalar instructions.
54863 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54865 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
54867 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
54870 2011-09-07 Andreas Schwab <schwab@redhat.com>
54873 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
54876 2011-09-07 Ulrich Drepper <drepper@gmail.com>
54878 * sysdeps/unix/sysv/linux/x86_64/init-first.c
54879 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
54880 syscall wrapper around clock_gettime in __vdso_clock_gettime.
54881 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
54884 2011-09-06 Ulrich Drepper <drepper@gmail.com>
54886 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
54887 Forgot to demangle the pointer.
54889 * sysdeps/i386/sysdep.h: Define atom_text_section.
54890 * sysdeps/x86_64/sysdep.h: Likewise.
54891 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
54892 section with atom_text_section.
54893 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54894 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54895 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
54896 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54897 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
54899 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
54900 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
54901 already be defined. Change to take two parameters and don't assign
54902 result to variable. Adjust all users.
54903 Define INTERNAL_GETTIME if not already defined.
54904 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
54906 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
54907 HAVE_CLOCK_GETTIME_VSYSCALL.
54908 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
54910 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
54911 gettimeofday vsyscall, just use time.
54913 2011-09-06 Andreas Schwab <schwab@redhat.com>
54915 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
54918 2011-09-06 Ulrich Drepper <drepper@gmail.com>
54920 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
54922 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
54924 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
54925 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
54926 syscall if possible.
54928 2011-09-05 Ulrich Drepper <drepper@gmail.com>
54930 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
54931 e_ident. Don't pass to find_mapsXX.
54932 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
54934 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54937 strchr-sse2-no-bsf strrchr-sse2-no-bsf
54938 * sysdeps/x86_64/multiarch/strchr.S: Update.
54939 Check bit_slow_BSF bit.
54940 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54941 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
54942 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
54944 2011-09-05 Ulrich Drepper <drepper@gmail.com>
54947 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
54949 (tryshell): Define.
54950 (__spawni): Change last parameter to be flag. Test
54951 SPAWN_XFLAGS_USE_PATH flag to use path or not.
54952 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
54953 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
54954 * posix/spawni.c: Likewise.
54955 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
54956 * posix/spawnp.c: Likewise. Change normal version to use
54957 SPAWN_XFLAGS_USE_PATH.
54958 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
54959 SPAWN_XFLAGS_TRY_SHELL.
54962 * posix/glob.h: Remove gcc 1.x support.
54965 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
54967 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54969 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54970 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
54972 * sysdeps/i386/i686/multiarch/strchr.S: New file.
54973 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
54974 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
54975 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
54976 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
54977 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
54979 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54981 * sysdeps/x86_64/wcscmp.S: New file.
54983 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54984 wcscmp-c wcscmp-sse2
54985 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54986 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54987 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54988 * wcsmbs/wcscmp.c: Allow renaming.
54990 2011-09-05 David S. Miller <davem@davemloft.net>
54992 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54993 stack slot, rather than the struct return pointer slot.
54994 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54995 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54997 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54999 2011-09-05 Ulrich Drepper <drepper@gmail.com>
55001 * po/ja.po: Update from translation team.
55004 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
55005 kernel in 64-bit binaries.
55007 2011-09-01 David S. Miller <davem@davemloft.net>
55009 * elf/elf.h (HWCAP_SPARC_*): Move to..
55010 * sysdeps/sparc/sysdep.h: this new file and add new values.
55011 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
55012 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
55013 _DL_HWCAP_COUNT to 24.
55014 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
55016 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
55017 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
55018 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
55019 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
55020 instead of magic constants.
55021 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55023 2011-08-31 David S. Miller <davem@davemloft.net>
55025 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
55026 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
55027 Reimplement to do errno handling inline.
55028 (SYSCALL_ERROR_HANDLER): New macro.
55029 (__SYSCALL_STRING): Do not do errno handling in asm.
55030 (__CLONE_SYSCALL_STRING): Delete.
55031 (__INTERNAL_SYSCALL_STRING): Delete.
55032 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
55033 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
55034 (PSEUDO): Reimplement to do errno handling inline.
55035 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
55036 (SYSCALL_ERROR_HANDLER): New macro.
55037 (__SYSCALL_STRING): Do not do errno handling in asm.
55038 (__CLONE_SYSCALL_STRING): Delete.
55039 (__INTERNAL_SYSCALL_STRING): Delete.
55040 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
55041 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
55043 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
55044 (inline_syscall*): Add 'err' argument.
55045 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
55046 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
55047 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
55048 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
55050 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
55051 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
55053 2011-08-30 Andreas Schwab <schwab@redhat.com>
55055 * elf/rtld.c (dl_main): Relocate objects in dependency order.
55057 2011-08-29 Jiri Olsa <jolsa@redhat.com>
55059 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
55062 2011-08-24 David S. Miller <davem@davemloft.net>
55064 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
55066 2011-08-24 Andreas Schwab <schwab@redhat.com>
55068 * elf/Makefile: Add rules to build and run unload8 test.
55069 * elf/unload8.c: New file.
55070 * elf/unload8mod1.c: New file.
55071 * elf/unload8mod1x.c: New file.
55072 * elf/unload8mod2.c: New file.
55073 * elf/unload8mod3.c: New file.
55075 * elf/dl-close.c (_dl_close_worker): Reset private search list if
55078 2011-08-23 David S. Miller <davem@davemloft.net>
55080 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
55081 subtract stack bias.
55082 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
55083 %sp not %fp in calculations.
55084 (_JMPBUF_UNWINDS_ADJ): Likewise.
55086 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
55087 (aio_suspend): Call it to force an exception region around the
55088 AIO_MISC_WAIT() invocation.
55090 2011-08-23 Andreas Schwab <schwab@redhat.com>
55092 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
55095 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
55097 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
55099 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
55100 and <dl-machine.h>.
55101 (Elf64_FuncDesc): Remove.
55103 2011-08-22 David S. Miller <davem@davemloft.net>
55105 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
55106 sigaltstack check, add missing cfi directives.
55107 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
55108 missing cfi directives, and sigaltstack handling.
55110 2011-08-16 Andreas Schwab <schwab@redhat.com>
55113 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
55114 object is seen twice.
55115 * elf/dl-fini.c (_dl_sort_fini): Likewise.
55117 * elf/Makefile (distribute): Add tst-initorder2.c.
55118 (tests): Add tst-initorder2.
55119 (modules-names): Add tst-initorder2a tst-initorder2b
55120 tst-initorder2c tst-initorder2d. Add rules to build them.
55121 ($(objpfx)tst-initorder2.out): New rule.
55122 * elf/tst-initorder2.c: New file.
55123 * elf/tst-initorder2.exp: New file.
55125 2011-08-22 Andreas Schwab <schwab@redhat.com>
55127 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
55129 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
55130 dependencies back to end of function.
55132 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55133 $(elfobjdir)/ld.so.
55135 2011-08-21 Ulrich Drepper <drepper@gmail.com>
55137 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
55138 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
55139 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
55140 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
55141 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
55142 of __vdso_gettimeofday.
55143 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
55144 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
55146 (_libc_vdso_platform_setup): Remove initialization of
55147 __vdso_gettimeofday and __vdso_time.
55149 2011-08-20 Ulrich Drepper <drepper@gmail.com>
55151 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
55152 and fgetc_unlocked.
55153 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
55156 * elf/dl-open.c (add_to_global): Report additions to the global scope
55157 for LD_DEBUG=scopes.
55158 (dl_open_worker): Also print scope of newly loaded dependencies.
55159 (_dl_show_scope): Indicate if there is no scope.
55162 * stdio-common/Makefile (tests): Add bug24.
55163 * stdio-common/bug24.c: New file.
55165 2011-08-19 Andreas Jaeger <aj@suse.de>
55168 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
55169 non-existant file when using close-on-exec mode.
55171 2011-08-20 Ulrich Drepper <drepper@gmail.com>
55173 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
55174 the very first instruction.
55176 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
55177 the CFI state in the end.
55178 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
55179 inclusion of dl-trampoline.h.
55180 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
55182 2011-08-19 Andreas Schwab <schwab@redhat.com>
55184 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
55185 expectations for long double.
55187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
55188 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
55190 2011-08-14 David S. Miller <davem@davemloft.net>
55192 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
55193 artificual limit depends upon the system page size.
55195 2011-08-17 Ulrich Drepper <drepper@gmail.com>
55197 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
55198 * resolv/Makefile: Define CFLAGS-libresolv.
55200 2011-08-17 Andreas Schwab <schwab@redhat.com>
55202 * nss/makedb.c (compute_tables): Make variables used in nested
55205 2011-08-17 Ulrich Drepper <drepper@gmail.com>
55207 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
55208 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
55209 if buffer was too small.
55211 * elf/pldd.c (main): Attach to all threads in the process.
55212 Rewrite /proc handling to use *at functions.
55214 2011-08-16 Ulrich Drepper <drepper@gmail.com>
55216 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
55217 specifies first scope to show.
55218 (dl_open_worker): Update callers. Move printing scope of new
55219 object to before the relocation.
55220 * elf/rtld.c (dl_main): Update _dl_show_scope call.
55221 * sysdeps/generic/ldsodefs.h: Update declaration.
55223 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
55224 string for the scope number.
55226 2011-08-14 Ulrich Drepper <drepper@gmail.com>
55228 * nscd/servicescache.c (cache_addserv): Make sure written is always
55231 2011-08-14 Roland McGrath <roland@hack.frob.com>
55233 * sysdeps/i386/i486/bits/atomic.h
55234 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
55235 statement expression, so as to suppress "set but not used" warning.
55236 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
55238 * string/strncat.c (STRNCAT): Use prototype definition.
55240 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
55241 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
55243 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
55244 (localedef-modules): Add localedef.
55245 (locale-modules): Add locale.
55247 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
55248 * elf/rtld.c (dl_main): Invert order of assignment in last change,
55249 to avoid a warning.
55251 2011-08-14 David S. Miller <davem@davemloft.net>
55253 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
55254 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
55256 2011-08-13 Ulrich Drepper <drepper@gmail.com>
55258 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
55259 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
55260 * elf/rtld.c (dl_main): Set l_name of vDSO.
55261 Call _dl_show_scope when DL_DEBUG_SCOPES.
55262 (process_dl_debug): Recognize scopes flag and also set it for all.
55263 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
55264 Declare _dl_show_scope.
55266 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
55267 (do_dlopen): Pass caller_dlopen to dl_open.
55268 (__libc_dlopen_mode): Initialize caller_dlopen.
55270 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
55271 of libc. Make tolower call locale-independent. Optimize a bit by
55272 using isdigit instead of isalnum.
55273 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
55275 2011-08-12 Ulrich Drepper <drepper@gmail.com>
55277 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
55278 was a dependency or dynamically loaded.
55280 2011-08-11 Ulrich Drepper <drepper@gmail.com>
55282 * intl/l10nflist.c: Allow architecture-specific pop function.
55283 * sysdeps/x86_64/l10nflist.c: New file.
55285 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
55288 2011-08-10 Andreas Schwab <schwab@redhat.com>
55290 * include/dirent.h: Add libc_hidden_proto for scandirat and
55291 scandirat64. Don't declare __scandirat64.
55292 * dirent/scandirat.c: Add libc_hidden_def.
55293 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
55294 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
55296 2011-08-10 David S. Miller <davem@davemloft.net>
55298 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
55300 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55301 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55302 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55304 2011-08-09 Ulrich Drepper <drepper@gmail.com>
55306 * Versions.def [libc]: Add GLIBC_2.15.
55307 * dirent/Makefile (routines): Add scandirat and scandirat64.
55308 * dirent/Versions [libc]: Export scandirat and scandirat64 for
55310 * dirent/dirent.h: Declare scandirat and scandirat64.
55311 * dirent/scandirat.c: New file.
55312 * dirent/scandirat64.c: New file.
55313 * sysdeps/wordsize-64/scandirat.c: New file.
55314 * sysdeps/wordsize-64/scandirat64.c: New file.
55315 * dirent/opendir.c: Define opendirat.
55316 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
55318 * dirent/scandir64.c: Adjust for scandir.c change.
55319 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
55320 __scandirat64, and __scandir_cancel_handler.
55321 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
55322 additional parameter and use openat instead of open (outside of ld.so).
55323 Add new __opendir as wrapper around __opendirat.
55324 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
55325 here without requiring old scandirat implementation.
55327 2011-08-08 Ulrich Drepper <drepper@gmail.com>
55329 * dirent/scandir.c (cancel_handler): Renamed to
55330 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
55331 defined. Adjust users.
55332 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
55333 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
55335 2011-08-04 Ulrich Drepper <drepper@gmail.com>
55337 * string/test-string.h (IMPL): Use __STRING to expand name and then
55340 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
55343 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55345 * string/Makefile: Update.
55346 (strop-tests): Append strncat.
55347 * string/test-wcscmp.c: New file.
55348 New comprehensive test for wcscmp.
55349 * string/test-strcmp.c: Update.
55350 (WIDE): New define.
55352 2011-07-22 Andreas Schwab <schwab@redhat.com>
55354 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
55357 2011-07-26 Andreas Schwab <schwab@redhat.com>
55359 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55360 encoding to ACE if AI_IDN.
55362 2011-08-01 Jakub Jelinek <jakub@redhat.com>
55364 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
55365 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
55367 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55369 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
55370 Fix overflow bug in strncat.
55371 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
55373 * string/test-strncat.c: Update.
55374 Add new tests for checking overflow bugs.
55376 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55378 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55379 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
55380 * sysdeps/i386/i686/multiarch/strcat.S: New file.
55381 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
55382 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
55383 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
55384 * sysdeps/i386/i686/multiarch/strncat.S: New file.
55385 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
55386 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
55388 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
55389 (USE_AS_STRCAT): Define.
55390 Add strcat and strncat support.
55391 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
55393 2011-07-25 Andreas Schwab <schwab@redhat.com>
55395 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
55396 __n bigger than INT_MAX+1.
55397 (__strncmp_g): Likewise.
55399 2011-07-23 Ulrich Drepper <drepper@gmail.com>
55401 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
55402 * libio/stido.h: Likewise.
55404 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
55406 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
55409 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
55410 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55411 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55412 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
55413 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55416 * scripts/test-installation.pl: Don't expect libnss_test1 to be
55419 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
55421 (_dl_x86_64_save_sse): Likewise.
55423 2011-07-22 Ulrich Drepper <drepper@gmail.com>
55425 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
55427 (_dl_x86_64_save_sse): Likewise.
55429 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
55431 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
55433 2011-07-21 Andreas Schwab <schwab@redhat.com>
55435 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
55437 (_dl_x86_64_save_sse): Use correct AVX check.
55439 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55441 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
55442 bug in strncpy/strncat.
55443 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
55445 2011-07-21 Ulrich Drepper <drepper@gmail.com>
55447 * string/tester.c (test_strcat): Add tests for different alignments
55448 of source and destination.
55449 (test_strncat): Likewise.
55451 2011-07-20 Ulrich Drepper <drepper@gmail.com>
55454 * posix/glob.c (glob): Check passed in values before using them in
55455 expressions to avoid some overflows.
55456 (glob_in_dir): Likewise.
55459 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
55460 check for AVX enablement so that we don't crash with old kernels and
55462 * elf/tst-audit4.c: Add same checks here.
55463 * elf/tst-audit6.c: Likewise.
55465 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
55467 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
55469 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
55471 2011-07-20 Ulrich Drepper <drepper@gmail.com>
55473 * po/cs.po: Update from translation team.
55474 * po/bg.po: Likewise.
55476 2011-07-12 Marek Polacek <mpolacek@redhat.com>
55478 * misc/sys/cdefs.h: Add support for const attribute.
55479 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
55480 to gnu_dev_{major,minor,makedev} functions.
55482 2011-07-20 Marek Polacek <mpolacek@redhat.com>
55484 * intl/dcigettext.c (get_output_charset): Add missing bracket.
55486 2011-07-20 Andreas Schwab <schwab@redhat.com>
55488 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
55491 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55493 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
55494 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
55495 register in order to avoid conflicts with the soft frame pointer
55496 being held in r11 when necessary.
55497 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
55498 (INTERNAL_VSYSCALL_NCS): Likewise.
55500 2011-07-14 Marek Polacek <mpolacek@redhat.com>
55502 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
55503 * elf/dl-fini.c (_dl_fini): Adjust caller.
55504 * elf/dl-close.c (_dl_close_worker): Likewise.
55505 * sysdeps/generic/ldsodefs.h: Adjust declaration.
55507 2011-07-15 Marek Polacek <mpolacek@redhat.com>
55509 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
55510 "aux_cache->nlibs < 0".
55512 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
55513 in the reload-count case.
55515 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55518 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
55519 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
55520 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
55521 * sysdeps/x86_64/multiarch/strcat.S: New file.
55522 * sysdeps/x86_64/multiarch/strncat.S: New file.
55523 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
55524 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
55525 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
55526 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
55527 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
55528 (USE_AS_STRCAT): Define.
55529 Add strcat and strncat support.
55530 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
55531 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
55532 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
55533 * string/strncat.c: Update.
55534 (USE_AS_STRNCAT): Define.
55535 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55536 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
55538 * sysdeps/x86_64/multiarch/init-arch.h
55539 (bit_Prefer_PMINUB_for_stringop): New.
55540 (index_Prefer_PMINUB_for_stringop): Likewise.
55541 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
55542 bit_Prefer_PMINUB_for_stringop.
55544 2011-07-19 Ulrich Drepper <drepper@gmail.com>
55546 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
55548 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
55549 of casting of buffer.
55550 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
55551 buffer32 and buffer64.
55552 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
55553 writes instead of casting of buffer.
55554 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
55556 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
55559 2011-07-19 Andreas Schwab <schwab@redhat.com>
55561 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
55563 2011-07-19 Ulrich Drepper <drepper@gmail.com>
55565 * nscd/nscd.c (termination_handler): Don't do anything for a database
55566 if it has not yet been initialized.
55568 2011-07-18 Ulrich Drepper <drepper@gmail.com>
55570 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
55572 2011-07-15 Marek Polacek <mpolacek@redhat.com>
55574 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
55576 2011-07-18 Ulrich Drepper <drepper@gmail.com>
55578 * po/nl.po: Update from translation team.
55579 * po/sv.po: Likewise.
55581 2011-07-16 Roland McGrath <roland@hack.frob.com>
55583 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
55584 now disallowed by GCC.
55586 * configure.in (use-default-link): Default to yes if a test -shared
55587 link meets our qualifications.
55588 * configure: Regenerated.
55590 * config.make.in (output-format): New variable.
55591 * configure.in: Check for ld --print-output-format support.
55592 * configure: Regenerated.
55593 * Makerules ($(common-objpfx)format.lds)
55594 [$(output-format) != unknown]: Just use $(output-format),
55595 instead of the linker-script munging.
55597 2011-07-14 Roland McGrath <roland@hack.frob.com>
55599 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
55600 of $(common-objpfx)shlib.lds.
55601 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
55603 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
55604 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
55606 * configure.in (-z relro check): Adjust test code to add a large
55607 writable data section after it.
55608 * configure: Regenerated.
55610 2011-07-11 Roland McGrath <roland@hack.frob.com>
55612 * configure.in (-z relro check): Fix test code to make the variable
55614 * configure: Regenerated.
55616 2011-07-11 Ulrich Drepper <drepper@gmail.com>
55618 * nscd/nscd.h (struct traced_file): Define.
55619 (struct database_dyn): Remove inotify_descr, reset_res, and filename
55620 elements. Add traced_files.
55621 (inotify_fd): Declare.
55622 (register_traced_file): Declare.
55623 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
55624 (inotify_fd): Export.
55625 (resolv_conf_descr): Remove.
55626 (nscd_init): Move inotify descriptor creation to main.
55627 Don't register files for notification here.
55628 (register_traced_file): New function.
55629 (invalidate_cache): Don't use reset_res to determine whether to call
55630 res_init, go through the list of registered files.
55631 (main_loop_poll): The inotify descriptors are now stored in the
55632 structures for the traced files.
55633 (main_loop_epoll): Likewise
55634 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
55635 to __nss_disable_nscd.
55636 * nscd/cache.c (prune_cache): There is no single inotify descriptor
55637 for a database anymore. Check the records for all the registered
55639 * nss/Makefile (libnss_files-routines): Add files-init.
55640 (libnss_db-routines): Add db-init.
55641 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
55642 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
55643 * nss/nss_db/db-init.c: New file.
55644 * nss/nss_files/files-init.c: New file.
55645 * nss/nsswitch.c (nss_load_library): New function. Broken out of
55646 __nss_lookup_function.
55647 (__nss_lookup_function): Call nss_load_library.
55648 (nss_load_all_libraries): New function.
55649 (__nss_disable_nscd): Take parameter with callback function for files
55650 to register. Set is_nscd. Load all the DSOs for the NSS modules
55651 used for the cached services.
55652 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
55653 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
55654 options for features to all the files in nscd.
55656 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
55658 2011-07-10 Roland McGrath <roland@hack.frob.com>
55660 * csu/elf-init.c (__libc_csu_init): Comment typo.
55662 2011-07-09 Ulrich Drepper <drepper@gmail.com>
55664 * po/pl.po: Update from translation team.
55665 * po/ja.po: Likewise.
55666 * po/ru.po: Likewise.
55667 * po/ko.po: Likewise.
55668 * po/fr.po: Likewise.
55670 2011-07-09 Roland McGrath <roland@hack.frob.com>
55672 * configure.in (.ctors/.dtors header and trailer check):
55673 Use an empirical test on a built program.
55674 * configure: Regenerated.
55676 * configure.in (-z relro check): Use an empirical test on a built DSO.
55677 Detect, but do not require, on ia64.
55678 * configure: Regenerated.
55680 * configure.in (READELF): Find it with AC_CHECK_TOOL.
55681 Update tests that use readelf to use $READELF instead.
55682 * configure: Regenerated.
55684 2011-07-08 Ulrich Drepper <drepper@gmail.com>
55686 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
55687 if the result is not used.
55689 2011-07-05 Andreas Jaeger <aj@suse.de>
55692 * stdlib/tst-strtod.c: Add testcase.
55694 2011-07-07 Ulrich Drepper <drepper@gmail.com>
55696 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
55697 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
55698 The latter has a higher limit. Take additional parameter to pass to
55700 (__pathconf): Pass file to __statfs_link_max.
55701 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
55703 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
55707 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
55708 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55710 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
55711 (__statfs_filesize_max): Likewise.
55712 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
55714 2011-07-05 Andreas Jaeger <aj@suse.de>
55716 * resolv/res_comp.c (dn_skipname): Remove unused variable.
55718 2011-07-06 Marek Polacek <mpolacek@redhat.com>
55720 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
55722 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
55725 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
55727 * Makefile (strop-tests): Add strncat.
55728 * string/test-strncat.c: New file.
55730 2011-06-30 Marek Polacek <mpolacek@redhat.com>
55732 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
55734 2011-06-21 Andreas Jaeger <aj@suse.de>
55736 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
55737 Copy rule from iconvdata/Makefile.
55739 2011-07-06 Ulrich Drepper <drepper@gmail.com>
55742 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
55743 but no long options are defined, just return 'W'.
55745 2011-06-22 Marek Polacek <mpolacek@redhat.com>
55748 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
55750 2011-07-06 Ulrich Drepper <drepper@gmail.com>
55752 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
55754 (innetgr): Likewise.
55756 2011-07-05 Roland McGrath <roland@hack.frob.com>
55758 * config.make.in (install_root): Default to $(DESTDIR).
55760 2011-07-05 Ulrich Drepper <drepper@gmail.com>
55762 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
55764 2011-07-02 Roland McGrath <roland@hack.frob.com>
55766 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
55768 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
55769 containing directory rather than embedding absolute directory names.
55771 * scripts/check-local-headers.sh: Rewritten using awk.
55772 Match by word, not by line. Print error messages for matches.
55773 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
55775 * Makerules [shlib-lds-flags empty]:
55776 ($(common-objpfx)libc_pic.opts): New target.
55777 ($(common-objpfx)libc_pic.os.clean): New target.
55778 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
55780 * config.make.in (OBJCOPY): New variable.
55781 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
55782 * configure: Regenerated.
55784 * config.make.in (use-default-link): New variable.
55785 * configure.in (use_default_link): Grok --with-default-link to set it.
55786 * configure: Regenerated.
55787 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
55788 (shlib-lds, shlib-lds-flags): Define to empty.
55790 * Makerules (shlib-lds): New variable.
55791 (shlib-lds-flags): New variable.
55792 (build-shlib, build-moduile, build-module-asneeded): Use it.
55793 ($(common-objpfx)libc.so): Use $(shlib-lds).
55794 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
55795 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
55797 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
55798 DT_FLAGS/DT_FLAGS_1 with zero flags.
55800 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
55801 linker script munging.
55803 2011-07-02 Ulrich Drepper <drepper@gmail.com>
55805 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
55807 * crypt/sha512.c (sha512_process_block): Perform total addition using
55808 128-bit if possible.
55809 (__sha512_finish_ctx): Likewise.
55810 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
55812 * crypt/sha256.c (SWAP64): Define.
55813 (sha256_process_block): Perform total addition using 64-bit if
55815 (__sha256_finish_ctx): Likewise.
55817 2011-07-01 Ulrich Drepper <drepper@gmail.com>
55819 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
55820 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55821 * nscd/hstcache.c (cache_addhst): Likewise.
55822 * nscd/grpcache.c (cache_addgr): Likewise.
55823 * nscd/aicache.c (addhstaiX): Likewise
55824 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
55826 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
55828 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
55829 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55830 * nscd/hstcache.c (cache_addhst): Likewise.
55831 * nscd/grpcache.c (cache_addgr): Likewise.
55832 * nscd/aicache.c (addhstaiX): Likewise
55834 2011-07-01 Andreas Schwab <schwab@redhat.com>
55836 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
55837 domain only when needed.
55839 2011-06-30 Andreas Schwab <schwab@redhat.com>
55841 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
55842 is always restored.
55844 2011-06-29 Ulrich Drepper <drepper@gmail.com>
55846 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
55847 are re-adding the entry.
55848 * nscd/servicescache.c (cache_addserv): Likewise.
55850 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
55852 * sysdeps/generic/dl-irel.h: fix protection against multiple
55854 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
55856 2011-06-28 Ulrich Drepper <drepper@gmail.com>
55859 * malloc/memusage.sh: Fix quoting in message.
55860 * debug/xtrace.sh: Likewise.
55862 * configure.in: Remove support for --experimental-malloc option, make
55864 * config.make.in: Likewise.
55865 * malloc/Makefile: Likewise.
55867 2011-06-27 Andreas Schwab <schwab@redhat.com>
55869 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
55870 two-byte characters.
55872 2011-06-27 Roland McGrath <roland@hack.frob.com>
55874 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
55875 AC_CACHE_CHECK invocation.
55876 * configure: Regenerated.
55878 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
55880 2011-06-27 Ulrich Drepper <drepper@gmail.com>
55883 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
55884 bit from old_res_options.
55886 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
55888 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
55889 value type for setfct.
55891 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
55893 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55894 __gettimeofday instead of gettimeofday.
55896 2011-06-26 Ulrich Drepper <drepper@gmail.com>
55898 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
55900 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
55902 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
55904 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
55907 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55909 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55910 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55911 strcpy-sse2-unaligned strncpy-sse2-unaligned
55912 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
55913 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
55914 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
55915 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
55916 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
55917 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
55918 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
55919 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
55920 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
55921 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
55922 (STRCPY): Support SSE2 and SSSE3 versions.
55924 2011-06-24 Ulrich Drepper <drepper@gmail.com>
55927 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
55928 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
55929 kernels which artificially limit size of requests.
55931 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55933 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55934 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55935 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
55936 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
55937 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
55938 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
55939 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
55940 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
55941 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
55942 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
55943 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
55944 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
55945 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
55946 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
55947 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
55948 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55949 Enable unaligned load optimization for Intel Core i3, i5 and i7
55951 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
55953 (index_Fast_Unaligned_Load): Define.
55954 (HAS_FAST_UNALIGNED_LOAD): Define.
55956 2011-06-23 Marek Polacek <mpolacek@redhat.com>
55958 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
55960 2011-06-22 Ulrich Drepper <drepper@gmail.com>
55963 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
55964 until it is clear that the information is realy needed.
55965 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
55967 2011-06-22 Andreas Schwab <schwab@redhat.com>
55969 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
55971 2011-06-22 Ulrich Drepper <drepper@gmail.com>
55973 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55974 /sys/devices/system/cpu/online if it is usable.
55976 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
55977 reading the information from the /proc filesystem to once a second.
55979 2011-06-21 Andreas Jaeger <aj@suse.de>
55981 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55982 NULL after inclusion of kernel headers.
55984 2011-06-21 Ulrich Drepper <drepper@gmail.com>
55986 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55987 calls to internal_setent.
55990 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55991 addresses using gethostbyname4_r ignore IPv4 addresses.
55993 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55994 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
55996 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55998 2011-06-20 David S. Miller <davem@davemloft.net>
56000 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
56002 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
56004 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
56005 (elf_irel): Use it.
56006 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
56007 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
56008 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
56009 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
56010 * sysdeps/x86_64/dl-irel.h: Likewise.
56012 * elf/dl-runtime.c: Use elf_ifunc_invoke.
56013 * elf/dl-sym.c: Likewise.
56015 2011-06-15 Ulrich Drepper <drepper@gmail.com>
56017 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
56018 need to dereference resplen2.
56020 2011-06-14 Andreas Schwab <schwab@redhat.com>
56022 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
56024 2011-06-15 Ulrich Drepper <drepper@gmail.com>
56026 * Makeconfig: Define vardbdir and inst_vardbdir.
56027 * nss/Makefile: Add rules to install db-Makefile.
56029 * nss/nss_db/db-XXX.c: Cleanup.
56031 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
56032 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
56034 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
56035 * nss/makedb.c: Implement -g option to specify that value strings
56036 are generated and should not be added to table iterated over for
56038 * nss/nss_db/db-initgroups.c: New file.
56040 * nss/getent.c: Add support for initgroups lookups through getgrouplist
56043 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
56044 (internal_getgrouplist): Adjust to name change.
56045 Update use_initgroups_entry if this is not the first call.
56046 * nss/databases.def: Add initgroups entry.
56048 * nss/makedb.c (compute_tables): Check result of multiple hash table
56049 sizes to minimize maximum chain length.
56051 2011-06-14 Ulrich Drepper <drepper@gmail.com>
56053 * Versions.def: Add entry for libnss_db.
56054 * shlib-versions: Likewise.
56055 * nss/Makefile: Add rules to build libnss_db.
56056 * nss/Versions: Add libnss_db information. Organize libnss_files
56058 * nss/db-Makefile: Add gshadow support. Change rules for the new
56059 makedb progra. Some minor improvements to generate smaller files.
56060 * nss/nss_db/nss_db.h: Move NSS database header data structures to
56062 * nss/makedb.c: ...here.
56063 Improve database format to be smaller and require less memory at
56065 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
56067 * nss/nss_db/db-netgrp.c: Likewise.
56068 * nss/nss_db/db-open.c: Likewise.
56069 * nss/nss_files/flies-XXX.x: Adjust comments.
56070 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
56071 * nss/nss_files/files-grp.c: Likewise.
56072 * nss/nss_files/files-hosts.c: Likewise.
56073 * nss/nss_files/files-network.c: Likewise.
56074 * nss/nss_files/files-proto.c: Likewise.
56075 * nss/nss_files/files-pwd.c: Likewise.
56076 * nss/nss_files/files-rpc.c: Likewise.
56077 * nss/nss_files/files-service.c: Likewise.
56078 * nss/nss_files/files-sgrp.c: Likewise.
56079 * nss/nss_files/files-spwd.c: Likewise.
56080 * nss/nss_db/db-alias.c: Removed.
56081 * nss/nss_db/dummy-db.h: Removed.
56083 2011-06-02 Ulrich Drepper <drepper@gmail.com>
56085 * nss/makedb.c: Rewritten to not use database library.
56086 * nss/Makefile: Update to build new makedb program.
56088 2011-06-14 Andreas Jaeger <aj@suse.de>
56090 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
56091 memset declaration.
56093 2011-06-10 Andreas Schwab <schwab@redhat.com>
56095 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
56098 2011-06-10 Roland McGrath <roland@hack.frob.com>
56100 * Makerules (shlib.lds): Fail if the linker script comes out empty.
56101 * elf/Makefile ($(objpfx)ld.so): Likewise.
56103 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
56104 Don't list ld.so twice in dependencies.
56106 * posix/bug-regex31.c: Include <stdlib.h>.
56108 * nscd/hstcache.c (cache_addhst): Remove unused variable.
56110 * nis/nss_compat/compat-spwd.c
56111 (getspent_next_nss_netgr): Remove unused variable.
56112 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
56114 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
56115 nonmembers" output to use the right array.
56117 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
56119 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
56121 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
56122 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
56123 * catgets/gencat.c (read_input_file): Likewise.
56124 * locale/programs/locarchive.c (enlarge_archive): Likewise.
56126 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
56127 variable definition inside #if's controlling its use.
56129 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
56131 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
56133 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
56135 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
56138 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
56140 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
56141 * configure: Regenerated.
56143 * Makerules: Revert last change.
56144 * elf/Makefile: Likewise.
56146 2011-06-09 Roland McGrath <roland@hack.frob.com>
56148 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
56149 * elf/Makefile ($(objpfx)librtld.os): Likewise.
56150 (reloc-link): Likewise.
56152 2011-06-09 Ulrich Drepper <drepper@gmail.com>
56154 * elf/Makefile: Add rules to build pldd.
56155 * elf/pldd.c: New file.
56156 * elf/pldd-xx.c: New file.
56158 2011-06-07 Ulrich Drepper <drepper@gmail.com>
56160 * version.h: Update for 2.15 development version.
56162 2011-06-07 David S. Miller <davem@davemloft.net>
56164 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
56166 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
56167 elf_machine_lazy_rel): Likewise.
56168 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
56169 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
56170 elf_machine_lazy_rel): Likewise.
56171 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
56172 dl_hwcap via passed in argument.
56173 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
56176 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56178 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
56180 2011-06-06 Roland McGrath <roland@hack.frob.com>
56183 * manual/fdl-1.1.texi: New file, verbatim from:
56184 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
56185 * manual/lgpl-2.1.texi: New file, verbatim from:
56186 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
56187 * manual/Makefile (licenses): New variable, list those new file names.
56189 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
56191 * manual/fdl.texi: File removed.
56192 * manual/lesser.texi: File removed.
56193 * manual/libc.texinfo (Copying, Documentation License):
56194 Use new @include file names, put @appendix directive before @include.
56196 2011-06-04 Jakub Jelinek <jakub@redhat.com>
56199 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
56200 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
56201 (mq_open): Add __NTH.
56203 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
56205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56206 Assume Intel Core i3/i5/i7 processor if AVX is available.
56208 2011-05-31 Ulrich Drepper <drepper@gmail.com>
56210 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
56213 2011-05-31 Andreas Schwab <schwab@redhat.com>
56215 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
56216 memory. Use alloca_account. Fix memory leak when retrying.
56218 2011-05-31 Ulrich Drepper <drepper@gmail.com>
56220 * version.h (RELEASE): Bump for 2.14 release.
56221 * include/features.h (__GLIBC_MINOR__): Bump to 14.
56223 * config.make.in (RANLIB): Remove entry.
56225 2011-05-30 Ulrich Drepper <drepper@gmail.com>
56227 * po/Makefile (po-sed-cmd): Add ksh to extensions.
56228 (libc.pot): Work around missing support for .ksh extension in xgettext.
56231 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
56232 if both request failed.
56233 (send_dg): In case of server errors clear resplen or *resplen2.
56236 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
56237 when there are multiple maps.
56238 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
56239 (_dl_fini): Remove test here.
56241 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
56243 2011-05-29 Ulrich Drepper <drepper@gmail.com>
56246 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
56247 bit from old_res_options.
56248 (gaih_inet): Likewise.
56251 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
56254 * resolv/res_init.c (res_setoptions): Make the code more compact.
56257 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
56261 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
56263 * malloc/malloc.h: Mark malloc hook variables as deprecated.
56266 * malloc/malloc.h: Declare malloc hook variables as volatile.
56268 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
56272 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
56273 raise in the comment.
56274 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56275 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56276 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
56278 2011-05-28 Ulrich Drepper <drepper@gmail.com>
56281 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
56282 grow the buffers more if it already has to be sufficient.
56283 (build_wcs_upper_buffer): Likewise.
56284 * posix/regexec.c (check_matching): Likewise.
56285 (clean_state_log_if_needed): Likewise.
56286 (extend_buffers): Don't enlarge buffers beyond size of the input
56288 Patches mostly by Emil Wojak <emil@wojak.eu>.
56289 * posix/bug-regex32.c: New file.
56290 * posix/Makefile (tests): Add bug-regex32.
56292 * locale/findlocale.c (_nl_find_locale): Return right away if
56293 _nl_explode_name failed.
56294 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
56296 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
56298 * debug/xtrace.sh: Unify messages.
56299 * malloc/memusage.sh: Likewise.
56302 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
56303 time symbol from vDSO. Substitute with vsyscall if not available.
56304 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
56307 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
56308 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
56309 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
56310 Add sendmmsg and internal_sendmmsg.
56311 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
56312 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
56313 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
56315 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
56316 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
56317 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
56319 2011-05-27 Ulrich Drepper <drepper@gmail.com>
56322 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
56323 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
56325 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
56329 * iconvdata/Makefile (tests): Add bug-iconv9.
56330 * iconvdata/bug-iconv9.c: New file.
56332 2011-05-27 Andreas Schwab <schwab@redhat.com>
56335 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
56337 2011-05-25 Jakub Jelinek <jakub@redhat.com>
56339 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
56340 (struct user_regs_struct): Change intcs field back to cs.
56342 2011-05-25 Ulrich Drepper <drepper@gmail.com>
56344 * po/ja.po: Update from translation team.
56346 2011-05-23 Ulrich Drepper <drepper@gmail.com>
56349 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
56350 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
56352 2011-05-20 Andreas Schwab <schwab@redhat.com>
56354 * stdlib/longlong.h: Update from GCC.
56356 2011-05-23 Andreas Schwab <schwab@redhat.com>
56358 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
56360 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
56361 Add parameter name.
56362 (__sysconf): Pass it down.
56364 2011-05-22 Ulrich Drepper <drepper@gmail.com>
56367 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
56369 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
56370 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
56371 add in in __libc_use_alloca calls. Adjust callers.
56372 (glob): Use malloc in some situations.
56374 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
56375 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
56378 2011-05-21 Ulrich Drepper <drepper@gmail.com>
56380 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
56381 and CLOCK_BOOTTIME_ALARM.
56384 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
56387 * string/_strerror.c (__strerror_r): Print negative errors as signed
56391 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
56392 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
56393 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
56395 * configure.in: Fix typo in redirection and correct removal of test
56396 files in two cases.
56399 * locale/setlocale.c (new_composite_name): Fix test to check for
56400 identical name of all categories.
56403 * libio/filedoalloc.c (local_isatty): New function.
56404 (_IO_file_doallocate): Use local_isatty.
56405 * stdio-common/perror.c (perror): In case a new stream is used
56406 forward the stream error.
56407 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
56410 2011-05-20 Ulrich Drepper <drepper@gmail.com>
56413 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
56415 * include/alloca.h (extend_alloca_account): Define.
56418 * posix/regex.h: Fix comments with documentation of user-accessible
56419 fields after compilation and describe correct free'ing of pattern
56420 after re_compile_pattern.
56421 Patch by Reuben Thomas <rrt@sc3d.org>.
56423 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
56425 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
56426 and -mno-altivec to prevent the compiler from using Altivec and/or
56427 VSX instructions when the corresponding registers are not available.
56429 2011-05-19 Andreas Schwab <schwab@redhat.com>
56431 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
56433 2011-05-19 Ulrich Drepper <drepper@gmail.com>
56435 * libio/freopen.c (freopen): Use __dup2, not dup2.
56436 * libio/freopen64.c (freopen64): Likewise.
56438 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
56441 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
56442 * math/Makefile (tests): Add test-powl.
56443 (CFLAGS-test-powl.c): Define.
56444 * math/test-powl.c: New file.
56446 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
56448 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
56450 2011-05-17 Ulrich Drepper <drepper@gmail.com>
56453 * iconvdata/gb18030.c: Update to GB18020-2005.
56455 2011-05-16 Ulrich Drepper <drepper@gmail.com>
56457 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
56458 RE_SYNTAX_POSIX_AWK): Update to match recent development.
56459 Patch by Aharon Robbins <arnold@skeeve.com>.
56462 * stdlib/putenv.c (putenv): Don't always create copy of the variable
56466 * misc/pselect.c (__pselect): Handle timeout value errors hidden
56467 through underflows.
56470 * misc/error.c (error_at_line): Ensure file_name and old_file_name
56471 point to strings before performing equality test for error_one_per_line
56475 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
56478 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
56479 (struct user_fpregs_struct): Avoid __uint*_t types.
56482 * malloc/mtrace.c (tr_where): Add additional parameter to point to
56483 symbol info. Use it instead of calling _dl_addr locally.
56484 (lock_and_info): New function.
56485 (tr_freehook): Call lock_and_info and pass symbol info as additional
56486 parameter to tr_where.
56487 (tr_mallochook): Likewise.
56488 (tr_reallochook): Likewise.
56489 (tr_memalignhook): Likewise.
56491 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
56492 used and couldn't be at all thread-safe.
56494 2011-05-15 Ulrich Drepper <drepper@gmail.com>
56496 * libio/freopen.c (freopen): Don't close old file descriptor
56497 before the new one is opened. Instead dup the new file descriptor
56498 to the old one after the new stream is created.
56499 * libio/freopen64.c (freopen64): Likewise.
56500 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
56501 * libio/fileops.c (_IO_new_file_close_it): Handle new
56502 _IO_FLAGS2_NOCLOSE flag.
56503 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
56504 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
56505 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
56506 _IO_FLAGS2_NOCLOSE flag.
56507 * include/unistd.h: Add hidden_proto for dup3.
56508 Define __have_dup3.
56509 * io/dup3.c: Define hidden symbol.
56510 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
56513 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
56514 when an incomplete long option is used.
56515 * posix/tst-getopt_long1.c: New file.
56516 * posix/Makefile (tests): Add tst-getopt_long1.
56519 * scripts/config.guess: Update from autoconf-2.68.
56520 * scripts/config.sub: Likewise.
56523 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
56525 (has_cpuclock): ...this. New function.
56526 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
56527 macro here based on has_cpuclock code.
56530 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56531 First byte (not low byte) is now always NUL.
56532 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
56534 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56535 Use non-cancelable interfaces.
56538 * locale/iso-639.def: Add entry for Sorani.
56541 * include/stdlib.h: Move include protection to the right place.
56542 Define abort_msg_s. Declare __abort_msg with it.
56543 * stdlib/abort.c (__abort_msg): Adjust type.
56544 * assert/assert.c (__assert_fail_base): New function. Majority
56545 of code from __assert_fail. Allocate memory for __abort_msg with
56547 (__assert_fail): Now call __assert_fail_base.
56548 * assert/assert-perr.c: Remove bulk of implementation. Use
56549 __assert_fail_base.
56550 * include/assert.hL Declare __assert_fail_base.
56551 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
56553 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
56555 2011-05-14 Ulrich Drepper <drepper@gmail.com>
56559 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
56560 until all modules are registered in the DTV.
56561 * elf/Makefile: Add rules to build and run tst-tls19.
56562 * elf/tst-tls19.c: New file.
56563 * elf/tst-tls19mod1.c: New file.
56564 * elf/tst-tls19mod2.c: New file.
56565 * elf/tst-tls19mod3.c: New file.
56566 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
56569 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
56573 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
56574 two-byte sequence errors.
56575 * iconvdata/Makefile (tests): Add bug-iconv8.
56576 * iconvdata/bug-iconv8.c: New file.
56579 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
56582 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
56585 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
56586 (dummy_getcfa): New function.
56587 (init): Get _Unwind_GetCFA address, use dummy if not found.
56588 (backtrace_helper): In recursion check, also check whether CFA changes.
56589 (__backtrace): Completely initialize arg.
56591 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
56592 storing incomplete byte sequence in state object. Avoid testing for
56593 guaranteed too small input if we know there is enough data available.
56595 2011-05-11 Andreas Schwab <schwab@redhat.com>
56597 * Makeconfig (+link-pie): Indent.
56598 * Rules (binaries-pie): Define if $(have-fpie) and
56600 (binaries-shared): Also filter out $(binaries-pie).
56601 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
56602 * nscd/Makefile (others-pie): Add nscd.
56603 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
56604 ($(objpfx)nscd): Remove command override.
56605 * login/Makefile (others-pie): Add pt_chown.
56606 ($(objpfx)pt_chown): Remove command override.
56607 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
56608 remove command overrides.
56610 2011-05-13 Ulrich Drepper <drepper@gmail.com>
56612 * libio/tst_putwc.c: Fix error messages.
56615 * libio/fileops.c (_IO_new_file_close_it): Always flush when
56616 currently writing and seek to current position when not.
56617 * libio/Makefile (tests): Add bug-fclose1.
56618 * libio/bug-fclose1.c: New file.
56620 2011-05-12 Ulrich Drepper <drepper@gmail.com>
56623 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
56624 don't set DF_1_NODELETE here.
56625 (do_lookup_x): When entering new entry test for copy relocation
56626 and if necessary set DF_1_NODELETE flag.
56627 * elf/tst-unique4.cc: New file.
56628 * elf/tst-unique4.h: New file.
56629 * elf/tst-unique4lib.cc: New file.
56630 * elf/Makefile: Add rules to build and run tst-unique4.
56631 Patch by Piotr Bury <pbury@goahead.com>.
56633 2011-05-11 Ulrich Drepper <drepper@gmail.com>
56636 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
56639 * misc/mntent_r.c (addmntent): Flush the stream after the output
56642 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
56643 (is_trusted_path_normalize): Skip initial colon. Append slash
56644 to empty buffer. Duplicate is_trusted_path code but allow
56645 constructed patch to be prefix.
56646 (is_dst): Allow $ORIGIN followed by /.
56647 (_dl_dst_substitute): Correct clearing of check_for_trusted.
56648 Correct testing of result of is_trusted_path_normalize
56649 (decompose_rpath): Fix warning.
56651 2011-05-10 Ulrich Drepper <drepper@gmail.com>
56654 * grp/initgroups.c (internal_getgrouplist): When we found the service
56655 list through the initgroups entry in nsswitch.conf do not always
56656 continue on a successful lookup. Don't always use the
56657 __nss_group_database value if it is set.
56658 * nss/nsswitch.conf (initgroups): Change action for successful db
56659 lookup to continue for compatibility.
56661 2011-05-09 Ulrich Drepper <drepper@gmail.com>
56664 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
56666 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
56668 * iconvdata/tst-tables.sh: Likewise.
56669 * iconvdata/cp770.c: New file.
56670 * iconvdata/cp771.c: New file.
56671 * iconvdata/cp772.c: New file.
56672 * iconvdata/cp773.c: New file.
56673 * iconvdata/cp774.c: New file.
56674 * iconvdata/testdata/CP770: New file.
56675 * iconvdata/testdata/CP770..UTF8: New file.
56676 * iconvdata/testdata/CP771: New file.
56677 * iconvdata/testdata/CP771..UTF8: New file.
56678 * iconvdata/testdata/CP772: New file.
56679 * iconvdata/testdata/CP772..UTF8: New file.
56680 * iconvdata/testdata/CP773: New file.
56681 * iconvdata/testdata/CP773..UTF8: New file.
56682 * iconvdata/testdata/CP774: New file.
56683 * iconvdata/testdata/CP774..UTF8: New file.
56685 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
56687 * iconvdata/gen-8bit-gap.sh: Likewise.
56688 * iconvdata/gen-8bit.sh: Likewise.
56690 * locale/iso-639.def: Add ary entry.
56693 * locale/C-translit.h.in: Add U20A1 transliteration.
56696 * locale/iso-639.def: Add wae entry.
56697 Patch by Kevin Bortis <bortis@translate-wae.ch>.
56700 * locale/programs/localedef.c (construct_output_path): Use ssize_t
56704 * locale/C-translit.h.in: Add entry for U20B9.
56705 Patch by pravin.d.s@gmail.com.
56707 2011-05-08 Ulrich Drepper <drepper@gmail.com>
56710 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
56711 ENAMETOOLONG use generic getcwd.
56712 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
56713 in rtld. Use *stat64.
56714 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
56715 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
56716 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
56717 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
56718 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
56719 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
56720 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
56721 __fstatat64 macros.
56722 * include/dirent.h: Add libc_hidden_proto for rewinddir.
56723 * dirent/rewinddir.c: Add libc_hidden_def.
56724 * sysdeps/mach/hurd/rewinddir.c: Likewise.
56725 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
56727 * include/dirent.h (__alloc_dir): Add flags parameter.
56728 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
56729 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
56731 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
56732 from fdopendir if O_CLOEXEC is already set.
56734 2011-03-15 Alan Modra <amodra@gmail.com>
56736 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
56737 l_tls_firstbyte_offset non-zero. Save padding offset in
56738 l_tls_firstbyte_offset for later use.
56739 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
56740 freeing static tls block.
56742 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
56744 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
56745 where #ifdef was intended. The intent is to prevent ARG_MAX from
56746 being defined by the kernel headers.
56748 2011-05-07 Ulrich Drepper <drepper@gmail.com>
56751 * resolv/resolv.h: Define RES_NOTLDQUERY.
56752 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
56753 no-tld-query and set RES_NOTLDQUERY.
56754 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
56755 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
56756 modern BIND to search name as TLD unless forbidden.
56758 2011-05-07 Petr Baudis <pasky@suse.cz>
56759 Ulrich Drepper <drepper@gmail.com>
56762 * elf/dl-load.c (fillin_rpath): Move trusted path check...
56763 (is_trusted_path): ...to here.
56764 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
56765 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
56766 using is_trusted_path_normalize() in setuid scripts.
56768 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
56770 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
56771 __BEGIN/__END_DECLS.
56773 2011-05-06 Ulrich Drepper <drepper@gmail.com>
56775 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
56776 NSS_STATUS_NOTFOUND if no record was found.
56778 2011-05-05 Andreas Schwab <schwab@redhat.com>
56780 * sunrpc/Makefile (headers): Add rpc/netdb.h.
56781 (headers-not-in-tirpc): Remove rpc/netdb.h
56782 * resolv/netdb.h: Revert last change.
56784 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
56786 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
56787 circular dependency between libgcc.a and libc.a.
56789 2011-05-05 Andreas Schwab <schwab@redhat.com>
56791 * resolv/netdb.h: Don't include <rpc/netdb.h>.
56792 * nis/Makefile: Don't install rpcsvc/*.
56793 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
56794 instead of <rpc/types.h>.
56795 (MAXHOSTNAMELEN): Define.
56797 2011-05-03 Andreas Schwab <schwab@redhat.com>
56799 * elf/ldconfig.c (add_dir): Don't crash on empty path.
56801 2011-04-28 Maciej Babinski <mbabinski@google.com>
56804 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
56805 gethostbyname4_r when IPv6 results are possible.
56807 2011-05-02 Ulrich Drepper <drepper@gmail.com>
56810 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
56811 _PC_PIPE_BUF handling.
56813 2011-04-30 Bruno Haible <bruno@clisp.org>
56816 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
56817 * resolv/netdb.h (getnameinfo): Change type of flags parameter
56819 * inet/getnameinfo.c (getnameinfo): Likewise.
56821 2011-04-29 Ulrich Drepper <drepper@gmail.com>
56823 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
56824 to groups setting in database lookup.
56825 * nss/nsswitch.conf: Add initgroups entry.
56827 2011-04-22 Ulrich Drepper <drepper@gmail.com>
56830 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
56832 Patch by Eric Blake <eblake@redhat.com>.
56834 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
56836 * sunrpc/Makefile (need-export-routines): Add svc_run.
56837 (routines): Remove svc_run.
56838 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
56839 * sunrpc/clnt_perr.c (clnt_perrno): Export.
56840 * sunrpc/svc_run.c (svc_run): Likewise.
56841 * sunrpc/svc_udp.c (svcudp_create): Likewise.
56843 2011-04-21 Ulrich Drepper <drepper@gmail.com>
56845 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
56846 problem in reallocation in last patch.
56848 2011-04-20 Ulrich Drepper <drepper@gmail.com>
56850 * sunrpc/Makefile: Move inclusion of Rules.
56852 2011-04-19 Ulrich Drepper <drepper@gmail.com>
56854 * nss/nss_files/files-initgroups.c: New file.
56855 * nss/Makefile (libnss_files-routines): Add files-initgroups.
56856 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
56857 _nss_files_initgroups_dyn.
56859 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
56861 * elf/elf.h (R_ARM_IRELATIVE): Define.
56863 2011-04-19 Ulrich Drepper <drepper@gmail.com>
56865 * po/ru.po: Update from translation team.
56867 2011-04-17 Ulrich Drepper <drepper@gmail.com>
56869 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
56872 2011-02-06 Mike Frysinger <vapier@gentoo.org>
56875 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
56876 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
56877 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56878 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56879 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56881 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
56883 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
56885 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56886 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56887 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56889 2011-04-17 Ulrich Drepper <drepper@gmail.com>
56892 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
56894 * stdlib/bug-getcontext.c: New file.
56895 * stdlib/Makefile: Add rules to build and run bug-getcontext.
56897 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56899 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
56900 instructions into .machine "z9-109".
56901 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
56902 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
56904 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56906 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
56907 between environment variables and auxiliary vector.
56909 2011-04-16 Ulrich Drepper <drepper@gmail.com>
56911 * Makefile: Add rules to build linkobj/libc.so.
56912 * include/libc-symbols.h: Define libc_hidden_nolink.
56913 * include/rpc/auth.h: Mark functions which are to be hidden.
56914 * include/rpc/auth_des.h: Likewise.
56915 * include/rpc/auth_unix.h: Likewise.
56916 * include/rpc/clnt.h: Likewise.
56917 * include/rpc/des_crypt.h: Likewise.
56918 * include/rpc/key_prot.h: Likewise.
56919 * include/rpc/pmap_clnt.h: Likewise.
56920 * include/rpc/pmap_prot.h: Likewise.
56921 * include/rpc/pmap_rmt.h: Likewise.
56922 * include/rpc/rpc_msg.h: Likewise.
56923 * include/rpc/svc.h: Likewise.
56924 * include/rpc/svc_auth.h: Likewise.
56925 * include/rpc/xdr.h: Likewise.
56926 * nis/Makefile: Link all DSOs against linkobj/libc.so.
56927 * nss/Makefile: Likewise.
56928 * sunrpc/Makefile: Don't install headers. Build library with normal
56929 entry points. Don't build rpcinfo. Link RPC tests appropriately.
56930 * sunrpc/auth_des.c: Hide exported symbols by default, export some
56931 for the compat linking library. Remove use of INTDEF/INTUSE.
56932 * sunrpc/auth_none.c: Likewise.
56933 * sunrpc/auth_unix.c: Likewise.
56934 * sunrpc/authdes_prot.c: Likewise.
56935 * sunrpc/authuxprot.c: Likewise.
56936 * sunrpc/clnt_gen.c: Likewise.
56937 * sunrpc/clnt_perr.c: Likewise.
56938 * sunrpc/clnt_raw.c: Likewise.
56939 * sunrpc/clnt_simp.c: Likewise.
56940 * sunrpc/clnt_tcp.c: Likewise.
56941 * sunrpc/clnt_udp.c: Likewise.
56942 * sunrpc/clnt_unix.c: Likewise.
56943 * sunrpc/des_crypt.c: Likewise.
56944 * sunrpc/des_soft.c: Likewise.
56945 * sunrpc/get_myaddr.c: Likewise.
56946 * sunrpc/key_call.c: Likewise.
56947 * sunrpc/key_prot.c: Likewise.
56948 * sunrpc/netname.c: Likewise.
56949 * sunrpc/pm_getmaps.c: Likewise.
56950 * sunrpc/pm_getport.c: Likewise.
56951 * sunrpc/pmap_clnt.c: Likewise.
56952 * sunrpc/pmap_prot.c: Likewise.
56953 * sunrpc/pmap_prot2.c: Likewise.
56954 * sunrpc/pmap_rmt.c: Likewise.
56955 * sunrpc/publickey.c: Likewise.
56956 * sunrpc/rpc_cmsg.c: Likewise.
56957 * sunrpc/rpc_common.c: Likewise.
56958 * sunrpc/rpc_dtable.c: Likewise.
56959 * sunrpc/rpc_prot.c: Likewise.
56960 * sunrpc/rpc_thread.c: Likewise.
56961 * sunrpc/rtime.c: Likewise.
56962 * sunrpc/svc.c: Likewise.
56963 * sunrpc/svc_auth.c: Likewise.
56964 * sunrpc/svc_authux.c: Likewise.
56965 * sunrpc/svc_raw.c: Likewise.
56966 * sunrpc/svc_run.c: Likewise.
56967 * sunrpc/svc_simple.c: Likewise.
56968 * sunrpc/svc_tcp.c: Likewise.
56969 * sunrpc/svc_udp.c: Likewise.
56970 * sunrpc/svc_unix.c: Likewise.
56971 * sunrpc/svcauth_des.c: Likewise.
56972 * sunrpc/xcrypt.c: Likewise.
56973 * sunrpc/xdr.c: Likewise.
56974 * sunrpc/xdr_array.c: Likewise.
56975 * sunrpc/xdr_float.c: Likewise.
56976 * sunrpc/xdr_intXX_t.c: Likewise.
56977 * sunrpc/xdr_mem.c: Likewise.
56978 * sunrpc/xdr_rec.c: Likewise.
56979 * sunrpc/xdr_ref.c: Likewise.
56980 * sunrpc/xdr_sizeof.c: Likewise.
56981 * sunrpc/xdr_stdio.c: Likewise.
56983 2011-04-10 Ulrich Drepper <drepper@gmail.com>
56986 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56987 * sysdeps/ia64/dl-tls.h: Likewise.
56988 * sysdeps/powerpc/dl-tls.h: Likewise.
56989 * sysdeps/s390/dl-tls.h: Likewise.
56990 * sysdeps/sh/dl-tls.h: Likewise.
56991 * sysdeps/sparc/dl-tls.h: Likewise.
56992 * sysdeps/x86_64/dl-tls.h: Likewise.
56993 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56995 2011-03-14 Andreas Schwab <schwab@redhat.com>
56997 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56998 rpath element also skip the following colon.
56999 (expand_dynamic_string_token): Add is_path parameter and pass
57000 down to DL_DST_REQUIRED and _dl_dst_substitute.
57001 (decompose_rpath): Call expand_dynamic_string_token with
57002 non-zero is_path. Ignore empty rpaths.
57003 (_dl_map_object_from_fd): Call expand_dynamic_string_token
57006 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
57008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
57011 2011-04-09 Ulrich Drepper <drepper@gmail.com>
57014 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
57015 Patch by Filipe David Manana <fdmanana@apache.org>.
57017 2011-04-07 Andreas Schwab <schwab@redhat.com>
57019 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
57020 Maintain aligned stack.
57021 (CHECK_RSP): Remove unused macro.
57023 2011-04-03 Ulrich Drepper <drepper@gmail.com>
57025 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
57026 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
57028 2011-04-02 Ulrich Drepper <drepper@gmail.com>
57030 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
57032 * include/features.h: Mention __USE_XOPEN2K8 in comment.
57034 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
57037 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
57038 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
57039 * sysdeps/x86_64/memmove.c: New file.
57040 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
57041 (memcpy): Renamed to ...
57042 (__new_memcpy): This.
57043 (memcpy): Provide GLIBC_2_14 memcpy.
57044 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
57045 (memcpy): Provide GLIBC_2_2_5 memcpy.
57047 2011-04-01 Ulrich Drepper <drepper@gmail.com>
57050 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
57052 2011-03-30 Andreas Schwab <schwab@redhat.com>
57054 * misc/syncfs.c: New file.
57055 * misc/Makefile (routines): Add syncfs.
57056 * posix/unistd.h: Declare syncfs.
57057 * sysdeps/unix/syscalls.list: Add syncfs.
57059 2011-04-01 Andreas Schwab <schwab@redhat.com>
57061 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
57063 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57064 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57065 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57066 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57067 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57068 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
57069 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57071 2011-04-01 Ulrich Drepper <drepper@gmail.com>
57073 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
57074 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57075 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
57076 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57077 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57078 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57079 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57081 * io/Makefile: Compile fallocate.c, fallocate64.c, and
57082 sync_file_range.c with -fexceptions.
57083 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
57084 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
57085 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
57086 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
57087 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
57088 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
57089 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
57090 sync_file_range as cancellation point
57091 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
57092 now a wrapper around __call_sync_file_range with cancellation handling.
57093 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
57094 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
57095 function name to __call_sync_file_range.
57096 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
57097 Add call_sync_file_range.
57099 2011-04-01 Andreas Schwab <schwab@redhat.com>
57101 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57104 2011-04-01 Ulrich Drepper <drepper@gmail.com>
57106 * iconv/iconv.h: Fix typo in comment.
57107 * io/fcntl.h: Likewise.
57108 * libio/stdio.h: Likewise.
57109 * posix/spawn.h: Likewise.
57110 * posix/unistd.h: Likewise.
57111 * stdlib/stdlib.h: Likewise.
57112 * time/time.h: Likewise.
57113 * wcsmbs/wchar.h: Likewise.
57115 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
57116 open_by_handle): Add.
57117 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
57118 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
57119 Augment a few comments.
57120 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57121 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57122 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57123 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57124 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57125 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
57128 * io/fcntl.h (AT_EMPTY_PATH): Define.
57130 2011-03-30 Ulrich Drepper <drepper@gmail.com>
57132 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
57133 * sysdeps/unix/sysv/linux/bits/time.h: New file.
57134 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
57136 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
57137 * Versions.def: Add GLIBC_2.14.
57138 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
57141 2011-03-22 Ulrich Drepper <drepper@gmail.com>
57143 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
57145 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
57147 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
57150 * string/test-strncmp.c (do_page_test): New function.
57151 (check2): Likewise.
57152 (test_main): Call check2.
57153 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
57155 2011-03-20 Ulrich Drepper <drepper@gmail.com>
57158 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
57159 Handle cache information in CPU leaf 4.
57160 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
57162 2011-03-18 Ulrich Drepper <drepper@gmail.com>
57165 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
57166 character representation.
57167 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
57169 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
57171 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
57172 END(__isnan) to END(__isnanf) to match function entry point/label
57173 EALIGN(__isnanf,...).
57175 2011-03-10 Jakub Jelinek <jakub@redhat.com>
57177 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
57179 2011-03-10 Ulrich Drepper <drepper@gmail.com>
57182 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
57183 copy from the symbol referenced in the relocation to initialize the
57185 Patch by Piotr Bury <pbury@goahead.com>.
57186 * elf/Makefile: Add rules to build and tst-unique3.
57187 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
57188 * elf/tst-unique3.cc: New file.
57189 * elf/tst-unique3.h: New file.
57190 * elf/tst-unique3lib.cc: New file.
57191 * elf/tst-unique3lib2.cc: New file.
57193 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
57195 2011-03-10 Mike Frysinger <vapier@gentoo.org>
57197 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
57198 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
57201 2011-03-06 Ulrich Drepper <drepper@gmail.com>
57203 * elf/dl-load.c (_dl_map_object): If we are looking for the first
57204 to-be-loaded object along a path to loader is ld.so.
57206 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
57207 Ulrich Drepper <drepper@gmail.com>
57209 * sysdeps/x86_64/memset.S: After aligning destination, code
57210 branches to different locations depending on the value of
57211 misalignment, when multiarch is enabled. Fix this.
57213 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
57215 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
57216 Set _x86_64_preferred_memory_instruction for AMD processsors.
57217 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57218 Set bit_Prefer_SSE_for_memop for AMD processors.
57220 2011-03-04 Ulrich Drepper <drepper@gmail.com>
57222 * libio/fmemopen.c (fmemopen): Optimize a bit.
57224 2011-03-03 Andreas Schwab <schwab@redhat.com>
57226 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
57228 2011-03-03 Roland McGrath <roland@redhat.com>
57230 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
57232 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
57234 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
57235 __bzero_ultra1 instead of __memset_ultra1.
57237 2011-02-23 Andreas Schwab <schwab@redhat.com>
57238 Ulrich Drepper <drepper@gmail.com>
57241 * include/link.h (struct link_map): Add l_orig_initfini.
57242 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
57243 returning unsuccessfully.
57244 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
57245 close of a file loaded at startup, restore the original l_initfini
57247 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
57248 list, store the pointer.
57249 * elf/Makefile ($(objpfx)noload-mem): New rule.
57250 (noload-ENV): Define.
57251 (tests): Add $(objpfx)noload-mem.
57252 * elf/noload.c: Include <memcheck.h>.
57253 (main): Call mtrace. Close all opened handles.
57255 2011-02-17 Andreas Schwab <schwab@redhat.com>
57258 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
57259 dependencies are missing.
57261 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
57263 Fix __if_freereq crash: Unlike the generic version which uses free,
57265 * sysdeps/mach/hurd/ifreq.h: New file.
57267 2011-01-27 Petr Baudis <pasky@suse.cz>
57268 Ulrich Drepper <drepper@gmail.com>
57271 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
57272 to extend_alloca().
57273 * stdio-common/bug23.c: New file.
57274 * stdio-common/Makefile (tests): Add bug23.
57276 2010-09-28 Andreas Schwab <schwab@redhat.com>
57277 Ulrich Drepper <drepper@gmail.com>
57280 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
57281 before performing relro protection. At old place add assertion
57282 to make sure nothing changed.
57284 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
57285 Glauber de Oliveira Costa <glommer@gmail.com>
57287 * elf/elf.h: Add new ARM TLS relocs.
57289 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
57291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
57292 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
57294 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
57296 * sysdeps/wordsize-64/tst-writev.c: New file.
57298 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
57300 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
57301 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
57302 insns in _dl_start to prevent a TOC reference before relocs are
57305 2011-02-15 Ulrich Drepper <drepper@gmail.com>
57308 * Makeconfig: Remove RANLIB definition.
57309 * Makerules: Don't use RANLIB.
57310 * aclocal.m4: Remove ranlib test.
57311 * configure.in: No need to check for ranlib.
57312 * elf/rtld-Rules: Don't use RANLIB.
57314 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
57316 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
57318 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
57319 inclusion protection macro.
57321 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
57322 SIGRTMIN and SIGRTMAX and print information in that case only when
57323 SIGRTMIN is defined.
57325 2011-02-11 Jakub Jelinek <jakub@redhat.com>
57327 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
57328 arginfo fn returning -1.
57330 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
57331 and thousands string is zero terminated.
57333 2011-02-03 Andreas Schwab <schwab@redhat.com>
57335 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
57336 sysdeps/unix/sysv/linux/bits/socket.h.
57338 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
57340 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
57341 (__CPU_COUNT): Remove old macros.
57342 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
57343 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
57344 (__CPU_ALLOC, __CPU_FREE): Add macros.
57345 (__sched_cpualloc, __sched_cpufree): Add declarations.
57347 2011-02-05 Ulrich Drepper <drepper@gmail.com>
57349 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
57350 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
57351 * nscd/aicache.c (addhstaiX): Return timeout of added value.
57352 (readdhstai): Return value of addhstaiX call.
57353 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
57354 (addgrbyX): Return value returned by cache_addgr.
57355 (readdgrbyname): Return value returned by addgrbyX.
57356 (readdgrbygid): Likewise.
57357 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
57358 (addpwbyX): Return value returned by cache_addpw.
57359 (readdpwbyname): Return value returned by addhstbyX.
57360 (readdpwbyuid): Likewise.
57361 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
57362 (addservbyX): Return value returned by cache_addserv.
57363 (readdservbyname): Return value returned by addservbyX:
57364 (readdservbyport): Likewise.
57365 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
57366 (addhstbyX): Return value returned by cache_addhst.
57367 (readdhstbyname): Return value returned by addhstbyX.
57368 (readdhstbyaddr): Likewise.
57369 (readdhstbynamev6): Likewise.
57370 (readdhstbyaddrv6): Likewise.
57371 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
57372 (readdinitgroups): Return value returned by addinitgroupsX.
57373 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
57374 (prune_cache): Keep track of timeout value of re-added entries.
57375 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
57376 * nscd/nscd.h: Adjust prototypes of readd* functions.
57378 2011-02-04 Roland McGrath <roland@redhat.com>
57380 * nis/nis_server.c (nis_servstate): Use the right name for 0.
57381 (nis_stats): Likewise.
57382 * nis/nis_modify.c (nis_modify): Likewise.
57383 * nis/nis_remove.c (nis_remove): Likewise.
57384 * nis/nis_add.c (nis_add): Likewise.
57386 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
57388 * posix/fnmatch_loop.c: Add some consts.
57390 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
57392 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
57395 * config.make.in (config-cflags-novzeroupper): Define.
57396 * configure.in: Substitute libc_cv_cc_novzeroupper.
57397 * elf/Makefile (AVX-CFLAGS): Define.
57398 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
57399 (CFLAGS-tst-auditmod4a.c): Likewise.
57400 (CFLAGS-tst-auditmod4b.c): Likewise.
57401 (CFLAGS-tst-auditmod6b.c): Likewise.
57402 (CFLAGS-tst-auditmod6c.c): Likewise.
57403 (CFLAGS-tst-auditmod7b.c): Likewise.
57404 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
57406 2011-02-02 Ulrich Drepper <drepper@gmail.com>
57408 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
57409 function to the callback.
57410 Patch partly by Jiri Olsa <jolsa@redhat.com>.
57412 2011-02-02 Andreas Schwab <schwab@redhat.com>
57414 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
57417 2011-01-19 Ulrich Drepper <drepper@gmail.com>
57420 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
57422 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
57424 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
57427 * elf/Makefile: Add rules to build and run new test.
57428 * elf/tst-initorder.c: New file.
57429 * elf/tst-initorder.exp: New file.
57430 * elf/tst-initordera1.c: New file.
57431 * elf/tst-initordera2.c: New file.
57432 * elf/tst-initordera3.c: New file.
57433 * elf/tst-initordera4.c: New file.
57434 * elf/tst-initorderb1.c: New file.
57435 * elf/tst-initorderb2.c: New file.
57436 * elf/tst-order-a1.c: New file.
57437 * elf/tst-order-a2.c: New file.
57438 * elf/tst-order-a3.c: New file.
57439 * elf/tst-order-a4.c: New file.
57440 * elf/tst-order-b1.c: New file.
57441 * elf/tst-order-b2.c: New file.
57442 * elf/tst-order-main.c: New file.
57443 New test case by George Gensure <werkt0@gmail.com>.
57445 2010-10-01 Andreas Schwab <schwab@redhat.com>
57447 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57448 decoding ACE if AI_CANONIDN.
57450 2011-01-18 Ulrich Drepper <drepper@gmail.com>
57452 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
57454 2011-01-17 Ulrich Drepper <drepper@gmail.com>
57456 * version.h (RELEASE): Bump for 2.13 release.
57457 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
57459 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
57461 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
57463 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
57464 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
57465 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
57466 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
57467 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
57468 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
57470 * posix/getconf.c: Update copyright year.
57471 * catgets/gencat.c: Likewise.
57472 * csu/version.c: Likewise.
57473 * debug/catchsegv.sh: Likewise.
57474 * debug/xtrace.sh: Likewise.
57475 * elf/ldconfig.c: Likewise.
57476 * elf/ldd.bash.in: Likewise.
57477 * elf/sprof.c (print_version): Likewise.
57478 * iconv/iconv_prog.c: Likewise.
57479 * iconv/iconvconfig.c: Likewise.
57480 * locale/programs/locale.c: Likewise.
57481 * locale/programs/localedef.c: Likewise.
57482 * malloc/memusage.sh: Likewise.
57483 * malloc/mtrace.pl: Likewise.
57484 * nscd/nscd.c (print_version): Likewise.
57485 * nss/getent.c: Likewise.
57487 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
57488 PF_CAIF, and PF_ALG.
57489 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57491 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
57493 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
57494 (modules-names): Use them.
57495 (ifunc-test-modules, ifunc-pie-tests): Define.
57496 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
57497 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
57498 (test-extras): Likewise.
57499 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
57500 $(compile-command.c).
57501 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
57502 (all-built-dso): Define.
57503 (check-textrel.out, check-execstack.out): Depend on it.
57505 * configure.in: Don't override --enable-multi-arch.
57507 2011-01-15 Ulrich Drepper <drepper@gmail.com>
57510 * nscd/hstcache.c (tryagain): Define.
57511 (cache_addhst): Return tryagain not notfound for temporary errors.
57512 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
57515 2011-01-14 Ulrich Drepper <drepper@gmail.com>
57518 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
57519 to make the syscall.
57520 * sysdeps/unix/sysv/linux/setgroups.c: New file.
57523 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
57524 and fall back to matching as normal character if the string ends before
57525 the matching ']' is found. This is what POSIX requires.
57526 * posix/testfnm.c: Adjust test result.
57527 * posix/globtest.sh: Adjust test result. Add new test.
57528 * posix/tst-fnmatch.input: Likewise.
57529 * posix/tst-fnmatch2.c: Add new test.
57531 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
57533 * elf/Makefile (check-execstack): Revert last change. Depend on
57535 (check-execstack.h): New target.
57536 (generated): Add check-execstack.h.
57537 * elf/check-execstack.c: Include "check-execstack.h".
57538 (main): Revert last change.
57539 (handle_file): Return zero if GNU_STACK is absent and
57540 DEFAULT_STACK_PERMS doesn't include PF_X.
57542 2011-01-13 Ulrich Drepper <drepper@gmail.com>
57544 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
57545 in child fails because the descriptor is already closed.
57546 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
57547 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
57548 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
57551 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
57555 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
57556 temporary buffer used to handle multi lookups locally.
57557 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
57559 2011-01-12 Ulrich Drepper <drepper@gmail.com>
57561 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
57564 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
57566 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
57567 alignment for SSE2.
57569 2011-01-12 Ulrich Drepper <drepper@gmail.com>
57572 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
57573 characters. When rounding increased number of integer digits recompute
57575 * stdio-common/tst-grouping.c: New file.
57576 * stdio-common/Makefile: Add rules to build and run tst-grouping.
57578 2011-01-09 Ulrich Drepper <drepper@gmail.com>
57580 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
57581 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
57583 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
57585 * bits/select.h: Likewise.
57587 2011-01-08 Ulrich Drepper <drepper@gmail.com>
57589 * po/ja.po: Update from translation team.
57591 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
57594 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
57595 implementation just like for lxstat, fxstatat, et al.
57597 2010-12-27 Jim Meyering <meyering@redhat.com>
57600 * posix/regexec.c (build_trtable): Return failure indication upon
57601 calloc failure. Otherwise, re_search_internal could infloop on OOM.
57603 2010-12-25 Ulrich Drepper <drepper@gmail.com>
57606 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
57607 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
57608 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
57609 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
57612 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
57615 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
57616 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
57618 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
57620 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
57621 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
57622 script has SORT_BY_INIT_PRIORITY.
57623 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
57624 NO_CTORS_DTORS_SECTIONS is defined.
57625 * elf/soinit.c: Likewise.
57626 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
57627 NO_CTORS_DTORS_SECTIONS is defined.
57628 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
57629 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
57630 * sysdeps/sh/init-first.c: Likewise.
57631 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
57633 2010-12-24 Ulrich Drepper <drepper@gmail.com>
57635 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
57636 always use the slow path.
57638 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
57640 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
57641 similar rule which adds the sysdep directories to the header search in
57642 order to pick up the correct platform stackinfo.h.
57643 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
57644 perform test if it is, otherwise return successfully without testing.
57645 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
57646 DEFAULT_STACK_PERMS define in stackinfo.h.
57647 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
57648 defined in stackinfo.h.
57649 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
57650 DEFAULT_STACK_PERMS defined in stackinfo.h.
57651 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
57652 * sysdeps/ia64/stackinfo.h: Likewise.
57653 * sysdeps/s390/stackinfo.h: Likewise.
57654 * sysdeps/sh/stackinfo.h: Likewise.
57655 * sysdeps/sparc/stackinfo.h: Likewise.
57656 * sysdeps/x86_64/stackinfo.h: Likewise.
57657 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
57658 PF_X for powerpc64. Retain PF_X for powerpc32.
57660 2010-12-19 Ulrich Drepper <drepper@gmail.com>
57662 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
57664 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
57665 GETDENTS_64BIT_ALIGNED.
57667 2010-12-14 Ulrich Drepper <dreper@gmail.com>
57669 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
57671 2010-12-10 Andreas Schwab <schwab@redhat.com>
57673 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
57676 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
57677 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
57679 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
57680 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
57682 2010-12-09 Ulrich Drepper <drepper@gmail.com>
57685 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
57688 2010-12-09 Jakub Jelinek <jakub@redhat.com>
57690 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
57692 2010-12-03 Ulrich Drepper <drepper@gmail.com>
57694 * po/it.po: Update from translation team.
57696 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
57698 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
57701 2010-11-30 Ulrich Drepper <drepper@gmail.com>
57703 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
57705 2010-11-24 Andreas Schwab <schwab@redhat.com>
57707 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
57709 (gaih_getanswer_slice): Likewise.
57711 2010-10-20 Jakub Jelinek <jakub@redhat.com>
57713 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
57715 2010-05-31 Petr Baudis <pasky@suse.cz>
57718 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
57719 silently even in the chroot mode.
57721 2010-11-22 Ulrich Drepper <drepper@gmail.com>
57723 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
57724 last patch a bit. Pretty printing
57726 2010-05-31 Petr Baudis <pasky@suse.cz>
57729 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
57730 initialization of skip_initgroups_dyn.
57732 2010-11-19 Ulrich Drepper <drepper@gmail.com>
57734 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
57735 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
57737 2010-11-16 Ulrich Drepper <drepper@gmail.com>
57739 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
57741 2010-11-11 Andreas Schwab <schwab@redhat.com>
57743 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
57744 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
57745 (tst-fnmatch-ENV): Set MALLOC_TRACE.
57746 ($(objpfx)tst-fnmatch-mem): New rule.
57747 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
57748 * posix/tst-fnmatch.c (main): Call mtrace.
57750 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
57752 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57753 Support Intel processor model 6 and model 0x2c.
57755 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
57757 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
57760 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
57763 * string/test-strncasecmp.c (check_result): New function.
57764 (do_one_test): Use it.
57765 (check1): New function.
57766 (test_main): Use it.
57767 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
57768 Support strcasecmp and strncasecmp.
57770 2010-11-08 Ulrich Drepper <drepper@gmail.com>
57773 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
57774 * sysdeps/x86_64/bits/byteswap.h: Likewise.
57776 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
57778 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
57780 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57782 * sysdeps/x86_64/multiarch/bzero.S: New file.
57783 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
57784 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
57785 * sysdeps/x86_64/multiarch/memset.S: New file.
57786 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
57787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57788 Set bit_Prefer_SSE_for_memop for Intel processors.
57789 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
57791 (index_Prefer_SSE_for_memop): Define.
57792 (HAS_PREFER_SSE_FOR_MEMOP): Define.
57794 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
57796 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
57797 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
57799 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
57802 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57803 (__x86_64_raw_data_cache_size_half): Likewise.
57804 (__x86_64_raw_shared_cache_size): Likewise.
57805 (__x86_64_raw_shared_cache_size_half): Likewise.
57807 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57808 (__x86_64_raw_data_cache_size_half): Likewise.
57809 (__x86_64_raw_shared_cache_size): Likewise.
57810 (__x86_64_raw_shared_cache_size_half): Likewise.
57811 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
57812 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
57813 and __x86_64_raw_shared_cache_size_half. Round
57814 __x86_64_data_cache_size_half, __x86_64_data_cache_size
57815 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
57816 to multiple of 256 bytes.
57818 2010-11-03 Ulrich Drepper <drepper@gmail.com>
57821 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
57822 of inacessible symlinks. Verify result of symlink before returning it.
57823 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57824 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
57826 2010-10-28 Erich Ritz <erichritz@gmail.com>
57828 * math/math.h (isinf): Fix typo in comment.
57830 2010-11-01 Ulrich Drepper <drepper@gmail.com>
57832 * po/da.po: Update from translation team.
57834 2010-10-26 Ulrich Drepper <drepper@gmail.com>
57836 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
57837 is added to the list.
57839 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57840 Ulrich Drepper <drepper@gmail.com>
57842 * elf/dl-object.c (_dl_new_object): Don't append the new object to
57843 the global list here. Move code to...
57844 (_dl_add_to_namespace_list): ...here. New function.
57845 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
57846 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
57847 * elf/dl-load.c (lose): Don't remove the element from the list.
57848 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
57849 (_dl_map_object): Likewise.
57851 2010-10-25 Ulrich Drepper <drepper@gmail.com>
57854 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
57855 into all bytes of SSE register.
57856 Patch by Richard Li <richardpku@gmail.com>.
57858 2010-10-24 Ulrich Drepper <drepper@gmail.com>
57861 * malloc/malloc.c (_int_free): Fill correct number of bytes when
57864 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
57866 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
57867 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
57868 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
57869 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
57872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
57874 2010-10-22 Andreas Schwab <schwab@redhat.com>
57876 * include/dlfcn.h (__RTLD_SECURE): Define.
57877 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
57878 mode & __RTLD_SECURE instead.
57879 (open_path): Rename preloaded parameter to secure.
57880 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
57881 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
57882 * elf/dl-deps.c (openaux): Likewise.
57883 * elf/rtld.c (struct map_args): Remove is_preloaded.
57884 (map_doit): Don't use it.
57885 (dl_main): Likewise.
57886 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
57887 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
57889 2010-09-09 Andreas Schwab <schwab@redhat.com>
57891 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
57892 (sysd-rules-targets): Remove duplicates.
57893 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
57894 rtld-%.$o dependency.
57896 2010-10-18 Andreas Schwab <schwab@redhat.com>
57898 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
57899 _dl_map_object do it.
57901 2010-10-19 Ulrich Drepper <drepper@gmail.com>
57903 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
57904 fast fma builtins, define the macros in the C99 standard.
57905 (FP_FAST_FMAF): Likewise.
57906 (FP_FAST_FMAL): Likewise.
57907 * sysdeps/x86_64/bits/mathdef.h: Likewise.
57909 * bits/mathdef.h: Update copyright year.
57910 * sysdeps/powerpc/bits/mathdef.h: Likewise.
57912 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
57914 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
57915 builtins, define the macros in the C99 standard.
57916 (FP_FAST_FMAF): Likewise.
57917 (FP_FAST_FMAL): Likewise.
57918 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
57920 (FP_FAST_FMAF): Likewise.
57922 2010-10-15 Jakub Jelinek <jakub@redhat.com>
57925 * math/libm-test.inc (fma_test): Some new testcases.
57926 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
57927 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
57928 y and infinite z. Do multiplication by C already in long double.
57929 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
57930 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
57931 y and infinite z. Do bitwise or of inexact bit into u.d.
57932 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
57933 * sysdeps/i386/fpu/s_fmaf.S: Removed.
57934 * sysdeps/i386/fpu/s_fma.S: Removed.
57935 * sysdeps/i386/fpu/s_fmal.S: Removed.
57937 2010-10-16 Jakub Jelinek <jakub@redhat.com>
57940 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
57941 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
57942 computation is not scheduled after fetestexcept. Fix value
57943 of minimum denormal long double.
57945 2010-10-14 Jakub Jelinek <jakub@redhat.com>
57948 * math/libm-test.inc (fma_test): Add some more tests.
57949 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
57952 2010-10-15 Andreas Schwab <schwab@redhat.com>
57954 * scripts/data/localplt-s390-linux-gnu.data: New file.
57955 * scripts/data/localplt-s390x-linux-gnu.data: New file.
57957 2010-10-13 Jakub Jelinek <jakub@redhat.com>
57960 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
57961 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
57963 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
57965 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
57966 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
57967 if one of x and y is very large and the other is subnormal.
57968 * sysdeps/s390/fpu/s_fmaf.c: New file.
57969 * sysdeps/s390/fpu/s_fma.c: New file.
57970 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
57971 * sysdeps/powerpc/fpu/s_fma.S: New file.
57972 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
57973 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
57974 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
57976 2010-10-12 Jakub Jelinek <jakub@redhat.com>
57979 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57981 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57982 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57983 * sysdeps/i386/i686/multiarch/s_fma.c: Include
57984 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57985 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57986 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57987 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57989 2010-10-12 Ulrich Drepper <drepper@redhat.com>
57992 * posix/regcomp.c (parse_branch): One more memory leak plugged.
57993 * posix/bug-regex31.input: Add test case.
57995 2010-10-11 Ulrich Drepper <drepper@gmail.com>
57997 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57998 * posix/bug-regex31.input: New file.
58001 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
58002 (parse_sub_exp): Fix last change, use postorder.
58004 * posix/bug-regex31.c: New file.
58005 * posix/Makefile: Add rules to build and run bug-regex31.
58007 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
58010 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
58013 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
58014 to have entries in sys_siglist.
58017 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
58020 2010-10-07 Jakub Jelinek <jakub@redhat.com>
58023 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
58024 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
58025 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
58026 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
58027 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58028 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
58029 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
58030 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
58031 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
58032 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
58033 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
58034 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
58035 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
58036 * math/ftestexcept.c (fetestexcept): Likewise.
58037 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
58038 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
58039 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
58040 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
58041 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
58042 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
58043 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
58045 2010-10-11 Ulrich Drepper <drepper@gmail.com>
58048 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
58051 2010-10-06 Ulrich Drepper <drepper@gmail.com>
58053 * string/bug-strstr1.c: New file.
58054 * string/Makefile: Add rules to build and run bug-strstr1.
58056 2010-10-05 Eric Blake <eblake@redhat.com>
58059 * string/str-two-way.h (two_way_long_needle): Always clear memory
58060 when skipping input due to the shift table.
58062 2010-10-03 Ulrich Drepper <drepper@gmail.com>
58065 * malloc/mcheck.c: Handle large requests.
58068 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
58069 for strncmp and strncasecmp.
58070 * string/stratcliff.c: Add tests for strcmp and strncmp.
58071 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
58073 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
58075 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
58078 2010-09-30 Andreas Jaeger <aj@suse.de>
58080 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
58081 (CGROUP_SUPER_MAGIC): Define.
58082 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58083 Handle btrfs and cgroup file systems.
58084 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
58087 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
58089 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
58090 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
58092 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58095 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
58096 trying to locate the ELF header.
58098 2010-09-27 Andreas Schwab <schwab@redhat.com>
58101 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
58102 Mask out sign-bit copies when constructing f_fsid.
58104 2010-09-24 Petr Baudis <pasky@suse.cz>
58106 * debug/stack_chk_fail_local.c: Add missing licence exception.
58107 * debug/warning-nop.c: Likewise.
58109 2010-09-15 Joseph Myers <joseph@codesourcery.com>
58111 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
58112 implementing getdents64 using getdents syscall, set d_type if
58113 __ASSUME_GETDENTS32_D_TYPE.
58115 2010-09-16 Andreas Schwab <schwab@redhat.com>
58117 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
58118 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
58120 2010-09-21 Ulrich Drepper <drepper@redhat.com>
58123 * posix/unistd.h: Undo change of feature selection for ftruncate from
58126 2010-09-20 Ulrich Drepper <drepper@redhat.com>
58128 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
58131 2010-09-20 Andreas Schwab <schwab@redhat.com>
58133 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
58135 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
58137 2010-09-14 Andreas Schwab <schwab@redhat.com>
58139 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
58140 variables after CHECK_SP call.
58141 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
58143 2010-09-13 Andreas Schwab <schwab@redhat.com>
58144 Ulrich Drepper <drepper@redhat.com>
58146 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
58147 re-relocationg ld.so.
58148 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
58149 _dl_init_paths call.
58150 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
58153 2010-09-14 Ulrich Drepper <drepper@redhat.com>
58155 * resolv/res_init.c (__res_vinit): Count the default server we added.
58157 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
58158 Ulrich Drepper <drepper@redhat.com>
58161 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58162 (____longjmp_chk): Use %ebx for saving value across system call.
58165 2010-09-06 Andreas Schwab <schwab@redhat.com>
58167 * manual/Makefile: Don't mix pattern rules with normal rules.
58169 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
58171 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
58173 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
58174 * libio/iofopncook.c (_IO_cookie_init): Likewise.
58175 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
58176 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
58177 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58180 2010-09-04 Ulrich Drepper <drepper@redhat.com>
58183 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
58184 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
58186 2010-09-02 Ulrich Drepper <drepper@redhat.com>
58188 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
58189 * sysdeps/x86_64/addmul_1.S: Likewise.
58190 * sysdeps/x86_64/lshift.S: Likewise.
58191 * sysdeps/x86_64/mul_1.S: Likewise.
58192 * sysdeps/x86_64/rshift.S: Likewise.
58193 * sysdeps/x86_64/sub_n.S: Likewise.
58194 * sysdeps/x86_64/submul_1.S: Likewise.
58196 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
58198 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
58199 Define __sched_param instead of SCHED_* and sched_param when
58200 <bits/sched.h> is included with __need_schedparam defined.
58201 * bits/sched.h [__need_schedparam]
58202 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
58203 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
58204 (__defined_schedparam): Define to 1.
58205 (__sched_param): New structure, identical to sched_param.
58206 (__need_schedparam): Undefine.
58208 2010-08-31 Mike Frysinger <vapier@gentoo.org>
58210 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
58211 (epoll_create1): Declare.
58213 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
58215 2010-08-31 Andreas Schwab <schwab@redhat.com>
58218 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
58219 shifting retval into place.
58221 2010-09-01 Ulrich Drepper <drepper@redhat.com>
58223 * nis/rpcsvc/nis.h: Update copyright notice.
58224 * nis/rpcsvc/nis.x: Likewise.
58225 * nis/rpcsvc/nis_callback.h: Likewise.
58226 * nis/rpcsvc/nis_callback.x: Likewise.
58227 * nis/rpcsvc/nis_object.x: Likewise.
58228 * nis/rpcsvc/nis_tags.h: Likewise.
58229 * nis/rpcsvc/yp.h: Likewise.
58230 * nis/rpcsvc/yp.x: Likewise.
58231 * nis/rpcsvc/ypupd.h: Likewise.
58232 * nis/yp_xdr.c: Likewise.
58233 * nis/ypupdate_xdr.c: Likewise.
58235 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
58236 mainly the body of pmap_getport. Add parameters to specify timeouts.
58237 (pmap_getport): Use __libc_rpc_getport.
58238 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
58239 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
58240 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
58242 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
58244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
58247 2010-08-27 Roland McGrath <roland@redhat.com>
58249 * sysdeps/i386/i686/multiarch/Makefile
58250 (CFLAGS-varshift.c): New variable.
58252 2010-08-27 Ulrich Drepper <drepper@redhat.com>
58254 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
58255 * sysdeps/i386/i686/multiarch/varshift.c: New file.
58257 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
58259 * sysdeps/x86_64/strlen.S: Minimal code improvement.
58261 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
58263 * sysdeps/x86_64/strlen.S: Unroll the loop.
58264 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58265 strlen-sse2 strlen-sse2-bsf.
58266 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
58267 __strlen_no_bsf if bit_Slow_BSF is set.
58268 (__strlen_sse42): Removed.
58269 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
58270 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
58272 2010-08-25 Roland McGrath <roland@redhat.com>
58274 * sysdeps/x86_64/multiarch/varshift.S: File removed.
58275 * sysdeps/x86_64/multiarch/varshift.c: New file.
58276 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
58277 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
58278 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
58279 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
58281 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
58283 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58284 strlen-sse2 strlen-sse2-bsf.
58285 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
58286 __strlen_sse2_bsf if bit_Slow_BSF is unset.
58287 (__strlen_sse2): Removed.
58288 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
58289 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
58290 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
58291 bit_Slow_BSF for Atom.
58292 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
58293 (index_Slow_BSF): Define.
58294 (HAS_SLOW_BSF): Define.
58296 2010-08-25 Ulrich Drepper <drepper@redhat.com>
58299 * resolv/res_init.c (__res_vinit): When no server address at all
58300 is given default to loopback.
58302 2010-08-24 Roland McGrath <roland@redhat.com>
58304 * configure.in: Remove config-name.h generation.
58305 * configure: Regenerated.
58306 * config-name.in: File removed.
58307 * scripts/config-uname.sh: New file.
58308 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
58309 ($(objdir)config-name.h): New target.
58311 * sunrpc/rpc_parse.h: Avoid nested comment.
58313 2010-08-24 Richard Henderson <rth@redhat.com>
58314 Ulrich Drepper <drepper@redhat.com>
58315 H.J. Lu <hongjiu.lu@intel.com>
58317 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
58318 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
58319 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
58320 Replace _mm_srli_si128 with __m128i_shift_right. Replace
58321 _mm_alignr_epi8 with _mm_loadu_si128.
58322 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
58323 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
58324 (__m128i_shift_right): Removed.
58325 * sysdeps/i386/i686/multiarch/varshift.h: New file.
58326 * sysdeps/i386/i686/multiarch/varshift.S: New file.
58327 * sysdeps/x86_64/multiarch/varshift.h: New file.
58328 * sysdeps/x86_64/multiarch/varshift.S: New file.
58330 2010-08-21 Mike Frysinger <vapier@gentoo.org>
58332 * configure.in: Move assembler checks to before sysdep dir checking.
58334 2010-08-20 Petr Baudis <pasky@suse.cz>
58336 * LICENSES: Sync the sunrpc license.
58338 2010-08-19 Ulrich Drepper <drepper@redhat.com>
58340 * sunrpc/auth_des.c: Update copyright notice once again.
58341 * sunrpc/auth_none.c: Likewise.
58342 * sunrpc/auth_unix.c: Likewise.
58343 * sunrpc/authdes_prot.c: Likewise.
58344 * sunrpc/authuxprot.c: Likewise.
58345 * sunrpc/bindrsvprt.c: Likewise.
58346 * sunrpc/clnt_gen.c: Likewise.
58347 * sunrpc/clnt_perr.c: Likewise.
58348 * sunrpc/clnt_raw.c: Likewise.
58349 * sunrpc/clnt_simp.c: Likewise.
58350 * sunrpc/clnt_tcp.c: Likewise.
58351 * sunrpc/clnt_udp.c: Likewise.
58352 * sunrpc/clnt_unix.c: Likewise.
58353 * sunrpc/des_crypt.c: Likewise.
58354 * sunrpc/des_soft.c: Likewise.
58355 * sunrpc/get_myaddr.c: Likewise.
58356 * sunrpc/getrpcport.c: Likewise.
58357 * sunrpc/key_call.c: Likewise.
58358 * sunrpc/key_prot.c: Likewise.
58359 * sunrpc/openchild.c: Likewise.
58360 * sunrpc/pm_getmaps.c: Likewise.
58361 * sunrpc/pm_getport.c: Likewise.
58362 * sunrpc/pmap_clnt.c: Likewise.
58363 * sunrpc/pmap_prot.c: Likewise.
58364 * sunrpc/pmap_prot2.c: Likewise.
58365 * sunrpc/pmap_rmt.c: Likewise.
58366 * sunrpc/rpc/auth.h: Likewise.
58367 * sunrpc/rpc/auth_unix.h: Likewise.
58368 * sunrpc/rpc/clnt.h: Likewise.
58369 * sunrpc/rpc/des_crypt.h: Likewise.
58370 * sunrpc/rpc/key_prot.h: Likewise.
58371 * sunrpc/rpc/netdb.h: Likewise.
58372 * sunrpc/rpc/pmap_clnt.h: Likewise.
58373 * sunrpc/rpc/pmap_prot.h: Likewise.
58374 * sunrpc/rpc/pmap_rmt.h: Likewise.
58375 * sunrpc/rpc/rpc.h: Likewise.
58376 * sunrpc/rpc/rpc_des.h: Likewise.
58377 * sunrpc/rpc/rpc_msg.h: Likewise.
58378 * sunrpc/rpc/svc.h: Likewise.
58379 * sunrpc/rpc/svc_auth.h: Likewise.
58380 * sunrpc/rpc/types.h: Likewise.
58381 * sunrpc/rpc/xdr.h: Likewise.
58382 * sunrpc/rpc_clntout.c: Likewise.
58383 * sunrpc/rpc_cmsg.c: Likewise.
58384 * sunrpc/rpc_common.c: Likewise.
58385 * sunrpc/rpc_cout.c: Likewise.
58386 * sunrpc/rpc_dtable.c: Likewise.
58387 * sunrpc/rpc_hout.c: Likewise.
58388 * sunrpc/rpc_main.c: Likewise.
58389 * sunrpc/rpc_parse.c: Likewise.
58390 * sunrpc/rpc_parse.h: Likewise.
58391 * sunrpc/rpc_prot.c: Likewise.
58392 * sunrpc/rpc_sample.c: Likewise.
58393 * sunrpc/rpc_scan.c: Likewise.
58394 * sunrpc/rpc_scan.h: Likewise.
58395 * sunrpc/rpc_svcout.c: Likewise.
58396 * sunrpc/rpc_tblout.c: Likewise.
58397 * sunrpc/rpc_util.c: Likewise.
58398 * sunrpc/rpc_util.h: Likewise.
58399 * sunrpc/rpcinfo.c: Likewise.
58400 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
58401 * sunrpc/rpcsvc/key_prot.x: Likewise.
58402 * sunrpc/rpcsvc/klm_prot.x: Likewise.
58403 * sunrpc/rpcsvc/mount.x: Likewise.
58404 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
58405 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
58406 * sunrpc/rpcsvc/rex.x: Likewise.
58407 * sunrpc/rpcsvc/rstat.x: Likewise.
58408 * sunrpc/rpcsvc/rusers.x: Likewise.
58409 * sunrpc/rpcsvc/sm_inter.x: Likewise.
58410 * sunrpc/rpcsvc/spray.x: Likewise.
58411 * sunrpc/rpcsvc/yppasswd.x: Likewise.
58412 * sunrpc/rtime.c: Likewise.
58413 * sunrpc/svc.c: Likewise.
58414 * sunrpc/svc_auth.c: Likewise.
58415 * sunrpc/svc_authux.c: Likewise.
58416 * sunrpc/svc_raw.c: Likewise.
58417 * sunrpc/svc_run.c: Likewise.
58418 * sunrpc/svc_simple.c: Likewise.
58419 * sunrpc/svc_tcp.c: Likewise.
58420 * sunrpc/svc_udp.c: Likewise.
58421 * sunrpc/svc_unix.c: Likewise.
58422 * sunrpc/svcauth_des.c: Likewise.
58423 * sunrpc/xcrypt.c: Likewise.
58424 * sunrpc/xdr.c: Likewise.
58425 * sunrpc/xdr_array.c: Likewise.
58426 * sunrpc/xdr_float.c: Likewise.
58427 * sunrpc/xdr_mem.c: Likewise.
58428 * sunrpc/xdr_rec.c: Likewise.
58429 * sunrpc/xdr_ref.c: Likewise.
58430 * sunrpc/xdr_sizeof.c: Likewise.
58431 * sunrpc/xdr_stdio.c: Likewise.
58433 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
58436 2010-08-19 Andreas Schwab <schwab@redhat.com>
58438 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
58440 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
58442 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
58443 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
58444 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
58445 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
58446 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
58447 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
58448 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
58449 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
58450 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
58451 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
58452 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
58453 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
58454 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
58455 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
58457 2010-07-26 Anton Blanchard <anton@samba.org>
58459 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
58460 * malloc/arena.c (heap_trim): Likewise.
58462 2010-08-16 Ulrich Drepper <drepper@redhat.com>
58464 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
58466 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
58467 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
58469 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
58471 * sysdeps/i386/elf/Makefile: New file.
58473 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
58475 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
58476 from fanotify_init.
58477 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
58478 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
58480 2010-08-15 Ulrich Drepper <drepper@redhat.com>
58482 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
58484 * sysdeps/multiarch/strcmp.S: Likewise.
58486 2010-08-14 Ulrich Drepper <drepper@redhat.com>
58488 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
58489 strncase_l-nonascii.
58490 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
58491 Add strncase_l-ssse3.
58492 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
58493 * sysdeps/x86_64/strcmp.S: Likewise.
58494 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
58495 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
58496 * sysdeps/x86_64/strncase.S: New file.
58497 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
58498 * sysdeps/x86_64/strncase_l.S: New file.
58499 * string/Makefile (strop-tests): Add strncasecmp.
58500 * string/test-strncasecmp.c: New file.
58502 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
58505 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
58506 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
58508 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
58510 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
58512 2010-08-12 Ulrich Drepper <drepper@redhat.com>
58514 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
58515 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
58516 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
58518 2010-05-01 Alan Modra <amodra@gmail.com>
58520 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
58521 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
58522 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
58523 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
58524 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
58525 tidying. Don't tail-call __sigjmp_save for static lib.
58526 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
58528 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
58529 (CALL_MCOUNT): Add eh info, and nop after bl.
58530 (TAIL_CALL_SYSCALL_ERROR): New macro.
58531 (PSEUDO_RET): Use it.
58532 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
58533 Correct save location of integer regs and cr.
58534 (_dl_profile_resolve): Correct cr save location. Delete nops
58535 after bl when SHARED. Reduce cfi size a little by better
58536 placement of cfi directives.
58537 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
58538 make a stack frame. Instead use parm save area as a temp.
58539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
58540 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
58541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
58542 Don't make a stack frame for parent, use parm save area.
58543 Increase child stack frame to 112 bytes. Don't save unused reg,
58544 and adjust reg usage. Set up cfi on error recovery and
58545 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
58546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58547 (__makecontext): Add dummy nop after jump to exit.
58548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
58549 Use correct parm save area and cr save, reduce stack frame.
58550 Correct cfi for possible PSEUDO_RET frame setup.
58551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
58552 Branch to local label emitted by PSEUDO_RET rather than
58555 2010-08-12 Andreas Schwab <schwab@redhat.com>
58558 * locale/programs/locale.c (print_assignment): New function.
58559 (show_locale_vars): Use it.
58561 2010-08-11 Ulrich Drepper <drepper@redhat.com>
58563 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
58565 (struct statfs64): Likewise.
58566 (_STATFS_F_FLAGS): Define.
58567 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
58568 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58569 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
58570 (ST_VALID): Define locally.
58571 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
58572 __statvfs_getflags, use the provided value.
58573 * sysdeps/unix/sysv/linux/kernel-features.h: Define
58574 __ASSUME_STATFS_F_FLAGS.
58576 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
58578 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
58579 Add sys/fanotify.h.
58580 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
58581 fanotify_mask for GLIBC_2.13.
58582 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
58583 fanotify_init and fanotify_mark.
58584 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
58585 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
58587 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
58589 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
58590 prlimit64 for GLIBC_2.13.
58591 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
58593 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
58595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
58596 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
58597 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
58598 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
58599 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
58601 * sysdeps/unix/sysv/linux/prlimit.c: New file.
58604 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
58605 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
58607 * nss/Makefile: Add rules to build and run tst-nss-test1.
58608 * shlib-versions: Add entry for libnss_test1.
58609 * nss/nss_test1.c: New file.
58610 * nss/tst-nss-test1.c: New file.
58612 * nss/nsswitch.c (__nss_database_custom): Define new variable.
58613 (__nss_configure_lookup): Set appropriate entry in
58614 __nss_configure_lookup to true.
58615 * nss/nsswitch.h: Define enum with indeces of databases in
58616 databases and __nss_database_custom arrays. Declare
58617 __nss_database_custom.
58618 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
58619 to avoid using nscd when custom rules are installed.
58620 * nss/getXXbyYY_r.c: Likewise.
58621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58623 * nss/nss_files/files-parse.c: Whitespace fixes.
58625 2010-08-09 Ulrich Drepper <drepper@redhat.com>
58628 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
58629 * posix/fnmatch_loop.c: Likewise.
58631 2010-07-17 Andi Kleen <ak@linux.intel.com>
58633 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
58634 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
58635 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
58636 * Versions.def [GLIBC_2.13]: Add.
58638 2010-08-06 Ulrich Drepper <drepper@redhat.com>
58640 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58641 Also fail if tpwd after pwuid call is NULL.
58643 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
58645 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
58646 when converting to ms.
58648 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
58650 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
58651 EOPNOTSUPP errors with ENOTTY.
58652 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
58653 EOPNOTSUPP errors with ENOTTY.
58655 2010-07-31 Ulrich Drepper <drepper@redhat.com>
58657 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
58658 Add strcasecmp_l-ssse3.
58659 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
58661 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
58662 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
58663 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
58665 2010-07-30 Ulrich Drepper <drepper@redhat.com>
58667 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
58669 * string/Makefile (strop-tests): Add strcasecmp.
58670 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
58671 strcasecmp_l-nonascii.
58672 (gen-as-const-headers): Add locale-defines.sym.
58673 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
58674 * sysdeps/x86_64/strcasecmp.S: New file.
58675 * sysdeps/x86_64/strcasecmp_l.S: New file.
58676 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
58677 * sysdeps/x86_64/locale-defines.sym: New file.
58678 * string/test-strcasecmp.c: New file.
58680 * string/test-strcasestr.c: Test both ends of the range of characters.
58681 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
58683 2010-07-29 Roland McGrath <roland@redhat.com>
58686 * manual/locale.texi (Yes-or-No Questions): Fix example code.
58688 2010-07-27 Ulrich Drepper <drepper@redhat.com>
58690 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
58693 2010-07-27 Andreas Schwab <schwab@redhat.com>
58695 * manual/memory.texi (Malloc Tunable Parameters): Document
58698 2010-07-26 Roland McGrath <roland@redhat.com>
58701 * configure.in (-fgnu89-inline check): Set and substitute
58702 gnu89_inline, not libc_cv_gnu89_inline.
58703 * configure: Regenerated.
58704 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
58706 2010-07-26 Ulrich Drepper <drepper@redhat.com>
58708 * string/test-strnlen.c: New file.
58709 * string/Makefile (strop-tests): Add strnlen.
58710 * string/tester.c (test_strnlen): Add a few more test cases.
58711 * string/tst-strlen.c: Better error reporting.
58713 * sysdeps/x86_64/strnlen.S: New file.
58715 2010-07-24 Ulrich Drepper <drepper@redhat.com>
58717 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
58718 lower-latency instructions.
58720 2010-07-23 Ulrich Drepper <drepper@redhat.com>
58722 * string/test-strcasestr.c: New file.
58723 * string/test-strstr.c: New file.
58724 * string/Makefile (strop-tests): Add strstr and strcasestr.
58725 * string/str-two-way.h: Don't undefine MAX.
58726 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
58728 2010-07-21 Andreas Schwab <schwab@redhat.com>
58730 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58731 strcasestr-nonascii.
58732 (CFLAGS-strcasestr-nonascii.c): Define.
58733 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
58734 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
58735 Remove unused attribute.
58737 2010-07-20 Roland McGrath <roland@redhat.com>
58739 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
58740 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
58741 ld.so.cache was broken. With it, there is no way to disable dsocaps
58742 like LD_HWCAP_MASK can disable hwcaps.
58744 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58746 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
58748 2010-07-16 Ulrich Drepper <drepper@redhat.com>
58750 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
58751 call in strcasestr.
58752 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
58753 __strcasestr_sse42_nonascii.
58754 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
58755 strcasestr-nonascii.c.
58756 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
58758 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
58760 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
58761 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
58762 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
58763 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
58765 2010-07-09 Ulrich Drepper <drepper@redhat.com>
58767 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
58770 2010-07-06 Andreas Schwab <schwab@redhat.com>
58773 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
58776 2010-07-06 Ulrich Drepper <drepper@redhat.com>
58778 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
58779 _PC_PIPE_BUF using F_GETPIPE_SZ.
58781 2010-07-05 Roland McGrath <roland@redhat.com>
58783 * manual/arith.texi (Rounding Functions): Fix rint description
58784 implicit in round description.
58786 2010-07-02 Ulrich Drepper <drepper@redhat.com>
58788 * elf/Makefile: Fix linking for a few tests to make recent linker
58791 2010-06-30 Andreas Schwab <schwab@redhat.com>
58793 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58794 $(common-objpfx)libc_nonshared.a.
58796 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
58798 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
58799 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
58800 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58801 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58802 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
58803 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
58804 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58805 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
58807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
58808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
58809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
58811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
58813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
58814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
58815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
58816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
58818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
58820 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
58821 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
58822 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
58823 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
58824 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
58825 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
58826 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
58827 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
58828 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
58829 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
58830 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
58831 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
58832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
58833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
58834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
58835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
58836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
58837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
58838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
58839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
58840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
58841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
58842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
58843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
58844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
58845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
58847 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
58849 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
58850 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
58851 * string/memmove.c (memmove): Renamed to ...
58852 (MEMMOVE): ...this. Default to memmove.
58853 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
58854 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
58856 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58857 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
58858 mempcpy-ssse3-back memmove-ssse3-back.
58859 * sysdeps/x86_64/multiarch/bcopy.S: New file .
58860 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
58861 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
58862 * sysdeps/x86_64/multiarch/memcpy.S: New file.
58863 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
58864 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
58865 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
58866 * sysdeps/x86_64/multiarch/memmove.c: New file.
58867 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
58868 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
58869 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
58870 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
58871 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
58872 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
58874 (index_Fast_Copy_Backward): Define.
58875 (HAS_ARCH_FEATURE): Define.
58876 (HAS_FAST_REP_STRING): Define.
58877 (HAS_FAST_COPY_BACKWARD): Define.
58879 2010-06-21 Andreas Schwab <schwab@redhat.com>
58881 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58882 Restore proper fallback handling.
58884 2010-06-19 Ulrich Drepper <drepper@redhat.com>
58887 * posix/group_member.c (__group_member): Correct checking loop.
58889 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
58890 OOM in getpwuid_r correctly. Return error number when the caller
58891 should return, otherwise -1.
58892 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
58893 call returning > 0 value.
58894 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
58896 2010-06-07 Andreas Schwab <schwab@redhat.com>
58898 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
58899 libc_nonshared.a from targets in modules-names.
58901 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
58903 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
58906 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
58908 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
58909 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
58910 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
58911 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
58913 2010-06-02 Andreas Schwab <schwab@redhat.com>
58915 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
58917 2010-06-14 Ulrich Drepper <drepper@redhat.com>
58919 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
58921 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58922 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58923 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58924 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58925 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58926 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
58928 2010-06-14 Roland McGrath <roland@redhat.com>
58930 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
58932 2010-06-07 Jakub Jelinek <jakub@redhat.com>
58934 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
58935 __REDIRECT followed by __THROW.
58936 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
58937 * posix/getopt.h (getopt): Likewise.
58939 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58941 * hurd/lookup-at.c (__file_name_lookup_at): Accept
58942 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
58943 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
58945 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
58946 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
58948 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
58950 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
58952 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
58955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58956 Properly check family and model.
58958 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
58960 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
58962 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
58964 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
58966 2010-05-21 Ulrich Drepper <drepper@redhat.com>
58968 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
58971 2010-05-19 Andreas Schwab <schwab@redhat.com>
58973 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
58976 2010-05-21 Andreas Schwab <schwab@redhat.com>
58978 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58979 and internal_recvmmsg.
58980 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58981 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58982 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58983 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58985 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58986 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58987 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58989 2010-05-20 Andreas Schwab <schwab@redhat.com>
58991 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58993 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
58995 POWER7 optimizations.
58996 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58997 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58999 2010-05-19 Ulrich Drepper <drepper@redhat.com>
59001 * version.h: Update for 2.13 development version.
59003 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
59005 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
59006 exceptions. Return 0.
59008 2010-05-07 Roland McGrath <roland@redhat.com>
59010 * elf/ldconfig.c (main): Add a const.
59012 2010-05-06 Ulrich Drepper <drepper@redhat.com>
59014 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
59015 (args_options): Add no-idn option.
59016 (ahosts_keys_int): Add idn_flags to ai_flags.
59017 (parse_option): Handle 'i' option to clear idn_flags.
59019 * malloc/malloc.c (_int_free): Possible race in the most recently
59020 added check. Only act on the data if no current modification
59023 See ChangeLog.17 for earlier changes.