1 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * .gitignore: Ignore generated *.pyc.
5 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
7 * include/stdio.h: Define __need_wint_t.
8 * test-skeleton.c: Avoid `for' loop initial declaration.
9 * nptl/tst-initializers1.c: Use test-skeleton.c.
11 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
16 2015-05-15 Joseph Myers <joseph@codesourcery.com>
19 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
20 (__ieee754_atanh): Force underflow exception for results with
22 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
23 (__ieee754_atanhf): Force underflow exception for results with
25 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
26 (__ieee754_atanh): Force underflow exception for results with
28 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
29 (__ieee754_atanhf): Force underflow exception for results with
31 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
32 (__ieee754_atanhl): Force underflow exception for results with
34 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
35 (__ieee754_atanhl): Force underflow exception for results with
37 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
38 (__ieee754_atanhl): Force underflow exception for results with
40 * math/auto-libm-test-in: Do not allow missing underflow
41 exceptions from atanh.
42 * math/auto-libm-test-out: Regenerated.
45 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
46 2**-28 as threshold for returning x or +/- 1/x.
47 * math/auto-libm-test-in: Add more tests of tan.
48 * math/auto-libm-test-out: Regenerated.
51 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
52 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
53 * math/auto-libm-test-in: Add another test of lgamma.
54 * math/auto-libm-test-out: Regenerated.
56 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
58 * stdio-common/printf_fp.c (___printf_fp): Use abs.
59 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
60 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
61 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
62 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
63 (ADD2A): Use fabs. (SUB2A): Use fabs.
64 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
65 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
66 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
67 (log1): Use fabs. (my_log2): Use fabs.
68 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
69 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
70 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
71 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
72 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
73 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
74 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
75 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
76 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
77 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
78 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
80 2015-05-15 Joseph Myers <joseph@codesourcery.com>
83 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
84 as threshold for returning 1 - x.
85 * math/auto-libm-test-in: Add more tests of erfc.
86 * math/auto-libm-test-out: Regenerated.
88 2015-05-14 Joseph Myers <joseph@codesourcery.com>
91 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
92 threshold for large arguments.
93 * math/auto-libm-test-in: Add another test of atan.
94 * math/auto-libm-test-out: Regenerated.
97 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
98 (__log1p): Force underflow exception for results with small
100 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
101 (__log1pf): Force underflow exception for results with small
103 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
104 (__log1p): Force underflow exception for results with small
106 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
107 (__log1pf): Force underflow exception for results with small
109 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
110 (__log1pl): Force underflow exception for results with small
112 * math/auto-libm-test-in: Do not allow missing underflow
113 exceptions from log1p.
114 * math/auto-libm-test-out: Regenerated.
116 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
117 Adhemerval Zanella <adhemerval.zanella@linaro.org>
120 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
122 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
124 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
125 (libmvec): New variable.
126 * configure.ac: Added option for mathvec build.
127 * configure: Regenerated.
128 * mathvec/Depend: New file.
129 * mathvec/Makefile: New file.
130 * shlib-versions: Added libmvec.
131 * math/Makefile: Added rule for libm.so installation.
133 * bits/math-vector.h: New file.
134 * bits/libm-simd-decl-stubs.h: New header.
135 * math/Makefile (headers): Added new header
136 libm-simd-decl-stubs.h.
137 * math/math.h (__MATHCALL_VEC): New macro.
139 * math/gen-libm-have-vector-test.sh: Script generates series of macros
140 for conditions in testing functions.
141 * math/Makefile: Added call of libm-have-vector-test.sh.
142 * math/libm-test.inc (HAVE_VECTOR): New macros.
144 * math/libm-test.inc: START refactored.
145 * math/test-double.c (TEST_MATHVEC): Add define.
146 * math/test-float.c: Likewise.
147 * math/test-idouble.c: Likewise.
148 * math/test-ifloat.c: Likewise.
149 * math/test-ildoubl.c: Likewise.
150 * math/test-ldouble.c: Likewise.
151 * sysdeps/generic/math-tests-arch.h
152 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
155 * math/test-double.c (FUNC_TEST): New macro.
156 * math/test-float.c: Likewise.
157 * math/test-idouble.c: Likewise.
158 * math/test-ifloat.c: Likewise.
159 * math/test-ildoubl.c: Likewise.
160 * math/test-ldouble.c: Likewise.
161 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
163 2015-05-13 Roland McGrath <roland@hack.frob.com>
165 * sysdeps/nacl/fdopendir.c: New file.
167 * dirent/scandir-tail.c: New file.
168 * dirent/scandir64-tail.c: New file.
169 * dirent/Makefile (routines): Add them.
170 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
171 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
172 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
173 [!SCANDIR] (SCANDIR_TAIL): New macro.
174 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
175 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
176 (SCANDIRAT): Macro removed.
177 (SCANDIR_TAIL): New macro.
178 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
179 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
180 (SCANDIRAT): Just call __opendirat and __scandir_tail.
181 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
182 (READDIR): Macro removed.
183 (SCANDIR_TAIL): New macro.
184 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
185 (SCANDIR_TAIL): New macro.
187 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
188 * dirent/scandir-cancel.c: ... to this new file.
189 * dirent/Makefile (routines): Add it.
190 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
191 * sysdeps/unix/sysv/linux/i386/scandir64.c
192 (SKIP_SCANDIR_CANCEL): Macro removed.
193 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
195 * dirent/tst-scandir.c: New file.
196 * dirent/tst-scandir64.c: New file.
197 * dirent/Makefile (tests): Add them.
199 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
202 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
204 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
206 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
209 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
211 * benchtests/bench-strcoll.c: New benchmark.
212 * benchtests/Makefile: Generate locales and run benchmark.
213 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
214 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
215 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
216 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
217 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
218 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
219 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
220 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
221 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
222 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
223 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
224 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
225 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
226 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
227 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
228 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
229 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
230 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
231 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
232 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
233 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
234 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
235 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
236 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
238 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
240 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
241 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
243 2015-05-12 Roland McGrath <roland@hack.frob.com>
245 * posix/uname-values.h: New file.
246 * posix/uname.c: Include that instead of <config-name.h>.
247 * sysdeps/nacl/uname-values.h: New file.
248 * sysdeps/arm/nacl/uname-values.h: New file.
250 2015-05-12 Joseph Myers <joseph@codesourcery.com>
252 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
253 splitting into fields.
255 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
257 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
258 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
259 * locale/localeinfo.h: Add enum collation_encoding_type.
260 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
261 * programs/ld-collate.c (collate_output): Add encoding type info.
262 * string/strcoll_l.c (STRDIFF): New function.
263 * (STRCOLL): Use STRDIFF to skip over equal prefix.
264 * wcsmbs/wcscoll_l.c: Define STRDIFF.
266 2015-05-11 Joseph Myers <joseph@codesourcery.com>
269 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
270 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
271 <fpu_control.h> instead of <math/fpu_control.c>.
272 * sysdeps/mips/mips32/fpu/Makefile: New file.
274 2015-05-11 Andreas Schwab <schwab@suse.de>
277 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
279 (_nss_compat_endgrent): Call nss_endgrent.
280 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
282 (_nss_compat_endpwent): Call nss_endpwent.
283 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
284 needent, call nss_setspent only if non-zero.
285 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
286 (internal_endspent): Don't call nss_endspent.
287 (_nss_compat_endspent): Call nss_endspent.
288 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
289 Remove. All uses removed.
290 (internal_setent): Remove parameter stayopen, add parameter
291 stream. Use it instead of global variable.
292 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
293 (internal_endent, internal_getent): Add parameter stream. Use it
294 instead of global variable.
295 (CONCAT(_nss_files_end,ENTNAME))
296 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
297 (_nss_files_get##name##_r): Pass local stream. Remove locking.
298 * nss/nss_files/files-alias.c (position, last_use): Remove. All
300 (internal_setent, internal_endent): Add parameter stream. Use it
301 instead of global variable.
302 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
304 (get_next_alias): Add parameter stream.
305 (_nss_files_getaliasent_r): Pass global stream.
306 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
307 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
308 (_nss_files_gethostbyname4_r): Pass local stream to
309 internal_setent, internal_getent and internal_endent. Remove
312 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
314 * tst-strfmon1.c (tests): Update expected currency symbol.
316 2015-05-08 Roland McGrath <roland@hack.frob.com>
318 * sysdeps/nacl/gethostname.c: New file.
320 2015-05-08 Joseph Myers <joseph@codesourcery.com>
322 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
324 * math/auto-libm-test-out: Regenerated.
325 * sysdeps/i386/fpu/libm-test-ulps: Update.
326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
328 2015-05-08 Carlos O'Donell <carlos@redhat.com>
331 * stdlib/tst-setcontext3.c: New file.
332 * stdlib/tst-setcontext3.sh: New file.
333 * stdlib/Makefile (tests): Add tst-setcontext3.
334 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
335 to verify test program created output file.
336 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
337 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
338 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
339 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
341 2015-05-06 Roland McGrath <roland@hack.frob.com>
344 * elf/tst-tlsalign.c: New file.
345 * elf/tst-tlsalign-static.c: New file.
346 * elf/tst-tlsalign-lib.c: New file.
347 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
348 (tests-static): Add tst-tlsalign-static.
349 (modules-names): Add tst-tlsalign-lib.
350 (test-xfail-tst-tlsalign): New variable.
351 (test-xfail-tst-tlsalign-static): New variable.
353 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
354 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
356 2015-05-06 Joseph Myers <joseph@codesourcery.com>
358 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
359 csqrt, erfc, sin and sincos.
360 * math/auto-libm-test-out: Regenerated.
361 * sysdeps/i386/fpu/libm-test-ulps: Update.
362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
364 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
366 * sysdeps/aarch64/libm-test-ulps: Update.
368 2015-05-05 Joseph Myers <joseph@codesourcery.com>
370 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
371 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
372 * math/auto-libm-test-out: Regenerated.
373 * sysdeps/i386/fpu/libm-test-ulps: Update.
374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
376 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
379 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
382 2015-05-05 Florian Weimer <fweimer@redhat.com>
384 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
385 Assume __ASSUME_FALLOCATE is always true.
386 * sysdeps/unix/sysv/linux/posix_fallocate64.c
387 (__posix_fallocate64_l64): Likweise.
388 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
389 (posix_fallocate): Likewise.
390 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
391 (__posix_fallocate64_l64): Likewise.
392 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
393 [!__ASSUME_FALLOCATE]: Add comment.
395 2015-05-05 Florian Weimer <fweimer@redhat.com>
397 * sysdeps/unix/sysv/linux/i386/Makefile
398 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
399 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
400 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
401 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
402 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
403 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
404 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
406 2015-05-02 Joseph Myers <joseph@codesourcery.com>
408 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
409 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
411 * math/auto-libm-test-out: Regenerated.
412 * sysdeps/i386/fpu/libm-test-ulps: Update.
413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
415 2015-05-01 Joseph Myers <joseph@codesourcery.com>
417 * math/auto-libm-test-in: Add more tests of tgamma.
418 * math/auto-libm-test-out: Regenerated.
419 * sysdeps/i386/fpu/libm-test-ulps: Update.
420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
422 * math/auto-libm-test-in: Add more tests of tanh.
423 * math/auto-libm-test-out: Regenerated.
424 * sysdeps/i386/fpu/libm-test-ulps: Update.
425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
427 * math/auto-libm-test-in: Add more tests of tan.
428 * math/auto-libm-test-out: Regenerated.
429 * sysdeps/i386/fpu/libm-test-ulps: Update.
430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
432 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
433 * math/auto-libm-test-out: Regenerated.
434 * sysdeps/i386/fpu/libm-test-ulps: Update.
435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
437 * math/auto-libm-test-in: Add another test of pow.
438 * math/auto-libm-test-out: Regenerated.
439 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
441 * math/auto-libm-test-in: Add more tests of lgamma.
442 * math/auto-libm-test-out: Regenerated.
443 * sysdeps/i386/fpu/libm-test-ulps: Update.
444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
446 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
448 * math/auto-libm-test-out: Regenerated.
449 * sysdeps/i386/fpu/libm-test-ulps: Update.
450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
452 2015-05-01 Mark Wielaard <mjw@redhat.com>
454 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
455 Elf64_Chdr structs and ELFCOMPRESS constants.
457 2015-05-01 Joseph Myers <joseph@codesourcery.com>
459 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
461 * math/auto-libm-test-out: Regenerated.
462 * sysdeps/i386/fpu/libm-test-ulps: Update.
463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
465 * math/auto-libm-test-in: Add more tests of erf and erfc.
466 * math/auto-libm-test-out: Regenerated.
467 * sysdeps/i386/fpu/libm-test-ulps: Update.
468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
470 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
472 * config.h.in (HAVE_AARCH64_BE): Add.
474 2015-04-30 Joseph Myers <joseph@codesourcery.com>
476 * math/auto-libm-test-in: Add more tests of csqrt.
477 * math/auto-libm-test-out: Regenerated.
478 * sysdeps/i386/fpu/libm-test-ulps: Update.
479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
481 * math/auto-libm-test-in: Add more tests of cosh and sinh.
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 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
488 2015-04-29 Roland McGrath <roland@hack.frob.com>
490 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
491 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
493 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
494 (euidaccess, eaccess): Define as weak aliases.
496 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
497 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
498 but __suseconds_t is often 'long int' so some sources assume that
499 type is being used (e.g. they use %ld to print tv_usec).
501 2015-04-29 Florian Weimer <fweimer@redhat.com>
504 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
506 * nss/tst-nss-getpwent.c: New file.
507 * nss/Makefile (tests): Add new test.
509 2015-04-28 Joseph Myers <joseph@codesourcery.com>
512 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
513 exponents less than 48 as cases where high part of mantissa needs
514 examining to determine whether argument is integral.
515 * math/libm-test.inc (round_test_data): Add more tests.
517 2015-04-28 Mark Wielaard <mjw@redhat.com>
519 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
521 2015-04-27 David S. Miller <davem@davemloft.net>
523 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
525 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
527 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
530 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
532 2015-04-27 Florian Weimer <fweimer@redhat.com>
535 * time/tzset.c (parse_tzname): Return error on memory allocation
537 * test-skeleton.c (struct temp_name_list): Change type of name
539 (add_temp_file): Create a copy of the file name.
540 (delete_temp_files): Deallocate memory.
541 (create_temp_file): Add comment.
543 2015-04-24 Florian Weimer <fweimer@redhat.com>
545 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
546 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
548 2015-04-24 Roland McGrath <roland@hack.frob.com>
550 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
551 * sysdeps/arm/configure: Regenerated.
553 2015-04-24 Florian Weimer <fweimer@redhat.com>
556 * time/tzfile.c (__tzfile_read): Check for large values of
557 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
558 * time/tzset.c (__tzstring_len): New function, based on the old
560 (__tzstring): Call __tzstring_len.
561 (parse_tzname): New helper function extracted from
562 __tzset_parse_tz. Call __tzstring_len, without making a copy of
564 (parse_offset): New helper function extracted from
565 __tzset_parse_tz. Replace switch with fallthrough with
566 initialization before sscanf.
567 (parse_rule): Likewise.
568 (__tzset_parse_tz): Rewrite using the new helper functions. Use
569 new-style function definition.
570 * timezone/Makefile (tests): Add tst-tzset.
571 (tst-tzset.out): Dependencies on time zone files.
572 (tst-tzset-ENV): Set TZDIR.
573 (testdata/XT%): Copy crafted time zone files.
574 * timezone/README: Mention crafted time zone files.
575 * timezone/testdata/XT1, timezone/testdata/XT2,
576 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
578 * timezone/tst-tzset.c: New test.
580 2015-04-24 Florian Weimer <fweimer@redhat.com>
582 * Makeconfig (+gccwarn): Remove -Winline.
584 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
586 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
588 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
590 * NEWS: Mention sysconf() cache information support for s390.
591 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
593 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
595 * math/k_casinh.c (__kernel_casinh): Use __copysign.
596 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
597 (__nearbyint): Likewise.
598 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
599 (copysignl): Likewise.
601 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
604 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
605 based on padding. (CVE-2015-1781)
607 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
609 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
611 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
612 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
613 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
614 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
615 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
616 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
617 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
618 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
619 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
620 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
621 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
622 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
623 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
624 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
625 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
626 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
627 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
628 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
629 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
630 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
631 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
632 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
633 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
635 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
637 * stdlib/setenv.c (__add_to_environ):
638 Dump core quickly if setenv (..., NULL, ...) is called.
639 This time, do it the right way, and pacify GCC with a pragma.
641 2015-04-17 Roland McGrath <roland@hack.frob.com>
643 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
644 IMAP->l_prev cannot be null, and #if out the code for the contrary
645 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
646 believe that NS (&_dl_ns[NSID]) could point outside the array.
648 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
649 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
650 before using NSID as an index.
652 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
655 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
656 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
657 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
659 2015-04-17 Roland McGrath <roland@hack.frob.com>
661 Add preliminary port to Google Native Client on ARM.
662 * abi-tags (.*-.*-nacl.*): New entry.
663 * sysdeps/arm/nacl: New directory.
664 * sysdeps/nacl: New directory.
666 2015-04-16 David S. Miller <davem@davemloft.net>
668 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
671 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
673 * sysdeps/tile/configure.ac: New file.
674 * sysdeps/tile/configure: Regenerated.
676 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
678 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
679 conditionals for weak_alias and libc_hidden_weak.
680 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
681 libc_hidden_weak and weak_alias.
682 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
683 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
684 and weak_alias for static one.
686 2015-04-15 David S. Miller <davem@davemloft.net>
688 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
690 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
693 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
694 Use signed comparision instead of substraction to avoid
696 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
697 Take the sign of ret.
698 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
699 Do not expect precise return values. Only the sign matters.
700 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
701 * wcsmbs/test-wcsncmp.c: New File.
702 * string/test-strncmp.c: Add wcsncmp support.
704 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
707 * math/w_log1p.c: New file.
708 * math/w_log1pf.c: Likewise.
709 * math/w_log1pl.c: Likewise.
710 * math/Makefile (libm-calls): Add w_log1p.
711 * math/s_log1pl.c (log1pl): Remove weak_alias.
712 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
713 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
714 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
715 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
716 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
717 [NO_LONG_DOUBLE] (log1pl): Likewise.
718 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
719 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
720 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
721 (log1p): Remove long_double_symbol.
722 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
723 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
724 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
725 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
726 remove weak_alias for corresponding log1p function.
727 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
728 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
729 * sysdeps/ia64/fpu/w_log1p.c: New file.
730 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
731 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
732 * math/libm-test.inc (log1p_test_data): Add errno expectations.
734 2015-04-10 Joseph Myers <joseph@codesourcery.com>
737 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
738 decimal exponent by 1.
739 * stdlib/tst-strtod-round-data: Add more tests.
740 * stdlib/tst-strtod-round.c (tests): Regenerated.
742 2015-04-09 Joseph Myers <joseph@codesourcery.com>
744 * math/auto-libm-test-in: Add more tests of clog and clog10.
745 * math/auto-libm-test-out: Regenerated.
746 * sysdeps/i386/fpu/libm-test-ulps: Update.
747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
749 2015-04-09 Roland McGrath <roland@hack.frob.com>
751 * Makeconfig (module-cppflags): Exclude all .v.i files.
752 (skip-module-cppflags): Variable removed.
754 * configure.ac (libc_config_ok): Initialize before reading
755 preconfigure scripts, not after.
756 * configure: Regenerated.
758 * test-skeleton.c (TIMEOUT): Move #define to top level.
759 (main): Grok environment variable TEST_DIRECT. If set, print
760 test expectation details into that file and then behave as if
763 2015-04-09 Florian Weimer <fweimer@redhat.com>
765 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
768 2015-04-08 David S. Miller <davem@davemloft.net>
770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
772 2015-04-08 Joseph Myers <joseph@codesourcery.com>
774 * math/auto-libm-test-in: Add more tests of atanh.
775 * math/auto-libm-test-out: Regenerated.
776 * sysdeps/i386/fpu/libm-test-ulps: Update.
777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
779 * math/auto-libm-test-in: Add more tests of atan.
780 * math/auto-libm-test-out: Regenerated.
781 * sysdeps/i386/fpu/libm-test-ulps: Update.
782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
784 2015-04-08 Florian Weimer <fweimer@redhat.com>
786 * elf/pldd.c (main): Rewrite to use struct
787 scratch_buffer instead of extend_alloca.
788 * elf/pldd-xx.c (find_maps): Likewise.
789 * grp/initgroups.c: Include <scratch_buffer.h> instead of
791 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
792 scratch_buffer instead of extend_alloca.
793 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
794 grp/compat-initgroups.c.
795 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
796 Rewrite to use struct scratch_buffer instead of extend_alloca.
797 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
798 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
800 2015-04-08 Joseph Myers <joseph@codesourcery.com>
802 * math/auto-libm-test-in: Add more tests of cbrt.
803 * math/auto-libm-test-out: Regenerated.
804 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
806 * math/auto-libm-test-in: Add more tests of cabs.
807 * math/auto-libm-test-out: Regenerated.
808 * sysdeps/i386/fpu/libm-test-ulps: Update.
809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
813 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
814 (__ieee754_atan2): Set FE_TONEAREST mode for internal
816 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
818 * math/auto-libm-test-out: Regenerated.
819 * sysdeps/i386/fpu/libm-test-ulps: Update.
820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
823 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
824 (atan): Set FE_TONEAREST mode for internal computations.
825 * math/auto-libm-test-in: Add more tests of atan.
826 * math/auto-libm-test-out: Regenerated.
828 2015-04-07 James Cowgill <james410@cowgill.org.uk>
831 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
833 2015-04-07 Florian Weimer <fweimer@redhat.com>
835 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
837 2015-04-07 Florian Weimer <fweimer@redhat.com>
839 * include/scratch_buffer.h: New file.
840 * malloc/scratch_buffer_grow.c: Likewise.
841 * malloc/scratch_buffer_grow_preserve.c: Likewise.
842 * malloc/scratch_buffer_set_array_size.c: Likewise.
843 * malloc/tst-scratch_buffer.c: Likewise.
844 * malloc/Makefile (routines): Add scratch_buffer_grow.
845 (tests): Add test case.
846 * malloc/Versions (GLIBC_PRIVATE): Export
847 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
848 __libc_scratch_buffer_set_array_size.
850 2015-04-06 Richard Henderson <rth@redhat.com>
852 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
853 * sysdeps/alpha/fpu/libm-test-ulps: Update.
855 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
856 unsigned int before printing.
858 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
861 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
862 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
864 2015-04-02 Florian Weimer <fweimer@redhat.com>
866 * include/libc-internal.h (libc_max_align_t): Define.
868 2015-04-02 Andreas Schwab <schwab@suse.de>
871 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
873 2015-04-02 Mel Gorman <mgorman@suse.de>
876 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
877 as well as the main arena.
879 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
882 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
883 sharing L2 cache to 2 for Silvermont/Knights Landing.
885 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
888 * config.make.in (have-protected-data): New.
889 * configure.ac: Check linker support for protected data symbol.
890 * configure: Regenerated.
891 * elf/Makefile (modules-names): Add tst-protected1moda and
892 tst-protected1modb if $(have-protected-data) is yes.
893 (tests): Add tst-protected1a and tst-protected1b if
894 $(have-protected-data) is yes.
895 ($(objpfx)tst-protected1a): New.
896 ($(objpfx)tst-protected1b): Likewise.
897 (tst-protected1modb.so-no-z-defs): Likewise.
898 * elf/tst-protected1a.c: New file.
899 * elf/tst-protected1b.c: Likewise.
900 * elf/tst-protected1mod.h: Likewise.
901 * elf/tst-protected1moda.c: Likewise.
902 * elf/tst-protected1modb.c: Likewise.
904 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
907 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
908 indicates it is called from do_lookup_x on relocation against
909 protected data, skip the data definion in the executable from
911 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
912 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
913 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
914 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
915 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
917 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
918 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
919 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
920 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
921 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
922 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
924 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
926 * sysdeps/nptl/pthread.h: Remove duplicate definition of
927 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
929 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
931 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
933 * sysdeps/x86_64/nptl/tls.h: Ditto.
935 2015-03-27 Roland McGrath <roland@hack.frob.com>
937 * dlfcn/tststatic.c (main): Converted to ...
939 (TEST_FUNCTION): New macro.
940 Include test-skeleton.c.
942 2015-03-26 Alan Modra <amodra@gmail.com>
944 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
945 Don't segfault if ifunc resolver returns a NULL. Do set plt to
946 zero for undefined weak.
947 (elf_machine_plt_conflict): Similarly.
949 2015-03-25 Joseph Myers <joseph@codesourcery.com>
951 * math/auto-libm-test-in: Add more tests of acosh, asinh and
953 * math/auto-libm-test-out: Regenerated.
954 * sysdeps/i386/fpu/libm-test-ulps: Update.
955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
957 * math/auto-libm-test-in: Add another test of asin.
958 * math/auto-libm-test-out: Regenerated.
959 * sysdeps/i386/fpu/libm-test-ulps: Update.
960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
962 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
964 (LLL_EBX_REG): Likewise.
965 (LLL_ENTER_KERNEL): Likewise.
967 * math/auto-libm-test-in: Add more tests of asin.
968 * math/auto-libm-test-out: Regenerated.
969 * sysdeps/i386/fpu/libm-test-ulps: Update.
970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
973 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
974 libc_do_syscall_args): New structure.
975 (INTERNAL_SYSCALL_MAIN_0): New macro.
976 (INTERNAL_SYSCALL_MAIN_1): Likewise.
977 (INTERNAL_SYSCALL_MAIN_2): Likewise.
978 (INTERNAL_SYSCALL_MAIN_3): Likewise.
979 (INTERNAL_SYSCALL_MAIN_4): Likewise.
980 (INTERNAL_SYSCALL_MAIN_5): Likewise.
981 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
982 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
983 Replace conditional definitions by conditional definitions of ....
984 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
985 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
986 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
987 (libpthread-sysdep_routines): Add libc-do-syscall.
988 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
989 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
990 to __NR_futex not 240.
992 2015-03-25 Alan Modra <amodra@gmail.com>
994 * NEWS: Advertise TLS optimization.
995 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
996 (DT_PPC_NUM): Increment.
997 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
998 (CHECK_STATIC_TLS): Use here.
999 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
1001 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1002 * sysdeps/powerpc/dl-tls.c: New file.
1003 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
1004 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
1005 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
1006 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
1007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
1008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
1009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
1011 2015-03-25 Alan Modra <amodra@gmail.com>
1013 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
1014 for overlapping .opd entries" to "support...".
1015 * sysdeps/powerpc/powerpc64/configure: Regenerate
1017 2015-03-25 Joseph Myers <joseph@codesourcery.com>
1019 * math/auto-libm-test-in: Add more tests of acos.
1020 * math/auto-libm-test-out: Regenerated.
1021 * sysdeps/i386/fpu/libm-test-ulps: Update.
1022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1024 * math/auto-libm-test-in: Add more tests of expm1.
1025 * math/auto-libm-test-out: Regenerated.
1026 * sysdeps/i386/fpu/libm-test-ulps: Update.
1027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1029 2015-03-24 Joseph Myers <joseph@codesourcery.com>
1031 * math/auto-libm-test-in: Add more tests of cosh and sinh.
1032 * math/auto-libm-test-out: Regenerated.
1033 * sysdeps/i386/fpu/libm-test-ulps: Update.
1034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1036 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1039 * math/auto-libm-test-in: Add more tests of log2.
1040 * math/auto-libm-test-out: Regenerated.
1041 * sysdeps/i386/fpu/libm-test-ulps: Update.
1042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1044 2015-03-23 Roland McGrath <roland@hack.frob.com>
1046 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
1047 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
1048 _IO_IS_APPENDING bit in READ_WRITE instead.
1050 2015-03-23 Florian Weimer <fweimer@redhat.com>
1052 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
1053 (__determine_cpumask_size): Replace extend_alloca with a
1054 variable-length array. Do not treat res == 0 as an error.
1056 2015-03-23 Florian Weimer <fweimer@redhat.com>
1059 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
1060 and integer overflow.
1061 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
1062 (main): Add integer overflow tests.
1063 * manual/pattern.texi (Calling Wordexp): Document additional use
1066 2015-03-23 Alan Modra <amodra@gmail.com>
1068 * config.h.in: Remove HAVE_ASM_PPC_REL16.
1069 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
1070 and false branch of conditional.
1071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1074 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
1076 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
1078 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
1079 unused declaration of _hurd_intr_rpc_msg_in_trap.
1080 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
1081 defined instead of whether it is non-zero.
1082 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
1083 input constraint instead of both input and output constraint. Use ecx
1084 clobber instead of %ecx.
1085 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
1086 mutex_unlock): Use a statement expression instead of an expression list.
1087 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
1088 type to vm_size_t instead of vm_address_t.
1089 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
1090 defined instead of whether it is non-zero.
1091 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
1092 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
1093 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
1094 comparisons with mapaddr.
1095 * nscd/nscd-client.h: Include <time.h>.
1096 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
1097 9th parameter to __vm_region instead of int.
1098 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
1099 * scripts/check-local-headers.sh (exclude): Add device/,
1100 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
1103 2015-03-19 Roland McGrath <roland@hack.frob.com>
1105 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
1106 to account for alignment padding.
1107 * sysdeps/arm/memmove.S: Likewise.
1109 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
1111 * sysdeps/unix/sysv/linux/generic/README: New file.
1113 2015-03-18 Joseph Myers <joseph@codesourcery.com>
1116 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
1117 (futex_abstimed_wait)
1118 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
1119 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
1120 of lll_futex_timed_wait.
1122 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
1125 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
1127 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
1134 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
1135 entries with Static TLS too. Skip entries past the end of the
1136 allocated DTV, from Alan Modra.
1137 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
1138 Static TLS DTV entry set up from...
1139 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
1140 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
1141 * nptl/allocatestack.c (init_one_static_tls): ... and here...
1142 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
1144 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
1145 that the slot we find is associated with the given map before
1146 using its generation count.
1147 * nptl_db/db_info.c: Include ldsodefs.h.
1148 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
1149 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
1150 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
1151 (link_map::l_tls_offset): New struct field.
1152 (dtv_t::counter): Likewise.
1153 (rtld_global): New struct.
1154 (_rtld_global): New rtld variable.
1155 (dl_tls_dtv_slotinfo_list): New rtld global field.
1156 (dtv_slotinfo_list): New struct.
1157 (dtv_slotinfo): Likewise.
1158 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
1159 (td_lookup): Rename to...
1160 (td_mod_lookup): ... this. Use new mod parameter instead of
1162 * nptl_db/td_thr_tlsbase.c: Include link.h.
1163 (dtv_slotinfo_list, dtv_slotinfo): New functions.
1164 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
1165 addresses even if the DTV is out of date or missing them.
1166 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
1167 index zero-length arrays.
1168 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
1169 (td_lookup): Make it a macro implemented in terms of...
1170 (td_mod_lookup): ... this declaration.
1171 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
1172 (DB_MAIN_VARIABLE): Likewise.
1174 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
1177 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1179 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
1181 * stdlib/setenv.c (__add_to_environ): Revert previous change.
1183 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
1186 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
1187 (atomic_add, atomic_increment_and_test)
1188 (atomic_decrement_and_test): Fix 64-bit arithmetic.
1190 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
1192 * stdlib/setenv.c (__add_to_environ):
1193 Dump core quickly if setenv (..., NULL, ...) is called.
1195 2015-03-13 Roland McGrath <roland@hack.frob.com>
1197 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
1198 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
1199 all the necessary asm magic in one place.
1200 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
1203 2015-03-13 Carlos O'Donell <carlos@redhat.com>
1206 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
1207 traced file mtime. Use consistent log message.
1208 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
1209 (register_traced_file): Call install_watches. Always set mtime.
1210 (invalidate_cache): Iterate over all trace files. Call install_watches.
1211 (inotify_check_files): Don't inline. Handle watching parent
1212 directories and configuration file movement in and out.
1213 (handle_inotify_events): New function.
1214 (main_loop_poll): Call handle_inotify_events.
1215 (main_loop_epoll): Likewise.
1216 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
1217 (struct traced_file): Use array of inotify fds. Add parent directory,
1219 (struct database_dyn): Remove unused file_mtime.
1220 (init_traced_file): New inline function.
1221 (define_traced_file): New macro.
1222 * nss/nss_db/db-init.c: Use define_traced_file.
1223 (_nss_db_init): Use init_traced_file.
1224 * nss/nss_files/files-init.c: Use define_traced_file.
1225 (_nss_files_init): Use init_traced_file.
1227 2015-03-12 Joseph Myers <joseph@codesourcery.com>
1229 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
1230 [_LIBC]: Do not include <stdlib.h>.
1231 [!_LIBC] (abort): Remove declaration.
1232 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
1233 _FP_STATIC_ASSERT instead of conditionally calling abort.
1234 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
1235 (_FP_EXTEND_CNAN): Likewise.
1236 (FP_TRUNC): Likewise.
1237 (__FP_CLZ): Likewise.
1238 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
1240 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
1242 * manual/string.texi (XPG basename): Fix prototype.
1244 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1247 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
1248 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
1249 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
1250 (__setcontext): Likewise.
1251 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
1252 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
1253 Call rt_sigprocmask syscall one time to set new signal mask
1254 and retrieve the current signal mask instead of two calls.
1255 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
1256 (__swapcontext): Likewise.
1257 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
1258 * stdlib/tst-setcontext2.c: New file.
1260 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1262 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1264 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
1267 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
1270 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1273 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
1275 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1277 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
1278 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
1280 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
1281 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
1282 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
1283 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
1284 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
1285 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
1287 * nptl_db/td_symbol_list.c (td_lookup): Remove
1288 HAVE_ASM_GLOBAL_DOT_NAME code.
1289 * sysdeps/powerpc/powerpc64/configure.ac: Remove
1290 HAVE_ASM_GLOBAL_DOT_NAME check.
1291 * sysdeps/powerpc/powerpc64/configure: Regenerate.
1292 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
1293 (DOT_LABEL): Remove define.
1294 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
1295 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
1296 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
1297 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
1298 (__TLS_GET_ADDR): Likewise.
1299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
1300 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
1302 2015-03-11 Carlos O'Donell <carlos@redhat.com>
1305 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
1306 (_FPU_SETCW): Initialize cw from fpsr before storing.
1307 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
1308 (fesetexceptflag): Rewrite using fpu_control.h.
1309 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
1311 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
1314 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
1316 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1318 2015-03-11 Joseph Myers <joseph@codesourcery.com>
1320 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
1321 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
1323 (_FP_FMA): Likewise.
1324 (_FP_DIV): Likewise.
1326 2015-03-10 Roland McGrath <roland@hack.frob.com>
1328 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
1329 with 0 in that case.
1330 * Makefile (summarize-tests): New canned sequence, factored out of
1331 commands for targets tests and xtests. Display summary lines that
1332 don't start with PASS: or XFAIL: rather than ones that do start with
1333 ERROR: or FAIL:. Make the commands fail if any summary lines fail
1334 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
1335 do start with ERROR: or FAIL:.
1336 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
1337 (except for [$(build-shared) = yes]).
1338 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
1339 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
1340 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
1341 * nptl/Makefile: Revert 2015-03-04 changes.
1342 [$(CXX) empty] (tests-unsupported): New variable.
1343 * debug/Makefile: Likewise.
1345 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
1346 gnulib file. Replace __attribute with __attribute__ throughout.
1348 2015-03-10 Carlos O'Donell <carlos@redhat.com>
1350 * sysdeps/hppa/fpu/libm-test-ulps: Update.
1352 2015-03-10 Joseph Myers <joseph@codesourcery.com>
1355 * math/auto-libm-test-in: Add another test of pow.
1356 * math/auto-libm-test-out: Regenerated.
1358 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1360 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
1361 $(config-cflags-nofma).
1363 2015-03-10 Joseph Myers <joseph@codesourcery.com>
1365 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
1366 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
1367 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
1368 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
1369 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
1370 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
1371 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
1372 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
1373 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
1374 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
1375 Add comment on closing #endif.
1377 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1379 * posix/wordexp.c (CHAR_IN_SET): New macro.
1380 (parse_param): Use it.
1382 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1384 * sysdeps/powerpc/fpu/libm-test-ulps: update.
1386 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1389 * posix/wordexp.c (parse_param): Fix buffer overflow.
1390 * posix/wordexp-test.c (test_case): Add test case.
1392 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1395 * posix/wordexp.c (parse_backtick): Fix off-by-one.
1396 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
1398 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1401 * posix/wordexp-test.c (test_case): Add test for BZ #18043
1402 (do_bz18043): Delete.
1404 (testit): Refactor to have words at the edge of unreadable page.
1406 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1409 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
1410 Cleanup read-only streams as well.
1411 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
1413 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1415 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
1418 2015-03-07 Joseph Myers <joseph@codesourcery.com>
1420 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
1422 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
1423 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
1424 * soft-fp/op-common.h (_FP_DECL): Likewise.
1426 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
1428 * elf/ifuncdep2.c (global): Replace
1429 __attribute__((visibility("protected"))) with
1430 asm (".protected global").
1431 * elf/ifuncmod1.c (global): Likewise.
1432 * elf/ifuncmod5.c (global): Likewise.
1434 2015-03-06 Joseph Myers <joseph@codesourcery.com>
1436 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
1437 <asm/sfp-machine.h> instead of <sfp-machine.h>.
1439 2015-03-06 Roland McGrath <roland@hack.frob.com>
1441 * manual/install.texi (Configuring and compiling):
1442 Document test-wrapper-env-only.
1443 * INSTALL: Regenerated.
1445 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1448 * posix/wordexp.c (parse_param): Fix buffer overflow.
1449 * posix/wordexp-test.c (do_bz18043): Add test case.
1451 2015-03-06 Vincent Bernat <vincent@bernat.im>
1453 * time/tst-strptime2.c (do_test): Ensure failing tests are
1455 * time/tst-strptime3.c (do_test): Likewise.
1457 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
1459 Fix aio_error thread-safety.
1460 * sysdeps/pthread/aio_error.c: New file
1461 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
1464 2015-03-06 Florian Weimer <fweimer@redhat.com>
1466 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
1467 (group_number, vfprintf): Use it.
1468 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
1469 (JUMP, REF): Use it.
1470 (WORK_BUFFER_SIZE): New enum constant.
1471 (process_arg, vfprintf): Use it.
1473 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
1475 * manual/errno.texi (Error Messages): Complete example function
1476 by adding missing #define.
1477 (program_invocation_name): Add statement indicating GNU
1478 extension and reference which header file declares the variable.
1479 (program_invocation_short_name): Likewise.
1481 2015-03-06 Mike Frysinger <vapier@gentoo.org>
1483 * manual/errno.texi (Error Messages): Delete strerror ISO C89
1486 2015-03-05 Roland McGrath <roland@hack.frob.com>
1488 * Makeconfig (test-wrapper-env-only): New variable.
1489 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
1490 then use that with $(test-wrapper-env-only) rather than using
1491 $(test-wrapper-env) $(run-program-env) $($*-ENV).
1493 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
1496 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
1497 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
1498 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
1499 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
1500 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
1501 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
1502 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
1503 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1505 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
1506 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
1508 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
1510 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
1512 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
1514 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
1515 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
1517 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
1519 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
1520 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
1522 2015-03-04 Roland McGrath <roland@hack.frob.com>
1524 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
1525 (ETH_ALEN): New macro.
1526 (struct ether_addr): Use it for length of ether_addr_octet.
1528 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
1529 (setdb): Don't call __nss_configure_lookup for "rpc".
1530 (do_test): Don't call test_rpc.
1531 (output_rpcent, test_rpc): Functions moved ...
1532 * sunrpc/test-rpcent.c: ... to this new file.
1533 * sunrpc/Makefile (tests): Add it.
1535 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
1537 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
1538 * nptl/tst-signal6.c: Likewise.
1539 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
1540 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
1542 * configure.ac (libc_cv_cxx_link_ok): New check.
1543 Reset CXX to empty if it fails to link.
1544 * configure: Regenerated.
1545 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
1546 bug-atexit3-lib only if $(CXX) is nonempty.
1547 * nptl/Makefile (tests): Likewise for tst-cancel24.
1548 (tests, tests-static): Likewise for tst-cancel24-static.
1549 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
1550 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
1551 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
1552 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
1554 2015-03-04 Andreas Schwab <schwab@suse.de>
1557 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
1558 for non-GCC compilers.
1559 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1562 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1565 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
1566 integer before bitwise and assembly operations.
1567 (feclearexcept): Likewise.
1568 * math/test-fenvinline.c: New file.
1569 * math/Makefile: Add test-fenvinline test.
1571 2015-03-03 Alan Modra <amodra@gmail.com>
1574 * scripts/localplt.awk: Strip off symbol version.
1575 * NEWS: Mention bug fix.
1577 2015-03-02 Roland McGrath <roland@hack.frob.com>
1579 * sysdeps/pthread/timer_routines.c
1580 (timer_free_list, thread_free_list, thread_active_list): Make static.
1582 2015-03-02 Joseph Myers <joseph@codesourcery.com>
1585 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1586 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1588 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1589 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1591 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1592 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1595 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1598 * posix/fnmatch_loop.c (END): Detect invalid pattern.
1599 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
1601 2015-03-02 Andreas Schwab <schwab@suse.de>
1603 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
1606 2015-03-02 Florian Weimer <fweimer@redhat.com>
1608 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
1609 Return error status.
1611 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
1614 * locale/findlocale.c (_nl_find_locale): Introduce const
1615 version of loc_name and drop unsafe type casts.
1617 2015-02-27 Roland McGrath <roland@hack.frob.com>
1619 * dlfcn/tststatic2.c (main): Converted to ...
1620 (do_test): ... this.
1621 (TEST_FUNCTION): New macro.
1622 Include test-skeleton.c.
1624 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
1627 * elf/Makefile (tests): Add vismain only if PIE is enabled.
1628 (tests-pie): Add vismain.
1629 (CFLAGS-vismain.c): New.
1630 * elf/vismain.c: Add comments for PIE requirement.
1632 2015-02-27 Joseph Myers <joseph@codesourcery.com>
1636 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
1637 0x1p-56L as threshold for just returning the argument.
1638 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
1639 0x1p-32L as threshold for just returning the argument.
1640 * math/auto-libm-test-in: Add more tests of atanh.
1641 * math/auto-libm-test-out: Regenerated.
1642 * sysdeps/i386/fpu/libm-test-ulps: Update.
1643 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
1645 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
1647 * string/bcopy.c (bcopy): Call memmove for performance.
1649 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
1651 * string/bzero.c (__bzero): Call memset for performance.
1653 2015-02-27 John David Anglin <dave.anglin@bell.net>
1656 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
1659 2015-02-27 Joseph Myers <joseph@codesourcery.com>
1661 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
1663 2015-02-26 Joseph Myers <joseph@codesourcery.com>
1665 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
1666 (__kernel_standard): Use CSTR macro when setting exc.name.
1667 * sysdeps/ieee754/Makefile [$(subdir) = math]
1668 (CFLAGS-k_standard.c): Remove variable.
1670 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
1671 setting p and q from "else if" to "else".
1673 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
1675 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
1677 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
1679 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
1681 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
1686 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
1687 return pi/2 for arguments below 0x1p-113L.
1688 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
1689 return pi/2 for arguments below 0x1p-106L.
1690 * math/auto-libm-test-in: Add more tests of acos.
1691 * math/auto-libm-test-out: Regenerated.
1694 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
1696 (__ieee754_asin): Force underflow exception for results with small
1698 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
1700 (__ieee754_asinf): Force underflow exception for results with
1701 small absolute value.
1702 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
1703 (__ieee754_asin): Force underflow exception for results with small
1705 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
1706 (__ieee754_asinf): Force underflow exception for results with
1707 small absolute value.
1708 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
1709 (__ieee754_asinl): Force underflow exception for results with
1710 small absolute value.
1711 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
1712 (__ieee754_asinl): Force underflow exception for results with
1713 small absolute value.
1714 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
1715 (__ieee754_asinl): Force underflow exception for results with
1716 small absolute value.
1717 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
1719 * math/auto-libm-test-in: Do not mark underflow exceptions as
1720 possibly missing for bug 16351.
1721 * math/auto-libm-test-out: Regenerated.
1724 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
1725 of power of 2 down when low part has opposite sign.
1726 * math/libm-test.inc (logb_test_data): Add more tests.
1728 2015-02-26 Andreas Schwab <schwab@suse.de>
1731 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
1732 over collating symbol inside a bracket expression. Minor cleanup.
1733 * posix/tst-fnmatch3.c (do_test): Add test case.
1735 2015-02-26 Joseph Myers <joseph@codesourcery.com>
1738 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
1739 Adjust exponent of power of 2 down when low part has opposite
1741 * math/libm-test.inc (ilogb_test_data): Add more tests.
1743 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
1746 * locale/findlocale.c (_nl_find_locale): Fix constness error in
1747 the previous change.
1750 * locale/findlocale.c (_nl_find_locale): Retry archive search
1751 after alias expansion.
1753 2015-02-25 Roland McGrath <roland@hack.frob.com>
1755 * iconv/tst-iconv3.c (main): Converted to ...
1756 (do_test): ... this.
1757 (TEST_FUNCTION): New macro.
1758 Include test-skeleton.c.
1760 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
1761 (convert): Make function static.
1762 (test_unalign): Likewise. Add const to argument pointee types.
1763 (main): Replace with static function do_test.
1764 Print "Succeeded." only if RET is zero.
1765 (TEST_FUNCTION): New macro.
1766 Include test-skeleton.c.
1768 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
1769 returns a null pointer.
1771 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1773 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
1774 to __memcpy_ppc only for static builds.
1776 2015-02-25 Joseph Myers <joseph@codesourcery.com>
1779 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
1780 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
1781 * math/auto-libm-test-in: Add more tests of asinh.
1782 * math/auto-libm-test-out: Regenerated.
1783 * sysdeps/i386/fpu/libm-test-ulps: Update.
1784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1786 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
1789 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
1790 and ip6_mtuinfo definitions here.
1791 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
1792 in this define too. Update comment.
1794 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
1796 * elf/sprof.c (load_shobj): Tweak error message to match others.
1798 2015-02-24 Kevin Easton <kevin@guarana.org>
1800 [BZ #16145] (partial fix)
1801 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
1802 to reduce lock contention.
1804 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
1806 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
1807 (struct timex): Update time comment.
1808 (ADJ_SETOFFSET): Define.
1810 2015-02-24 Joseph Myers <joseph@codesourcery.com>
1813 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1814 2**56 not 2**28 as threshold for log (2x) formula.
1815 * math/auto-libm-test-in: Add more tests of acosh.
1816 * math/auto-libm-test-out: Regenerated.
1817 * sysdeps/i386/fpu/libm-test-ulps: Update.
1818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1820 2015-02-24 Mike Frysinger <vapier@gentoo.org>
1822 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
1823 parenthesis around the buf assignment.
1824 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
1826 2015-02-24 Joseph Myers <joseph@codesourcery.com>
1829 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
1830 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
1831 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
1832 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1833 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1834 * math/libm-test.inc (scalb_test_data): Add more tests.
1836 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1839 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
1840 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
1842 2015-02-24 Eric Rannaud <e@nanocritical.com>
1845 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
1846 * io/bits/fcntl2.h (open): Use it.
1848 * io/open.c (__libc_open): Likewise.
1849 * io/open64.c (__libc_open64): Likewise.
1850 * io/open64_2.c (__open64_2): Likewise.
1851 * io/open_2.c (__open_2): Likewise.
1852 * io/openat.c (__openat): Likewise.
1853 * io/openat64.c (__openat64): Likewise.
1854 * io/openat64_2.c (__openat64_2): Likewise.
1855 * io/openat_2.c (__openat_2): Likewise.
1856 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1857 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1858 * sysdeps/posix/open64.c (__libc_open64): Likewise.
1859 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1860 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1861 (__open_nocancel): Likewise.
1862 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1863 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1864 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1866 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1869 * resolv/gethnamaddr.c (getanswer): Skip logging if
1870 RES_USE_DNSSEC is set.
1871 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1873 2015-02-24 Mike Frysinger <vapier@gentoo.org>
1875 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1877 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
1879 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1880 201304L, for Unicode 7.
1882 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
1885 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1886 shared library. Add gmon-start.os otherwise.
1887 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1888 $(objpfx)gmon-start.os if builing shared library.
1889 ($(objpfx)g$(static-start-installed-name)): Likewise.
1891 2015-02-23 Andreas Schwab <schwab@suse.de>
1893 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1895 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1898 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1899 (enlarge_userbuf): Likewise.
1901 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
1903 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1904 * math/atest-exp.c (TIMEOUT): Adjust to 200.
1905 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1906 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1908 2015-02-20 Joseph Myers <joseph@codesourcery.com>
1910 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1911 expression inside statement expression.
1913 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1915 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1916 <sysdeps/nptl/lowlevellock.h> and remove macros and
1917 functions that are now defined there.
1918 (SYS_futex): Remove.
1919 (lll_compare_and_swap): Remove.
1920 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1922 2015-02-19 Joseph Myers <joseph@codesourcery.com>
1925 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1926 instead of scandirat.
1927 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1928 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1929 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1931 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1932 (__scandirat): Declare. Use libc_hidden_proto.
1933 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1935 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1937 2015-02-18 Joseph Myers <joseph@codesourcery.com>
1940 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1942 (__ieee754_atan2): For results with small absolute value, force
1943 underflow exception and remove excess range and precision from
1945 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1947 (__ieee754_atan2f): For results with small absolute value, force
1948 underflow exception and remove excess range and precision from
1950 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1952 (__atan): For results with small absolute value, force underflow
1953 exception and remove excess range and precision from return value.
1954 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1956 (__atanf): For results with small absolute value, force underflow
1957 exception and remove excess range and precision from return value.
1958 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1960 (__ieee754_atan2): Force underflow exception for results with
1961 small absolute value.
1962 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1964 (atan): Force underflow exception for results with small absolute
1966 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1967 (__atanf): Force underflow exception for results with small
1969 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1971 (__atanl): Force underflow exception for results with small
1973 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1974 (__atanl): Force underflow exception for results with small
1976 * sysdeps/x86/fpu/bits/mathinline.h
1977 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1978 (__ieee754_atan2): Only define inline for long double.
1979 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1980 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1981 * math/auto-libm-test-in: Do not mark underflow exceptions as
1982 possibly missing for bug 15319. Add more tests of atan2.
1983 * math/auto-libm-test-out: Regenerated.
1984 * math/libm-test.inc (casin_test_data): Do not mark underflow
1985 exceptions as possibly missing for bug 15319.
1986 (casinh_test_data): Likewise.
1987 * sysdeps/i386/fpu/libm-test-ulps: Update.
1989 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
1991 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1992 * sysdeps/mips/bits/endian.h: Fix comments.
1994 2015-02-18 Joseph Myers <joseph@codesourcery.com>
1997 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1998 (hdestroy_r): Likewise.
1999 (hsearch_r): Likewise.
2000 (__hcreate_r): Declare and use libc_hidden_proto.
2001 (__hdestroy_r): Likewise.
2002 (__hsearch_r): Likewise.
2003 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
2004 (hcreate): Call __hcreate_r instead of hcreate_r.
2005 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
2006 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
2007 as weak alias of __hcreate_r.
2008 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
2010 (hsearch_r): Rename to __hsearch_r and define as weak alias of
2012 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
2014 (test-xfail-XPG4/search.h/linknamespace): Likewise.
2015 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2016 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2017 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2019 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2021 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
2022 arena_lock into a single arena_get.
2024 2015-02-17 Carlos O'Donell <carlos@redhat.com>
2026 * dl-reloc.c: Inlucde libc-internal.h.
2027 (_dl_try_allocate_static_tls): Call ALIGN_UP.
2028 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
2029 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
2030 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
2031 (grow_heap): Likewise.
2032 * malloc/malloc.c: Include libc-internal.h.
2033 (do_check_malloc): Call powerof2.
2034 (sysmalloc): Use pagesize. Call ALIGN_UP.
2035 (systrim): Use pagesize.
2036 (mremap_chunk): Use pagesize. Call ALIGN_UP.
2037 (__libc_valloc): Use pagesize.
2038 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
2040 2015-02-17 Joseph Myers <joseph@codesourcery.com>
2043 * include/sys/resource.h (__getrlimit64): Declare. Use
2045 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
2046 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
2047 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
2049 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
2051 [!getrlimit64] (getrlimit64): Define as weak alias of
2052 __getrlimit64. Use libc_hidden_weak.
2053 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
2054 using __getrlimit64 not __new_getrlimit64.
2055 (__GI_getrlimit64): Likewise.
2056 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
2058 (__GI_getrlimit64): Likewise.
2059 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
2060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
2061 (getrlimit): Add __getrlimit64 alias.
2062 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
2064 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
2066 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2067 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2069 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
2071 * libio/fileops.c: Add missing sys/mman.h
2072 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
2074 2015-02-17 Joseph Myers <joseph@codesourcery.com>
2076 * manual/math.texi (Errors in Math Functions): Clarify goals
2077 regarding inexact and underflow exceptions.
2079 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
2081 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
2082 * sysdeps/mips/memset.S: Ditto.
2084 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
2086 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
2088 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2090 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
2091 (__v1longjmp): Remove versioned symbol.
2092 (__v1siglongjmp): Remove alias and versioned symbol.
2093 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
2094 (__v2siglongjmp): Likewise.
2096 2015-02-16 Torvald Riegel <triegel@redhat.com>
2098 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
2100 2015-02-16 Mike Frysinger <vapier@gentoo.org>
2102 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
2104 2015-02-16 Joseph Myers <joseph@codesourcery.com>
2107 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
2108 zero result does not depend on the sign resulting from
2110 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2112 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
2113 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
2114 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2115 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
2116 * math/libm-test.inc (remquo_test_data): Add more tests.
2118 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
2120 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
2121 Problem reported by J William Piggott.
2123 2015-02-16 Joseph Myers <joseph@codesourcery.com>
2126 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
2127 products 4 * y and 2 * y where those would overflow.
2128 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2130 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
2131 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
2132 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2133 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
2134 * math/libm-test.inc (remquo_test_data): Add more tests.
2136 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
2138 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
2139 [defined _COMPILING_NEWLIB].
2140 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
2141 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
2143 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
2144 [!defined __mips_isa_rev || __mips_isa_rev < 6].
2146 2015-02-16 Torvald Riegel <triegel@redhat.com>
2148 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
2151 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
2154 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
2155 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
2156 HOST_STACK_END_ADDR): Likewise.
2158 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
2160 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
2161 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
2162 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
2164 2015-02-13 Roland McGrath <roland@hack.frob.com>
2166 * sysdeps/generic/c++-types.data: New file.
2167 * sysdeps/generic/ld.abilist: New file.
2168 * sysdeps/generic/libBrokenLocale.abilist: New file.
2169 * sysdeps/generic/libanl.abilist: New file.
2170 * sysdeps/generic/libc.abilist: New file.
2171 * sysdeps/generic/libcrypt.abilist: New file.
2172 * sysdeps/generic/libdl.abilist: New file.
2173 * sysdeps/generic/libm.abilist: New file.
2174 * sysdeps/generic/libpthread.abilist: New file.
2175 * sysdeps/generic/libresolv.abilist: New file.
2176 * sysdeps/generic/librt.abilist: New file.
2178 2015-02-13 Joseph Myers <joseph@codesourcery.com>
2181 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2182 Compute absolute value of x as modified by fmod, not original
2184 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
2185 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
2186 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
2187 RUN_TEST_ffI_f1_mod8.
2188 (remquo_test_data): Add more tests.
2190 2015-02-13 Roland McGrath <roland@hack.frob.com>
2192 * sysdeps/init_array/pt-crti.S: New file.
2194 2015-02-13 Joseph Myers <joseph@codesourcery.com>
2197 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
2198 __builtin_fmaf instead of relying on contraction of a * b + c.
2200 2015-02-12 J William Piggott <elseifthen@gmx.com>
2203 * manual/time.texi: correct the zoneinfo path in the TZ Variable
2206 2015-02-12 Joseph Myers <joseph@codesourcery.com>
2209 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
2210 __builtin_fma instead of relying on contraction of a * b + c.
2212 2015-02-12 Roland McGrath <roland@hack.frob.com>
2214 * Makeconfig (ASFLAGS): Add -Werror=undef.
2215 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
2216 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
2217 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
2219 * Makeconfig (after-link): New variable.
2220 (+link-pie, +link-pie-tests): Use it.
2221 (+link-static, +link-static-tests): Likewise.
2222 (+link, +link-tests): Likewise.
2223 * Makerules (build-module, build-module-asneeded): Likewise.
2224 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
2226 * elf/Makefile ($(objpfx)ld.so): Likewise.
2228 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
2231 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
2232 both struct timeval and struct timespec.
2234 2015-02-12 Joseph Myers <joseph@codesourcery.com>
2237 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2239 (__ieee754_exp2l): Do not multiply small fractional parts by
2241 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
2243 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2244 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2245 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
2246 * math/auto-libm-test-in: Add more tests of exp2.
2247 * math/auto-libm-test-out: Regenerated.
2249 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2251 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
2254 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2256 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
2259 2015-02-12 Andreas Schwab <schwab@suse.de>
2262 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
2263 Filter out elision flags from value returned in kind.
2264 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
2265 * nptl/tst-pthread-mutexattr.c: New file.
2267 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
2269 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
2270 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
2271 into gnu-gnu, and update comment to refer to abi-tags.
2273 2015-02-11 Joseph Myers <joseph@codesourcery.com>
2276 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
2277 (__sincos): Set errno to EDOM for infinite argument.
2278 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
2279 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
2280 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
2281 (__sincosl): Set errno to EDOM for infinite argument.
2282 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
2283 (__sincosl): Set errno to EDOM for infinite argument.
2284 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
2285 (__sincosl): Set errno to EDOM for infinite argument.
2286 * math/libm-test.inc (sincos_test_data): Test errno setting.
2288 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
2290 * string/strxfrm_l.c: Remove #define STRCMP.
2291 * string/strcoll_l.c: Remove #define STRLEN.
2292 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
2293 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
2295 2015-02-10 Joseph Myers <joseph@codesourcery.com>
2297 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
2298 * sysdeps/mips/mips32/sfp-machine.h: ... here.
2299 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
2300 * sysdeps/mips/mips64/Makefile: ... here.
2301 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
2302 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
2303 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
2304 * sysdeps/mips/mips64/sfp-machine.h: ... here.
2305 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
2306 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
2307 * sysdeps/mips/mips64/n64/Implies: Likewise.
2309 2015-02-10 Roland McGrath <roland@hack.frob.com>
2311 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
2312 <sys/time.h>, <string.h>, and <errno.h>.
2313 (dest_offset, dest_address, value, zero): Remove unused variables.
2314 (ldouble): Remove typedef.
2315 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
2316 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
2318 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
2319 (check): Function removed.
2321 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
2322 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
2323 Don't call set_sigaction_FP and remove_sigaction_FP here.
2324 (ldouble_test): Just use 'long double' as macro argument, no need for
2325 the 'ldouble' typedef.
2326 (do_test): Set up SIGFPE handler at start, using plain signal rather
2327 than sigaction. Fix code style.
2329 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
2332 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
2335 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2337 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
2338 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2340 * sysdeps/powerpc/configure.ac: Remove file.
2341 * sysdeps/powerpc/configure: Likewise.
2343 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2344 [sysdep_routines]: Remove wordcopy-power6 object.
2345 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2346 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
2347 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
2348 (__memmove_ppc32): Likewise.
2349 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
2351 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
2352 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
2353 Remove preprocessor.
2355 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2356 [sysdep_routines]: Remove wide chars objects.
2357 [wcsmbs]: New rule for wide char objects.
2359 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2360 Remove wordcopy-power6 obejct.
2361 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
2362 Use local call for wordcopy and memcpy symbols.
2363 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
2364 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
2365 implementation for loader.
2366 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
2368 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2369 Remove wordcopy-power7 object.
2370 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
2371 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
2372 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
2373 (_wordcopy_fwd_dest_aligned): Likewise.
2374 (_wordcopy_bwd_aligned): Likewise.
2375 (_wordcopy_bwd_dest_aligned): Likewise.
2377 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
2378 Rewrite to call __memmove_ppc instead of include default
2381 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2382 Remove wide chars objects.
2383 [wcsmbs]: New rule for wide char objects.
2385 2015-02-09 Andreas Schwab <schwab@suse.de>
2388 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2389 in terms of __O_DIRECTORY.
2391 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
2393 * time/getdate.c: Include <stdbool.h>.
2394 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
2396 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
2399 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
2401 Add ersatz _Static_assert on older C hosts
2402 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
2403 pre-C11 C platform that is not known to support _Static_assert.
2405 2015-02-07 Richard Braun <rbraun@sceen.net>
2407 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
2409 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
2411 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2413 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
2414 priority against unexistent AIO_PRIO_DELTA_MAX.
2415 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
2417 * misc/fchflags.c (fchflags): Likewise.
2418 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2419 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2420 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
2421 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
2422 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
2424 [__USE_MISC] (chflags, fchflags): Declare functions.
2425 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
2426 EINVAL when nfds is greater than FD_SETSIZE.
2427 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
2428 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
2430 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
2431 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
2432 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
2434 * hurd/hurd/signal.h (_hurd_self_sigstate,
2435 _hurd_critical_section_lock, _hurd_critical_section_unlock):
2436 Explicit casts from void *.
2437 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
2438 * abi-tags: Rename gnu-gnu os into gnu.
2441 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
2442 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
2443 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
2444 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
2445 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
2446 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
2449 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
2450 duplicates ADDR->sun_path with sockaddr LEN limitation.
2451 * sysdeps/mach/hurd/connect.c: Include <string.h>
2452 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
2453 * sysdeps/mach/hurd/sendmsg.c: Likewise.
2454 * sysdeps/mach/hurd/sendto.c: Likewise.
2455 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
2456 implementing it by hand.
2458 2015-02-06 Roland McGrath <roland@hack.frob.com>
2460 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
2461 Use sfi_breg on ldr.
2462 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
2465 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
2467 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
2468 Test SIGSETXID only if it's defined.
2470 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
2472 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
2473 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
2475 * nptl/tst-align2.c: Moved ...
2476 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
2477 * nptl/Makefile (tests): Remove tst-align2.
2478 * sysdeps/unix/sysv/linux/Makefile
2479 [$(subdir) = nptl] (tests): Add tst-align-clone.
2480 * nptl/tst-getpid1.c: Moved ...
2481 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
2482 * nptl/tst-getpid2.c: Moved ...
2483 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
2484 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
2485 * sysdeps/unix/sysv/linux/Makefile
2486 [$(subdir) = nptl] (tests): ... here.
2487 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
2488 * sysdeps/unix/sysv/linux/Makefile
2489 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
2491 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
2492 Drop trailing \n from perror argument. Use return rather than exit.
2494 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
2496 * nptl/tst-cancel21.c (do_test): Likewise.
2497 * debug/tst-backtrace6.c: Include <signal.h> first thing.
2498 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
2499 [!SA_SIGINFO]: Make it a stub test.
2501 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
2502 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
2504 * posix/tst-getlogin.c: Move to ...
2505 * login/tst-getlogin.c: ... here.
2506 * posix/Makefile (tests): Move tst-getlogin to ...
2507 * login/Makefile (tests): ... here.
2509 * libio/tst-atime.c (do_test): Move local variables SV and E
2510 inside [ST_NOATIME] conditional.
2512 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
2514 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
2516 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
2517 (wait_code): New function replaces macro.
2518 Call nanosleep rather than syscall.
2520 * nptl/pt-system.c: Rewritten. Put everything under
2521 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2522 Use IFUNC to redirect when possible.
2524 * nptl/pt-longjmp.c: Rewritten. Put everything under
2525 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2526 Use IFUNC to redirect when possible.
2528 * nptl/pt-fork.c: Rewritten. Put everything under
2529 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2530 Use IFUNC to redirect when possible.
2531 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
2533 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
2534 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
2535 unconditionally nowadays. This included the only reference to
2536 __vdso_clock_gettime that appears outside libc proper.
2537 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
2538 Remove version set (containing only __vdso_clock_gettime).
2539 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2540 Add attribute_hidden.
2541 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2542 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
2543 libc_hidden_data_def.
2544 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2545 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2547 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
2548 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
2549 setrpcent, and getrpcport to ...
2550 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
2551 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
2552 getrpcbynumber_r, and getrpcent_r to ...
2553 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
2554 * inet/getrpcbyname.c: Moved ...
2555 * sunrpc/getrpcbyname.c: ... here.
2556 * inet/getrpcbyname_r.c: Moved ...
2557 * sunrpc/getrpcbyname_r.c: ... here.
2558 * inet/getrpcbynumber.c: Moved ...
2559 * sunrpc/getrpcbynumber.c: ... here.
2560 * inet/getrpcbynumber_r.c: Moved ...
2561 * sunrpc/getrpcbynumber_r.c: ... here.
2562 * inet/getrpcent.c: Moved ...
2563 * sunrpc/getrpcent.c: ... here.
2564 * inet/getrpcent_r.c: Moved ...
2565 * sunrpc/getrpcent_r.c: ... here.
2566 * inet/Makefile (routines): Move those to ...
2567 * sunrpc/Makefile (routines): ... here.
2568 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
2569 the $(subdirs) list.
2570 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
2571 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
2572 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
2573 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
2575 * elf/Makefile (routines): Include $(all-dl-routines), not just
2577 (rtld-routines): Likewise. Use = rather than :=.
2578 * sysdeps/aarch64/Makefile [$(subdir) = elf]
2579 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
2580 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
2581 * sysdeps/arm/Makefile: Likewise.
2582 * sysdeps/i386/Makefile: Likewise.
2583 * sysdeps/x86_64/Makefile: Likewise.
2584 * sysdeps/hppa/Makefile [$(subdir) = elf]
2585 (sysdep_routines, sysdep-rtld-routines): Don't add
2586 $(sysdep-dl-routines) to these.
2587 * sysdeps/ia64/Makefile: Likewise.
2588 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
2589 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
2590 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
2591 Don't add dl-static to these; sysdep-dl-routines alone is enough.
2592 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2593 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
2594 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
2595 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
2596 * sysdeps/powerpc/Makefile [$(subdir) = elf]
2597 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
2598 these; sysdep-dl-routines alone is enough.
2600 2015-02-06 Joseph Myers <joseph@codesourcery.com>
2603 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
2604 where multiplication results in zero and third argument is finite
2606 * math/auto-libm-test-in: Add more tests of fma.
2607 * math/auto-libm-test-out: Regenerated.
2609 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
2610 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
2611 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
2612 (_FP_CMP_EQ): Likewise.
2613 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
2615 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
2616 extra argument CHECK_NAN. Redefine as wrapper around
2619 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
2621 * version.h (RELEASE): Set to "stable".
2622 (VERSION): Set to "2.21"
2623 * include/features.h (__GLIBC_MINOR__): Set to 21.
2625 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
2627 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2628 Paul Eggert <eggert@cs.ucla.edu>
2631 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
2632 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
2633 size in bytes. Store needed elements in wpmax. Use needed size
2634 in bytes for extend_alloca.
2636 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
2638 * manual/install.texi: Latest tested versions are GCC 4.9.2,
2639 binutls 2.25, and texinfo 5.2.
2640 * INSTALL: Regenerate.
2641 * sysdeps/nios2/configure: Regenerate.
2642 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
2643 * manual/contrib.texi: Update.
2667 * po/pt_BR.po: Update.
2676 * po/zh_CN.po: Update.
2677 * po/zh_TW.po: Update.
2679 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
2680 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
2681 * sysdeps/hppa/dl-irel.h: Remove #warning.
2682 * sysdeps/hppa/entry.h: Provide prototype for
2683 __canonicalize_funcptr_for_compare and cast argument.
2684 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
2685 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
2686 * sysdeps/hppa/sotruss-lib.c: New file.
2687 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
2688 (atomic_compare_and_exchange_val_acq): Use __typeof__.
2689 (atomic_compare_and_exchange_bool_acq): Likewise.
2690 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
2691 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
2693 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
2694 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
2695 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
2697 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
2699 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
2700 called function in non-PIC case.
2702 2015-01-31 David S. Miller <davem@davemloft.net>
2704 * sysdeps/sparc/sparc32/bits/atomic.h
2705 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
2706 unlock not after it.
2707 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
2708 volatile register usage warnings from the compiler.
2710 * sysdeps/sparc/nptl/sem_init.c: Delete.
2711 * sysdeps/sparc/nptl/sem_post.c: Delete.
2712 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
2713 * sysdeps/sparc/nptl/sem_wait.c: Delete.
2714 * sysdeps/sparc/sparc32/sem_init.c: New file.
2715 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
2716 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
2717 padding explicitly initialized.
2718 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
2719 padding for in-semaphore spinlock.
2720 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
2721 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
2722 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
2723 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
2724 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
2725 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
2726 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
2727 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
2729 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
2730 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
2732 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
2735 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2736 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
2737 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
2739 (index_AVX_Fast_Unaligned_Load): Likewise.
2740 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
2741 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
2742 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
2743 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
2744 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2745 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
2746 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
2747 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
2748 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
2750 2015-01-29 Andreas Schwab <schwab@suse.de>
2752 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
2754 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2757 * nscd/nscd_stat.c (send_stats): Initialize DATA.
2759 2015-01-28 Martin Sebor <msebor@redhat.com>
2761 * math/README.libm-test: Clarify. Add "How to read the test output."
2763 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
2765 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
2768 2015-01-28 Joseph Myers <joseph@codesourcery.com>
2770 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
2771 (__HAVE_64B_ATOMICS): Define to 0.
2773 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2776 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
2777 value to set as new flag.
2780 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
2781 and use _ARCH_PPCSQ instead.
2782 (__ieee754_sqrt): Likewise.
2783 (__ieee754_sqrtf): Likewise.
2784 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
2785 _ARCH_PPCSQ is defined.
2786 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
2788 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
2789 _ARCH_PPCSQ is defined.
2790 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
2792 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
2794 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2796 * iconv/loop.c: Suppress array out of bound warning caused by GCC
2797 bug (GCC BZ #64739).
2799 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
2801 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
2802 Mark _retval as used.
2803 (lll_futex_wake_unlock): Likewise.
2804 (lll_futex_timed_wait_requeue_pi): Likewise.
2806 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2807 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
2810 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
2813 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
2814 (__bswap_64): Mark as __always_inline.
2816 2015-01-25 Bram <bug_rh@spam.wizbit.be>
2819 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
2820 when none of the search directories exist.
2822 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2825 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
2826 power8 in .machine directive.
2829 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
2830 set dependency from opd value.
2832 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2835 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
2838 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2841 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
2843 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
2845 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
2846 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
2847 Replace 1UL with (uint64_t) 1.
2848 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
2851 2015-01-23 Roland McGrath <roland@hack.frob.com>
2853 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
2854 (if_freenameindex): Likewise.
2856 * resource/getrlimit64.c: Add missing libc_hidden_def.
2858 2015-01-22 Joseph Myers <joseph@codesourcery.com>
2860 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2862 (_FP_FMA): Likewise.
2863 (_FP_TO_INT_ROUND): Likewise.
2864 (_FP_FROM_INT): Likewise.
2866 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2869 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2870 Make code racy and cancel safe.
2872 2015-01-21 Carlos O'Donell <carlos@redhat.com>
2874 * sysdeps/arm/unwind-resume.h: Fix copyright year.
2875 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2878 * pwd/tst-getpw.c: Rewrite.
2881 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2882 (modules-names): Add moddummy1 and moddummy2.
2883 ($(objpfx)tst-rec-dlopen): Define.
2884 * dlfcn/moddummy1.c: New file.
2885 * dlfcn/moddummy2.c: New file.
2886 * dlfcn/tst-rec-dlopen.c: New file.
2887 * elf/dl-cache.c (_dl_load_cache_lookup):
2888 Return char*. Copy result with alloca/strcpy/strdup.
2889 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2890 returns char*. Free cached. If not saving realname
2892 * elf/dl-open.c (dl_open_worker): Do not assert that
2893 _r_debug->r_state is RT_CONSISTENT.
2894 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2897 2015-01-21 Torvald Riegel <triegel@redhat.com>
2898 Carlos O'Donell <carlos@redhat.com>
2901 * nptl/sem_waitcommon.c: New file.
2902 * nptl/sem_wait.c: Include sem_waitcommon.c.
2903 (__sem_wait_cleanup, do_futex_wait): Remove.
2904 (__new_sem_wait): Adapt.
2905 (__new_sem_trywait): New function.
2906 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2907 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2908 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2909 (sem_timedwait): Adapt.
2910 * nptl/sem_post.c (__new_sem_post): Adapt.
2911 (futex_wake): New function.
2912 (__old_sem_post): Add release MO fence.
2913 * nptl/sem_open.c (sem_open): Adapt.
2914 * nptl/sem_init.c (__new_sem_init): Adapt.
2915 (futex_private_if_supported): New function.
2916 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2917 (__old_sem_getvalue): Add using previous code.
2918 * sysdeps/nptl/internaltypes.h: Adapt.
2919 * nptl/tst-sem13.c (do_test): Adapt.
2920 * nptl/tst-sem11.c (main): Adapt.
2921 * nptl/sem_trywait.c: Remove.
2922 * nptl/DESIGN-sem.txt: Remove.
2923 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2924 (gen-as-const-headers): Remove structsem.sym.
2925 * nptl/structsem.sym: Remove.
2926 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2927 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2928 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2929 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2930 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2931 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2932 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2933 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2934 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2935 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2936 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2937 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2938 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2939 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2940 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2941 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2942 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2943 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2944 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2945 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2946 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2947 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2949 2015-01-20 Carlos O'Donell <carlos@redhat.com>
2951 * INSTALL: Regenerated.
2953 * po/libc.pot: Regenerated.
2955 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
2956 Sandra Loosemore <sandra@codesourcery.com>
2957 Andrew Jenner <andrew@codesourcery.com>
2958 Joseph Myers <joseph@codesourcery.com>
2959 Nathan Sidwell <nathan@codesourcery.com>
2961 * NEWS: Mention new Nios II port.
2962 * sysdeps/nios2/Implies: New file.
2963 * sysdeps/nios2/Makefile: New file.
2964 * sysdeps/nios2/Subdirs: New file.
2965 * sysdeps/nios2/Versions: New file.
2966 * sysdeps/nios2/__longjmp.S: New file.
2967 * sysdeps/nios2/abort-instr.h: New file.
2968 * sysdeps/nios2/backtrace.c: New file.
2969 * sysdeps/nios2/bits/endian.h: New file.
2970 * sysdeps/nios2/bits/fenv.h: New file.
2971 * sysdeps/nios2/bits/link.h: New file.
2972 * sysdeps/nios2/bits/setjmp.h: New file.
2973 * sysdeps/nios2/bsd-_setjmp.S: New file.
2974 * sysdeps/nios2/bsd-setjmp.S: New file.
2975 * sysdeps/nios2/configure: New generated file.
2976 * sysdeps/nios2/configure.ac: New file.
2977 * sysdeps/nios2/crti.S: New file.
2978 * sysdeps/nios2/crtn.S: New file.
2979 * sysdeps/nios2/dl-init.c: New file.
2980 * sysdeps/nios2/dl-machine.h: New file.
2981 * sysdeps/nios2/dl-sysdep.h: New file.
2982 * sysdeps/nios2/dl-tls.h: New file.
2983 * sysdeps/nios2/dl-trampoline.S: New file.
2984 * sysdeps/nios2/gccframe.h: New file.
2985 * sysdeps/nios2/gmp-mparam.h: New file.
2986 * sysdeps/nios2/jmpbuf-offsets.h: New file.
2987 * sysdeps/nios2/jmpbuf-unwind.h: New file.
2988 * sysdeps/nios2/ldsodefs.h: New file.
2989 * sysdeps/nios2/libc-tls.c: New file.
2990 * sysdeps/nios2/libm-test-ulps: New file.
2991 * sysdeps/nios2/machine-gmon.h: New file.
2992 * sysdeps/nios2/math-tests.h: New file.
2993 * sysdeps/nios2/math_private.h: New file.
2994 * sysdeps/nios2/memusage.h: New file.
2995 * sysdeps/nios2/nptl/Makefile: New file.
2996 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2997 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2998 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2999 * sysdeps/nios2/nptl/pthreaddef.h: New file.
3000 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
3001 * sysdeps/nios2/nptl/tls.h: New file.
3002 * sysdeps/nios2/preconfigure: New file.
3003 * sysdeps/nios2/s_fma.c: New file.
3004 * sysdeps/nios2/s_fmaf.c: New file.
3005 * sysdeps/nios2/setjmp.S: New file.
3006 * sysdeps/nios2/sfp-machine.h: New file.
3007 * sysdeps/nios2/sotruss-lib.c: New file.
3008 * sysdeps/nios2/stackguard-macros.h: New file.
3009 * sysdeps/nios2/stackinfo.h: New file.
3010 * sysdeps/nios2/start.S: New file.
3011 * sysdeps/nios2/sysdep.h: New file.
3012 * sysdeps/nios2/tls-macros.h: New file.
3013 * sysdeps/nios2/tst-audit.h: New file.
3014 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
3015 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
3016 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
3017 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
3018 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
3019 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
3020 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
3021 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
3022 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
3023 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
3024 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
3025 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
3026 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
3027 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
3028 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
3029 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
3030 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
3031 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
3032 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
3033 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
3034 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
3035 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
3036 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
3037 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
3038 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
3039 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
3040 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
3041 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
3042 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
3043 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
3044 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
3045 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
3046 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
3047 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
3048 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
3049 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
3050 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
3051 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
3052 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
3053 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
3054 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
3055 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
3056 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
3057 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
3059 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3062 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
3063 (getutent): Use weak_alias in non SHARED case
3064 and default_symbol_version in SHARED case.
3065 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
3066 (getutent_r, pututline): Likewise.
3067 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
3068 (getutid): Likewise.
3069 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
3070 (getutid_r): Likewise.
3071 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
3072 (getutline): Likewise.
3073 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
3074 (getutline_r): Likewise.
3075 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
3076 (updwtmp): Likewise.
3078 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3081 * sysdeps/s390/s390-32/memcmp.S
3082 (memcmp_g5): Rename to __memcmp_g5.
3083 * sysdeps/s390/s390-32/memcpy.S
3084 (memcpy_g5): Rename to __memcpy_g5.
3085 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3086 (memcpy_mvcle) Rename to __memcpy_mvcle.
3087 * sysdeps/s390/s390-32/memset.S
3088 (memset_g5): Rename to __memset_g5.
3089 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3090 (IFUNC_RESOLVE): Prefix ifunc-resolve function
3091 and use prefixed functions.
3092 * sysdeps/s390/s390-32/multiarch/memcmp.S
3093 (memcmp_z196): Rename to __memcmp_z196.
3094 (memcmp_z10): Rename to __memcmp_z10.
3095 (memcmp): Set alias to __memcmp_g5.
3096 (bcmp): Set alias to __memcmp_g5.
3097 * sysdeps/s390/s390-32/multiarch/memcpy.S
3098 (memcpy_z196): Rename to __memcpy_z196.
3099 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3100 (memcpy_z10): Rename to __memcpy_z10.
3101 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3102 (memcpy): Set alias to __memcpy_g5.
3103 * sysdeps/s390/s390-32/multiarch/memset.S
3104 (memset_z196): Rename to __memset_z196.
3105 Jump to __memset_mvcle instead of memset_mvcle.
3106 (memset_z10): Rename to __memset_z10.
3107 Jump to __memset_mvcle instead of memset_mvcle.
3108 (memset_mvcle) Rename to __memset_mvcle.
3109 (memset): Set alias to __memset_g5.
3110 * sysdeps/s390/s390-64/memcmp.S
3111 (memcmp_z900): Rename to __memcmp_z900.
3112 * sysdeps/s390/s390-64/memcpy.S
3113 (memcpy_z900): Rename to __memcpy_z900.
3114 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3115 (memcpy_mvcle) Rename to __memcpy_mvcle.
3116 * sysdeps/s390/s390-64/memset.S
3117 (memset_z900): Rename to __memset_z900.
3118 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
3119 (IFUNC_RESOLVE): Prefix ifunc-resolve function
3120 and use prefixed functions.
3121 * sysdeps/s390/s390-64/multiarch/memcmp.S
3122 (memcmp_z196): Rename to __memcmp_z196.
3123 (memcmp_z10): Rename to __memcmp_z10.
3124 (memcmp): Set alias to __memcmp_z900.
3125 (bcmp): Set alias to __memcmp_z900.
3126 * sysdeps/s390/s390-64/multiarch/memcpy.S
3127 (memcpy_z196): Rename to __memcpy_z196.
3128 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3129 (memcpy_z10): Rename to __memcpy_z10.
3130 Jump to __memcpy_mvcle instead of memcpy_mvcle.
3131 (memcpy): Set alias to __memcpy_z900.
3132 * sysdeps/s390/s390-64/multiarch/memset.S
3133 (memset_z196): Rename to __memset_z196.
3134 Jump to __memset_mvcle instead of memset_mvcle.
3135 (memset_z10): Rename to __memset_z10.
3136 Jump to __memset_mvcle instead of memset_mvcle.
3137 (memset_mvcle) Rename to __memset_mvcle.
3138 (memset): Set alias to __memset_z900.
3140 2015-01-14 Joseph Myers <joseph@codesourcery.com>
3143 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
3144 __fesetenv instead of fesetenv.
3146 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3148 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
3151 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3153 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
3156 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
3157 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
3158 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3159 strncmp-power8 object.
3160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3161 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
3162 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
3165 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3166 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3168 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
3169 trailing byte check.
3171 2015-01-13 David S. Miller <davem@davemloft.net>
3173 * include/signal.h (__sigreturn): Guard with __USE_MISC.
3175 2015-01-13 Roland McGrath <roland@hack.frob.com>
3177 * login/logout.c (logout): Use memset rather than bzero.
3178 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
3179 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
3180 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
3181 (_gethtbyaddr): Likewise.
3182 * locale/programs/simple-hash.c (bcopy): Macro removed.
3184 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3186 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3187 Add strcmp-power8 object.
3188 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3189 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
3190 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
3191 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
3192 __strcmp_power8 implementation.
3193 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
3196 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3197 Add strncpy-power8 and stpncpy-power8 objects.
3198 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3199 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
3201 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
3202 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
3203 __stpncpy_power8 implementation.
3204 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
3205 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
3206 __strncpy_power8 implementation.
3207 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
3208 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
3211 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
3212 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
3213 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
3215 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3216 strncat-power8 object.
3217 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
3218 __strcat_power8 implementation.
3219 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3220 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
3221 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
3222 optimized strcat for power8.
3224 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3225 strcpy-power8 and stpcpy-power8 objects.
3226 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3227 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
3229 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
3230 multiarch stpcpy implementation for POWER8.
3231 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
3232 multiarch strcpy implementation for POWER8.
3233 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
3234 __strcpy_power8 function.
3235 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
3237 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
3241 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
3244 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
3245 weights and rules. Use do_xfrm_cached if data fits in cache,
3246 do_xfrm otherwise. Moved former main loop to...
3247 * (do_xfrm_cached): New function.
3248 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
3249 find_idx, find_position and stack_push.
3250 * (find_idx): New function.
3251 * (find_position): Likewise.
3252 * localedata/sort-test.sh: Added test run for do_xfrm.
3253 * localedata/xfrm-test.c (main): Added command line option
3254 -nocache to run the test with strings that are too large for
3257 2015-01-13 Torvald Riegel <triegel@redhat.com>
3259 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
3260 variable to lll_futex_wake call, not the value itself.
3262 2015-01-12 Joseph Myers <joseph@codesourcery.com>
3265 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
3266 twom64. Adjust value to 0x1p-64L.
3267 (__scalblnl): Only return standard underflowing result for K <=
3268 -64 not K <= -63; adjust exponent for underflowing result by 64
3270 * math/libm-test.inc (scalbn_test_data): Add more tests.
3271 (scalbln_test_data): Likewise.
3274 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
3276 (__scalblnl): Get new exponent of adjusted subnormal value from ES
3278 * math/libm-test.inc (scalbn_test_data): Add more tests.
3279 (scalbln_test_data): Likewise.
3281 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3282 Stefani Seibold <stefani@seibold.net>
3284 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
3285 (sysdep_routines): Add dl-vdso here, ...
3286 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
3287 (sysdep_routines): ... not here.
3288 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
3289 fallback when vDSO is not presented.
3290 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3291 Define with libc_hidden_proto/libc_hidden_data_def definitions.
3292 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
3293 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
3294 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
3295 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
3296 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
3297 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
3298 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
3299 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
3300 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
3301 fallback configurable symbol when vDSO is not available.
3302 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
3303 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
3304 be able to redefine fallback symbol when vDSO is not available.
3305 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
3306 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
3308 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3310 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
3311 (TLS_INIT_TP): Add tm_capable initialization.
3312 (TLS_DEFINE_INIT_TP): Likewise.
3313 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
3315 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
3316 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
3318 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
3319 transactoion is lock elision is built and TCB tm_capable is set.
3320 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
3321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3322 (INTERNAL_SYSCALL_NCS): Likewise.
3323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3324 (INTERNAL_SYSCALL_NCS): Likewise.
3325 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
3327 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
3329 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3330 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
3331 and remove it for 32 bits case.
3332 [pthread_rwlock_t] (__rwelision): New field for lock elision.
3333 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
3335 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
3336 Disable lock elision with rdlocks if elision is not available.
3338 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
3339 (sysdep_routines): Add lock elision objects.
3340 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3341 [pthread_mutex_t] (__spins): Rework to add lock elision field.
3342 [pthread_mutex_t] (__elision): Add field.
3343 [__PTHREAD_SPINS]: Adjust to init lock elision field.
3344 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
3345 elision definitions for powerpc.
3346 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
3347 implementation of lock elision for powerpc.
3348 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
3349 implementation of timed lock elision for powerpc.
3350 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
3351 implementation of trylock with lock elision for powerpc.
3352 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
3353 implementaion of unlock for lock elision for powerpc.
3354 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
3355 automatic enable lock elision for mutexes.
3356 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
3357 transaction execution definitions for powerpc.
3358 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
3360 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
3361 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
3362 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
3363 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
3366 2015-01-09 Roland McGrath <roland@hack.frob.com>
3368 * sysdeps/posix/shm-directory.c: Use <> rather than ""
3369 for #include of <shm-directory.h>.
3371 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
3373 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
3374 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
3376 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
3379 * NEWS: Mention bug fix.
3380 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
3381 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
3382 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
3384 2015-01-09 Torvald Riegel <triegel@redhat.com>
3386 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
3388 2015-01-09 Torvald Riegel <triegel@redhat.com>
3390 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
3392 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
3394 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
3395 pointer and cast to uintptr_t.
3397 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
3399 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
3401 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
3403 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
3405 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
3408 2015-01-08 Roland McGrath <roland@hack.frob.com>
3410 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
3411 <nptl/pthreadP.h> instead.
3412 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
3414 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
3416 [__SIGRTMIN] (init): Function removed.
3417 [__SIGRTMIN] (initialized): Variable removed.
3418 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
3419 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
3420 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
3421 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
3422 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
3423 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
3424 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
3425 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
3426 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
3427 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
3428 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
3429 * sysdeps/nptl/allocrtsig.c: New file.
3430 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
3431 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
3432 * sysdeps/generic/testrtsig.h: File removed.
3434 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
3435 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
3437 * nptl/nptl-init.c (pthread_functions): Conditionalize
3438 .ptr__nptl_setxid initialization on [SIGSETXID].
3440 * sysdeps/nptl/sys/procfs.h: New file.
3441 * nptl_db/Makefile (headers): Add it.
3442 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
3444 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
3445 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
3446 * nptl/pthread_attr_setaffinity.c: Include it.
3447 * nptl/pthread_setattr_default_np.c: Likewise.
3448 * nptl/check-cpuset.h: New file.
3450 2015-01-08 Richard Henderson <rth@redhat.com>
3452 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
3453 (CFLAGS-tst-execstack-prog.c): Likewise.
3454 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
3456 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
3457 Sandra Loosemore <sandra@codesourcery.com>
3458 Andrew Jenner <andrew@codesourcery.com>
3459 Joseph Myers <joseph@codesourcery.com>
3460 Nathan Sidwell <nathan@codesourcery.com>
3462 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
3463 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
3464 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
3465 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
3466 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
3467 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
3468 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
3469 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
3470 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
3471 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
3472 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
3473 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
3474 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
3475 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
3476 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
3477 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
3478 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
3480 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3482 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
3483 timespec struct member in syscall macro.
3484 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
3485 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
3486 first timeval struct member in syscall macro.
3487 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
3489 2015-01-07 Joseph Myers <joseph@codesourcery.com>
3492 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
3493 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
3494 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
3495 __feupdateenv and define as weak alias of __feupdateenv. Use
3497 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
3499 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
3500 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
3501 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3502 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
3504 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
3505 __feupdateenv and define as weak alias of __feupdateenv. Use
3507 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
3509 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
3510 __feupdateenv and define as weak alias of __feupdateenv. Use
3512 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
3514 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3515 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3516 (__feupdateenv): Likewise.
3517 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
3518 __feupdateenv and define as weak alias of __feupdateenv. Use
3520 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3521 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
3523 * sysdeps/tile/math_private.h (__feupdateenv): New inline
3525 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
3527 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
3528 __feupdateenv instead of feupdateenv.
3529 (default_libc_feupdateenv_test): Likewise.
3530 (libc_feresetround_ctx): Likewise.
3532 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3534 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
3537 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
3539 * posix/regcomp.c (parse_bracket_exp): Initialize type to
3540 COLL_SYM in a couple of places to avoid uninitialized variable
3541 wanings on tilegx gcc 4.8.2.
3543 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
3545 * sysdeps/aarch64/strcpy.S: New file.
3546 * sysdeps/aarch64/stpcpy.S: New file.
3549 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
3551 * sysdeps/aarch64/strrchr.S: New file.
3554 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
3557 * stdlib/setenv.c: Fix memory leak when setting large,
3560 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
3563 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
3564 and tabs from buffer before parsing fstab entry.
3565 * misc/tst-mntent.c (main): Add test for mount entry with
3566 trailing spaces and tabs.
3568 2015-01-06 Joseph Myers <joseph@codesourcery.com>
3571 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
3572 * math/fesetround.c (fesetround): Rename to __fesetround and
3573 define as weak alias of __fesetround. Use libm_hidden_weak.
3574 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
3575 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
3576 * sysdeps/arm/fesetround.c (fesetround): Likewise.
3577 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
3578 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
3579 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
3580 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
3581 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
3582 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
3583 __fesetround_inline.
3584 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
3585 __fesetround_inline instead of __fesetround.
3586 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
3587 __fesetround and define as weak alias of __fesetround. Use
3588 libm_hidden_weak. Call __fesetround_inline instead of
3590 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
3591 __fesetround and define as weak alias of __fesetround. Use
3593 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
3595 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
3596 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3597 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
3598 * sysdeps/tile/math_private.h (__fesetround): New inline function.
3599 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
3600 __fesetround and define as weak alias of __fesetround. Use
3602 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
3603 __fesetround instead of fesetround.
3604 (default_libc_feholdexcept_setround): Likewise.
3605 (libc_feholdsetround_ctx): Likewise.
3606 (libc_feholdsetround_noex_ctx): Likewise.
3609 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
3610 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
3611 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3612 and define as weak alias of __fesetenv. Use libm_hidden_weak.
3613 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3614 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
3615 define as weak alias of __fesetenv. Use libm_hidden_weak.
3616 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3617 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3618 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3619 define as weak alias of __fesetenv. Use libm_hidden_weak.
3620 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3621 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3622 define as weak alias of __fesetenv. Use libm_hidden_weak.
3623 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
3625 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
3626 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
3628 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3629 define as weak alias of __fesetenv. Use libm_hidden_weak.
3630 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3631 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3632 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
3633 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3634 and define as weak alias of __fesetenv. Use libm_hidden_weak.
3635 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
3636 __fesetenv instead of fesetenv.
3637 (libc_feresetround_noex_ctx): Likewise.
3638 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3639 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3640 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
3641 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3642 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3643 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3644 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3645 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3646 (__feupdateenv): Likewise.
3647 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3648 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3649 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3650 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
3652 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
3655 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
3656 addresses have been freed.
3658 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
3660 * resolv/res_init.c (__res_vinit): Improve comments about nserv
3663 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
3665 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
3666 Clean up check_pf allocation pattern. addresses
3668 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3670 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
3671 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
3672 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3673 * nptl/pthread_exit.c (__pthread_exit): Likewise.
3674 * nptl/pthread_join.c (pthread_join): Likewise.
3675 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
3676 * sysdeps/posix/waitid.c (__waitid): Likewise.
3677 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3678 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3679 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3680 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3681 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3683 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3684 (__libc_pread64): Likewise.
3685 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3686 (__libc_pwrite): Likewise.
3687 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3688 (__libc_pwrite64): Likewsie.
3689 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3690 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3691 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3692 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3693 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3694 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3695 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3699 (__libc_pread64): Likewise.
3700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
3702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3703 (__libc_pwrite64): Likewise.
3704 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3705 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3706 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
3707 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3708 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3709 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3710 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
3711 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3712 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3713 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3714 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
3715 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3716 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3717 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
3718 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3719 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3722 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3724 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
3725 (CFLAGS-test-double.c): Likewise.
3726 (CFLAGS-test-ldouble.c): Likewise.
3727 (CPPFLAGS-test-ifloat.c): Likewise.
3728 (CPPFLAGS-test-idouble.c): Likewise.
3729 (CPPFLAGS-test-ildoubl.c): Likewise.
3730 (CFLAGS-test-test-fenv.c): Remove variable.
3731 (CFLAGS-test-misc.c): Likewise.
3733 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
3736 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
3737 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
3738 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
3739 CLOCKS_PER_SEC == 1000000.
3740 * time/clocktest.c (main): Replace %ld with %jd and cast to
3743 2015-01-05 Roland McGrath <roland@hack.frob.com>
3745 * sysdeps/generic/unwind-resume.h: New file.
3746 * sysdeps/gnu/unwind-resume.c: Include it.
3747 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
3748 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
3750 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
3751 global rather than static.
3752 (_Unwind_Resume): Update user.
3753 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
3754 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
3755 rather than static. Add __attribute__ ((cold)).
3756 (_Unwind_Resume, __gcc_personality_v0): Update callers.
3757 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
3758 * sysdeps/arm/arm-unwind-resume.S: New file.
3759 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
3760 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
3761 * sysdeps/arm/Makefile [$(subdir) = csu]
3762 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
3763 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3764 Add rt-arm-unwind-resume.
3766 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3767 Add pt-arm-unwind-resume.
3768 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
3769 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
3771 2015-01-05 Joseph Myers <joseph@codesourcery.com>
3774 * include/fenv.h (__feholdexcept): Declare. Use
3776 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
3777 define as weak alias of __feholdexcept. Use libm_hidden_weak.
3778 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3779 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
3780 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
3781 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
3782 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
3783 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3784 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
3785 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
3786 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3787 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
3788 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
3789 (feholdexcept): Likewise.
3790 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3791 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3792 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3793 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3794 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
3795 __feholdexcept instead of feholdexcept.
3796 (default_libc_feholdexcept_setround): Likewise.
3798 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
3800 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
3801 to avoid using stl/str to align destination.
3803 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
3805 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
3807 2015-01-05 Joseph Myers <joseph@codesourcery.com>
3810 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
3811 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
3812 Define as weak alias not strong alias.
3814 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
3816 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
3817 bltzal with addiupc.
3818 (RTLD_START): Ditto.
3820 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
3822 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
3823 for __vdso_* functions in declarations.
3824 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
3826 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
3827 INTERNAL_VSYSCALL): Use struct return types to check for error.
3829 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
3830 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
3831 function with cast from llround().
3832 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
3833 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3836 2015-01-05 Joseph Myers <joseph@codesourcery.com>
3839 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
3840 Define as weak alias not strong alias.
3843 * ctype/ctype-c99.c: New file. isblank implementation moved from
3845 * ctype/ctype-extn.c: ... here.
3846 (__isblank_l): Move to ...
3847 * ctype/ctype-c99_l.c: ... here. New file.
3848 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
3849 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
3851 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3852 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3853 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3854 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3855 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3858 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3859 (posix_fadvise64): Define as weak alias not strong alias.
3860 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3861 (posix_fallocate64): Likewise.
3862 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3864 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3865 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3866 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3867 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3868 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3870 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
3873 * NEWS: Mention bug fix.
3874 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3875 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3876 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3877 (HOST_STACK_END_ADDR): Likewise.
3879 2015-01-02 Joseph Myers <joseph@codesourcery.com>
3882 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
3883 * math/fegetround.c (fegetround): Rename to __fegetround and
3884 define as weak alias of __fegetround. Use libm_hidden_weak.
3885 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3886 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3887 * sysdeps/arm/fegetround.c (fegetround): Likewise.
3888 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3889 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3890 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3891 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3892 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3893 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3894 Undefine after rather than before function definition; use
3895 parentheses around function name in definition.
3896 (__fegetround): Also undefine macro after function definition.
3897 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3898 __fegetround and define as weak alias of __fegetround. Use
3899 libm_hidden_weak. Do not undefine as macro.
3900 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3902 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3903 __fegetround and define as weak alias of __fegetround. Use
3905 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3906 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3907 * sysdeps/tile/math_private.h (__fegetround): New inline function.
3908 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3909 __fegetround and define as weak alias of __fegetround. Use
3911 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3912 __fegetround instead of fegetround.
3915 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3916 Condition macro definition on [__USE_MISC].
3919 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3920 (struct sigaction): Change type of sa_flags field to int.
3923 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3924 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3927 * nptl/version.c (banner): Use single year in copyright notice.
3929 * NEWS: Update copyright dates.
3930 * catgets/gencat.c (print_version): Likewise.
3931 * csu/version.c (banner): Likewise.
3932 * debug/catchsegv.sh: Likewise.
3933 * debug/pcprofiledump.c (print_version): Likewise.
3934 * debug/xtrace.sh (do_version): Likewise.
3935 * elf/ldconfig.c (print_version): Likewise.
3936 * elf/ldd.bash.in: Likewise.
3937 * elf/pldd.c (print_version): Likewise.
3938 * elf/sotruss.sh: Likewise.
3939 * elf/sprof.c (print_version): Likewise.
3940 * iconv/iconv_prog.c (print_version): Likewise.
3941 * iconv/iconvconfig.c (print_version): Likewise.
3942 * locale/programs/locale.c (print_version): Likewise.
3943 * locale/programs/localedef.c (print_version): Likewise.
3944 * login/programs/pt_chown.c (print_version): Likewise.
3945 * malloc/memusage.sh (do_version): Likewise.
3946 * malloc/memusagestat.c (print_version): Likewise.
3947 * malloc/mtrace.pl: Likewise.
3948 * manual/libc.texinfo: Likewise.
3949 * nptl/version.c (banner): Likewise.
3950 * nscd/nscd.c (print_version): Likewise.
3951 * nss/getent.c (print_version): Likewise.
3952 * nss/makedb.c (print_version): Likewise.
3953 * posix/getconf.c (main): Likewise.
3954 * scripts/test-installation.pl: Likewise.
3955 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3957 2015-01-02 Will Newton <will.newton@linaro.org>
3959 * sysdeps/arm/armv7/configure: Removed.
3960 * sysdeps/arm/armv7/configure.ac: Likewise.
3962 2015-01-02 Joseph Myers <joseph@codesourcery.com>
3964 * All files with FSF copyright notices: Update copyright dates
3965 using scripts/update-copyrights.
3966 * intl/plural.c: Regenerated.
3967 * locale/programs/charmap-kw.h: Likewise.
3968 * locale/programs/locfile-kw.h: Likewise.
3970 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3972 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3974 2014-12-31 Joseph Myers <joseph@codesourcery.com>
3977 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3978 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3979 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3980 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3981 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3982 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3983 define as weak alias of __fegetenv. Use libm_hidden_weak.
3984 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3985 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3986 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3987 define as weak alias of __fegetenv. Use libm_hidden_weak.
3988 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3989 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3990 define as weak alias of __fegetenv. Use libm_hidden_weak.
3991 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3993 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3994 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3996 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3997 define as weak alias of __fegetenv. Use libm_hidden_weak.
3998 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3999 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4000 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
4001 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
4002 and define as weak alias of __fegetenv. Use libm_hidden_weak.
4003 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
4004 __fegetenv instead of fegetenv.
4005 (libc_feholdsetround_noex_ctx): Likewise.
4007 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
4009 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
4010 (Elf_MIPS_ABIFlags_v0): New structure.
4011 (EF_MIPS_FP64): Define.
4012 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
4013 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
4014 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
4015 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
4016 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
4017 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
4018 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
4019 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
4020 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
4021 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
4022 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
4023 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
4024 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
4025 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
4026 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
4027 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
4028 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
4029 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
4030 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
4031 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
4032 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
4033 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
4035 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
4037 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
4038 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
4039 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
4040 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
4041 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
4042 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
4043 * sysdeps/mips/tst-abi-interlink.c: Likewise.
4044 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
4045 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
4046 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
4047 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
4048 record the current FP ABI extension.
4049 (mips-mode-switch): Define to show if kernel headers support mode
4051 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4052 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
4053 supported SYSV ABI version to 3.
4054 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
4057 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4058 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4060 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
4062 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
4064 2014-12-31 Joseph Myers <joseph@codesourcery.com>
4066 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
4067 __fegetround and redefine to call __fegetround. Remove condition
4068 on [!__NO_MATH_INLINES].
4069 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
4071 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
4072 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4074 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
4075 instead of <fenv_libc.h>.
4076 (__llrintl): Call fegetround instead of __fegetround.
4077 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
4078 instead of <fenv_libc.h>.
4079 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4080 (__lrintl): Call fegetround instead of __fegetround.
4081 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
4082 instead of <fenv_libc.h>.
4083 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4084 (__rintl): Call fegetround instead of __fegetround.
4086 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4088 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
4091 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
4094 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
4095 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
4096 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
4098 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
4100 * sysdeps/i386/tls-macros.h: Include <features.h>.
4101 (TLS_LE): Use non-PIC version for GCC >= 5.0.
4105 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
4106 define for GCC >= 5.0.
4108 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
4110 * math/test-fenv.c (test_single_exception, set_single_exc,
4111 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
4112 feexcp_mask_test, feenable_test, fe_single_test): Add
4113 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
4114 case where they are not used.
4115 * math/libm-test.inc: Likewise.
4116 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
4117 unused in the absence of FP rounding/exception support.
4118 * stdio-common/tst-printf-round.c: Likewise.
4119 * stdlib/tst-strtod-round.c: Likewise.
4120 * stdlib/tst-strtod-underflow.c: Likewise.
4122 2014-12-30 Joseph Myers <joseph@codesourcery.com>
4125 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
4126 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
4127 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4128 __feraiseexcept and define as weak alias of __feraiseexcept. Use
4130 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
4131 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
4132 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
4134 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4135 __feraiseexcept and define as weak alias of __feraiseexcept. Use
4137 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
4139 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
4140 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4141 __feraiseexcept and define as weak alias of __feraiseexcept. Use
4143 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
4145 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4146 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
4147 (__feraiseexcept): Likewise.
4148 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4149 __feraiseexcept and define as weak alias of __feraiseexcept. Use
4151 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
4152 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
4154 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
4155 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
4156 Use libm_hidden_def.
4157 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
4159 (feraiseexcept): Define as weak not strong alias. Use
4161 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
4162 New inline function. Factored out of ...
4163 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
4164 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
4165 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
4167 * math/w_acos.c (__acos): Likewise.
4168 * math/w_asin.c (__asin): Likewise.
4169 * math/w_ilogb.c (__ilogb): Likewise.
4170 * math/w_j0.c (y0): Likewise.
4171 * math/w_j1.c (y1): Likewise.
4172 * math/w_jn.c (yn): Likewise.
4173 * math/w_log.c (__log): Likewise.
4174 * math/w_log10.c (__log10): Likewise.
4175 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
4176 * sysdeps/aarch64/fpu/math_private.h
4177 (libc_feupdateenv_test_aarch64): Likewise.
4178 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
4179 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
4180 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
4181 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
4182 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
4183 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
4184 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
4185 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4186 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4187 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4189 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
4192 * io/test-utime.c (main): Replace %ld with %jd and cast to
4194 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
4195 * nptl/tst-mutex5.c: Include <stdint.h>.
4196 (do_test): Replace %ld with %jd and cast to intmax_t.
4197 * posix/tst-regex.c (run_test): Likewise.
4198 (run_test_backwards): Likewise.
4199 * rt/tst-clock.c: Include <stdint.h>.
4200 (clock_test): Replace %ld with %jd and cast to intmax_t.
4201 * rt/tst-cpuclock1.c: Include <stdint.h>.
4202 (do_test): Replace %lu with %ju and cast to uintmax_t.
4203 * rt/tst-cpuclock2.c: Include <stdint.h>.
4204 (do_test): Replace %lu with %ju and cast to uintmax_t.
4205 * rt/tst-mqueue1.c: Include <stdint.h>.
4206 (check_attrs): Replace %ld with %jd and cast to intmax_t.
4207 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
4209 * rt/tst-mqueue4.c (do_test): Likewise.
4210 * rt/tst-timer4.c: Include <stdint.h>.
4211 (check_ts): Replace %ld with %jd and cast to intmax_t.
4212 (do_test): Likewise.
4213 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
4214 and cast to intmax_t.
4215 * sysdeps/pthread/tst-timer.c (main): Likewise.
4216 * time/clocktest.c (main): Likewise.
4217 * time/tst-posixtz.c (do_test): Likewise.
4218 * timezone/tst-timezone.c (main): Likewise.
4220 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
4221 H.J. Lu <hongjiu.lu@intel.com>
4223 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
4224 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
4225 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
4226 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
4227 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
4228 version if bit_Fast_Unaligned_Load is set.
4229 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4230 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4231 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4232 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4233 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4234 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4235 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4236 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
4237 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
4238 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
4240 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
4241 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
4242 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
4243 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
4245 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
4247 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
4248 instead of #if to avoid a Wundef warning.
4249 * stdlib/tst-limits.c (do_test): Likewise.
4251 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
4252 parallel other exception macros.
4253 (fegetenv): Convert from macro to extern inline so that it applies
4254 retroactively to inline functions already seen by the compiler.
4255 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
4257 * posix/Makefile (before-compile): Use $(objpfx) for
4258 posix-conf-vars-def.h.
4260 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4262 * posix/getconf.c (main): Use size_t for type of I.
4263 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
4266 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
4267 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
4268 * posix/posix-envs.def: Likewise.
4269 * sysdeps/posix/sysconf.c: Likewise.
4270 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
4271 (specs): Remove array.
4272 * scripts/gen-posix-conf-vars.awk: Support generation of specs
4275 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
4276 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
4277 (__sysconf): Use CONF_IS_* macros.
4279 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
4280 ($(objpfx)posix-conf-vars-def.h): New target.
4281 * posix/posix-conf-vars.list: New file.
4282 * posix/posix-conf-vars.h: New file.
4283 * posix/confstr.c: Include posix-conf-vars.h.
4284 (confstr): Use CONF_IS_* macros.
4285 * posix/posix-envs.def: Include posix-conf-vars.h. Use
4287 * scripts/gen-posix-conf-vars.awk: New file.
4289 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
4291 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
4292 fegetround): Add no-op macros to avoid linknamespace issues.
4294 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
4295 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
4297 * sysdeps/unix/sysv/linux/tile/sysdep.h
4298 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
4299 assembly-specific section to avoid a redefinition warning.
4301 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
4302 long before casting to pointer to avoid a cast warning.
4304 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
4306 * sysdeps/tile/tilegx/Implies: New file.
4308 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
4310 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
4312 2014-12-23 Florian Weimer <fweimer@redhat.com>
4314 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
4316 2014-12-22 Joseph Myers <joseph@codesourcery.com>
4318 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
4320 * sysdeps/unix/sysv/linux/utimes.c: Do not include
4321 <kernel-features.h>.
4322 (__utimes) [__NR_utimes]: Make code unconditional.
4323 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
4324 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4325 (__ASSUME_UTIMES): Do not undefine.
4326 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4327 (__ASSUME_UTIMES): Likewise.
4328 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4329 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
4330 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
4331 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
4333 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
4335 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
4337 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
4340 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
4341 alias to weak alias for j0l, y0l.
4342 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
4343 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
4346 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
4349 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
4351 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
4352 to zero if not already defined.
4354 2014-12-22 Joseph Myers <joseph@codesourcery.com>
4357 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
4358 (__kernel_standard_f): Remove. Moved to k_standardf.c.
4359 (__kernel_standard_l): Remove. Moved to k_standardl.c with
4360 (char *) casts added.
4361 * sysdeps/ieee754/k_standardf.c: New file.
4362 * sysdeps/ieee754/k_standardl.c: Likewise.
4363 * math/Makefile (libm-support): Remove k_standard.
4364 (libm-calls): Add k_standard.
4366 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4368 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4369 Optimize to avoid an unnecessary FPCR read.
4371 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4373 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
4374 Optimize to reduce FPCR/FPSR accesses.
4376 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4378 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
4379 Call libc_fetestexcept_aarch64.
4381 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4383 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
4384 Call libc_fesetround_aarch64.
4386 2014-12-22 Joseph Myers <joseph@codesourcery.com>
4389 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
4390 (__bind): Do not define as weak alias.
4391 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
4393 (__getsockname): Do not define as weak alias.
4395 2014-12-22 Will Newton <will.newton@linaro.org>
4397 * manual/install.texi: Document that we require bison 2.7
4399 * INSTALL: Regenerate.
4400 * configure.ac: Use AC_CHECK_PROG_VER instead of
4401 AC_PATH_PROG when checking for bison and check for
4402 version 2.7 or above.
4403 * configure: Regenerate.
4405 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
4408 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
4409 * sysdeps/tile/ffsll.c (ffsll): To here.
4411 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
4413 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
4415 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
4417 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
4419 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
4420 hidden ___tls_get_addr.
4421 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
4422 hidden __tls_get_addr.
4423 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
4424 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
4427 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
4429 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
4432 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
4434 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
4435 from "call _dl_init@PLT".
4436 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
4438 2014-12-21 Anders Kaseorg <andersk@mit.edu>
4440 * manual/search.texi: (Array Sort Function): Clarify stable sorting
4443 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
4445 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
4447 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
4450 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
4453 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
4455 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
4457 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
4458 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
4459 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
4460 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
4461 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
4463 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
4465 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
4466 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
4467 (PTR_SUBU): Use subu for mips32r6/mips64r6.
4468 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
4469 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
4471 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
4473 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
4475 * string/strncat.c (STRNCAT): Simplify implementation.
4477 2014-12-19 David S. Miller <davem@davemloft.net>
4479 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
4480 access the quad as both a long double and as a series of 4 words.
4482 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
4483 link_map->l_info array access.
4485 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
4487 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
4489 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
4490 * math/atest-exp2.c (TIMEOUT): Likewise.
4491 * math/atest-sincos.c (TIMEOUT): Likewise.
4493 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4495 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
4496 -Wno-error with -fno-builtin-lround.
4498 2014-12-19 Torvald Riegel <triegel@redhat.com>
4500 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
4501 Contains futex constants and functions moved over from ...
4502 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
4503 <lowlevellock-futex.h>.
4504 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4505 (lll_timedwait_tid): Add comments and parentheses around macro
4508 2014-12-19 Torvald Riegel <triegel@redhat.com>
4510 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
4511 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
4512 (__lll_private_flag): Remove.
4513 (lll_futex_wait): Likewise.
4514 (lll_futex_timed_wait): Likewise.
4515 (lll_futex_wake): Likewise.
4516 (lll_futex_requeue): Likewise.
4517 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4518 (__lll_timedwait_tid): Spell out argument names.
4519 (lll_timedwait_tid): Add comments and parentheses around macro
4521 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
4522 LLL_SHARED and LLL_PRIVATE usable from assembly code.
4524 2014-12-19 Torvald Riegel <triegel@redhat.com>
4526 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
4527 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4528 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4529 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
4530 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
4531 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
4532 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
4533 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
4534 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
4535 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
4536 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
4537 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
4538 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
4539 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
4540 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
4541 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
4542 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
4543 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
4544 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
4546 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4548 * sysdeps/x86_64/x32/Makefile: New file.
4550 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4552 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
4553 1L with (mp_limb_t) 1.
4555 2014-12-17 Roland McGrath <roland@hack.frob.com>
4557 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
4558 * nptl/libc_pthread_init.c: ... here.
4559 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
4560 * nptl/register-atfork.c: ... here.
4562 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
4563 Use pthread_sigmask rather than INTERNAL_SYSCALL.
4564 Use assert_perror to check its return value.
4565 (__gai_create_helper_thread): Likewise.
4567 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
4569 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
4571 2014-12-17 Joseph Myers <joseph@codesourcery.com>
4574 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
4576 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
4578 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
4580 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
4582 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
4583 (profil_counter): Likewise.
4584 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
4585 (profil_counter): Likewise.
4586 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
4588 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
4590 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
4591 (profil_counter): Likewise.
4592 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
4594 [!__profil_counter] (profil_counter): Define as weak alias of
4596 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
4597 (profil_counter): Rename to __profil_counter.
4598 [!__profil_counter] (profil_counter): Define as weak alias of
4600 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
4601 (profil_counter): Rename to __profil_counter.
4602 [!__profil_counter] (profil_counter): Define as weak alias of
4604 * sysdeps/posix/profil.c: Update comment referring to
4606 (__profil): Use __profil_counter instead of profil_counter.
4607 * sysdeps/posix/sprofil.c (profil_counter): Rename to
4608 __profil_counter. Use __profil_counter_ushort and
4609 __profil_counter_uint in definitions.
4610 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
4611 instead of profil_counter_uint and profil_counter_ushort.
4614 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
4615 define as weak alias of __inet_makeaddr.
4616 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
4617 as weak alias of __inet_addr.
4618 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
4619 as weak alias of __inet_pton. Use libc_hidden_weak.
4620 * include/arpa/inet.h (__inet_pton): Declare. Use
4622 (inet_makeaddr): Don't use libc_hidden_proto.
4623 (__inet_makeaddr): Declare. Use libc_hidden_proto.
4624 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
4625 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
4626 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
4628 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4629 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4631 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
4633 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
4635 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4637 * stdio-common/bug-vfprintf-nargs.c (do_test):
4638 Cast value to intptr_t to avoid format warning
4639 for usage with PRIdPTR printing macro.
4641 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4643 * libio/tst-widetext.c (do_test):
4644 Use format type %td instead of %Zd for ptrdiff_t
4645 in order to avoid format warning.
4647 2014-12-17 Andreas Schwab <schwab@suse.de>
4649 * nscd/mem.c (gc): Add size_t cast to match printf format.
4651 2014-12-16 Roland McGrath <roland@hack.frob.com>
4653 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
4654 (init): Apply PTR_MANGLE to pointers before storing them.
4655 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
4658 2014-12-16 Joseph Myers <joseph@codesourcery.com>
4661 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
4662 define as weak alias of __memrchr.
4663 (__memrchr): Do not define as strong alias of memrchr.
4664 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
4666 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4667 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4668 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4671 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
4672 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
4673 (if_indextoname): Rename to __if_indextoname and define as weak
4674 alias of __if_indextoname. Use libc_hidden_weak.
4675 (if_freenameindex): Rename to __if_freenameindex and define as
4676 weak alias of __if_freenameindex.
4677 (if_nameindex): Rename to __if_nameindex and define as weak alias
4679 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
4680 __if_nametoindex and define as weak alias of __if_nametoindex.
4681 Use libc_hidden_weak.
4682 (if_freenameindex): Rename to __if_freenameindex and define as
4683 weak alias of __if_freenameindex.
4684 (if_nameindex): Rename to __if_nameindex and define as weak alias
4686 (if_indextoname): Rename to __if_indextoname and define as weak
4687 alias of __if_indextoname. Use libc_hidden_weak.
4688 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
4689 __if_nametoindex and define as weak alias of __if_nametoindex.
4690 Use libc_hidden_weak.
4691 (if_freenameindex): Rename to __if_freenameindex and define as
4692 weak alias of __if_freenameindex. Use libc_hidden_weak.
4693 (if_nameindex_netlink): Use __if_freenameindex instead of
4695 (if_nameindex): Rename to __if_nameindex and define as weak alias
4696 of __if_nameindex. Use libc_hidden_weak.
4697 (if_indextoname): Rename to __if_indextoname and define as weak
4698 alias of __if_indextoname. Use libc_hidden_weak.
4699 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
4701 [!_ISOMAC] (__if_freenameindex): Likewise.
4702 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
4704 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
4706 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4707 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4708 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4709 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4710 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4711 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4712 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4714 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
4716 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4717 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4719 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4721 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
4722 subscript above bounds'
4724 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
4727 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
4729 * libio/tst-fopenloc.c: Use test-skeleton.c.
4731 * stdlib/tst-bsearch.c: Use test-skeleton.c.
4732 (entry): Rename to ITEM.
4733 (do_test, comp): Adjust.
4735 * stdio-common/tst-fseek.c: Use test-skeleton.c.
4737 2014-12-16 Torvald Riegel <triegel@redhat.com>
4739 * string/tester.c: Include <libc-internal.h>.
4740 (test_memset): Ignore -Wmemset-transposed-args.
4742 2014-12-16 Torvald Riegel <triegel@redhat.com>
4744 * misc/tst-mntent2.c (do_test): Fix warning.
4746 2014-12-16 Torvald Riegel <triegel@redhat.com>
4748 * elf/tst-unique4lib.cc(a): Mark as used.
4750 2014-12-16 Florian Weimer <fweimer@redhat.com>
4753 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
4756 2014-12-16 Allan McRae <allan@archlinux.org>
4758 * stdio-common/Makefile (tests): Re-add bug26.
4760 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
4763 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
4766 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
4768 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
4769 (__lll_lock_wait): Likewise.
4770 (__lll_timedlock_wait): Likewise.
4771 (__lll_timedwait_tid): Likewise.
4772 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
4773 (__lll_robust_timedlock_wait): Likewise.
4774 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
4775 (lll_cond_trylock): Likewise.
4776 (__lll_lock): Likewise.
4777 (__lll_robust_lock): Likewise.
4778 (__lll_cond_lock): Likewise.
4779 (lll_robust_cond_lock): Likewise.
4780 (__lll_timedlock): Likewise.
4781 (__lll_robust_timedlock): Likewise.
4782 (__lll_unlock): Likewise.
4783 (__lll_robust_unlock): Likewise.
4784 (lll_wait_tid): Likewise.
4785 (lll_timedwait_tid): Likewise.
4787 2014-12-15 Torvald Riegel <triegel@redhat.com>
4789 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
4791 2014-12-15 Torvald Riegel <triegel@redhat.com>
4793 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
4795 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4797 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
4798 * stdio-common/tst-sprintf.c: Likewise.
4800 2014-12-15 Torvald Riegel <triegel@redhat.com>
4802 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
4804 2014-12-15 Jeff Law <law@redhat.com>
4807 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
4808 on the heap. (CVE-2012-3406)
4809 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
4810 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
4811 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
4813 2014-12-15 Will Newton <will.newton@linaro.org>
4815 * manual/install.texi: Bump required version of texinfo
4817 * INSTALL: Regenerated.
4818 * configure.ac: Check for makeinfo version 4.7 and above.
4819 * configure: Regenerated.
4821 2014-12-12 Roland McGrath <roland@hack.frob.com>
4823 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
4824 PREFIX, string constant to insert between directory and name.
4825 * sysdeps/posix/shm_open.c: Update caller.
4826 * sysdeps/posix/shm_unlink.c: Likewise.
4827 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
4828 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
4829 (SEM_SHM_PREFIX): New macro.
4830 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
4831 [$(have-thread-library) = no].
4832 * nptl/Makefile (libpthread-routines): Add shm-directory.
4833 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
4834 * sysdeps/nptl/shm-directory.h: New file.
4835 * sysdeps/posix/shm-directory.c
4836 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
4837 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4838 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
4840 (__where_is_shmfs): Function removed.
4841 (mountpoint, defaultmount, defaultdir, __namedsem_once):
4843 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
4845 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
4847 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
4848 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
4849 unconditional for use inside libpthread.
4850 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
4852 2014-12-12 Roland McGrath <roland@hack.frob.com>
4854 * nptl/pthread_getaffinity.c: New file.
4855 * nptl/pthread_setaffinity.c: New file.
4856 * nptl/pthread_getname.c: New file.
4857 * nptl/pthread_setname.c: New file.
4859 * nptl/pthread_create.c (START_THREAD_DEFN)
4860 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4862 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4863 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4865 * resolv/res_send.c (send_vc): Disable warning resplen may
4866 be used uninitialized.
4868 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4871 (ATTR_NULL): New define checks ATTR against NULL.
4872 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4873 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4875 2014-12-11 James Lemke <jwlemke@codesourcery.com>
4879 (mem2mem_check): Revert my previous change.
4880 (malloc_check_get_size): Revert my previous change.
4881 (mem2chunk_check): Revert my previous change.
4883 2014-12-11 Roland McGrath <roland@hack.frob.com>
4885 * sysdeps/posix/shm-directory.c: New file.
4886 * sysdeps/posix/shm-directory.h: New file.
4887 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4888 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4889 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
4890 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4891 Transmute EPERM to EACCES.
4892 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4894 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
4895 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4897 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4899 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4900 pointer and cast to uintptr_t.
4901 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4902 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4903 Add cast to avoid warning.
4904 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4906 2014-12-11 Joseph Myers <joseph@codesourcery.com>
4908 * nptl/semaphore.h: Move to ...
4909 * sysdeps/pthread/semaphore.h: ... here.
4910 * Makefile (installed-headers): Change nptl/semaphore.h to
4911 sysdeps/pthread/semaphore.h.
4913 2014-12-11 Roland McGrath <roland@hack.frob.com>
4915 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4916 generated error format strings.
4918 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4919 -Wformat-extra-args warnings for scanf formats.
4920 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4921 test of zero-length format (duh).
4922 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4923 corner-case scanf format test.
4924 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4925 generated fprintf format string.
4926 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4927 corner-case sprintf format tests.
4928 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4929 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4930 -Wformat-extra-args warnings throughout.
4931 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4932 (CFLAGS-scanf4.c): Likewise.
4933 (CFLAGS-scanf7.c): Likewise.
4934 (CFLAGS-tst-sprintf.c): Likewise.
4935 (CFLAGS-tst-printf.c): Likewise.
4936 (CFLAGS-tst-printfsz.c): Likewise.
4938 2014-12-11 Joseph Myers <joseph@codesourcery.com>
4940 * include/cpio.h: New file.
4941 * include/fmtmsg.h: Likewise.
4943 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
4944 corresponding format argument to size_t.
4945 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
4947 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
4948 corresponding format argument to size_t.
4949 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
4951 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
4952 corresponding format argument to size_t.
4953 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4954 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4955 (CFLAGS-tst-mbswcs2.c): Likewise.
4956 (CFLAGS-tst-mbswcs3.c): Likewise.
4957 (CFLAGS-tst-mbswcs4.c): Likewise.
4958 (CFLAGS-tst-mbswcs5.c): Likewise.
4959 (CFLAGS-tst-trans.c): Likewise
4961 2014-12-11 Roland McGrath <roland@hack.frob.com>
4963 * posix/regexbug1.c (main): Use "%s" format with regerror results,
4964 rather than assuming they won't contain any '%'s.
4966 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
4968 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4969 inhibit_loop_to_libcall to avoid recursive calls.
4970 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4971 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4973 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4975 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4978 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
4980 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4981 integer value instead of boolean.
4983 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
4985 * malloc/malloc.c: Fix powerof2 check.
4987 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4989 * locale/programs/locfile.h (maybe_swap_uint32):
4990 Remove inline and add unused attribute.
4992 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4994 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4995 Truncating assembler expression to a .long expression.
4997 2014-12-11 Andreas Schwab <schwab@suse.de>
4999 * elf/rtld.c (struct map_args): Constify str member.
5000 (do_preload): Constify fname argument.
5002 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5004 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
5005 constants definition.
5007 2014-12-11 Andreas Schwab <schwab@suse.de>
5010 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
5011 FORCE_ELISION instead of DO_ELISION.
5012 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
5014 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
5017 * iconvdata/gconv-modules: Remove duplicate entry.
5019 2014-12-11 Will Newton <will.newton@linaro.org>
5021 Merge gettext 0.19.3 into intl/.
5023 This involves a number of cosmetic changes to comments
5024 and ANSI function definitions and prototypes throughout
5025 all the files. The gettext copyright header is used but
5026 with the date ranges taken from the glibc copy.
5028 * NEWS: Add gettext merge to 2.21.
5029 * intl/bindtextdom.c: Switch to gettext copyright.
5030 Use ANSI definitions and prototypes.
5031 Use gl_* locking primitives rather than __libc_* ones.
5032 Use __builtin_expect rather than __glibc_likely/unlikely.
5033 * intl/dcgettext.c: Switch to gettext copyright.
5034 Use ANSI definitions and prototypes.
5035 * intl/dcigettext.c: Switch to gettext copyright.
5036 Use ANSI definitions and prototypes.
5037 (INTDIV0_RAISES_SIGFPE): New define.
5038 Use gl_* locking primitives rather than __libc_* ones.
5039 Include eval-plural.h instead of plural-eval.c.
5040 Use __builtin_expect rather than __glibc_likely/unlikely.
5041 * intl/dcngettext.c: Switch to gettext copyright.
5042 Use ANSI definitions and prototypes.
5043 * intl/dgettext.c: Likewise.
5044 * intl/dngettext.c: Likewise.
5045 * intl/plural-eval.c: Renamed to...
5046 * intl/eval-plural.h: ...this.
5047 * intl/explodename.c: Switch to gettext copyright.
5048 Use ANSI definitions and prototypes.
5049 (_nl_explode_name): Use strchr instead of __rawmemchr.
5050 * intl/finddomain.c: Switch to gettext copyright.
5051 Use ANSI definitions and prototypes.
5052 Use gl_* locking primitives rather than __libc_* ones.
5053 (_nl_find_domain): Use malloc rather than alloca for
5054 allocation of temporary locale name.
5055 * intl/gettext.c: Switch to gettext copyright.
5056 Use ANSI definitions and prototypes.
5057 * intl/gettextP.h: Switch to gettext copyright.
5058 Use ANSI definitions and prototypes.
5059 Use gl_* locking primitives rather than __libc_* ones.
5060 * intl/gmo.h: Switch to gettext copyright.
5061 (struct sysdep_string): Move struct segment_pair outside of
5063 * intl/hash-string.c: Use ANSI definitions and prototypes.
5064 * intl/hash-string.h: Switch to gettext copyright.
5065 Use ANSI definitions and prototypes.
5066 * intl/l10nflist.c: Switch to gettext copyright.
5067 Use ANSI definitions and prototypes.
5068 (_nl_normalize_codeset): Avoid integer overflow.
5069 * intl/loadinfo.h: Switch to gettext copyright.
5070 Use ANSI definitions and prototypes.
5071 (LIBINTL_DLL_EXPORTED): New define.
5072 (PATH_SEPARATOR): New define.
5073 * intl/loadmsgcat.c: Switch to gettext copyright.
5074 * intl/localealias.c: Switch to gettext copyright.
5075 Use ANSI definitions and prototypes.
5076 (_nl_expand_alias): Use PATH_SEPARATOR.
5077 * intl/ngettext.c: Switch to gettext copyright.
5078 Use ANSI definitions and prototypes.
5079 * intl/plural-exp.c: Likewise.
5080 * intl/plural-exp.h: Switch to gettext copyright.
5081 Use ANSI definitions and prototypes.
5082 (struct expression): Move definition of enum operator outside
5083 of struct definition.
5084 * intl/plural.c: Regenerate.
5085 * intl/plural.y: Switch to gettext copyright.
5086 Use ANSI definitions and prototypes.
5088 * intl/textdomain.c: Switch to gettext copyright.
5089 Use ANSI definitions and prototypes.
5090 Use gl_* locking primitives rather than __libc_* ones.
5092 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
5094 * debug/warning-nop.c: Add used atrribute.
5096 2014-12-10 Joseph Myers <joseph@codesourcery.com>
5098 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
5100 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
5101 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
5102 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
5104 2014-12-10 Joseph Myers <joseph@codesourcery.com>
5105 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5108 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
5109 Undefine after defining function. Define as weak alias of
5110 __wcschr. Use libc_hidden_weak.
5111 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
5112 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
5113 (libc_hidden_def): Also define __GI___wcschr alias.
5114 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
5115 __wcschr and define as weak alias of __wcschr.
5116 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
5118 [!WCSCHR] (DEFAULT_WCSCHR): Define.
5119 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
5120 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
5121 libc_hidden_weak. Do not use libc_hidden_def.
5122 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
5123 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
5124 __GI___wcschr alias.
5125 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
5126 [IS_IN (libc)] (wcschr): Define as macro expanding to
5128 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
5129 [IS_IN (libc)] (__wcschr_power6): Likewise.
5130 [IS_IN (libc)] (__wcschr_power7): Likewise.
5131 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
5133 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
5135 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
5136 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
5137 __wcschr and define as weak alias of __wcschr. Use
5138 libc_hidden_builtin_def.
5139 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
5140 as weak alias of __wcschr. Use libc_hidden_weak.
5141 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
5143 * time/era.c (_nl_init_era_entries): Likewise.
5144 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
5146 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5147 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5149 2014-12-10 Joseph Myers <joseph@codesourcery.com>
5151 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
5152 format for long int variable.
5154 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
5157 * manual/search.texi: (Array Sort Function): Remove claim how to make
5160 2014-12-10 Andreas Schwab <schwab@suse.de>
5163 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
5164 user-controlled locks.
5166 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
5168 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
5171 2014-12-10 Joseph Myers <joseph@codesourcery.com>
5173 * configure.ac (--disable-werror): New configure option.
5174 (enable_werror): New AC_SUBST.
5175 * configure: Regenerated.
5176 * config.make.in (enable-werror): New variable.
5177 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
5179 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
5180 * manual/install.texi (Configuring and compiling): Document
5182 * INSTALL: Regenerated.
5183 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
5184 (CFLAGS-tst-chk2.c): Likewise.
5185 (CFLAGS-tst-chk3.c): Likewise.
5186 (CFLAGS-tst-chk4.cc): Likewise.
5187 (CFLAGS-tst-chk5.cc): Likewise.
5188 (CFLAGS-tst-chk6.cc): Likewise.
5189 (CFLAGS-tst-lfschk1.c): Likewise.
5190 (CFLAGS-tst-lfschk2.c): Likewise.
5191 (CFLAGS-tst-lfschk3.c): Likewise.
5192 (CFLAGS-tst-lfschk4.cc): Likewise.
5193 (CFLAGS-tst-lfschk5.cc): Likewise.
5194 (CFLAGS-tst-lfschk6.cc): Likewise.
5196 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
5197 (main): Disable -Wdeprecated-declarations around calls to
5198 register_printf_function.
5200 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
5201 (do_test): Disable -Wdiv-by-zero around some calls to
5202 fwrite_unlocked and fread_unlocked.
5204 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
5205 (DIAG_POP_NEEDS_COMMENT): Likewise.
5206 (_DIAG_STR1): Likewise.
5207 (_DIAG_STR): Likewise.
5208 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
5209 * stdio-common/bug21.c: Include <libc-internal.h>.
5210 (do_test): Disable -Wformat around call to sscanf.
5211 * stdio-common/scanf14.c: Include <libc-internal.h>.
5212 (main): Disable -Wformat around some calls to scanf functions.
5214 2014-12-09 Torvald Riegel <triegel@redhat.com>
5216 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
5218 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5220 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
5221 stack variable alignment.
5223 2014-12-06 Joseph Myers <joseph@codesourcery.com>
5226 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
5227 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
5228 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
5229 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
5230 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
5231 __getrlimit instead of getrlimit.
5232 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
5233 __gettimeofday instead of gettimeofday.
5234 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5236 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
5238 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5239 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
5241 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5242 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5244 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5246 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
5247 for wide-character tests.
5249 2014-12-04 Roland McGrath <roland@hack.frob.com>
5251 * io/openat64.c: #include <libc-internal.h>
5252 (__openat64): Prototypify. Use ignore_value on MODE.
5253 * io/openat.c: Likewise.
5254 * misc/reboot.c: #include <libc-internal.h>
5255 (reboot): Prototypify. Use ignore_value on HOWTO.
5256 * misc/ptrace.c: #include <libc-internal.h>
5257 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
5259 2014-12-04 Joseph Myers <joseph@codesourcery.com>
5261 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
5262 XPG4, UNIX98 and XOPEN2K.
5263 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
5265 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5267 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5269 * libio/fileops.c: Use ISO C style for function definitions.
5270 * libio/iofopen.c: Likewise.
5271 * libio/wfileops.c: Likewise.
5274 * libio/fileops.c (_IO_new_file_underflow): Unset cached
5276 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
5277 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
5278 (fgets_func): Function pointer to fgets and fgetws.
5279 (do_ftell_test): Add test to verify ftell value after read
5281 (do_test): Set fgets_func.
5283 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
5284 O_TRUNC flag for w and w+ modes.
5285 (do_rewind_test): Likewise.
5286 (do_ftell_test): Likewise.
5287 (do_write_test): Likewise.
5290 * libio/fileops.c (do_ftell): Seek only when there are
5292 * libio/wfileops.c (do_ftell_wide): Likewise.
5293 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
5295 (do_one_test): Call it.
5297 2014-12-03 Joseph Myers <joseph@codesourcery.com>
5299 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
5300 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
5301 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
5303 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5304 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5305 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5307 2014-12-02 Joseph Myers <joseph@codesourcery.com>
5309 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
5311 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5314 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
5315 as weak alias of __getifaddrs. Use libc_hidden_weak.
5316 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5317 __freeifaddrs. Use libc_hidden_weak.
5318 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
5319 define as weak alias of __getifaddrs. Use libc_hidden_weak.
5320 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5321 __freeifaddrs. Use libc_hidden_weak.
5322 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
5323 __getifaddrs and define as weak alias of __getifaddrs. Use
5325 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5326 __freeifaddrs. Use libc_hidden_weak.
5327 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
5329 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5330 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5332 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
5335 * sysdeps/mips/start.S (__start): Use indirect jump to call
5338 2014-12-02 Joseph Myers <joseph@codesourcery.com>
5340 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
5342 * nptl/tst-mutex1.c: Include <stdbool.h>.
5343 [!ATTR] (ATTR_NULL): New macro.
5344 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
5345 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
5346 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
5348 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
5352 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
5353 Change conditional to [__USE_MISC].
5356 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
5358 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
5360 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
5362 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
5364 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5365 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5366 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5367 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5368 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5369 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5370 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5371 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5372 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5374 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
5376 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5378 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5379 Remove strpbrk objects.
5380 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5381 (__libc_ifunc_impl_list): Remove strpbrk implementation.
5382 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
5383 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
5384 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
5385 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
5387 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5388 Remove strcspn objects.
5389 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5390 (__libc_ifunc_impl_list): Remove strcspn implementation.
5391 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
5392 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
5393 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
5394 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
5396 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5397 Remove strspn objetcs.
5398 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5399 (__libc_ifunc_impl_list): Remove strspn implementation.
5400 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
5401 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5402 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
5403 * sysdeps/powerpc/powerpc64/strspn.S: New file.
5405 2014-12-01 James Lemke <jwlemke@codesourcery.com>
5409 (mem2mem_check): Add a terminator to the chain of checking blocks.
5410 (malloc_check_get_size): Use it here.
5411 (mem2chunk_check): Ditto.
5413 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5415 * sysdeps/powerpc/powerpc64/strtok.S: New file.
5416 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
5418 2014-11-29 Carlos O'Donell <carlos@redhat.com>
5420 * bits/ioctl-types.h: Indent preprocessor directives correctly.
5422 * nptl/nptl-init.c: Include libc-internal.h.
5423 (__pthread_initialize_minimal_internal): Use ROUND_UP.
5425 * elf/ldconfig.c (search_dir): Expand comment.
5427 2014-11-29 Joseph Myers <joseph@codesourcery.com>
5429 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
5431 (linknamespace-symlist-stdlibs-tests): Likewise.
5432 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
5433 instead of $(objpfx)symlist-stdlibs.
5434 (linknamespace-libs-isoc): New variable.
5435 (linknamespace-libs): Use $(linknamespace-libs-isoc).
5436 (linknamespace-libs-ISO): New variable.
5437 (linknamespace-libs-ISO99): Likewise.
5438 (linknamespace-libs-ISO11): Likewise.
5439 (linknamespace-libs-XPG3): Likewise.
5440 (linknamespace-libs-XPG4): Likewise.
5441 (linknamespace-libs-POSIX): Likewise.
5442 (linknamespace-libs-UNIX98): Likewise.
5443 (linknamespace-libs-XOPEN2K): Likewise.
5444 (linknamespace-libs-POSIX2008): Likewise.
5445 (linknamespace-libs-XOPEN2K8): Likewise.
5446 ($(objpfx)symlist-stdlibs): Replace by
5447 $(linknamespace-symlist-stdlibs-tests). Use
5448 $(linknamespace-libs-$*) as set of libraries.
5449 ($(linknamespace-header-tests)): Update dependencies. Use
5450 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
5451 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
5452 * conform/linknamespace.pl: Remove comment about considering
5453 definitions of symbols from irrelevant libraries.
5455 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
5458 * elf/dl-tls.c: Include <atomic.h>.
5459 (oom): Remove #ifdef SHARED/#endif.
5460 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
5461 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
5462 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
5464 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
5465 * nptl/Makefile (tests): Add tst-stack4.
5466 (modules-names): Add tst-stack4mod.
5467 ($(objpfx)tst-stack4): New.
5468 (tst-stack4mod.sos): Likewise.
5469 ($(objpfx)tst-stack4.out): Likewise.
5470 ($(tst-stack4mod.sos)): Likewise.
5472 * nptl/tst-stack4.c: New file.
5473 * nptl/tst-stack4mod.c: Likewise.
5475 2014-11-27 J. Brown <jb999@gmx.de>
5477 * sysdeps/x86/bits/string.h: Add recent CPUs.
5479 2014-11-27 Joseph Myers <joseph@codesourcery.com>
5481 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
5484 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
5487 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
5490 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
5492 * nscd/connections.c: Include libc-internal.h because of macro
5495 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5497 * string/bits/string3.h (__warn_memset_zero_len): Don't
5498 declare for gcc newer than 5.0.
5499 (memset): Don't test for zero-length __LEN for gcc newer than
5502 2014-11-27 Joseph Myers <joseph@codesourcery.com>
5504 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
5505 size_t for %zu format.
5507 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
5508 difference, not %ju.
5510 2014-11-26 Joseph Myers <joseph@codesourcery.com>
5512 * include/libc-internal.h (ignore_value): New macro.
5513 * nscd/connections.c (restart): Wrap calls to setuid and setgid
5516 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
5519 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
5520 pthread_cleanup_push to void *.
5522 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
5527 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
5528 instead of 1L << 52.
5530 * libio/bug-rewind.c (do_test): Check fwscanf return values.
5531 * libio/bug-rewind2.c (do_test): Likewise.
5533 * debug/test-stpcpy_chk-ifunc.c: Remove file.
5534 * debug/test-strcpy_chk-ifunc.c: Likewise.
5535 * wcsmbs/test-wcschr-ifunc.c: Likewise.
5536 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5537 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5538 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5539 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5540 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5541 * Rules [$(multi-arch) = no] (tests): Do not filter out
5543 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
5544 * debug/Makefile (tests-ifunc): Remove variable.
5545 (tests): Do not add $(tests-ifunc).
5546 * wcsmbs/Makefile (tests-ifunc): Remove variable.
5547 (tests): Do not add $(tests-ifunc).
5548 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
5549 [TEST_IFUNC]: Remove conditionals.
5550 * string/test-string.h (TEST_IFUNC): Remove macro.
5551 [TEST_IFUNC]: Remove conditionals.
5553 * string/test-strchr.c [!WIDE] (L): New macro.
5554 [WIDE] (L): Likewise.
5555 (check1): Use CHAR instead of char. Use L on string and character
5558 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
5560 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
5562 * sysdeps/powerpc/bits/atomic.h
5563 (__arch_atomic_exchange_and_add_32_acq): Add definition.
5564 (__arch_atomic_exchange_and_add_32_rel): Likewise.
5565 (atomic_exchange_and_add_acq): Likewise.
5566 (atomic_exchange_and_add_rel): Likewise.
5567 * sysdeps/powerpc/powerpc32/bits/atomic.h
5568 (__arch_atomic_exchange_and_add_64_acq): Add definition.
5569 (__arch_atomic_exchange_and_add_64_rel): Likewise.
5570 * sysdeps/powerpc/powerpc64/bits/atomic.h
5571 (__arch_atomic_exchange_and_add_64_acq): Add definition.
5572 (__arch_atomic_exchange_and_add_64_rel): Likewise.
5574 2014-11-26 Torvald Riegel <triegel@redhat.com>
5576 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
5577 Change synchronization of __sched_fifo_min_prio and
5578 __sched_fifo_max_prio.
5579 * nptl/pthread_mutexattr_getprioceiling.c
5580 (pthread_mutexattr_getprioceiling): Likewise.
5581 * nptl/pthread_mutexattr_setprioceiling.c
5582 (pthread_mutexattr_setprioceiling): Likewise.
5583 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
5584 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5587 2014-11-26 Joseph Myers <joseph@codesourcery.com>
5589 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
5592 2014-11-25 Joseph Myers <joseph@codesourcery.com>
5594 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
5595 third argument const.
5597 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
5599 fnmatch: work around GCC compiler warning bug with uninit var
5600 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
5601 This works around a bug with x86-64 GCC 4.9.2 and earlier
5602 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
5603 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
5604 used uninitialized in this function [-Wmaybe-uninitialized]".
5606 2014-11-25 Joseph Myers <joseph@codesourcery.com>
5608 * posix/bug-regex31.c (main): Return RES not 0.
5610 2014-11-25 Anton Blanchard <anton@samba.org>
5612 * sysdeps/powerpc/bits/atomic.h
5613 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
5615 2014-11-24 Sterling Augustine <saugustine@google.com>
5617 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
5619 2014-11-24 Ryan Cumming <etaoins@gmail.com>
5622 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
5624 2014-11-24 Joseph Myers <joseph@codesourcery.com>
5627 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
5628 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
5630 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5631 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5633 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
5635 * string/strncpy.c (strncpy): Improve performance by using memset.
5637 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
5639 * string/strcpy.c (strcpy):
5640 Improve performance by using strlen and memcpy.
5642 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
5644 * string/strcoll_l.c (get_next_seq): __always_inline.
5645 * string/strcoll_l.c (do_compare): __always_inline.
5647 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5649 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
5651 * include/mqueue.h: Likewise.
5652 * include/stdlib.h: Likewise.
5654 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
5655 (get_null_defines): Adjust.
5656 * sunrpc/Makefile: Adjust comment.
5657 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
5658 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
5659 (CFLAGS-interp.c): Likewise.
5660 (CFLAGS-ldconfig.c): Likewise.
5661 (CPPFLAGS-.os): Likewise.
5662 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5663 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5664 * extra-modules.mk (extra-modules.mk): Likewise.
5665 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
5666 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
5667 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
5668 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
5669 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
5670 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
5671 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
5672 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
5673 * iconvdata/Makefile (CPPFLAGS): Likewise.
5674 (cpp-srcs-left): Add libof for all iconvdata routines.
5675 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
5676 * include/assert.h: Likewise.
5677 * include/ctype.h: Likewise.
5678 * include/errno.h: Likewise.
5679 * include/libc-symbols.h: Likewise.
5680 * include/math.h: Likewise.
5681 * include/netdb.h: Likewise.
5682 * include/resolv.h: Likewise.
5683 * include/stdio.h: Likewise.
5684 * include/stdlib.h: Likewise.
5685 * include/string.h: Likewise.
5686 * include/sys/stat.h: Likewise.
5687 * include/wctype.h: Likewise.
5688 * intl/l10nflist.c: Likewise.
5689 * libidn/idn-stub.c: Likewise.
5690 * libio/libioP.h: Likewise.
5691 * nptl/libc_multiple_threads.c: Likewise.
5692 * nptl/pthreadP.h: Likewise.
5693 * posix/regex_internal.h: Likewise.
5694 * resolv/res_hconf.c: Likewise.
5695 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
5696 * sysdeps/arm/memmove.S: Likewise.
5697 * sysdeps/arm/sysdep.h: Likewise.
5698 * sysdeps/generic/_itoa.h: Likewise.
5699 * sysdeps/generic/symbol-hacks.h: Likewise.
5700 * sysdeps/gnu/errlist.awk: Likewise.
5701 * sysdeps/gnu/errlist.c: Likewise.
5702 * sysdeps/i386/i586/memcpy.S: Likewise.
5703 * sysdeps/i386/i586/memset.S: Likewise.
5704 * sysdeps/i386/i686/memcpy.S: Likewise.
5705 * sysdeps/i386/i686/memmove.S: Likewise.
5706 * sysdeps/i386/i686/mempcpy.S: Likewise.
5707 * sysdeps/i386/i686/memset.S: Likewise.
5708 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5709 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5710 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
5711 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
5712 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5713 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5714 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
5715 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5716 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5717 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5718 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5719 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5720 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5721 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5722 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5723 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5724 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
5725 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
5726 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
5727 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5728 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5729 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5730 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5731 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5732 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5733 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5734 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
5735 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5736 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
5737 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5738 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5739 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5740 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5741 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5742 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5743 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5744 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5745 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5746 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5747 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5748 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5749 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5750 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5751 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5752 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5753 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5754 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
5755 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
5756 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5757 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5758 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5759 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
5760 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
5761 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5762 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5763 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
5764 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5765 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
5766 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
5767 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5768 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5769 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5770 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
5771 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5772 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5773 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
5774 * sysdeps/posix/closedir.c: Likewise.
5775 * sysdeps/posix/opendir.c: Likewise.
5776 * sysdeps/posix/readdir.c: Likewise.
5777 * sysdeps/posix/rewinddir.c: Likewise.
5778 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
5779 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
5780 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5781 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5782 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5783 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
5784 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
5785 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
5786 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5787 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
5788 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5789 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5790 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5791 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
5792 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
5793 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
5794 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5795 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5796 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
5797 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
5798 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5799 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
5800 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
5801 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5802 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
5803 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
5804 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
5805 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5806 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5807 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
5808 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5809 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
5810 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5811 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
5812 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5813 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
5814 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5815 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5816 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
5817 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
5818 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
5819 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
5820 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5821 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5822 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5823 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
5824 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
5825 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5826 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
5827 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5828 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
5829 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5830 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5831 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5832 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5833 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
5834 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
5835 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5836 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5837 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
5838 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5839 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5840 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5841 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5842 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
5843 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5844 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
5845 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
5846 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
5847 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
5848 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5849 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5850 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
5851 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5852 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5853 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
5854 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
5855 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5856 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5857 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5858 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5859 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5860 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5861 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5862 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5863 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5864 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5865 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5866 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5867 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5868 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5869 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5870 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5871 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5872 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5873 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5874 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5875 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5876 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5877 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5878 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5879 * sysdeps/unix/alpha/sysdep.S: Likewise.
5880 * sysdeps/unix/alpha/sysdep.h: Likewise.
5881 * sysdeps/unix/make-syscalls.sh: Likewise.
5882 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5883 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5884 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5885 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5886 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5887 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5888 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5889 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5890 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5891 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5892 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5893 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5894 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5895 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5896 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5897 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5898 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5899 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5900 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5901 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5902 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5903 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5904 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5905 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5906 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5907 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5908 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5911 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5912 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5913 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5914 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5915 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5916 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5917 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5918 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5919 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5920 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5921 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5922 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5923 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5924 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5925 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5926 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5927 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5928 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5929 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5930 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5931 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5932 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5933 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5934 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5935 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5936 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5937 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5938 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5939 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5940 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5941 * sysdeps/x86_64/memcpy.S: Likewise.
5942 * sysdeps/x86_64/memmove.c: Likewise.
5943 * sysdeps/x86_64/memset.S: Likewise.
5944 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5945 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5946 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5947 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5948 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5949 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5950 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5951 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5952 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5953 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5954 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5955 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5956 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5957 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5958 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5959 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5960 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5961 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5962 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5963 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5964 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5965 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5966 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5967 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5968 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5969 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5970 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5971 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5972 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5973 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5974 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5975 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5976 * sysdeps/x86_64/strcmp.S: Likewise.
5978 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5980 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5981 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5982 * elf/rtld-Rules: Likewise.
5983 * elf/setup-vdso.h: Likewise.
5984 * include/assert.h: Likewise.
5985 * include/bits/stdlib-float.h: Likewise.
5986 * include/errno.h: Likewise.
5987 * include/sys/stat.h: Likewise.
5988 * include/unistd.h: Likewise.
5989 * sysdeps/aarch64/setjmp.S: Likewise.
5990 * sysdeps/alpha/setjmp.S: Likewise.
5991 * sysdeps/arm/__longjmp.S: Likewise.
5992 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5993 * sysdeps/arm/setjmp.S: Likewise.
5994 * sysdeps/arm/sysdep.h: Likewise.
5995 * sysdeps/generic/_itoa.h: Likewise.
5996 * sysdeps/generic/dl-sysdep.h: Likewise.
5997 * sysdeps/generic/ldsodefs.h: Likewise.
5998 * sysdeps/i386/dl-tls.h: Likewise.
5999 * sysdeps/i386/setjmp.S: Likewise.
6000 * sysdeps/m68k/setjmp.c: Likewise.
6001 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
6002 * sysdeps/mach/hurd/opendir.c: Likewise.
6003 * sysdeps/posix/getcwd.c: Likewise.
6004 * sysdeps/posix/opendir.c: Likewise.
6005 * sysdeps/posix/profil.c: Likewise.
6006 * sysdeps/powerpc/dl-procinfo.h: Likewise.
6007 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6008 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6009 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6010 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6011 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
6012 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6013 * sysdeps/s390/dl-tls.h: Likewise.
6014 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6015 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6016 * sysdeps/sh/sh3/setjmp.S: Likewise.
6017 * sysdeps/sh/sh4/setjmp.S: Likewise.
6018 * sysdeps/unix/alpha/sysdep.h: Likewise.
6019 * sysdeps/unix/arm/sysdep.S: Likewise.
6020 * sysdeps/unix/i386/sysdep.S: Likewise.
6021 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6022 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6023 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6024 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6025 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6026 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
6027 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6028 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6029 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
6030 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
6031 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
6032 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6033 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6036 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6037 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6038 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6039 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6040 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6041 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6042 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6043 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6044 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6045 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6046 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6047 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6048 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6049 * sysdeps/x86_64/setjmp.S: Likewise.
6051 * include/math.h: Use IS_IN instead of IS_IN_libm.
6052 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
6053 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6054 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6055 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6056 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6057 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6058 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6059 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6060 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6061 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6062 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
6063 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6064 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
6065 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6066 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6067 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
6068 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
6069 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6070 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
6071 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
6072 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
6073 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
6074 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
6075 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
6076 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
6077 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
6078 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
6079 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
6080 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
6081 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6082 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
6083 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6084 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
6089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
6091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
6093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
6095 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6096 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
6097 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6098 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6099 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6100 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
6103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
6104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
6105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
6106 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
6107 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
6108 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6109 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6110 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
6111 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6112 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6113 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
6114 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6115 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
6116 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
6117 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
6118 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
6119 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
6120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6121 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
6123 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
6124 * nptl/pthreadP.h: Likewise.
6125 * nptl_db/structs.def: Likewise.
6126 * sysdeps/arm/sysdep.h: Likewise.
6127 * sysdeps/nptl/bits/libc-lock.h: Likewise.
6128 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
6129 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
6130 * sysdeps/unix/alpha/sysdep.h: Likewise.
6131 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6132 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6133 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6134 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6135 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6136 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6137 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6138 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6139 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6140 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6141 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6142 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6143 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6144 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
6146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
6147 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6148 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6149 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6150 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6151 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6152 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6153 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6154 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6155 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
6156 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6158 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
6159 * nptl/pthreadP.h: Likewise.
6160 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6161 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6162 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6163 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6164 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6165 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6166 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6167 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6168 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6169 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6170 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6171 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6176 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6177 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6178 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6179 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6180 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6181 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6182 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6183 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6185 * dlfcn/dladdr.c: Use IS_IN.
6186 * dlfcn/dladdr1.c: Likewise.
6187 * dlfcn/dlclose.c: Likewise.
6188 * dlfcn/dlerror.c: Likewise.
6189 * dlfcn/dlinfo.c: Likewise.
6190 * dlfcn/dlmopen.c: Likewise.
6191 * dlfcn/dlopen.c: Likewise.
6192 * dlfcn/dlsym.c: Likewise.
6193 * dlfcn/dlvsym.c: Likewise.
6195 * include/ifaddrs.h: Use IS_IN.
6196 * inet/check_pf.c: Likewise.
6197 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6198 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
6200 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
6202 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
6203 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
6205 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
6206 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
6209 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
6211 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
6212 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6213 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
6214 * include/libc-symbols.h (IS_IN_LIB): New macro.
6215 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
6216 * include/netdb.h: Likewise.
6217 * include/stap-probe.h: Remove all uses of IN_LIB.
6219 * Makeconfig (module-cppflags-real): Define MODULE_NAME
6220 instead of IN_MODULE.
6221 * include/libc-symbols.h (IN_MODULE): Define using
6223 (PASTE_NAME, PASTE_NAME1): New macros.
6224 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
6226 (STAP_PROBE_ASM): Likewise.
6228 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
6230 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
6231 __mach_init in dlopened libc.
6233 2014-11-22 Mike Frysinger <vapier@gentoo.org>
6235 * sysdeps/arm/preconfigure.ac: Delete EABI check.
6236 * sysdeps/arm/preconfigure: Regenerate.
6238 2014-11-21 Roland McGrath <roland@hack.frob.com>
6240 * nptl/pthread_create.c (__pthread_create_2_1): Set
6241 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
6242 when copying values from IATTR into PD.
6244 2014-11-21 Will Newton <will.newton@linaro.org>
6245 Andrew Pinski <andrew.pinski@caviumnetworks.com>
6247 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
6248 Refactor inline-asm. Also add comment.
6250 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
6251 ElfW macro instead of hardcoded Elf64 types.
6252 (la_aarch64_gnu_pltenter): Likewise.
6253 * sysdeps/aarch64/dl-machine.h
6254 (elf_machine_runtime_setup): Use ElfW(Addr).
6256 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
6257 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
6258 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
6259 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
6260 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
6261 (R_AARCH64_TLS_DTPMOD64): Rename to ..
6262 (R_AARCH64_TLS_DTPMOD): This.
6263 (R_AARCH64_TLS_DTPREL64): Rename to ...
6264 (R_AARCH64_TLS_DTPREL): This.
6265 (R_AARCH64_TLS_TPREL64): Rename to ...
6266 (R_AARCH64_TLS_TPREL): This.
6267 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
6268 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
6269 R_AARCH64_TLS_TPREL64.
6270 (elf_machine_rela): Likewise.
6272 2014-11-21 Torvald Riegel <triegel@redhat.com>
6274 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
6275 by setting it to 0. 64b atomics are not supported currently.
6277 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
6280 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
6281 search domain names.
6283 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
6287 * resolv/res_query.c (__libc_res_nquerydomain): Retain
6289 * posix/tst-getaddrinfo5.c: New.
6290 * posix/Makefile (tests): Add it.
6292 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
6296 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
6297 after parsing line but before break_if_match.
6298 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
6299 if there is a protocol mismatch.
6301 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
6303 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
6304 because the potential race is on the user-supplied stream.
6306 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
6308 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
6309 string literal if not passed a buffer.
6310 * manual/job.texi (ctermid): Update reasoning, note deviation
6311 from posix, suggest mtasurace when not passed a buffer, for
6312 future non-preliminary safety notes.
6314 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
6316 * manual/users.texi (cuserid): Fix MT-Safety note for the case
6317 of not passing it a buffer.
6318 Reported by Peng Haitao.
6320 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
6322 * manual/Makefile ($(objpfx)stamp-summary): Require
6323 check-safety.sh to pass.
6324 * manual/check-safety.sh: Wish for verification that every
6325 @deftypefn and @deftypefun is followed by a @safety remark.
6327 2014-11-20 Roland McGrath <roland@hack.frob.com>
6329 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
6331 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
6332 PTHREAD_CANCEL_ASYNCHRONOUS.
6333 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
6336 * nptl/default-sched.h: New file.
6337 * sysdeps/unix/sysv/linux/default-sched.h: New file.
6338 * nptl/pthread_create.c: Include it.
6339 (__pthread_create_2_1): Use collect_default_sched instead of making
6340 Linux syscalls here directly.
6342 2014-11-20 Torvald Riegel <triegel@redhat.com>
6344 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
6345 __pthread_once): Use C11 atomics.
6347 2014-11-20 Torvald Riegel <triegel@redhat.com>
6349 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
6351 2014-11-20 Torvald Riegel <triegel@redhat.com>
6353 * include/atomic.h (__atomic_link_error, __atomic_check_size,
6354 atomic_thread_fence_acquire, atomic_thread_fence_release,
6355 atomic_thread_fence_seq_cst, atomic_load_relaxed,
6356 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
6357 atomic_compare_exchange_weak_relaxed,
6358 atomic_compare_exchange_weak_acquire,
6359 atomic_compare_exchange_weak_release,
6360 atomic_exchange_acquire, atomic_exchange_release,
6361 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
6362 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
6363 atomic_fetch_and_acquire,
6364 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
6366 2014-11-20 Torvald Riegel <triegel@redhat.com>
6368 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
6369 USE_ATOMIC_COMPILER_BUILTINS): Define.
6370 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
6371 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6372 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
6373 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6374 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
6375 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6376 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
6377 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6378 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
6379 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6380 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
6381 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6382 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
6383 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6384 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
6385 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6386 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
6387 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6388 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
6389 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6390 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
6391 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6392 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
6393 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6394 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
6395 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6396 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
6397 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6398 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
6399 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6400 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
6401 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6402 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
6403 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6404 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6405 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6406 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
6407 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6408 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
6409 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6411 2014-11-19 Roland McGrath <roland@hack.frob.com>
6413 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
6414 the sched_priority value here. It was already checked when the user
6415 called pthread_attr_setschedparam.
6417 * nptl/tst-bad-schedattr.c: New file.
6418 * nptl/Makefile (tests): Add it.
6420 2014-11-19 Carlos O'Donell <carlos@redhat.com>
6421 Florian Weimer <fweimer@redhat.com>
6422 Joseph Myers <joseph@codesourcery.com>
6423 Adam Conrad <adconrad@0c3.net>
6424 Andreas Schwab <schwab@suse.de>
6425 Brooks <bmoses@google.com>
6428 * wordexp-test.c (__dso_handle): Add prototype.
6429 (__register_atfork): Likewise.
6430 (__app_register_atfork): New function.
6431 (registered_forks): New global.
6432 (register_fork): New function.
6433 (test_case): Add 3 new tests for WRDE_CMDSUB.
6434 (main): Call __app_register_atfork.
6435 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
6436 fork count is non-zero fail the test.
6437 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
6439 (parse_dollars): Remove check for WRDE_NOCMD.
6440 (parse_dquote): Likewise.
6442 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6444 * Makeconfig (built-modules): List non-library modules to be
6446 (module-cppflags): Include libc-modules.h for
6447 everything except shlib-versions.v.i.
6449 (before-compile): Add libc-modules.h.
6450 ($(common-objpfx)libc-modules.h,
6451 $(common-objpfx)libc-modules.stmp): New targets.
6452 (common-generated): Add libc-modules.h and libc-modules.stmp.
6453 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
6454 * include/libc-symbols.h: Don't include libc-modules.h.
6455 * include/libc-modules.h: Remove file.
6456 * scripts/gen-libc-modules.awk: New script to generate
6458 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
6459 Depend on libc-modules.stmp.
6461 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
6463 * Makeconfig (in-module): Get value of libof set for the
6465 (CPPFLAGS): Use $(in-module).
6466 * Makerules: Don't suffix routine names for nonlib.
6467 * include/libc-modules.h: New file.
6468 * include/libc-symbols.h: Include libc-modules.h
6469 (IS_IN): New macro to replace IS_IN_* macros.
6470 * elf/Makefile: Set libof-* for each routine.
6471 * elf/rtld-Rules: Likewise.
6472 * extra-modules.mk: Likewise.
6473 * iconv/Makefile: Likewise.
6474 * iconvdata/Makefile: Likewise.
6475 * locale/Makefile: Likewise.
6476 * malloc/Makefile: Likewise.
6477 * nss/Makefile: Likewise.
6478 * sysdeps/gnu/Makefile: Likewise.
6479 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
6480 * sysdeps/unix/sysv/linux/Makefile: Likewise.
6481 * sysdeps/s390/s390-64/Makefile: Likewise.
6482 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
6483 CPPFLAGS for nscd instead of nonlib.
6485 2014-11-18 Roland McGrath <roland@hack.frob.com>
6487 * nptl/createthread.c: New file.
6489 * nptl/createthread.c: Moved ...
6490 * sysdeps/unix/sysv/linux/createthread.c: ... here.
6492 * nptl/createthread.c: Add proper top-line comment.
6493 (do_clone): Folded into ...
6494 (create_thread): ... here. Take new arguments STOPPED_START and
6495 THREAD_RAN. Always set PD->stopped_start to something here. Don't
6496 increment __nptl_threads, do event-reporting logic, do
6497 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
6498 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
6499 resource cleanup if sched_setaffinity or sched_setscheduler fails,
6500 just send SIGCANCEL.
6501 * nptl/pthread_create.c: Forward-declare create_thread before
6502 including createthread.c.
6503 (start_thread): Use new macro START_THREAD_DEFN to replace defining
6504 declaration, and new macro START_THREAD_SELF to replace argument.
6505 Remove return statement.
6506 (report_thread_creation): New function.
6507 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
6508 synchronization logic, and __nptl_nthreads increment here, around
6509 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
6510 PD->parent_cancelhandling here, before create_thread. When
6511 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
6512 __deallocate_stack, and ENOMEM translation here.
6514 2014-11-18 Joseph Myers <joseph@codesourcery.com>
6517 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
6518 (mptwo): Rename to __mptwo.
6519 (__inv): Use __mptwo instead of mptwo.
6520 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
6521 (mptwo): Rename to __mptwo.
6522 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
6523 of mpone and __mptwo instead of mptwo.
6524 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
6526 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6527 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
6528 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
6529 of mpone and __mptwo instead of mptwo.
6530 (__mpranred): Use __mpone instead of mpone.
6531 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
6533 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6534 (test-xfail-ISO99/math.h/linknamespace): Likewise.
6535 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6536 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6537 (test-xfail-ISO11/math.h/linknamespace): Likewise.
6538 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6539 (test-xfail-XPG3/math.h/linknamespace): Likewise.
6540 (test-xfail-XPG4/math.h/linknamespace): Likewise.
6541 (test-xfail-POSIX/math.h/linknamespace): Likewise.
6542 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6543 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6544 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6545 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6546 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6547 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6548 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6549 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6550 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6551 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6553 2014-11-18 Tom de Vries <tom@codesoucery.com>
6555 * manual/signal.texi (Primitives Interrupted by Signals): In section,
6556 replace BSD Handler xref with BSD Signal Handling.
6558 2014-11-17 Richard Henderson <rth@redhat.com>
6560 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
6561 (_FP_PACK_RAW_2): Remove.
6562 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
6563 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
6564 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
6565 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
6566 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
6567 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
6568 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
6569 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
6570 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
6571 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
6572 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
6573 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
6574 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
6575 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
6576 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
6577 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
6579 2014-11-14 Roland McGrath <roland@hack.frob.com>
6581 * signal/signal.h [__USE_MISC]
6582 (struct sigvec): Remove type.
6583 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
6584 (sigvec): Remove declaration.
6585 * sysdeps/posix/sigvec.c: Moved ...
6586 * signal/sigvec.c: ... here, replacing old file.
6587 (struct sigvec): New type, copied from old signal.h definition.
6588 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
6589 (__sigvec): Convert definition to prototype.
6590 (sigvec): Replace weak_alias with compat_symbol.
6591 * signal/Versions (libc: GLIBC_2.21): New version set.
6592 * include/signal.h: Remove __sigvec declaration.
6593 * sysdeps/unix/bsd/sigvec.c: Remove file.
6594 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
6595 * manual/signal.texi (BSD Handler): Remove subsection.
6596 Move siginterrupt up to ...
6597 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
6598 (Blocking in BSD): Fold subsection into its parent.
6599 * NEWS: Mention sigvec removal.
6601 2014-11-14 Joseph Myers <joseph@codesourcery.com>
6603 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
6604 (DLA_FMS): Make definition conditional only on [__FMA4__].
6605 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
6608 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
6609 Make definition conditional only on [PROF].
6610 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
6612 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
6613 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
6615 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
6617 * include/signal.h (__sigpause): Move declaration above call to
6619 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
6621 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6622 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6624 2014-11-14 David S. Miller <davem@davemloft.net>
6626 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
6627 Define before including <string/memcpy.c> and <string/mempcpy.c>.
6629 2014-11-14 Joseph Myers <joseph@codesourcery.com>
6631 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
6632 * configure: Regenerated.
6633 * manual/install.texi (Tools for Compilation): Document a
6634 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
6635 compiler verified to work.
6636 * INSTALL: Regenerated.
6638 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
6639 redeclare with asm name.
6640 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
6641 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
6642 including <string.h>.
6643 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6644 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
6645 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6646 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
6647 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6648 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
6649 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6651 2014-11-13 Joseph Myers <joseph@codesourcery.com>
6653 * stdlib/strtol.c (__strtol): Use prototype definition.
6656 * stdlib/strtol.c (SYM__): New macro.
6658 (__strtol): Likewise.
6659 (strtol): Rename to __strtol and define as weak alias of
6660 __strtol. Use libc_hidden_weak.
6662 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6664 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
6665 Use numbered labels in inline assembly.
6667 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6669 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
6670 Add setjmp LIBC_PROBE.
6671 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
6673 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
6674 Add longjmp, longjmp_target LIBC_PROBE.
6675 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
6678 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6680 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6681 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
6682 to get rid of unused variable warning.
6684 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6686 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
6687 Check for unwind_backtrace == NULL only in SHARED case.
6688 (__backchain_backtrace): Compile only in SHARED case.
6689 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
6691 (__backchain_backtrace): Declare as static.
6693 2014-11-12 Roland McGrath <roland@hack.frob.com>
6695 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
6696 (__libc_multiple_threads_ptr): Variable moved ...
6697 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
6699 2014-11-12 Joseph Myers <joseph@codesourcery.com>
6701 * conform/GlibcConform.pm: New file.
6702 * conform/conformtest.pl: Use GlibcConform module.
6703 * conform/linknamespace.pl: New file.
6704 * conform/list-header-symbols.pl: Likewise.
6705 * conform/Makefile (linknamespace-symlists-base): New variable.
6706 (linknamespace-symlists-tests): Likewise.
6707 (linknamespace-header-base): Likewise.
6708 (linknamespace-header-tests): Likewise.
6709 (tests-special): Add new tests.
6710 ($(linknamespace-symlists-tests)): New rule.
6711 (linknamespace-libs): New variable.
6712 ($(objpfx)symlist-stdlibs): New rule.
6713 ($(linknamespace-header-tests)): Likewise.
6714 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
6715 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
6716 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
6717 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
6718 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
6719 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
6720 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
6721 (test-xfail-ISO/math.h/linknamespace): Likewise.
6722 (test-xfail-ISO/signal.h/linknamespace): Likewise.
6723 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
6724 (test-xfail-ISO/time.h/linknamespace): Likewise.
6725 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6726 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
6727 (test-xfail-ISO99/math.h/linknamespace): Likewise.
6728 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6729 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6730 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6731 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6732 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6733 (test-xfail-ISO11/math.h/linknamespace): Likewise.
6734 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6735 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6736 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6737 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6738 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
6739 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
6740 (test-xfail-XPG3/math.h/linknamespace): Likewise.
6741 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
6742 (test-xfail-XPG3/search.h/linknamespace): Likewise.
6743 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
6744 (test-xfail-XPG3/time.h/linknamespace): Likewise.
6745 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
6746 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6747 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6748 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
6749 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6750 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6751 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
6752 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
6753 (test-xfail-XPG4/math.h/linknamespace): Likewise.
6754 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
6755 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6756 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6757 (test-xfail-XPG4/search.h/linknamespace): Likewise.
6758 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6759 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
6760 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
6761 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
6762 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
6763 (test-xfail-XPG4/time.h/linknamespace): Likewise.
6764 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
6765 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6766 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
6767 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6768 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6769 (test-xfail-POSIX/math.h/linknamespace): Likewise.
6770 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
6771 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
6772 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6773 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6774 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
6775 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6776 (test-xfail-POSIX/time.h/linknamespace): Likewise.
6777 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
6778 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6779 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6780 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6781 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
6782 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6783 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6784 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6785 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6786 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6787 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
6788 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6789 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6790 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6791 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
6792 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6793 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6794 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
6795 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6796 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6797 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6798 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6799 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
6800 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6801 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
6802 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
6803 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6804 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
6805 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6806 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
6807 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6808 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6809 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6810 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
6811 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6812 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6813 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6814 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
6815 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
6816 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
6817 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6818 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6819 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6820 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6821 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
6822 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
6823 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6824 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6825 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6826 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6827 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6828 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6829 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6830 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6831 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6832 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6833 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
6834 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6835 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6836 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
6837 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6838 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6839 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6840 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6841 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6842 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6843 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6844 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6845 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6846 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6847 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6848 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6849 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6850 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6851 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
6852 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6853 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6854 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6855 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6856 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6857 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6858 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6859 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6860 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6861 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6862 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6863 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6864 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6865 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6866 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6867 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6868 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6869 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6870 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6871 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6872 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6873 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6874 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6877 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6881 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6882 (memmem): Rename to __memmem and define as weak alias of
6883 __memmem. Use libc_hidden_weak.
6884 (__memmem): Use libc_hidden_def.
6885 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
6886 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6890 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6891 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
6892 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6893 and define as weak alias of __fgets_unlocked. Use
6895 (__fgets_unlocked): Use libc_hidden_def.
6896 * include/stdio.h (__fgets_unlocked): Declare. Use
6898 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6899 __fgets_unlocked instead of fgets_unlocked.
6900 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6901 (GET_NPROCS_CONF_PARSER): Likewise.
6902 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6903 (GET_NPROCS_CONF_PARSER): Likewise.
6906 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6907 weak alias of __wmemset. Use libc_hidden_weak.
6908 (__wmemset): Use libc_hidden_def.
6909 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
6910 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6914 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6915 with asm name __mempcpy.
6916 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6919 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6920 and define as weak alias of __rawmemchr.
6921 (__rawmemchr): Do not define as strong alias of rawmemchr.
6924 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6926 (qsort): Call __qsort_r instead of qsort_r.
6927 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6928 (__qsort_r): Declare. Call libc_hidden_proto.
6929 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6931 * nscd/gai.c (__qsort_r): Define to qsort_r.
6932 * posix/tst-rfc3484.c (__qsort_r): Likewise.
6933 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6934 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6937 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6938 define as weak alias of __malloc_info.
6941 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6942 as weak alias of __rewinddir. Don't use libc_hidden_def.
6943 (__rewinddir): Use libc_hidden_def.
6944 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6945 as weak alias of __rewinddir. Don't use libc_hidden_def.
6946 (__rewinddir): Use libc_hidden_def.
6947 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6948 weak alias of __rewinddir. Don't use libc_hidden_def.
6949 (__rewinddir): Use libc_hidden_def.
6950 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6951 (__rewinddir): Use libc_hidden_proto.
6952 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6954 (__getcwd): Use __rewinddir instead of rewinddir.
6957 * libio/fileno.c (fileno): Rename to __fileno and define as weak
6958 alias of __fileno. Use libc_hidden_weak.
6959 (__fileno): Use libc_hidden_def.
6960 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6961 * libio/ftello.c (ftello): Rename to __ftello and define as weak
6963 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6965 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6966 (__fread_unlocked): Define as strong alias of _IO_fread. Use
6968 (fread_unlocked): Don't use libc_hidden_ver.
6969 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6970 and define as weak alias of __fread_unlocked. Don't use
6972 (__fread_unlocked): Use libc_hidden_def.
6973 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
6974 (ftello): Don't use libc_hidden_proto.
6975 (__ftello): Declare. Use libc_hidden_proto.
6976 (fread_unlocked): Don't use libc_hidden_proto.
6977 (__fread_unlocked): Declare. Use libc_hidden_proto.
6978 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6979 and __ftello instead of fileno, fread_unlocked and ftello.
6981 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6983 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6985 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6987 (_dl_start_user): Likewise.
6988 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6990 2014-11-12 Carlos O'Donell <carlos@redhat.com>
6991 Siddhesh Poyarekar <siddhesh@redhat.com>
6993 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6994 Move argv and envp down instead of moving argc up.
6995 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6997 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
7000 * test-skeleton.c (main): Return successful if one of
7001 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
7002 * string/tst-strcoll-overflow.c: Define expected status.
7004 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
7007 * locale/iso-639.def: Define Bhili and Tulu language codes.
7009 2014-11-11 Alan Hayward <alan.hayward@arm.com>
7011 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
7013 2014-11-10 Renlin Li <Renlin.Li@arm.com>
7016 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
7018 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
7020 * configure.ac: Updated check of minimal required version to
7022 * manual/install.texi (Tools for Compilation): Updated version
7024 * configure: Regenerated.
7025 * INSTALL: Likewise.
7027 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
7029 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
7032 2014-11-07 Joseph Myers <joseph@codesourcery.com>
7034 * include/sys/wait.h (__libc_waitpid): Remove declaration.
7035 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
7036 (__waitpid): Don't define as alias. Use libc_hidden_def not
7038 (waitpid): Define as alias of __waitpid.
7039 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
7041 (__waitpid): Don't define as alias. Use libc_hidden_def not
7043 (waitpid): Define as alias of __waitpid.
7044 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
7045 __libc_waitpid alias.
7046 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
7047 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
7049 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
7050 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
7051 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
7053 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
7055 (__waitpid): Don't define as alias. Use libc_hidden_def not
7057 (waitpid): Define as alias of __waitpid.
7059 2014-11-06 Carlos O'Donell <carlos@redhat.com>
7061 * manual/llio.texi: Add comment that write safety has been
7064 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
7065 (localplt-build-dso): Add elf/ld.so.
7066 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
7067 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
7069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
7070 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
7071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
7073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7075 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
7076 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
7077 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
7078 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
7079 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7080 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
7081 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
7082 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
7083 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7084 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
7085 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
7087 2014-11-05 Joseph Myers <joseph@codesourcery.com>
7090 * include/libc-symbols.h (INTUSE): Remove macro.
7092 (INTVARDEF): Likewise.
7093 (_INTVARDEF): Likewise.
7094 (INTDEF2): Likewise.
7095 (INTVARDEF2): Likewise.
7096 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
7097 rtld_hidden_def instead of INTVARDEF.
7098 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
7099 (_dl_starting_up_internal): Remove declaration.
7100 (_dl_starting_up): Use rtld_hidden_proto.
7101 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
7103 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
7104 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
7106 * elf/dl-writev.h (_dl_writev): Likewise.
7107 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
7108 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
7109 _dl_starting_up_internal.
7111 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7113 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
7116 2014-11-05 Will Newton <will.newton@linaro.org>
7118 * benchtests/Makefile: (bench-malloc): Add malloc thread
7119 scalability benchmark.
7120 * benchtests/bench-malloc-threads.c: New file.
7122 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
7124 * sysdeps/aarch64/strchrnul.S: New file.
7126 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7128 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
7130 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7132 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7134 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7136 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7138 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7141 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
7143 * catgets/test-gencat.c: Use test-skeleton.c.
7144 * catgets/tst-catgets.c: Likewise.
7145 * csu/tst-empty.c: Likewise.
7146 * elf/tst-audit2.c: Likewise.
7147 * elf/tst-global1.c: Likewise.
7148 * elf/tst-pathopt.c: Likewise.
7149 * elf/tst-piemod1.c: Likewise.
7150 * elf/tst-tls10.c: Likewise.
7151 * elf/tst-tls11.c: Likewise.
7152 * elf/tst-tls12.c: Likewise.
7153 * gnulib/tst-gcc.c: Likewise.
7154 * iconvdata/tst-e2big.c: Likewise.
7155 * iconvdata/tst-loading.c: Likewise.
7156 * iconv/tst-iconv1.c: Likewise.
7157 * iconv/tst-iconv2.c: Likewise.
7158 * inet/test-inet6_opt.c: Likewise.
7159 * inet/tst-gethnm.c: Likewise.
7160 * inet/tst-network.c: Likewise.
7161 * inet/tst-ntoa.c: Likewise.
7162 * intl/tst-codeset.c: Likewise.
7163 * intl/tst-gettext2.c: Likewise.
7164 * intl/tst-gettext3.c: Likewise.
7165 * intl/tst-ngettext.c: Likewise.
7166 * intl/tst-translit.c: Likewise.
7167 * io/test-stat.c: Likewise.
7168 * libio/test-fmemopen.c: Likewise.
7169 * libio/tst-freopen.c: Likewise.
7170 * libio/tst-sscanf.c: Likewise.
7171 * libio/tst-ungetwc1.c: Likewise.
7172 * libio/tst-ungetwc2.c: Likewise.
7173 * libio/tst-widetext.c: Likewise.
7174 * localedata/tst-ctype.c: Likewise.
7175 * localedata/tst-digits.c: Likewise.
7176 * localedata/tst-leaks.c: Likewise.
7177 * localedata/tst-mbswcs1.c: Likewise.
7178 * localedata/tst-mbswcs2.c: Likewise.
7179 * localedata/tst-mbswcs3.c: Likewise.
7180 * localedata/tst-mbswcs4.c: Likewise.
7181 * localedata/tst-mbswcs5.c: Likewise.
7182 * localedata/tst-setlocale.c: Likewise.
7183 * localedata/tst-trans.c: Likewise.
7184 * localedata/tst-wctype.c: Likewise.
7185 * localedata/tst-xlocale1.c: Likewise.
7186 * login/tst-grantpt.c: Likewise.
7187 * malloc/tst-calloc.c: Likewise.
7188 * malloc/tst-malloc.c: Likewise.
7189 * malloc/tst-mallocstate.c: Likewise.
7190 * malloc/tst-mcheck.c: Likewise.
7191 * malloc/tst-mtrace.c: Likewise.
7192 * malloc/tst-obstack.c: Likewise.
7193 * math/atest-exp2.c: Likewise.
7194 * math/atest-exp.c: Likewise.
7195 * math/atest-sincos.c: Likewise.
7196 * math/test-matherr.c: Likewise.
7197 * math/test-misc.c: Likewise.
7198 * math/test-powl.c: Likewise.
7199 * math/tst-definitions.c: Likewise.
7200 * misc/tst-dirname.c: Likewise.
7201 * misc/tst-efgcvt.c: Likewise.
7202 * misc/tst-fdset.c: Likewise.
7203 * misc/tst-hsearch.c: Likewise.
7204 * misc/tst-mntent2.c: Likewise.
7205 * nptl/tst-sem7.c: Likewise.
7206 * nptl/tst-sem8.c: Likewise.
7207 * nptl/tst-sem9.c: Likewise.
7208 * nss/test-netdb.c: Likewise.
7209 * posix/tst-fnmatch.c: Likewise.
7210 * posix/tst-getlogin.c: Likewise.
7211 * posix/tst-gnuglob.c: Likewise.
7212 * posix/tst-mmap.c: Likewise.
7213 * pwd/tst-getpw.c: Likewise.
7214 * resolv/tst-inet_ntop.c: Likewise.
7215 * rt/tst-timer.c: Likewise.
7216 * stdio-common/test-fseek.c: Likewise.
7217 * stdio-common/test-popen.c: Likewise.
7218 * stdio-common/test-vfprintf.c: Likewise.
7219 * stdio-common/tst-cookie.c: Likewise.
7220 * stdio-common/tst-fileno.c: Likewise.
7221 * stdio-common/tst-gets.c: Likewise.
7222 * stdio-common/tst-obprintf.c: Likewise.
7223 * stdio-common/tst-perror.c: Likewise.
7224 * stdio-common/tst-sprintf2.c: Likewise.
7225 * stdio-common/tst-sprintf3.c: Likewise.
7226 * stdio-common/tst-sprintf.c: Likewise.
7227 * stdio-common/tst-swprintf.c: Likewise.
7228 * stdio-common/tst-tmpnam.c: Likewise.
7229 * stdio-common/tst-unbputc.c: Likewise.
7230 * stdio-common/tst-wc-printf.c: Likewise.
7231 * stdlib/tst-environ.c: Likewise.
7232 * stdlib/tst-fmtmsg.c: Likewise.
7233 * stdlib/tst-limits.c: Likewise.
7234 * stdlib/tst-rand48-2.c: Likewise.
7235 * stdlib/tst-rand48.c: Likewise.
7236 * stdlib/tst-random2.c: Likewise.
7237 * stdlib/tst-random.c: Likewise.
7238 * stdlib/tst-strtol.c: Likewise.
7239 * stdlib/tst-strtoll.c: Likewise.
7240 * stdlib/tst-tls-atexit.c: Likewise.
7241 * stdlib/tst-xpg-basename.c: Likewise.
7242 * string/test-ffs.c: Likewise.
7243 * string/tst-bswap.c: Likewise.
7244 * string/tst-inlcall.c: Likewise.
7245 * string/tst-strtok.c: Likewise.
7246 * string/tst-strxfrm.c: Likewise.
7247 * sysdeps/x86_64/tst-audit10.c: Likewise.
7248 * sysdeps/x86_64/tst-audit3.c: Likewise.
7249 * sysdeps/x86_64/tst-audit4.c: Likewise.
7250 * sysdeps/x86_64/tst-audit5.c: Likewise.
7251 * time/tst-ftime_l.c: Likewise.
7252 * time/tst-getdate.c: Likewise.
7253 * time/tst-mktime3.c: Likewise.
7254 * time/tst-mktime.c: Likewise.
7255 * time/tst-posixtz.c: Likewise.
7256 * time/tst-strptime2.c: Likewise.
7257 * time/tst-strptime3.c: Likewise.
7258 * wcsmbs/tst-btowc.c: Likewise.
7259 * wcsmbs/tst-mbrtowc.c: Likewise.
7260 * wcsmbs/tst-mbsrtowcs.c: Likewise.
7261 * wcsmbs/tst-wchar-h.c: Likewise.
7262 * wcsmbs/tst-wcpncpy.c: Likewise.
7263 * wcsmbs/tst-wcrtomb.c: Likewise.
7264 * wcsmbs/tst-wcsnlen.c: Likewise.
7265 * wcsmbs/tst-wcstof.c: Likewise.
7267 2014-11-04 Joseph Myers <joseph@codesourcery.com>
7270 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
7272 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
7274 (_dl_mcount): Use rtld_hidden_proto.
7275 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
7277 * elf/rtld.c (_rtld_global_ro): Likewise.
7280 * elf/dl-init.c (_dl_init): Don't use INTDEF.
7281 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
7282 of _dl_init_internal.
7283 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
7284 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
7285 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
7286 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
7287 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
7288 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
7289 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
7290 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
7291 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
7292 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
7293 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
7294 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
7295 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7296 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7297 * sysdeps/tile/dl-start.S (_start): Likewise.
7298 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
7299 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
7302 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
7303 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
7304 (rtld_progname): Make macro definition unconditional.
7305 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
7307 (dlmopen_doit): Do not use INTUSE with _dl_argv.
7308 (dl_main): Likewise.
7309 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7310 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
7311 instead of _dl_argv_internal.
7312 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7313 __GI__dl_argv instead of INTUSE(_dl_argv).
7314 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
7315 __GI__dl_argv instead of _dl_argv_internal.
7317 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
7318 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
7320 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
7321 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
7323 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
7324 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
7326 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
7327 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
7329 2014-11-04 Andreas Schwab <schwab@suse.de>
7331 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
7333 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7335 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
7336 mtvsrd instruction in binary form.
7338 2014-11-03 Andreas Schwab <schwab@suse.de>
7341 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
7342 for less than MB_LEN_MAX use a local buffer of that size.
7343 * libio/tst-fputws.c: New file.
7344 * libio/Makefile (tests): Add tst-fputws.
7346 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
7348 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
7349 the size of the fpu_fr.fpu_dregs[] array.
7351 2014-11-01 Joseph Myers <joseph@codesourcery.com>
7353 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
7354 (__nanosleep): Do not define as alias.
7355 (nanosleep): Define as alias of __nanosleep.
7356 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
7357 __libc_nanosleep name.
7359 2014-10-31 Joseph Myers <joseph@codesourcery.com>
7361 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
7362 install.texi in comment.
7364 2014-10-31 Torvald Riegel <triegel@redhat.com>
7366 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
7367 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
7368 ... add here and use lwsync or sync ...
7369 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
7370 ... and add here using lwsync.
7372 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
7374 * elf/dl-machine-reject-phdr.h: New file.
7375 * elf/dl-load.c: #include that.
7376 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
7377 if that returned true.
7379 2014-10-31 Roland McGrath <roland@hack.frob.com>
7382 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
7383 gen-as-const-headers chunk. Add a big scare comment after the last
7384 safe place to touch before-compile.
7386 2014-10-31 Joseph Myers <joseph@codesourcery.com>
7388 * manual/install.texi (Tools for Compilation): Update autoconf
7389 version requirements.
7390 * INSTALL: Regenerated.
7392 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
7393 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
7394 (__libc_pselect): Likewise.
7397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
7398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7402 2014-10-31 Torvald Riegel <triegel@redhat.com>
7404 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
7405 correct barrier instruction.
7406 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
7408 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
7411 2014-10-30 Roland McGrath <roland@hack.frob.com>
7413 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
7414 after defining inlines. Instead, just use parens to defeat macro
7415 expansion of __isctype in its declaration.
7417 2014-10-30 Joseph Myers <joseph@codesourcery.com>
7419 * include/sys/uio.h (__libc_readv): Remove declaration.
7420 (__libc_writev): Likewise.
7421 * misc/readv.c (__libc_readv): Rename to __readv.
7422 (__readv): Do not define as alias.
7423 (readv): Define as alias of __readv.
7424 * misc/writev.c (__libc_writev): Rename to __writev.
7425 (__writev): Do not define as alias.
7426 (writev): Define as alias of __writev.
7427 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
7428 (__readv): Do not define as alias.
7429 (readv): Define unconditionally as alias of __readv.
7430 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
7431 (__writev): Do not define as alias.
7432 (writev): Define unconditionally as alias of __writev.
7433 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
7435 (writev): Do not define __libc_writev name.
7437 2014-10-30 Roland McGrath <roland@hack.frob.com>
7439 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
7440 (convert_charseq): New function, broken out of ...
7441 (use_from_charmap): ... here. Call it.
7442 (use_to_charmap): Use convert_charseq and free instead of duplicating
7443 its code with a variable-length stack struct.
7445 2014-10-30 Joseph Myers <joseph@codesourcery.com>
7447 * include/fcntl.h (__libc_creat): Remove declaration.
7448 * io/creat.c (__libc_creat): Rename to creat.
7449 (creat): Do not define as alias.
7450 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
7451 of creat instead of __libc_creat.
7452 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
7454 (creat): Do not define as alias.
7455 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
7457 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
7459 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
7462 2014-10-29 Carlos O'Donell <carlos@redhat.com>
7464 * manual/llio.texi: Add comments discussing why write() may be
7465 considered MT-unsafe on Linux.
7467 2014-10-28 Carlos O'Donell <carlos@redhat.com>
7469 * dl-load.c (local_strdup): Remove.
7470 (expand_dynamic_string_token): Use __strdup.
7471 (decompose_rpath): Likewise.
7472 (_dl_map_object): Likewise.
7474 2014-10-28 Joseph Myers <joseph@codesourcery.com>
7477 * sysdeps/generic/unwind-dw2-fde.c
7478 (__register_frame_info_bases_internal): Do not declare.
7479 (__register_frame_info_table_bases_internal): Likewise.
7480 (__deregister_frame_info_bases_internal): Likewise.
7481 (__register_frame_info_bases): Declare and use hidden_proto before
7482 definition. Use hidden_def instead of INTDEF.
7483 (__register_frame_info_table_bases): Likewise.
7484 (__deregister_frame_info_bases): Likewise.
7485 (__register_frame_info): Do not use INTUSE.
7486 (__register_frame): Likewise.
7487 (__register_frame_info_table): Likewise.
7488 (__register_frame_table): Likewise.
7489 (__deregister_frame_info): Likewise.
7490 (__deregister_frame): Likewise.
7492 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
7494 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7495 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
7497 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
7499 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
7502 2014-10-27 Joseph Myers <joseph@codesourcery.com>
7505 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
7506 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
7507 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
7508 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
7509 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
7510 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
7511 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
7512 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
7513 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
7514 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
7515 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
7516 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
7517 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
7519 (setfsuid): Likewise.
7520 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
7521 (setfsuid): Likewise.
7522 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
7523 (setfsuid): Likewise.
7524 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
7526 (setfsuid): Likewise.
7527 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
7528 (setfsuid): Likewise.
7529 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
7531 (setfsuid): Likewise.
7533 2014-10-27 Andreas Schwab <schwab@suse.de>
7536 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
7537 check for Slow_SSE4_2 feature bit.
7538 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
7539 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7540 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
7541 Likewise. Fix check for Fast_Unaligned_Load feature bit.
7543 2014-10-24 Roland McGrath <roland@hack.frob.com>
7545 * configure.ac: Validate compiler version with a empirical test of
7546 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
7548 * configure: Regenerated.
7550 * inet/htons.c (htons): Prototypify.
7551 * inet/htonl.c (htonl): Likewise.
7553 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7555 * string/strncat.c (strncat): Improve performance by using strlen.
7557 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7559 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
7561 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7563 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
7564 Call libc_fetestexcept_aarch64.
7566 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7568 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
7569 Call libc_feholdexcept_aarch64.
7571 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7573 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
7574 Call get_rounding_mode.
7576 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7578 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7581 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7583 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
7586 2014-10-24 Joseph Myers <joseph@codesourcery.com>
7589 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
7590 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
7591 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
7592 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
7593 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
7594 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
7595 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
7596 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
7597 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
7598 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
7599 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7600 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
7601 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
7602 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
7603 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
7604 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
7605 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
7606 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
7607 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
7608 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
7609 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
7610 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
7611 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
7612 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
7613 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
7614 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
7615 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
7616 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
7617 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
7618 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
7619 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
7620 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
7621 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
7622 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
7623 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
7624 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
7625 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
7626 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
7627 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
7628 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
7629 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
7631 (geteuid): Likewise.
7634 (getresgid): Likewise.
7635 (getresuid): Likewise.
7636 (getgroups): Likewise.
7637 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
7638 (geteuid): Likewise.
7641 (getresgid): Likewise.
7642 (getresuid): Likewise.
7643 (getgroups): Likewise.
7644 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
7645 (geteuid): Likewise.
7648 (getresgid): Likewise.
7649 (getresuid): Likewise.
7650 (getgroups): Likewise.
7651 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
7653 (geteuid): Likewise.
7656 (getresgid): Likewise.
7657 (getresuid): Likewise.
7658 (getgroups): Likewise.
7659 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
7660 (geteuid): Likewise.
7663 (getresgid): Likewise.
7664 (getresuid): Likewise.
7665 (getgroups): Likewise.
7666 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
7668 (geteuid): Likewise.
7671 (getgroups): Likewise.
7674 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
7675 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
7676 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
7677 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7678 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
7679 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
7680 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
7681 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
7682 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
7683 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
7684 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
7685 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
7686 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
7688 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
7691 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
7695 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
7698 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
7703 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7705 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
7708 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7710 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7713 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7715 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7716 Remove unused include.
7718 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7720 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
7721 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
7722 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
7723 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
7725 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
7726 Helge Deller <deller@gmx.de>
7729 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
7730 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
7731 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
7733 2014-10-23 Joseph Myers <joseph@codesourcery.com>
7736 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
7737 Remove macro definition.
7738 (__ashrdi3_v_glibc20): Likewise.
7739 (__lshrdi3_v_glibc20): Likewise.
7740 (__cmpdi2_v_glibc20): Likewise.
7741 (__ucmpdi2_v_glibc20): Likewise.
7742 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
7743 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7744 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7745 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7746 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7747 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
7749 2014-10-22 Roland McGrath <roland@hack.frob.com>
7751 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
7752 old GNU extension [0] syntax.
7753 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
7754 alloca rather than an array member with variable length.
7755 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
7756 * nscd/nscd.c (invalidate_db): New function, broken out of ...
7757 (parse_opt): ... here. Likewise use alloca there.
7758 Validate the -i argument before checking for rootness.
7759 (send_shutdown): New function, broken out of ...
7760 (parse_opt): ... here.
7762 2014-10-22 Roland McGrath <roland@hack.frob.com>
7764 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
7765 macro to get at the _rt_local_ro field.
7766 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
7767 ([PIC] case) or _dl_hwcap ([!PIC] case).
7768 * sysdeps/arm/setjmp.S: Likewise.
7770 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
7771 * sysdeps/arm/configure.ac: New check to define it.
7772 * sysdeps/arm/configure: Regenerated.
7773 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
7774 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
7775 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
7776 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
7777 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
7778 Use move/movt pair instead of a load.
7779 (LDST_GLOBAL): Macro removed.
7780 (LDR_GLOBAL): New macro replaces it.
7781 (LDR_HIDDEN): New macro.
7782 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
7783 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
7785 * setjmp/tst-setjmp-static.c: New file.
7786 * setjmp/Makefile (tests): Add it.
7787 (tests-static): New variable.
7789 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
7792 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
7794 2014-10-21 Joseph Myers <joseph@codesourcery.com>
7797 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
7799 2014-10-21 Roland McGrath <roland@hack.frob.com>
7801 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
7803 2014-10-20 Roland McGrath <roland@hack.frob.com>
7805 * io/fts.c (dirent_not_directory): New function.
7806 (fts_build): Call it.
7808 2014-10-20 Roland McGrath <roland@hack.frob.com>
7810 * nptl/version.c (__nptl_main): Use normal __write rather than
7812 (banner): Update copyright years.
7814 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
7816 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7817 * nptl/pthread_cond_timedwait.c: Likewise.
7818 * nptl/pthread_mutex_timedlock.c: Likewise.
7819 * nptl/sem_timedwait.c: Likewise.
7821 * sysdeps/nptl/bits/libc-lock.h
7822 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7823 (__libc_lock_init_recursive): Return void, not 0.
7824 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
7825 (__libc_rwlock_init): Likewise.
7826 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
7828 2014-10-20 Torvald Riegel <triegel@redhat.com>
7831 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
7832 (__pthread_once_slow): ... here.
7833 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
7834 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
7836 2014-10-20 Torvald Riegel <triegel@redhat.com>
7839 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
7840 __PTHREAD_ONCE_FORK_GEN_INCR): New.
7841 * sysdeps/nptl/fork.c (__libc_fork): Use them.
7842 * nptl/pthread_once.c (__pthread_once): Likewise.
7845 2014-10-20 Joseph Myers <joseph@codesourcery.com>
7848 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
7850 (writev): Use __libc_writev as strong name.
7851 * sysdeps/unix/sysv/linux/readv.c: Remove file.
7852 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7854 2014-10-17 Roland McGrath <roland@hack.frob.com>
7856 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7858 * sysdeps/i386/nptl/tls.h
7859 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7860 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7862 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7863 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7864 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7865 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7866 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7867 Call CHECK_THREAD_SYSINFO instead of doing an assert.
7869 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7870 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7872 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7874 (__pthread_mutex_init): ... here. Call it.
7875 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7876 Conditionalize PI cases on [__NR_futex].
7877 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7878 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7879 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7881 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7882 conditional on [SIGSETXID].
7883 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7884 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7885 is defined. Likewise for SIGSETXID.
7886 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7887 Conditionalize definitions on [SIGSETXID].
7888 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7889 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7890 unblocking on [SIGCANCEL].
7892 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7893 [__NR_set_robust_list].
7895 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7897 * string/strcoll_l.c (get_next_seq): Fix up formatting.
7898 (do_compare): Likewise.
7900 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
7903 * string/strcoll_l.c: Don't include stdio.h.
7904 (coll_seq): Remove members idxarr and rulearr.
7905 (get_next_seq_cached): Remove function.
7906 (get_next_seq): Likewise.
7907 (get_next_seq_nocache): Rename to get_next_seq.
7908 (do_compare): Remove function.
7909 (do_compare_nocache): Rename to do_compare.
7910 (STRCOLL): Remove weight and rules cache.
7912 2014-10-16 Roland McGrath <roland@hack.frob.com>
7914 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7915 * sysdeps/arm/sfp-machine.h: ... to here.
7916 * sysdeps/arm/Implies: Remove arm/soft-fp.
7918 2014-10-14 Joseph Myers <joseph@codesourcery.com>
7920 * conform/data/sys/utsname.h-data (*_t): Allow.
7921 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7922 [POSIX] (WEXITED): Do not expect constant.
7923 [POSIX] (WSTOPPED): Likewise.
7924 [POSIX] (WNOHANG): Likewise.
7925 [POSIX] (WNOWAIT): Likewise.
7926 [POSIX] (siginfo_t): Do not expect type or elements.
7927 [POSIX] (pid_t): Do not expect type.
7928 [POSIX] (signal.h): Do not allow header.
7929 [POSIX] (sys/resource.h): Likewise.
7930 [POSIX] (si_*): Do not allow pattern.
7931 [POSIX] (W*): Likewise.
7932 [POSIX] (P_*): Likewise.
7933 [POSIX] (BUS_*): Likewise.
7934 [POSIX] (CLD_*): Likewise.
7935 [POSIX] (FPE_*): Likewise.
7936 [POSIX] (ILL_*): Likewise.
7937 [POSIX] (POLL_*): Likewise.
7938 [POSIX] (SEGV_*): Likewise.
7939 [POSIX] (SI_*): Likewise.
7940 [POSIX] (TRAP_*): Likewise.
7941 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7944 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7947 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7948 infinite loop when __recvmsg returns 0.
7950 2014-10-10 Joseph Myers <joseph@codesourcery.com>
7952 * CANCEL-FCT-WAIVE: Remove file.
7953 * CANCEL-FILE-WAIVE: Likewise.
7956 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7957 instead of INTVARDEF.
7958 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7959 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7960 rtld_hidden_data_def instead of INTVARDEF.
7961 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7962 * elf/dl-deps.c (expand_dst): Likewise.
7963 * elf/dl-load.c (_dl_dst_count): Likewise.
7964 (_dl_dst_substitute): Likewise.
7965 (decompose_rpath): Likewise.
7966 (_dl_init_paths): Likewise.
7967 (open_path): Likewise.
7968 (_dl_map_object): Likewise.
7969 * elf/rtld.c (dl_main): Likewise.
7970 (process_dl_audit): Likewise.
7971 (process_envvars): Likewise.
7972 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7974 (__libc_enable_secure): Use rtld_hidden_proto.
7976 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7979 (add_path): New function broken out of _dl_rtld_di_serinfo.
7980 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
7982 2014-10-09 Joseph Myers <joseph@codesourcery.com>
7984 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7985 parentheses around macro arguments.
7986 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7987 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7988 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7989 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7990 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7991 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7992 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7993 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7994 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7995 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7996 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7997 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7998 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7999 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
8000 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
8001 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
8002 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
8003 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
8004 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
8005 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
8006 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
8007 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
8008 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
8009 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
8010 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
8011 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
8012 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
8013 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
8014 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
8015 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
8016 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
8017 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
8018 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
8019 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
8020 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
8021 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
8023 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
8024 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
8025 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
8026 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
8027 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
8028 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
8029 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
8030 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
8031 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
8032 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
8033 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
8034 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
8035 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
8036 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
8037 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
8038 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
8039 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
8040 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
8041 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
8042 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
8043 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
8044 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
8045 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
8046 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
8047 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
8048 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
8049 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
8050 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
8051 (_FP_FRAC_SRS_1): Likewise.
8052 (_FP_FRAC_CLZ_1): Likewise.
8053 (_FP_MUL_MEAT_1_imm): Likewise.
8054 (_FP_MUL_MEAT_1_wide): Likewise.
8055 (_FP_MUL_MEAT_1_hard): Likewise.
8056 (_FP_SQRT_MEAT_1): Likewise.
8057 (_FP_FRAC_ASSEMBLE_1): Likewise.
8058 (_FP_FRAC_DISASSEMBLE_1): Likewise.
8059 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
8060 (__FP_CLZ_2): Likewise.
8061 (_FP_MUL_MEAT_2_wide): Likewise.
8062 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8063 (_FP_MUL_MEAT_2_gmp): Likewise.
8064 (_FP_MUL_MEAT_2_120_240_double): Likewise.
8065 (_FP_SQRT_MEAT_2): Likewise.
8066 (_FP_FRAC_ASSEMBLE_2): Likewise.
8067 (_FP_FRAC_DISASSEMBLE_2): Likewise.
8068 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
8069 (_FP_FRAC_CLZ_4): Likewise.
8070 (_FP_MUL_MEAT_4_wide): Likewise.
8071 (_FP_MUL_MEAT_4_gmp): Likewise.
8072 (_FP_SQRT_MEAT_4): Likewise.
8073 (_FP_FRAC_ASSEMBLE_4): Likewise.
8074 (_FP_FRAC_DISASSEMBLE_4): Likewise.
8075 * soft-fp/op-common.h (_FP_CMP): Likewise.
8076 (_FP_CMP_EQ): Likewise.
8077 (_FP_CMP_UNORD): Likewise.
8078 (_FP_TO_INT): Likewise.
8079 (_FP_FROM_INT): Likewise.
8080 [!__FP_CLZ] (__FP_CLZ): Likewise.
8081 (_FP_DIV_HELP_imm): Likewise.
8082 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
8084 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
8085 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
8086 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
8087 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
8088 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
8089 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
8090 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
8091 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
8092 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
8093 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
8094 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
8095 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
8096 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
8097 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
8098 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
8099 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
8100 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
8101 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
8102 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
8103 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
8104 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
8105 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
8106 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
8107 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
8108 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
8109 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
8110 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
8111 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
8112 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
8113 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
8114 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
8115 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
8116 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
8117 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
8118 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
8119 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
8120 (FP_UNPACK_RAW_SP): Likewise.
8121 (FP_PACK_RAW_S): Likewise.
8122 (FP_PACK_RAW_SP): Likewise.
8123 (FP_UNPACK_S): Likewise.
8124 (FP_UNPACK_SP): Likewise.
8125 (FP_UNPACK_SEMIRAW_S): Likewise.
8126 (FP_UNPACK_SEMIRAW_SP): Likewise.
8127 (FP_PACK_S): Likewise.
8128 (FP_PACK_SP): Likewise.
8129 (FP_PACK_SEMIRAW_S): Likewise.
8130 (FP_PACK_SEMIRAW_SP): Likewise.
8131 (_FP_SQRT_MEAT_S): Likewise.
8132 (FP_CMP_S): Likewise.
8133 (FP_CMP_EQ_S): Likewise.
8134 (FP_CMP_UNORD_S): Likewise.
8135 (FP_TO_INT_S): Likewise.
8136 (FP_FROM_INT_S): Likewise.
8138 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
8140 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
8141 (FP_EX_INVALID_IMZ): Likewise.
8142 (FP_EX_INVALID_IMZ_FMA): Likewise.
8143 (FP_EX_INVALID_ISI): Likewise.
8144 (FP_EX_INVALID_ZDZ): Likewise.
8145 (FP_EX_INVALID_IDI): Likewise.
8146 (FP_EX_INVALID_SQRT): Likewise.
8147 (FP_EX_INVALID_CVI): Likewise.
8148 (FP_EX_INVALID_VC): Likewise.
8149 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
8150 "invalid" exceptions.
8151 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
8152 (_FP_ADD_INTERNAL): Likewise.
8153 (_FP_MUL): Likewise.
8154 (_FP_FMA): Likewise.
8155 (_FP_DIV): Likewise.
8156 (_FP_CMP_CHECK_NAN): Likewise.
8157 (_FP_SQRT): Likewise.
8158 (_FP_TO_INT): Likewise.
8159 (FP_EXTEND): Likewise.
8161 2014-10-09 Allan McRae <allan@archlinux.org>
8163 * po/fr.po: Update French translation from translation project.
8165 2014-10-09 Joseph Myers <joseph@codesourcery.com>
8168 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
8170 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
8171 (__cxa_atexit): Use libc_hidden_proto.
8172 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
8175 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
8177 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
8178 [!_ISOMAC] (__iswspace_l_internal): Likewise.
8179 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
8180 [!_ISOMAC] (__iswctype_internal): Likewise.
8181 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
8182 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
8184 (fcntl): Remove __fcntl_internal alias.
8185 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
8186 __connect_internal alias.
8187 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
8190 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
8191 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
8193 (_FP_CHECK_FLUSH_ZERO): New macro.
8194 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
8195 (_FP_CMP): Likewise.
8196 (_FP_CMP_EQ): Likewise.
8197 (_FP_TO_INT): Do not set inexact for subnormal arguments if
8199 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
8200 (FP_TRUNC): Likewise.
8202 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
8203 treated as invalid conversion, not as normal exponent.
8205 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
8206 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
8207 (_FP_CMP_EQ): Likewise.
8208 (_FP_CMP_UNORD): Likewise.
8209 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
8210 (FP_CMP_EQ_D): Likewise.
8211 (FP_CMP_UNORD_D): Likewise.
8212 * soft-fp/extended.h (FP_CMP_E): Likewise.
8213 (FP_CMP_EQ_E): Likewise.
8214 (FP_CMP_UNORD_E): Likewise.
8215 * soft-fp/quad.h (FP_CMP_Q): Likewise.
8216 (FP_CMP_EQ_Q): Likewise.
8217 (FP_CMP_UNORD_Q): Likewise.
8218 * soft-fp/single.h (FP_CMP_S): Likewise.
8219 (FP_CMP_EQ_S): Likewise.
8220 (FP_CMP_UNORD_S): Likewise.
8221 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
8222 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
8223 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
8224 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
8225 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
8226 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
8227 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
8228 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
8229 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
8230 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
8231 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
8232 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
8233 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
8235 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
8237 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
8238 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
8240 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
8242 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
8243 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
8244 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
8245 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
8247 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
8249 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
8250 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
8252 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
8254 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
8255 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
8256 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
8257 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
8260 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
8261 a subnormal result, set the underflow exception if trapping on
8262 underflow is enabled.
8263 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
8264 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
8265 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
8267 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
8268 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
8269 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
8270 * soft-fp/extendxftf2.c (__extendxftf2): Use
8271 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
8273 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
8274 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
8275 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8276 FP_HANDLE_EXCEPTIONS.
8277 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
8278 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8279 FP_HANDLE_EXCEPTIONS.
8280 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
8281 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8282 FP_HANDLE_EXCEPTIONS.
8283 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
8284 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8285 FP_HANDLE_EXCEPTIONS.
8287 2014-10-08 Joseph Myers <joseph@codesourcery.com>
8290 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
8291 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
8293 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
8294 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
8296 (__adjtimex): Define using libc_hidden_ver.
8297 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
8299 (ntp_gettime): Call __adjtimex directly.
8300 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
8302 (ntp_gettimex): Call __adjtimex directly.
8303 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
8304 __adjtimex_internal alias.
8306 2014-10-08 Roland McGrath <roland@hack.frob.com>
8309 * nscd/nscd.c (more_help): Rewrite list of tables collection
8310 using xstrdup and asprintf.
8312 * nscd/nscd_conf.c: Remove local xstrdup declaration.
8314 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8315 Roland McGrath <roland@hack.frob.com>
8317 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
8318 (do_lookup_unique): ... local function 'enter' here; update callers.
8320 2014-10-06 Joseph Myers <joseph@codesourcery.com>
8322 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
8323 compat_symbol calls on [SHARED].
8324 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
8325 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
8327 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8328 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
8329 (oldsetrlimit): Remove.
8330 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
8332 (lchown): New syscall entry.
8333 (oldsetrlimit): Remove.
8334 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8335 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
8336 (oldsetrlimit): Remove.
8337 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8340 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
8341 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
8342 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
8343 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
8344 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8345 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
8347 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
8349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
8352 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8354 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
8355 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
8356 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
8357 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
8358 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
8360 (__old_sem_post): Likewise.
8362 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
8364 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
8365 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
8366 HAVE_CLOCK_GETTIME_VSYSCALL macros.
8367 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
8368 Use INLINE_VSYSCALL macro.
8369 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
8370 __vdso_clock_gettime.
8371 * sysdeps/unix/sysv/linux/tile/init-first.c
8372 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
8373 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
8374 __vdso_clock_gettime.
8376 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
8377 to set up frame more cleanly.
8379 * sysdeps/tile/memcmp.c: New file.
8381 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
8383 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
8384 * sysdeps/tile/tilegx/strcasestr.c: New file.
8385 * sysdeps/tile/tilegx/strnlen.c: New file.
8386 * sysdeps/tile/tilegx/strstr.c: New file.
8388 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
8390 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
8392 * nptl/tst-setuid3.c: Write errors to stdout.
8394 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8397 (preload): New functions broken out of _dl_map_object_deps.
8398 (_dl_map_object_deps): Remove a nested function. Update call sites.
8400 2014-10-01 Joseph Myers <joseph@codesourcery.com>
8403 * sysdeps/unix/sysv/linux/execve.c: Remove file.
8404 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
8406 2014-10-01 Steve Ellcey <sellcey@mips.com>
8408 * sysdeps/mips/strcmp.S: New.
8410 2014-09-30 Joseph Myers <joseph@codesourcery.com>
8413 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
8415 (mkdirat): Likewise.
8416 (readlinkat): Likewise.
8417 (renameat): Likewise.
8418 (symlinkat): Likewise.
8419 (unlinkat): Likewise.
8420 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
8421 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
8422 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
8423 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
8424 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8425 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
8426 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
8428 2014-09-30 Will Newton <will.newton@linaro.org>
8430 * math/math.h: Define long double math functions if
8431 _LIBC_TEST is defined.
8432 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
8434 * localedata/Makefile: Move assignment to tests-special
8435 into an ifdef testing run-built-tests.
8436 * timezone/Makefile: Likewise.
8438 2014-09-29 Joseph Myers <joseph@codesourcery.com>
8440 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
8441 with $(BASH) not $(SHELL).
8443 2014-09-29 Carlos O'Donell <carlos@redhat.com>
8444 Matthew LeGendre <legendre1@llnl.gov>
8447 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
8450 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8452 * stdio-common/printf_fp.c
8453 (hack_digit): New function, broken out of ...
8454 (__printf_fp): ... local function here. Update call sites.
8455 hack_digit now takes an additional parameter that is a pointer
8456 to a struct of the referenced locals. Those locals moved inside
8457 the struct and references updated.
8459 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
8461 * aclocal.m4: Require autoconf 2.69.
8462 * configure: Regenerated.
8463 * sysdeps/aarch64/configure: Likewise.
8464 * sysdeps/alpha/configure: Likewise.
8465 * sysdeps/arm/armv7/configure: Likewise.
8466 * sysdeps/arm/configure: Likewise.
8467 * sysdeps/ia64/configure: Likewise.
8468 * sysdeps/mach/configure: Likewise.
8469 * sysdeps/mips/configure: Likewise.
8470 * sysdeps/s390/configure: Likewise.
8471 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
8472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
8474 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
8476 * sysdeps/ia64/configure.ac: Likewise.
8478 2014-09-26 Joseph Myers <joseph@codesourcery.com>
8480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
8481 specify symbol version for ld.so. Do not include entry for
8483 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8484 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8485 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8488 * Makeconfig [$(build-shared) = yes]
8489 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
8491 [$(build-shared) = yes && $(soversions.mk-done) = t]
8492 ($(common-objpfx)gnu/lib-names.h): Remove rule.
8493 [$(build-shared) = yes && $(soversions.mk-done) = t]
8494 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
8496 [$(build-shared) = yes && $(soversions.mk-done) = t]
8497 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
8499 [$(build-shared) = yes && $(soversions.mk-done) = t]
8500 (common-generated): Don't append gnu/lib-names.h and
8501 gnu/lib-names.stmp here.
8502 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
8503 (lib-names-h-abi): New variable.
8504 [$(build-shared) = yes && $(soversions.mk-done) = t]
8505 (lib-names-stmp-abi): Likewise.
8506 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8507 abi-variants] (before-compile): Append
8508 $(common-objpfx)$(lib-names-h-abi).
8509 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8510 abi-variants] (common-generated): Append gnu/lib-names.h.
8511 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8512 abi-variants] (install-others-nosubdir): Depend on
8513 $(inst_includedir)/$(lib-names-h-abi).
8514 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8515 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
8516 [$(build-shared) = yes && $(soversions.mk-done) = t]
8517 ($(common-objpfx)$(lib-names-h-abi)): New rule.
8518 [$(build-shared) = yes && $(soversions.mk-done) = t]
8519 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
8520 [$(build-shared) = yes && $(soversions.mk-done) = t]
8521 (common-generated): Append $(lib-names-h-abi) and
8522 $(lib-names-stmp-abi).
8523 * scripts/lib-names.awk: Do not handle multi being set.
8524 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
8526 (abi-lp64_be-ld-soname): Likewise.
8527 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
8529 (abi-hard-ld-soname): Likewise.
8530 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
8531 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
8533 (abi-o32_hard-ld-soname): Likewise.
8534 (abi-o32_soft_2008-ld-soname): Likewise.
8535 (abi-o32_hard_2008-ld-soname): Likewise.
8536 (abi-n32_soft-ld-soname): Likewise.
8537 (abi-n32_hard-ld-soname): Likewise.
8538 (abi-n32_soft_2008-ld-soname): Likewise.
8539 (abi-n32_hard_2008-ld-soname): Likewise.
8540 (abi-n64_soft-ld-soname): Likewise.
8541 (abi-n64_hard-ld-soname): Likewise.
8542 (abi-n64_soft_2008-ld-soname): Likewise.
8543 (abi-n64_hard_2008-ld-soname): Likewise.
8544 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
8546 (abi-64-v2-ld-soname): Likewise.
8547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
8549 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
8551 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
8553 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
8555 (abi-64-ld-soname): Likewise.
8556 (abi-x32-ld-soname): Likewise.
8557 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
8559 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8561 2014-09-23 Joseph Myers <joseph@codesourcery.com>
8564 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
8565 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
8566 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
8567 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
8568 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
8569 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
8570 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
8571 syscall entry for GLIBC_2.2 symbol version.
8572 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
8574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
8575 (setrlimit): Likewise.
8576 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
8579 2014-09-23 Will Newton <will.newton@linaro.org>
8581 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
8582 _LINUX_ARM_SYSDEP_H include guard too.
8583 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
8586 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
8588 * sysdeps/unix/sysv/linux/eventfd.c:
8589 Make first argument unsigned.
8590 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
8591 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
8593 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
8595 * socket/recvmmsg.c (recvmmsg): Drop const argument.
8596 * socket/sys/socket.h: Likewise
8597 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
8599 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8601 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
8603 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
8605 * time/tst-ftime.c: New test.
8606 * time/Makefile (tests): Add tst-ftime.
8608 2014-09-17 Joseph Myers <joseph@codesourcery.com>
8610 * soft-fp/extended.h: Fix comment formatting.
8611 * soft-fp/op-1.h: Likewise.
8612 * soft-fp/op-2.h: Likewise.
8613 * soft-fp/op-4.h: Likewise.
8614 * soft-fp/op-8.h: Likewise.
8615 * soft-fp/op-common.h: Likewise.
8616 * soft-fp/soft-fp.h: Likewise.
8618 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
8620 2014-09-16 Joseph Myers <joseph@codesourcery.com>
8623 * Makeconfig (soversions-default-setname): Remove variable.
8624 ($(common-objpfx)soversions.i): Don't pass default_setname to
8626 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
8627 oldest_abi to abi-versions.awk.
8628 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
8629 * config.make.in (oldest-abi): Remove variable.
8630 * configure.ac (--enable-oldest-abi): Remove configure option.
8631 * configure: Regenerated.
8632 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
8634 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
8635 * scripts/soversions.awk: Do not handle default_setname variable.
8636 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
8638 * sysdeps/mach/hurd/configure: Regenerated.
8639 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
8641 * sysdeps/unix/sysv/linux/configure: Regenerated.
8643 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8645 * elf/Makefile (CFLAGS-interp.c): Remove.
8646 ($(elf-objpfx)runtime-linker.h): Generate header with linker
8648 * elf/interp.c: Include generated runtime-linker.h
8650 * Makerules (lib%.so): Don't include $(+interp) in
8652 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
8653 * dlfcn/eval.c: Remove file.
8655 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
8659 * misc/sys/cdefs.h: Define __extern_always_inline for clang
8663 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
8665 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8666 Jakub Jelinek <jakub@redhat.com>
8669 * libio/stdio.h: Check definition of __fortify_function
8670 instead of __extern_always_inline to include bits/stdio2.h.
8671 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
8672 check if __extern_always_inline is defined.
8673 [__USE_MISC || __USE_XOPEN]: Likewise.
8674 [__USE_ISOC99] Likewise.
8675 * misc/sys/cdefs.h (__fortify_function): Define only if
8676 __extern_always_inline is defined.
8677 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
8678 __extern_always_inline and __extern_inline only for g++-4.3
8679 and newer or a compatible gcc.
8681 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
8684 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8685 last change to handle zero prefix length.
8687 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8689 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
8692 * posix/getconf.c (vars): Add _POSIX_IPV6 and
8695 2014-09-13 Allan McRae <allan@archlinux.org>
8697 * po/ru.po: Update Russian translation from translation project.
8699 2014-09-12 Roland McGrath <roland@hack.frob.com>
8701 * locale/programs/locale.c (show_locale_vars): Inline local function
8702 into its sole call site. Clean up some style nits.
8703 (print_item): New function, broken out of ...
8704 (show_info): ... local function here. Clean up style nits.
8706 * locale/programs/ld-ctype.c (set_one_default): New function, broken
8708 (set_class_defaults): ... local function set_default here.
8709 Define set_default as a macro locally to pass constant parameters.
8710 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
8711 rather than a shared local.
8713 * stdlib/rpmatch.c (try): New function, broken out of ...
8714 (rpmatch): ... local function here. Also, prototypify definition.
8716 2014-09-12 Joseph Myers <joseph@codesourcery.com>
8718 * scripts/soversions.awk: Do not handle configuration names.
8719 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
8720 vendor and os variables to soversions.awk.
8721 * configure.ac: Do not modify gnu-* host_os.
8722 * configure: Regenerated
8723 * shlib-versions: Remove first column with configuration names.
8724 * nptl/shlib-versions: Likewise.
8725 * nptl_db/shlib-versions: Likewise.
8726 * sysdeps/hppa/shlib-versions: Likewise.
8727 * sysdeps/m68k/shlib-versions: Likewise.
8728 * sysdeps/mach/hurd/shlib-versions: Likewise.
8729 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
8730 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
8731 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
8732 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
8733 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
8734 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
8735 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
8736 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
8737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8739 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8740 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8741 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8742 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8743 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8744 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
8745 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8746 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8749 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
8750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8752 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
8753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8754 Condition symbol version definitions on [HAVE_ELFV2_ABI].
8756 * shlib-versions: Remove OS-specific entries. Moved to files in
8758 * sysdeps/mach/hurd/shlib-versions: New file.
8759 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8761 * nptl/shlib-versions: Remove architecture-specific entries.
8762 Moved to files in sysdeps.
8763 * shlib-versions: Likewise.
8764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
8766 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8767 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8768 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8769 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8771 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
8772 (UDP_NO_CHECK6_RX): Likewise.
8774 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8776 * sysdeps/posix/sysconf.c (__sysconf): Spell
8777 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
8779 2014-08-12 Florian Weimer <fweimer@redhat.com>
8781 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
8783 * iconv/Versions (__gconv_transliterate): Export for use from
8785 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
8786 (struct __gconv_trans_data, __gconv_trans_fct,
8787 __gconv_trans_context_fct, __gconv_trans_query_fct,
8788 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
8790 (struct __gconv_step_data): Remove __trans member.
8791 (__gconv_transliterate): Declaration moved from gconv_int.h. No
8792 longer hidden. Remove unused trans_data argument.
8793 * iconv/gconv_int.h (struct trans_struct): Remove definition.
8794 (__gconv_translit_find): Remove declaration.
8795 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
8797 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
8798 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
8799 trans_data argument. Add hidden definition.
8800 (__gconv_translit_find): Remove.
8801 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
8802 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
8803 * iconv/skeleton.c: Remove transliteration initialization.
8804 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
8805 __gconv_step_data initialization.
8806 * libio/iofwide.c (__libio_translit_): Remove.
8807 (_IO_fwide): Adjust struct __gconv_step_data initialization.
8808 * wcsmbs/btowc.c (__btowc): Likewise.
8809 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8810 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8811 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8812 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8813 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
8814 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8815 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8816 * wcsmbs/wctob.c (wctob): Likewise.
8818 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8821 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
8822 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
8824 * sysdeps/x86/Makefile: Adjust.
8826 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8827 Roland McGrath <roland@hack.frob.com>
8829 * locale/weight.h: Add include guard.
8830 (findidx): Make static rather than auto; take new parameters
8831 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
8832 * locale/weightwc.h: Likewise.
8833 * posix/fnmatch_loop.c
8834 (FCT): Change type of EXTRA from int32_t to wint_t.
8835 Don't include either header inside the function.
8836 Call FINDIDX rather than findidx, and pass new arguments.
8837 #undef FINDIDX at the end of the file.
8838 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
8839 FINDIDX before including fnmatch_loop.c for the non-wide version.
8840 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
8841 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
8842 for the wide version.
8843 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
8844 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
8845 Pass new arguments to findidx.
8846 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
8847 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
8848 Don't #include it inside the function. Pass new arguments to findidx.
8849 * posix/regex_internal.h
8850 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
8851 (re_string_elem_size_at): Don't #include it inside the function.
8852 Pass new arguments to findidx.
8853 * string/strcoll_l.c: #include WEIGHT_H at top level.
8854 (get_next_seq): Don't #include it inside the function.
8855 Pass new arguments to findidx.
8856 (get_next_seq_nocache): Likewise.
8857 * string/strxfrm_l.c: #include WEIGHT_H at top level.
8858 (STRXFRM): Don't #include it inside the function.
8859 Pass new arguments to findidx.
8861 2014-09-11 Florian Weimer <fweimer@redhat.com>
8864 * malloc/malloc.c (unlink): Turn asserts into a call to
8867 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
8870 * libio/wfileops (do_ftell_wide): Free OUT.
8872 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
8874 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8876 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8879 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8880 group if the current group is empty.
8882 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8884 * benchtests/bench-memset.c (test_main): Add more test from size
8885 from 32 to 512 bytes.
8886 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8887 Add POWER8 memset object.
8888 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8889 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8890 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8892 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8894 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8895 multiarch POWER8 memset optimization.
8896 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8897 POWER8 memset optimization.
8899 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8900 Remove bzero multiarch objects.
8901 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8902 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8903 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8904 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8906 [__bzero]: Redefine to specific name.
8907 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8908 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8909 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8911 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8912 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8914 2014-09-10 Florian Weimer <fweimer@redhat.com>
8916 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8917 warnings into errors.
8919 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8920 __cxa_thread_atexit_impl prototype.
8922 2014-09-09 Steve Ellcey <sellcey@mips.com>
8924 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8925 Fix capitalization of error message.
8927 2014-09-09 Steve Ellcey <sellcey@mips.com>
8929 * sysdeps/mips/preconfigure: Modify ABI tests.
8931 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
8933 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8935 2014-09-07 Roland McGrath <roland@hack.frob.com>
8936 Carlos O'Donell <carlos@systemhalted.org>
8938 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8939 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8940 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8941 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8942 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8943 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8944 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8945 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8946 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8947 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8948 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8949 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8950 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8951 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8952 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8953 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8954 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8955 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8956 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8957 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8958 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8959 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8960 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8961 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8962 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8963 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8964 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8965 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8966 Deconditionalize the code that was previously under [RESET_PID].
8967 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8968 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8969 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8970 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8973 2014-09-08 Allan McRae <allan@archlinux.org>
8975 * version.h (RELEASE): Set to "development".
8976 (VERSION): Set to "2.20.90"
8978 2014-09-07 Allan McRae <allan@archlinux.org
8980 * version.h (RELEASE): Set to "stable".
8981 (VERSION): Set to "2.20"
8982 * include/features.h (__GLIBC_MINOR__): Set to 20.
8984 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8987 * po/ko.po: Update Korean translation from translation project.
8989 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
8992 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8993 macro for handling signed relocations.
8995 2014-09-03 Florian Weimer <fweimer@redhat.com>
8998 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8999 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
9001 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
9002 * iconvdata/ibm935.c (BODY): Likewise.
9003 * iconvdata/ibm937.c (BODY): Likewise.
9004 * iconvdata/ibm939.c (BODY): Likewise.
9005 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
9007 * iconvdata/Makefile (iconv-test.out): Pass module list to test
9009 * iconvdata/run-iconv-test.sh: New test loop for checking for
9012 2014-09-02 Khem Raj <raj.khem@gmail.com>
9014 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
9017 2014-09-01 Allan McRae <allan@archlinux.org>
9019 * po/eo.po: Update Esperanto translation from translation project.
9021 * po/ca.po: Update Catalan translation from translation project.
9023 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9025 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
9028 2014-08-27 Mark Wielaard <mjw@redhat.com>
9031 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
9032 to call set_thread_area instead of hand written asm.
9033 (__NR_set_thread_area): Removed define.
9034 (TLS_FLAG_WRITABLE): Likewise.
9035 (__ASSUME_SET_THREAD_AREA): Remove check.
9036 (TLS_EBX_ARG): Remove define.
9037 (TLS_LOAD_EBX): Likewise.
9039 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9041 Simplify atomicity of socket creation in bind.
9043 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
9044 looking up the name after linking the file.
9046 2014-08-27 Allan McRae <allan@archlinux.org>
9048 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9050 2014-08-26 Florian Weimer <fweimer@redhat.com>
9053 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
9054 trans_compare, open_translit, __gconv_translit_find):
9055 Remove module loading code.
9057 2014-08-26 Allan McRae <allan@archlinux.org>
9059 * po/vi.po: Update Vietnamese translation from translation project.
9061 * po/uk.po: Update Ukrainian translation from translation project.
9063 * po/fr.po: Update French translation from translation project.
9065 * po/ru.po: Update Russian translation from translation project.
9067 * po/pl.po: Update Polish translation from translation project.
9069 * po/cs.po: Update Czech translation from translation project.
9071 * po/de.po: Update German translation from translation project.
9073 * po/bg.po: Update Bulgarian translation from translation project.
9075 * po/sv.po: Update Sweedish translation from translation project.
9077 * po/nl.po: Update Dutch translation from translation project.
9079 * po/es.po: Update Spanish translation from translation project.
9081 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9083 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
9085 * catgets/Makefile (CPPFLAGS-gencat): Remove.
9086 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
9087 (CPPFLAGS-iconvconfig): Likewise.
9088 * timezone/Makefile (CPPFLAGS-zic): Likewise.
9090 * include/libc-symbols.h: Remove unnecessary check for
9092 * nptl/pthreadP.h: Likewise.
9093 * sysdeps/aarch64/setjmp.S: Likewise.
9094 * sysdeps/alpha/setjmp.S: Likewise.
9095 * sysdeps/arm/sysdep.h: Likewise.
9096 * sysdeps/i386/setjmp.S: Likewise.
9097 * sysdeps/m68k/setjmp.c: Likewise.
9098 * sysdeps/posix/getcwd.c: Likewise.
9099 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9100 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9101 * sysdeps/s390/s390-32/setjmp.S: Likewise.
9102 * sysdeps/s390/s390-64/setjmp.S: Likewise.
9103 * sysdeps/sh/sh3/setjmp.S: Likewise.
9104 * sysdeps/sh/sh4/setjmp.S: Likewise.
9105 * sysdeps/unix/alpha/sysdep.h: Likewise.
9106 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9107 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9108 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9109 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9112 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9113 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9114 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9115 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9116 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9117 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9118 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9119 * sysdeps/x86_64/setjmp.S: Likewise.
9121 2014-08-13 Joseph Myers <joseph@codesourcery.com>
9124 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
9126 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
9127 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
9129 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9131 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
9134 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
9135 and __x86_64__ when disabling x87 inline functions.
9137 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
9140 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
9141 asm statement with __cpuid_count.
9143 2014-08-12 Mike Frysinger <vapier@gentoo.org>
9145 * configure.ac: Change __ehdr_start code to dereference the struct.
9146 Run readelf on the output to look for relocations.
9147 * configure: Regenerated.
9149 2014-08-12 Joseph Myers <joseph@codesourcery.com>
9152 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
9154 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
9156 2014-08-12 Roland McGrath <roland@hack.frob.com>
9158 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
9160 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
9163 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
9164 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
9166 2014-08-12 Sean Anderson <seanga2@gmail.com>
9168 * malloc/malloc.c: Fix typo in comment.
9170 2014-08-09 Allan McRae <allan@archlinux.org>
9172 * Regenerate libc.po.
9174 2014-08-08 Mike Frysinger <vapier@gentoo.org>
9176 * intl/tst-gettext2.sh: Check every lang file for creation.
9178 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
9180 * sysdeps/aarch64/fpu/math_private.h
9181 (libc_feholdsetround_noex_aarch64_ctx): New function.
9183 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
9185 * sysdeps/arm/armv6/strcpy.S (strcpy):
9186 Fix performance issue in misaligned cases.
9188 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9190 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
9191 Move definition from termios.h.
9192 (struct termio): Likewise.
9193 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9194 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
9195 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
9196 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
9198 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
9199 Move definition to ioctl-types.h
9200 (struct termio): Likewise.
9201 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9202 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
9203 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
9204 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
9207 2014-08-05 Richard Henderson <rth@redhat.com>
9209 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
9211 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
9213 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
9214 Use __feraiseexcept.
9215 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
9216 Protect libm symbols with IS_IN_libm.
9218 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
9220 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
9222 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
9224 2014-08-04 Will Newton <will.newton@linaro.org>
9226 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
9229 2014-08-04 Mike Frysinger <vapier@gentoo.org>
9231 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
9232 variants for each function.
9234 2014-08-04 Roland McGrath <roland@hack.frob.com>
9236 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
9238 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
9239 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
9241 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
9242 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
9243 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
9244 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
9245 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
9246 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
9247 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
9248 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
9249 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
9250 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
9251 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
9252 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
9253 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
9254 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
9255 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
9256 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
9257 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
9258 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
9259 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
9260 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
9261 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
9262 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
9263 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
9264 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
9265 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
9266 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
9267 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
9268 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
9269 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
9270 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
9271 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
9272 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
9273 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
9274 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
9275 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
9276 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
9277 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
9278 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
9279 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
9280 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
9281 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
9282 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
9283 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
9284 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
9285 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
9286 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
9287 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
9288 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
9289 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
9290 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
9291 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
9292 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
9293 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
9295 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
9296 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
9298 2014-08-04 Roland McGrath <roland@hack.frob.com>
9300 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
9301 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
9302 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
9303 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
9304 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
9305 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
9307 2014-08-04 Roland McGrath <roland@hack.frob.com>
9309 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
9310 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
9311 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9312 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
9314 2014-08-04 Roland McGrath <roland@hack.frob.com>
9316 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
9317 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
9318 (__libc_vfork): Define function under this name.
9319 (__vfork): Define as an alias.
9320 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
9321 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
9323 2014-08-04 Roland McGrath <roland@hack.frob.com>
9325 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
9326 that was previously under [RESET_PID].
9327 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
9329 2014-08-04 Andreas Schwab <schwab@suse.de>
9331 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
9333 2014-08-03 Mike Frysinger <vapier@gentoo.org>
9335 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
9338 2014-08-01 Roland McGrath <roland@hack.frob.com>
9340 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
9342 2014-08-01 Richard Henderon <rth@redhat.com>
9344 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
9345 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
9346 typo in exact zero test.
9347 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9348 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9349 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9351 2014-08-01 Roland McGrath <roland@hack.frob.com>
9353 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
9354 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
9355 * sysdeps/arm/sysdep.h: ... here.
9356 [!__ASSEMBLER__]: Include <stdint.h>.
9358 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9360 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
9361 (HAVE_WCTYPE_H): Likewise.
9362 (HAVE_ISWCTYPE): Likewise.
9363 (ENABLE_NLS): Likewise.
9364 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
9365 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
9367 * posix/regex_internal.c: Check if DEBUG is defined and is
9370 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
9371 (HAVE_MBSRTOWCS): Likewise.
9372 * posix/fnmatch.c: Include string.h unconditionally.
9374 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9376 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
9379 2014-07-31 Roland McGrath <roland@hack.frob.com>
9381 * sysdeps/generic/safe-fatal.h: New file.
9382 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
9383 * nptl/forward.c: Include it.
9384 (__pthread_unwind): Use __safe_fatal as default action, rather
9385 than a bogus use of INTERNAL_SYSCALL that could never work.
9387 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
9388 * configure.ac (libc_cv_builtin_trap): New test.
9389 * configure: Regenerated.
9390 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
9391 (ABORT_INSTRUCTION): Define using __builtin_trap.
9393 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
9394 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
9395 * sysdeps/nptl/nptl-signals.h: New file.
9396 * nptl/pthreadP.h: Include <nptl-signals.h>.
9398 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
9400 * sysdeps/s390/s390-64/utf16-utf32-z9.c
9401 (ONE_DIRECTION): Define.
9402 * sysdeps/s390/s390-64/utf8-utf16-z9.c
9403 (ONE_DIRECTION): Define.
9404 * sysdeps/s390/s390-64/utf8-utf32-z9.c
9405 (ONE_DIRECTION): Define.
9407 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
9409 * sysdeps/s390/Makefile: Delete file.
9410 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
9411 * sysdeps/s390/__longjmp.c: Delete file.
9412 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
9413 Remove fields __flags and __reserved.
9414 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
9416 * sysdeps/s390/rtld-__longjmp.c: Delete file.
9417 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
9418 * sysdeps/s390/rtld-setjmp.S: Likewise.
9419 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
9420 * sysdeps/s390/s390-32/__longjmp.c: ... here.
9421 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
9422 * sysdeps/s390/s390-32/setjmp.S: ... here.
9424 (__sigsetjmp): Remove setting __flags field.
9425 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
9426 * sysdeps/s390/s390-64/__longjmp.c: ... here.
9427 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
9428 * sysdeps/s390/s390-64/setjmp.S: ... here.
9430 (__sigsetjmp): Remove setting __flags field.
9431 * sysdeps/s390/setjmp.S: Delete file.
9432 * sysdeps/s390/sigjmp.c: Likewise.
9433 * sysdeps/s390/v1-longjmp.c: Likewise.
9434 * sysdeps/s390/v1-setjmp.h: Likewise.
9435 * sysdeps/s390/v1-sigjmp.c: Likewise.
9436 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
9437 Remove v1-longjmp_chk.
9438 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
9439 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
9440 Include debug/longjmp_chk.c and add versioning.
9441 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
9442 Include nptl/pt-longjmp.c and add versioning.
9443 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
9444 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
9445 Include __longjmp.c.
9446 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9448 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
9449 (__getcontext): Remove setting __flags field.
9451 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9452 Don't restore upper high grps.
9453 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
9455 (__swapcontext): Remove setting uc_flags field.
9456 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
9458 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9459 Include __longjmp.c.
9460 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9462 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
9463 (__getcontext): Remove setting __flags field.
9465 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
9466 (__swapcontext): Remove setting uc_flags field.
9467 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
9468 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
9469 Remove fields uc_high_gprs and __reserved.
9470 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
9471 New file with reverted content.
9472 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
9473 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
9475 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
9478 2014-07-31 Andreas Schwab <schwab@suse.de>
9480 * config.h.in (HAVE_IFUNC): Define to 0.
9481 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
9484 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
9486 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9487 memmove-avx-unaligned, memcpy-avx-unaligned and
9488 mempcpy-avx-unaligned.
9489 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9490 Add tests for AVX memcpy functions.
9491 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
9492 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
9494 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
9495 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
9497 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
9498 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
9500 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
9501 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
9502 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
9504 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9507 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
9510 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
9513 * manual/llio.texi: Add section about open file description locks.
9514 * manual/examples/ofdlocks.c: Example of open file description
9516 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
9517 F_OFD_SETLK, and F_OFD_SETLKW.
9519 2014-07-23 Allan McRae <allan@archlinux.org>
9521 * po/es.po: Update Spanish translation from translation project.
9523 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
9525 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
9527 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
9530 * sysdeps/arm/dl-machine.h (elf_machine_rela)
9531 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
9532 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
9534 2014-07-17 Joseph Myers <joseph@codesourcery.com>
9537 * math/fesetenv.c (__fesetenv)
9538 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
9539 * math/feupdateenv.c (__feupdateenv)
9540 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
9542 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
9543 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9544 (__ASSUME_SOCKETCALL): Do not define.
9546 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
9547 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
9548 (__ASSUME_SOCKETCALL): Do not define.
9549 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
9550 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9551 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9552 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9553 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9554 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
9555 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9556 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9558 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
9559 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
9560 (__ASSUME_SOCKETCALL): Do not define.
9561 (__ASSUME_IPC64): Define unconditionally.
9562 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9563 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9564 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9565 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9566 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
9567 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9568 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
9571 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
9572 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
9573 (__ASSUME_SOCKETCALL): Do not define.
9574 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
9575 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9576 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9577 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9578 (__ASSUME_REQUEUE_PI): Define unconditionally.
9579 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
9580 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9581 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9582 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
9583 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9584 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9586 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
9587 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
9588 (__ASSUME_SOCKETCALL): Do not define.
9589 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
9590 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9591 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9592 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
9593 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9594 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9596 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
9597 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
9598 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9599 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
9600 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9601 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
9602 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9603 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
9604 (__ASSUME_GETCPU_SYSCALL): Likewise.
9606 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
9607 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
9608 cases for individual architectures.
9609 * sysdeps/gnu/configure: Regenerated.
9610 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
9611 LIBC_SLIBDIR_RTLDDIR.
9612 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
9613 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
9614 LIBC_SLIBDIR_RTLDDIR.
9615 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
9616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
9617 LIBC_SLIBDIR_RTLDDIR.
9618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
9620 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
9621 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
9623 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
9624 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
9626 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
9627 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
9628 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
9629 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
9631 * sysdeps/aarch64/shlib-versions: Move to ...
9632 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
9633 * sysdeps/alpha/shlib-versions: Move to ...
9634 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
9635 * sysdeps/arm/shlib-versions: Move to ...
9636 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
9637 * sysdeps/hppa/shlib-versions: Move all contents except for
9638 libgcc_s entry to ...
9639 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
9641 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
9642 * sysdeps/ia64/shlib-versions: Move to ...
9643 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
9645 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
9646 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
9647 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
9648 * sysdeps/microblaze/shlib-versions: Move to ...
9649 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
9650 * sysdeps/mips/shlib-versions: Move to ...
9651 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
9653 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
9654 * sysdeps/tile/shlib-versions: Move to ...
9655 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
9656 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
9658 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
9659 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
9661 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
9663 2014-07-17 Will Newton <will.newton@linaro.org>
9665 * sysdeps/arm/bits/atomic.h
9666 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
9667 (__arch_compare_and_exchange_bool_16_int): Likewise.
9668 (__arch_compare_and_exchange_bool_64_int): Likewise.
9670 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
9671 into an #else block.
9673 2014-07-16 Roland McGrath <roland@hack.frob.com>
9675 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
9676 just Linux configurations. Test empirically that the compiler sets
9677 __ARM_EABI__, rather than using the tuple to decide.
9678 * sysdeps/arm/preconfigure: Regenerated.
9679 * sysdeps/unix/sysv/linux/arm/configure: File removed.
9680 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
9681 contents appended ...
9682 * sysdeps/arm/configure.ac: ... here.
9683 * sysdeps/arm/configure: Regenerated.
9685 2014-07-15 Roland McGrath <roland@hack.frob.com>
9687 * nptl/pthread_kill.c: New file.
9688 * nptl/pthread_sigmask.c: New file.
9689 * nptl/pthread_sigqueue.c: New file.
9691 * sysdeps/nptl/lowlevellock.h: New file.
9692 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
9693 * sysdeps/nptl/lowlevellock-futex.h: New file.
9695 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
9696 Remove dead declarations.
9698 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
9700 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
9701 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
9703 * sysdeps/x86_64/configure.ac: Likewise.
9704 * sysdeps/i386/configure: Regenerated.
9705 * sysdeps/x86_64/configure: Likewise.
9706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9707 memset-avx2 only if config-cflags-avx2 is yes.
9708 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9709 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
9711 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
9712 only if HAVE_AVX2_SUPPORT is defined.
9713 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9715 2014-07-14 Alan Modra <amodra@gmail.com>
9718 * elf/elf.h (DT_PPC64_NUM): Correct value.
9719 * NEWS: Add to fixed bug list.
9721 2014-07-13 Jim Meyering <meyering@fb.com>
9724 regex: don't deref NULL upon heap allocation failure
9725 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
9726 failure in one more place.
9727 To trigger the segfault, configure grep -with-included-regex,
9728 build it, and run these commands:
9729 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
9731 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
9733 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9735 2014-07-11 Richard Henderson <rth@redhat.com>
9737 * sysdeps/aarch64/libm-test-ulps: Update.
9739 2014-07-10 Florian Weimer <fweimer@redhat.com>
9742 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
9743 * nptl/allocatestack.c (__nptl_setxid_error): New function.
9744 (__nptl_setxid): Initialize error member. Call
9745 __nptl_setxid_error.
9746 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
9747 * nptl/descr.h (struct xid_command): Add error member.
9748 * nptl/tst-setuid3.c: New file.
9749 * nptl/Makefile (tests): Add it.
9751 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9753 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
9755 (__lll_trylock): Use __lll_base_trylock.
9756 (__lll_cond_trylock): Likewise.
9758 2014-07-10 Roland McGrath <roland@hack.frob.com>
9760 * nptl/pthread_create.c (start_thread): Use atomic_or and
9761 lll_futex_wake directly rather than lll_robust_dead.
9762 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9763 (lll_robust_dead): Macro removed.
9764 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
9765 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9766 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9767 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9768 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9769 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9770 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9771 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9772 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9773 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9774 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9775 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9776 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9777 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9778 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9780 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9781 Use atomic_compare_and_exchange_val_acq directly rather than
9783 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9784 (__lll_robust_trylock, lll_robust_trylock): Removed.
9785 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9786 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9787 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9788 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9789 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9790 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9791 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9792 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9793 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9794 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9795 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9796 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9797 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9798 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9800 2014-07-02 Florian Weimer <fweimer@redhat.com>
9802 * manual/locale.texi (Locale Names): New section documenting
9803 locale name syntax. Adjust menu and node chaining accordingly.
9804 (Choosing Locale): Reference Locale Names, Locale Categories.
9805 Mention setting LC_ALL=C. Reflect that name syntax is now
9807 (Locale Categories): New section title. Reference Locale Names.
9808 LC_ALL is an environment variable, but not a category.
9809 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
9810 description, now in Locale Name. Reference that section. Locale
9811 name syntax is now documented.
9813 2014-07-02 Florian Weimer <fweimer@redhat.com>
9816 * locale/findlocale.c (name_present, valid_locale_name): New
9818 (_nl_find_locale): Use the loc_name variable to store name
9819 candidates. Call name_present and valid_locale_name to check and
9820 validate locale names. Return an error if the locale is invalid.
9822 2014-07-02 Florian Weimer <fweimer@redhat.com>
9824 * locale/setlocale.c (setlocale): Use strdup for allocating
9825 composite name copy.
9827 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9829 Sync up with gnulib.
9830 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
9831 [!_LIBC && ENABLE_NLS]: Include gettext.h.
9832 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
9833 and _GL_ARG_NONNULL.
9834 [USE_UNLOCKED_IO]: Include unlocked-io.h.
9835 [!_LIBC]: Include code for Windows and Cygwin.
9836 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
9837 Include prototype for int strerror_r.
9838 [!_LIBC] (is_open): New function.
9839 (flush_stdout): New function.
9840 (print_errno_message): Use it.
9842 (error_at_line): Likewise.
9843 (error_tail) Add function attribute macros. Use
9846 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
9848 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
9850 * io/ftw.c: Include sys/param.h unconditionally.
9852 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
9855 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
9857 (freecache): New function to free CACHE on exit.
9859 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9862 2014-07-09 David S. Miller <davem@davemloft.net>
9864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9866 * sysdeps/sparc/nptl/internaltypes.h: Delete.
9867 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9868 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9869 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9870 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9871 * sysdeps/sparc/nptl/sem_init.c: Likewise.
9872 * sysdeps/sparc/nptl/sem_post.c: Likewise.
9873 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9874 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9875 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9876 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9877 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9878 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9880 2014-07-09 Andreas Schwab <schwab@suse.de>
9882 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9884 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9885 (do_test): Likewise.
9887 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9889 2014-07-09 Will Newton <will.newton@linaro.org>
9891 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9892 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9893 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9894 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9895 * sysdeps/hppa/start.S (_start): Likewise.
9897 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9899 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9901 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9904 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9906 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9907 after checking that it is non-NULL.
9909 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9911 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9913 * sysdeps/powerpc/memmove.c: Remove file.
9914 * sysdeps/powerpc/powerpc32/power4/memcopy.h
9915 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9916 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9917 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9918 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9919 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9920 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9921 string memmove instead of removed powerpc one.
9923 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9924 [weak_alias]: Fix compiler warning due trailing data.
9925 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9926 [weak_alias]: Likewise.
9927 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9928 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9930 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9931 (__libc_ifunc_impl_list): Add memmove functions.
9933 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9935 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9937 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9939 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9941 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9943 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9945 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9947 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9949 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9951 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9953 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9955 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9957 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9959 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9961 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9963 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9965 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9967 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9970 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9972 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9973 to avoid alignment traps in non-cacheable memory.
9974 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9976 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9978 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9979 file: multiarch power7 memmove.
9980 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9981 multiarch default memmove.
9982 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9983 multiarch memove for powerpc32/power4.
9985 * string/bcopy.c: Use full path to include memmove.c.
9986 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9988 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9989 bcopy for powerpc64.
9990 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9991 bcopy for powerpc64.
9992 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9993 and memmove implementations.
9994 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9995 optimized multiarch memmove for POWER7/powerpc64.
9996 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9997 default multiarch memmove for powerpc64.
9998 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9999 multiarch for powerpc64.
10000 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
10001 for POWER7/powerpc64.
10002 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
10003 memmove for POWER7/powerpc64.
10005 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
10008 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
10009 __ELF_NATIVE_CLASS equal to 64.
10011 2014-07-07 Roland McGrath <roland@hack.frob.com>
10013 * sysdeps/nptl/lowlevellock.h: File removed.
10015 * NEWS: NPTL is no longer an add-on!
10016 * nptl/internaltypes.h: Moved ...
10017 * sysdeps/nptl/internaltypes.h: ... here.
10018 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
10019 * sysdeps/nptl/fork.c: Likewise.
10020 * sysdeps/nptl/gai_misc.h: Likewise.
10021 * sysdeps/nptl/librt-cancellation.c: Likewise.
10022 * sysdeps/nptl/jmp-unwind.c: Likewise.
10023 * sysdeps/nptl/setxid.h: Likewise.
10024 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
10025 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
10026 * sysdeps/unix/sysv/linux/arm/Implies: New file.
10027 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
10028 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
10029 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
10030 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
10031 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
10032 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
10033 * sysdeps/unix/sysv/linux/mips/Implies: New file.
10034 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
10035 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
10036 * sysdeps/unix/sysv/linux/sh/Implies: New file.
10037 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
10038 * sysdeps/unix/sysv/linux/tile/Implies: New file.
10039 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
10040 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
10041 * nptl/Makeconfig: Moved ...
10042 * sysdeps/nptl/Makeconfig: ... here.
10043 * nptl/configure: File removed.
10044 * nptl/ANNOUNCE: File removed.
10045 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
10046 * sysdeps/unix/sysv/linux/configure: Regenerated.
10048 * nptl/Makefile (routines): Add libc_pthread_init,
10049 libc_multiple_threads, register-atfork and unregister-atfork.
10050 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
10051 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
10052 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
10053 pthread-pi-defines.sym, structsem.sym.
10054 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
10055 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
10056 [$(subdir) = nptl] (tests): Add tst-setgetname.
10057 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
10058 * sysdeps/unix/sysv/linux/sigaction.c: Just include
10059 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
10060 [!LIBC_SIGACTION]: Remove aliases.
10061 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10062 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10063 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10064 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
10065 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10066 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
10067 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10068 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10069 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10070 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
10071 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
10072 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
10073 __libc_allocate_rtsig_private.
10074 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
10075 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
10076 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
10077 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
10078 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
10079 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
10080 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
10081 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
10082 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
10083 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
10084 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
10085 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
10086 * nptl/internaltypes.h: ... here.
10087 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
10088 * sysdeps/nptl/jmp-unwind.c: ... here.
10089 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
10090 * nptl/libc-lowlevellock.c: ... here.
10091 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
10092 * nptl/libc_multiple_threads.c: ... here.
10093 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
10094 * nptl/libc_pthread_init.c: ... here.
10095 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
10096 * nptl/lowlevelbarrier.sym: ... here.
10097 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
10098 * nptl/lowlevelcond.sym: ... here.
10099 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
10100 * nptl/lowlevellock.c: ... here.
10101 * nptl/lowlevellock.h: Moved ...
10102 * sysdeps/nptl/lowlevellock.h: ... here.
10103 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
10104 * nptl/lowlevelrobustlock.c: ... here.
10105 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
10106 * nptl/lowlevelrobustlock.sym: ... here.
10107 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
10108 * nptl/lowlevelrwlock.sym: ... here.
10109 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
10110 * nptl/pt-fork.c: ... here.
10111 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
10112 * nptl/pthread-pi-defines.sym: ... here.
10113 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
10114 * nptl/pthread_attr_getaffinity.c: ... here.
10115 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
10116 * nptl/pthread_attr_setaffinity.c: ... here.
10117 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
10118 * nptl/pthread_mutex_cond_lock.c: ... here.
10119 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10121 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
10122 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
10123 * nptl/pthread_once.c: ... here, replacing old file.
10124 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
10125 * nptl/pthread_yield.c: ... here.
10126 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
10127 * nptl/register-atfork.c: ... here.
10128 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
10129 * nptl/sem_post.c: ... here.
10130 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
10131 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
10132 * nptl/sem_timedwait.c: ... here.
10133 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
10134 * nptl/sem_trywait.c: ... here.
10135 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
10136 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
10137 * nptl/sem_wait.c: ... here.
10138 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
10139 * nptl/structsem.sym: ... here.
10140 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
10141 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
10142 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
10143 * nptl/unregister-atfork.c: ... here.
10144 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
10145 * nptl/unwindbuf.sym: ... here.
10146 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
10147 * sysdeps/nptl/fork.c: ... here.
10148 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
10149 * sysdeps/nptl/fork.h: ... here.
10150 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
10151 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
10152 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
10153 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
10154 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
10155 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
10156 * sysdeps/unix/sysv/linux/getpid.c: ... here.
10157 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
10158 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
10159 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
10160 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
10161 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
10162 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
10163 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
10164 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
10165 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
10166 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
10167 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
10168 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
10169 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
10170 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
10171 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
10172 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
10173 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
10174 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
10175 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
10176 * sysdeps/unix/sysv/linux/raise.c: ... here.
10177 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
10178 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
10179 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
10180 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
10181 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
10182 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
10183 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
10184 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
10185 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
10186 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
10187 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
10188 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
10189 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
10190 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
10191 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
10193 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10195 * sysdeps/generic/memcopy.h: Add comment for
10196 MEMCPY_OK_FOR_FWD_MEMMOVE.
10198 2014-07-04 Will Newton <will.newton@linaro.org>
10200 * string/memchr.c: Merge from gnulib.
10201 [_LIBC]: Remove conditionals.
10202 (__ptr_t): Remove define.
10203 (LONG_MAX_32_BITS): Likewise.
10204 (LONG_MAX): Likewise.
10205 (MEMCHR): Use ANSI prototype and optimize algorithm.
10207 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
10209 2014-07-03 Roland McGrath <roland@hack.frob.com>
10211 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
10212 (lll_futex_timed_wait_bitset): Fix syscall argument count.
10214 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
10215 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
10216 in a bare environment with no <stdlib.h> installed.
10217 * sysdeps/nptl/configure: Regenerated.
10219 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
10221 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
10222 AC_EGREP_CPP for kernel header checks, so they only succeed if
10223 including <linux/version.h> actually works right.
10224 * sysdeps/unix/sysv/linux/configure: Regenerated.
10226 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
10227 value so it's not diagnosed as unused.
10229 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
10230 thing) with "ifeq ($(subdir),rt)".
10232 2014-07-03 Richard Henderson <rth@redhat.com>
10234 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
10235 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
10236 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
10238 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
10239 (math_force_eval): New.
10241 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
10242 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
10244 * sysdeps/alpha/fpu/s_round.c: Remove file.
10245 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
10247 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
10248 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
10249 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
10250 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
10251 (_dl_start, print_statistics): Likewise.
10252 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
10253 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
10255 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10256 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10257 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10258 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10259 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10260 (HP_SMALL_TIMING_AVAIL): Define.
10261 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10262 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
10263 (HP_SMALL_TIMING_AVAIL): Define.
10264 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10265 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10267 * sysdeps/aarch64/hp-timing.h: New file.
10269 * sysdeps/generic/hp-timing.h: Remove dead comment.
10270 * sysdeps/generic/hp-timing-common.h: New file.
10271 * sysdeps/alpha/hp-timing.h: Include it.
10272 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
10273 * sysdeps/i386/i686/hp-timing.h: Likewise.
10274 * sysdeps/ia64/hp-timing.h: Likewise.
10275 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10276 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10277 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10278 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10279 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
10280 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
10281 (hp_timing_t): New.
10283 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
10284 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
10285 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
10286 * elf/rtld.c (_dl_start_final): Likewise.
10287 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
10288 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10289 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10290 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10291 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10292 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10293 (HP_TIMING_DIFF_INIT): Remove.
10294 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10295 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
10296 (HP_TIMING_DIFF_INIT): Remove.
10297 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10298 * sysdeps/i386/i686/hp-timing.c: Remove file.
10299 * sysdeps/x86_64/hp-timing.c: Remove file.
10300 * sysdeps/ia64/hp-timing.c: Remove file.
10301 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
10302 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
10303 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
10304 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
10306 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
10307 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
10308 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
10309 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10310 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10311 (HP_TIMING_ACCUM): Remove.
10312 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10313 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
10314 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10316 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
10317 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
10318 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
10319 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
10320 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
10321 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
10322 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
10323 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
10325 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
10327 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
10329 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
10331 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10333 Sync up with gettext.
10334 * intl/loadmsgcat.c: Define O_BINARY if not defined.
10335 [_MSC_VER]: Include malloc.h
10336 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
10337 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
10338 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
10339 TEMP_FAILURE_RETRY. Cast return of alloca.
10340 [!_LIBC] Call gl_rwlock_init.
10341 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
10343 2014-07-02 Roland McGrath <roland@hack.frob.com>
10345 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
10346 before checking its value.
10348 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10350 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
10352 * debug/memcpy_chk.c: Don't include pagecopy.h.
10353 * debug/mempcpy_chk.c: Likewise.
10354 * string/memcpy.c: Likewise.
10355 * string/memmove.c: Likewise.
10356 * sysdeps/powerpc/memmove.c: Likewise.
10357 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
10358 definition of PAGE_COPY_FWD_MAYBE here...
10359 * sysdeps/generic/pagecopy.h: ... from here.
10360 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
10362 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10363 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10365 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
10366 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
10368 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10369 (__libc_ifunc_impl_list): Likewise.
10370 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
10371 multiarch strcat for PPC64.
10372 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
10373 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
10375 2014-07-02 Roland McGrath <roland@hack.frob.com>
10377 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
10379 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10381 * intl/loadmsgcat.c: Remove declaration of
10382 get_sysdep_segment_value.
10383 (get_sysdep_segment_value): Use ISO C style.
10384 (_nl_load_domain): Use ISO C style. Get rid of redundant
10385 semicolon. Fix typo and formatting in comment.
10386 (_nl_unload_domain): Use ISO C style.
10388 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
10390 2014-07-02 Will Newton <will.newton@linaro.org>
10392 * malloc/obstack.c: Merge from gnulib master.
10393 [HAVE_CONFIG_H]: Remove conditional code.
10394 [!_LIBC]: Include config.h.
10395 [!ELIDE_CODE]: Don't include inttypes.h, include
10396 stdint.h unconditionally.
10397 (print_and_abort): Mark as _Noreturn.
10398 (_obstack_allocated_p): Mark as __attribute_pure__.
10399 (obstack_free): Rename to __obstack_free.
10400 [!__attribute__]: Remove conditional code.
10401 * malloc/obstack.h: Merge from gnulib master.
10402 [__cplusplus]: Move conditional down.
10403 [!__attribute_pure__]: Define __attribute_pure__ here
10404 if it is not already defined.
10405 (_obstack_memory_used): Mark as __attribute_pure__.
10406 [!__obstack_free]: Define as obstack_free.
10407 [__GNUC__]: Remove check for ancient NeXT gcc.
10409 2014-07-02 Will Newton <will.newton@linaro.org>
10410 Paul Eggert <eggert@cs.ucla.edu>
10412 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
10414 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10416 * resolv/gethnamaddr.c: Add comment warning that the file is
10419 2014-07-01 Carlos O'Donell <carlos@redhat.com>
10421 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
10424 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
10425 entry for aio_cancel and aio_cancel64.
10426 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
10427 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
10428 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
10429 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
10430 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
10431 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
10432 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
10433 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
10434 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
10435 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
10436 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
10437 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
10438 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
10440 2014-07-01 Roland McGrath <roland@hack.frob.com>
10442 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
10443 * nptl/pthread_mutex_lock.c: Likewise.
10444 * nptl/pthread_mutex_timedlock.c: Likewise.
10445 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
10447 2014-07-01 Richard henderson <rth@redhat.com>
10449 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
10450 (__isnan, __isnanl): Remove.
10451 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
10453 * sysdeps/alpha/fpu/libm-test-ulps: Update.
10455 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
10457 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10459 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10461 * resolv/nss_dns/dns-host.c (getanswer_r)
10462 [MULTI_PTRS_ARE_ALIASES]: Remove code.
10464 2014-07-01 Joseph Myers <joseph@codesourcery.com>
10466 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10467 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
10469 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
10470 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
10472 2014-07-01 Roland McGrath <roland@hack.frob.com>
10474 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
10475 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
10477 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
10478 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
10480 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
10481 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
10483 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
10484 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
10486 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
10487 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
10488 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
10489 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
10491 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
10492 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
10493 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
10494 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
10495 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
10497 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
10499 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
10500 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
10501 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
10502 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
10503 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
10504 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
10505 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
10506 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
10507 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
10508 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
10509 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
10510 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
10511 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
10512 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
10513 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
10514 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
10515 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
10516 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
10517 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
10518 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
10520 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
10521 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
10522 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
10523 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
10524 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
10525 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
10526 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
10527 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
10529 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
10531 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
10532 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
10533 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
10536 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10540 2014-06-30 Joseph Myers <joseph@codesourcery.com>
10542 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10543 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10545 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10547 * sysdeps/arm/libm-test-ulps: Regenerated.
10549 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
10550 Roland McGrath <roland@hack.frob.com>
10552 * test-skeleton.c (signal_handler): Kill the whole process group
10553 before killing the child individually.
10554 (main): Report any failure on `setpgid'.
10556 2014-06-30 Roland McGrath <roland@hack.frob.com>
10558 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
10559 from _TLS_H to _ARM_NPTL_TLS_H.
10560 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
10561 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
10563 2014-06-30 Joseph Myers <joseph@codesourcery.com>
10566 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
10567 (__expm1l): Return argument unchanged when small but not
10570 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
10571 include macro name.
10572 (_FP_UNPACK_RAW_1_P): Likewise.
10573 (_FP_PACK_RAW_1): Likewise.
10574 (_FP_PACK_RAW_1_P): Likewise.
10575 (_FP_MUL_MEAT_1_wide): Likewise.
10576 (_FP_MUL_MEAT_DW_1_hard): Likewise.
10577 (_FP_MUL_MEAT_1_hard): Likewise.
10578 (_FP_DIV_MEAT_1_imm): Likewise.
10579 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
10580 (_FP_DIV_MEAT_1_udiv): Likewise.
10581 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
10582 (_FP_UNPACK_RAW_2): Likewise.
10583 (_FP_UNPACK_RAW_2_P): Likewise.
10584 (_FP_PACK_RAW_2): Likewise.
10585 (_FP_PACK_RAW_2_P): Likewise.
10586 (_FP_MUL_MEAT_DW_2_wide): Likewise.
10587 (_FP_MUL_MEAT_2_wide): Likewise.
10588 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
10589 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10590 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
10591 (_FP_MUL_MEAT_2_gmp): Likewise.
10592 (_FP_DIV_MEAT_2_udiv): Likewise.
10593 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
10594 (_FP_FRAC_SRL_4): Likewise.
10595 (_FP_FRAC_SRST_4): Likewise.
10596 (_FP_FRAC_SRS_4): Likewise.
10597 (_FP_UNPACK_RAW_4): Likewise.
10598 (_FP_UNPACK_RAW_4_P): Likewise.
10599 (_FP_PACK_RAW_4): Likewise.
10600 (_FP_PACK_RAW_4_P): Likewise.
10601 (_FP_MUL_MEAT_DW_4_wide): Likewise.
10602 (_FP_MUL_MEAT_4_wide): Likewise.
10603 (_FP_MUL_MEAT_4_gmp): Likewise.
10604 (umul_ppppmnnn): Likewise.
10605 (_FP_DIV_MEAT_4_udiv): Likewise.
10606 (__FP_FRAC_ADD_4): Likewise.
10607 (__FP_FRAC_SUB_3): Likewise.
10608 (__FP_FRAC_SUB_4): Likewise.
10609 (__FP_FRAC_DEC_3): Likewise.
10610 (__FP_FRAC_DEC_4): Likewise.
10611 (__FP_FRAC_ADDI_4): Likewise.
10612 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
10613 (_FP_FRAC_SRL_8): Likewise.
10614 (_FP_FRAC_SRS_8): Likewise.
10616 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
10617 include macro name.
10618 (FP_UNPACK_RAW_EP): Likewise.
10619 (FP_PACK_RAW_E): Likewise.
10620 (FP_PACK_RAW_EP): Likewise.
10621 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
10622 (_FP_ISSIGNAN): Likewise.
10623 (_FP_ADD_INTERNAL): Likewise.
10624 (_FP_FMA): Likewise.
10625 (_FP_CMP): Likewise.
10626 (_FP_SQRT): Likewise.
10627 (_FP_TO_INT): Likewise.
10628 (_FP_FROM_INT): Likewise.
10629 (FP_EXTEND): Likewise.
10630 (_FP_DIV_MEAT_N_loop): Likewise.
10632 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
10634 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
10637 2014-06-29 Joseph Myers <joseph@codesourcery.com>
10640 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
10641 result with correct sign in case of exponents that produce
10642 overflow except for X very close to 1.
10644 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
10646 mktime: merge #if/#ifdef usage from glibc
10647 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
10648 as that works with both Glibc's and Gnulib's style.
10649 See thread starting at Siddhesh Poyarekar's bug report at:
10650 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
10652 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10654 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
10655 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
10656 * sysdeps/tile/tilegx/memmove.c: Remove file.
10658 2014-06-27 Joseph Myers <joseph@codesourcery.com>
10660 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
10661 abi-name definition.
10662 * scripts/soversions.awk: Do not handle or generate ABI lines.
10663 * shlib-versions: Remove ABI entries.
10664 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
10665 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
10667 2014-06-27 Roland McGrath <roland@hack.frob.com>
10669 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
10670 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
10671 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
10672 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
10673 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
10674 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
10675 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
10677 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
10679 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
10680 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
10681 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
10682 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
10683 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
10684 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
10685 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
10686 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
10687 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
10688 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
10689 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
10690 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
10691 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
10693 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
10694 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
10695 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
10696 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
10697 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
10698 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
10700 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
10701 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
10703 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
10704 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
10705 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
10706 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
10708 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
10709 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
10710 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
10711 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
10712 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
10713 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
10714 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
10715 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
10717 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
10718 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
10719 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
10720 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
10722 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
10723 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
10725 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
10726 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
10727 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
10728 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
10730 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
10732 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
10733 Identical file removed.
10734 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
10736 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
10737 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
10738 Identical file removed.
10739 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
10740 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
10741 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
10743 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
10744 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
10745 Identical file removed.
10746 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
10747 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
10748 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
10749 Identical file removed.
10750 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
10751 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
10752 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
10753 Identical file removed.
10754 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
10755 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
10756 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
10757 Identical file removed.
10758 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
10760 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
10761 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
10762 Identical file removed.
10763 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
10765 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
10766 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
10767 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
10768 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
10769 Identical file removed.
10770 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
10772 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
10774 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
10775 Identical file removed.
10776 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
10778 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
10779 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
10780 Identical file removed.
10781 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
10783 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
10784 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
10785 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
10786 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
10787 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
10788 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
10790 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
10791 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
10792 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
10794 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
10795 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
10796 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
10797 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
10798 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
10800 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
10803 * nscd/nscd.c (monitor_child): Return exit status of child
10804 instead of return value from wait syscall.
10806 2014-06-27 Joseph Myers <joseph@codesourcery.com>
10808 * configure.ac (libc_commonpagesize): Remove variable.
10809 (libc_relro_required): Likewise.
10810 (libc_cv_z_relro): Remove configure test.
10811 * configure: Regenerated.
10812 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
10814 (libc_relro_required): Likewise.
10815 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
10816 (libc_relro_required): Likewise.
10817 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
10818 (libc_relro_required): Likewise.
10819 * sysdeps/arm/preconfigure: Regenerated.
10820 * sysdeps/ia64/preconfigure: Remove file.
10821 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
10823 (libc_relro_required): Likewise.
10827 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
10828 (__ieee754_yn): Set FE_TONEAREST mode internally and then
10829 recompute overflowing results in original rounding mode.
10830 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
10831 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
10832 recompute overflowing results in original rounding mode.
10833 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
10834 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10835 recompute overflowing results in original rounding mode.
10836 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
10837 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10838 recompute overflowing results in original rounding mode.
10839 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
10840 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10841 recompute overflowing results in original rounding mode.
10842 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
10843 (libc_feholdsetround_ctx): New macro.
10844 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
10845 * sysdeps/i386/fpu/libm-test-ulps: Update.
10846 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
10848 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10850 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
10851 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
10852 corresponding .cpsetup call.
10854 2014-06-26 Roland McGrath <roland@hack.frob.com>
10856 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10857 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10858 * sysdeps/arm/Makefile [$(subdir) = csu]
10859 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10860 (static-only-routines): Add aeabi_read_tp here.
10861 (shared-only-routines): Add libc-aeabi_read_tp here.
10862 (CFLAGS-libc-start.c): Add -fexceptions here.
10863 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10864 (sysdep_routines, static-only-routines, shared-only-routines):
10865 Don't add to these here.
10866 (CFLAGS-libc-start.c): Likewise.
10868 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10869 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10870 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10871 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10872 * sysdeps/arm/Makefile [$(subdir) = rt]
10873 (librt-sysdep_routines, librt-shared-only-routines):
10874 Append rt-aeabi_unwind_cpp_pr1 here.
10875 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10876 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10877 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10878 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10879 Append nptl-aeabi_unwind_cpp_pr1 here.
10880 (tests): Filter out tst-cleanupx4 here.
10881 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10882 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10883 Don't do those here.
10885 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10887 * scripts/list-sources.sh: Do not handle ports specially.
10889 2014-06-26 Roland McGrath <roland@hack.frob.com>
10891 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10892 * sysdeps/arm/feupdateenv.c: Likewise.
10894 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10896 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10898 * manual/texinfo.tex: Update to version 2014-05-05.10 with
10899 trailing whitespace removed.
10900 * scripts/config.guess: Update to version 2014-03-23.
10901 * scripts/config.sub: Update to version 2014-05-01
10902 * scripts/install-sh: Update to version 2013-12-25.23.
10903 * scripts/move-if-change: Update from gnulib.
10905 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10907 * debug/memmove_chk.c: Remove pagecopy.h include.
10909 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
10911 * time/mktime.c (leapyear): Remove inline keyword. The code is now
10912 identical to gnulib mktime.
10914 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10916 * configure.ac: Do not test for machine being rs6000. Do not test
10917 for powerpc*-*soft.
10918 * configure: Regenerated.
10921 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10923 * configure: Regenerated.
10924 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10925 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10926 Remove configure test.
10927 * sysdeps/arm/configure: Regenerated.
10928 * sysdeps/nptl/configure.ac: Do not check
10929 libc_cv_asm_cfi_directives.
10930 * sysdeps/nptl/configure: Regenerated.
10931 * sysdeps/x86_64/nptl/configure.ac: Remove file.
10932 * sysdeps/x86_64/nptl/configure: Remove generated file.
10933 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10935 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10937 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10939 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10940 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10941 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10944 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10945 instead of whether it is defined.
10946 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10947 * sysdeps/hppa/dl-machine.h: Likewise.
10948 * sysdeps/ia64/dl-machine.h: Likewise.
10949 * sysdeps/m68k/dl-machine.h: Likewise.
10950 * sysdeps/microblaze/dl-machine.h: Likewise.
10951 * sysdeps/mips/dl-machine.: Likewise.
10952 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10953 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10954 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10955 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10956 * sysdeps/sh/dl-machine.h: Likewise.
10957 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10958 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10959 * sysdeps/tile/dl-machine.h: Likewise.
10960 * sysdeps/x86_64/dl-machine.h: Likewise.
10962 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10964 (verify_persistent_db): Likewise.
10966 2014-06-26 Roland McGrath <roland@hack.frob.com>
10968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10969 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10971 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10974 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10977 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10979 Identical file removed.
10980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10981 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10983 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10985 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10987 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10989 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10992 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10994 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10996 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10999 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
11000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
11001 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
11002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
11003 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
11004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11005 Identical file removed.
11006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
11007 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
11008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
11009 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
11010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11012 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
11015 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
11016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
11017 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
11018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
11019 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
11020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
11021 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
11022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
11023 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
11024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11026 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
11027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
11029 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
11030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
11031 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
11032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11034 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
11035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
11036 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
11038 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
11040 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
11041 * sysdeps/unix/sysv/linux/s390/Versions
11042 (libpthread: GLIBC_2.19): New version set.
11043 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
11044 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
11045 (librt: GLIBC_2.3.3): New version set.
11046 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
11047 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
11048 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
11049 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
11050 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
11051 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
11052 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
11053 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
11054 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
11055 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
11056 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
11057 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
11058 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
11059 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
11060 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
11061 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
11062 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
11063 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
11064 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
11065 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
11066 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
11067 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
11068 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
11069 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
11070 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
11071 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
11072 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
11073 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
11074 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
11075 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
11076 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
11077 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
11078 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
11079 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
11080 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
11081 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
11082 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
11083 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
11084 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
11085 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
11086 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
11087 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
11088 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
11089 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
11090 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
11092 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
11093 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
11094 (__libc_vfork): Define the function under this name.
11095 [!NOT_IN_libc] (__vfork): Make this an alias.
11096 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
11097 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
11098 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
11099 (__libc_vfork): Define the function under this name.
11100 [!NOT_IN_libc] (__vfork): Make this an alias.
11101 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
11102 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
11103 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
11104 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
11105 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
11106 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11108 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
11109 code that was previously under [RESET_PID].
11110 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
11111 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
11112 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
11114 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
11115 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
11116 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
11117 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
11118 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
11119 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
11120 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
11121 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
11122 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
11123 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
11124 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
11126 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
11127 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
11128 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
11129 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
11130 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
11131 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
11132 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
11133 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
11134 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
11135 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
11136 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
11137 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
11138 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
11139 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
11140 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
11141 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
11142 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
11143 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
11144 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
11145 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
11146 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
11147 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
11148 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
11149 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
11150 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
11151 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
11152 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
11153 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
11154 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
11156 2014-06-25 Roland McGrath <roland@hack.frob.com>
11158 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
11159 that was previously under [RESET_PID].
11160 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
11162 2014-06-25 Joseph Myers <joseph@codesourcery.com>
11164 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
11165 not undefine and redefine.
11166 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
11167 [O_CLOEXEC]: Make code unconditional.
11168 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
11169 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
11170 <kernel-features.h>.
11171 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
11172 conditional variable definition.
11173 (shm_open) [O_CLOEXEC]: Make code unconditional.
11174 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
11177 * configure.ac (USE_REGPARMS): Don't define here.
11178 * configure: Regenerated.
11179 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
11180 * sysdeps/i386/configure: Regenerated.
11182 * nptl/createthread.c: Don't include kernel-features.h.
11183 * nptl/pthread_cancel.c: Likewise.
11184 * nptl/pthread_condattr_setclock.c: Likewise.
11185 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
11186 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
11187 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
11188 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
11189 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
11190 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
11191 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11192 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
11193 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11194 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
11195 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
11196 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
11197 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
11198 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
11199 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
11200 * nscd/gai.c: Likewise.
11201 * nss/nss_db/db-open.c: Likewise.
11202 * sysdeps/generic/ldsodefs.h: Likewise.
11203 * sysdeps/sh/nptl/tls.h: Likewise.
11204 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11205 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
11206 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
11207 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
11208 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
11209 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11210 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
11211 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11212 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11213 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
11214 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
11215 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11216 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
11217 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
11218 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
11219 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
11220 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
11221 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
11222 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
11223 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
11224 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
11225 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
11226 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
11227 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
11228 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
11229 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
11230 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
11231 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
11232 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11233 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
11234 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
11235 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
11236 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
11237 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11238 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11239 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11240 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11241 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
11242 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
11243 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11244 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11245 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
11246 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
11247 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11248 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
11249 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
11250 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
11251 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
11252 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
11253 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
11254 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11255 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
11256 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11257 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11258 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
11259 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
11260 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11261 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
11262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
11264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
11265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
11266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
11267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
11268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
11269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
11270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
11273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
11274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
11275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
11276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
11282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
11283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
11284 * sysdeps/unix/sysv/linux/pread.c: Likewise.
11285 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
11286 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
11287 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
11288 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
11289 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
11290 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
11291 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
11292 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
11293 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11294 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
11295 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11296 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
11297 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
11298 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
11299 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
11300 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11301 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
11302 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
11303 * sysdeps/unix/sysv/linux/system.c: Likewise.
11304 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
11305 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
11306 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11307 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11308 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11309 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11310 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11312 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
11313 * configure: Regenerated.
11314 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
11316 * configure.ac (base_machine): Do not set specially for particular
11318 * configure: Regenerated.
11319 * sysdeps/powerpc/preconfigure: Move machine and base_machine
11320 settings from configure.ac.
11321 * sysdeps/i386/preconfigure: New file.
11322 * sysdeps/s390/preconfigure: Likewise.
11323 * sysdeps/sh/preconfigure: Likewise.
11324 * sysdeps/sparc/preconfigure: Likewise.
11326 2014-06-25 Roland McGrath <roland@hack.frob.com>
11328 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
11329 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
11330 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
11331 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
11332 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
11333 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
11334 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
11335 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
11336 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
11337 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
11338 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
11339 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
11340 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
11341 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
11342 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
11343 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
11344 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
11345 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
11346 * sysdeps/sparc/sparc64/Makefile: ... appended here.
11348 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
11349 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
11350 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
11351 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
11352 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
11353 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
11354 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
11355 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
11356 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
11357 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
11358 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
11359 * sysdeps/sparc/sparc32/sem_post.c: ... here.
11360 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
11361 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
11362 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
11363 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
11364 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
11365 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
11366 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
11367 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
11368 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
11369 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
11370 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
11371 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
11372 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
11373 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
11374 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
11375 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
11376 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
11377 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
11378 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
11379 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
11380 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
11381 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
11382 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
11383 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
11384 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
11385 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
11387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
11388 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
11389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
11390 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
11391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11393 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
11396 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
11397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
11398 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
11399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
11401 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
11402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
11403 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
11404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
11405 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
11406 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
11407 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
11408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11410 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
11411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11413 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
11414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
11415 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
11416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11418 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
11419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
11420 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
11421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
11422 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
11423 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
11424 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
11425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
11426 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
11427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11429 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
11432 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
11433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
11434 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
11435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
11437 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
11438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
11439 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
11440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
11441 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
11442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
11443 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
11444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11446 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
11447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11449 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
11450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
11451 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
11452 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11454 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
11455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
11456 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
11457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
11458 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
11460 2014-06-25 Joseph Myers <joseph@codesourcery.com>
11462 * timezone/checktab.awk: Update from tzcode 2014e.
11463 * timezone/private.h: Likewise.
11464 * timezone/tzfile.h: Likewise.
11465 * timezone/zdump.c: Likewise.
11466 * timezone/zic.c: Likewise.
11468 * sysdeps/unix/sysv/linux/kernel-features.h
11469 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
11470 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
11471 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
11472 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11473 Remove conditional code.
11475 2014-06-25 Will Newton <will.newton@linaro.org>
11477 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
11478 (_dl_arm_cap_flags): Add HWCAP2 values.
11479 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
11480 (_DL_HWCAP_COUNT): Increase to 37.
11481 (_DL_HWCAP_LAST): New define.
11482 (_DL_HWCAP2_LAST): New define.
11483 (_dl_procinfo): Add support for printing
11485 (_dl_string_hwcap): Use _dl_hwcap_string.
11487 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11491 2014-06-25 Joseph Myers <joseph@codesourcery.com>
11493 * README: Do not mention ports directory.
11495 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
11497 * sysdeps/unix/sysv/linux/futimes.c: Do not include
11498 <kernel-features.h>.
11499 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
11500 conditional variable definition.
11501 (__futimes): Update comment.
11502 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
11503 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
11506 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
11507 arguments close to 0.
11508 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
11510 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
11512 * math/auto-libm-test-in: Add more tests of exp10.
11513 * math/auto-libm-test-out: Regenerated.
11514 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11516 * sysdeps/unix/sysv/linux/kernel-features.h
11517 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
11518 * sysdeps/unix/sysv/linux/readv.c: Do not include
11519 <kernel-features.h>.
11520 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11521 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11522 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11524 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11526 * sysdeps/unix/sysv/linux/writev.c: Do not include
11527 <kernel-features.h>.
11528 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11529 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11530 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11532 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11535 2014-06-25 Will Newton <will.newton@linaro.org>
11537 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
11538 comment changes throughout the file. Remove checks
11539 for HAVE_*_H definitions that are not required.
11540 (__gen_tempname): Call abort if an unknown kind value is
11543 2014-06-25 Andreas Schwab <schwab@suse.de>
11546 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
11547 scalbln, scalblnf, scalblnl in libc.
11549 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11552 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
11553 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11554 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11556 2014-06-24 Roland McGrath <roland@hack.frob.com>
11558 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
11559 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
11560 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
11561 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
11563 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
11564 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
11566 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
11567 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
11568 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
11569 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
11570 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
11571 * sysdeps/x86/bits/pthreadtypes.h: ... here.
11572 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
11573 * sysdeps/x86/bits/semaphore.h: ... here.
11574 * sysdeps/x86/nptl/elide.h: Moved ...
11575 * sysdeps/x86/elide.h: ... here.
11576 * sysdeps/x86_64/nptl/Implies: File removed.
11577 * sysdeps/i386/nptl/Implies: File removed.
11579 2014-06-24 Joseph Myers <joseph@codesourcery.com>
11582 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
11583 return the argument for normal arguments with exponent below -64.
11584 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11586 * math/auto-libm-test-in: Add another test of expm1.
11587 * math/auto-libm-test-out: Regenerated.
11590 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
11591 calling __erfcl for arguments at least 16.
11592 * math/auto-libm-test-in: Add more tests of erf.
11593 * math/auto-libm-test-out: Regenerated.
11595 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
11596 individual architectures.
11597 * sysdeps/unix/sysv/linux/configure: Regenerated.
11598 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
11599 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
11600 * sysdeps/unix/sysv/linux/powerpc/configure.ac
11601 (ldd_rewrite_script): Define variable.
11602 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
11605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
11607 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
11608 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
11609 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
11610 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
11611 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
11612 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
11613 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
11614 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
11616 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11619 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
11620 Rename member __data.d to __data.__elision_data.
11622 2014-06-24 Wilco <wdijkstr@arm.com>
11624 * NEWS: Add 16918 to fixed bug list.
11626 2014-06-24 Wilco <wdijkstr@arm.com>
11628 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
11630 2014-06-24 Wilco <wdijkstr@arm.com>
11632 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
11633 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
11634 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
11635 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
11636 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
11637 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
11638 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
11641 2014-06-24 Wilco <wdijkstr@arm.com>
11643 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
11645 2014-06-24 Wilco <wdijkstr@arm.com>
11647 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
11648 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
11649 * sysdeps/arm/fesetround.c (fesetround): Remove space.
11650 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
11652 2014-06-24 Wilco <wdijkstr@arm.com>
11655 * sysdeps/arm/feupdateenv.c (feupdateenv):
11656 Rewrite to reduce FPSCR accesses and fix return value.
11658 2014-06-24 Wilco <wdijkstr@arm.com>
11660 * sysdeps/arm/fclrexcpt.c (feclearexcept):
11661 Optimize to avoid unnecessary FPSCR writes.
11662 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
11663 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
11664 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
11665 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
11667 2014-06-24 Wilco <wdijkstr@arm.com>
11669 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
11670 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
11671 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
11672 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
11673 Call libc_fetestexcept_vfp.
11674 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
11675 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
11676 __SOFTFP__ ifdef so that they can be built for softfp.
11678 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11680 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
11681 argument type signed char.
11683 * Makerules (check-abi): Dump diff of symlist if the test
11686 2014-06-23 Roland McGrath <roland@hack.frob.com>
11688 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
11691 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11692 Remove unused variable ST.
11694 2014-06-23 Joseph Myers <joseph@codesourcery.com>
11698 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
11699 small arguments before calling __expm1.
11700 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
11701 small arguments before calling __expm1f.
11702 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
11703 small arguments before calling __expm1l.
11704 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11706 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
11707 * math/auto-libm-test-in: Add more cosh tests. Do not allow
11708 spurious underflow for some cosh tests.
11709 * math/auto-libm-test-out: Regenerated.
11710 * sysdeps/i386/fpu/libm-test-ulps: Update.
11713 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
11714 (__ieee754_y1): Set errno if return value overflows.
11715 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
11716 (__ieee754_y1f): Set errno if return value overflows.
11717 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
11718 (__ieee754_y1l): Set errno if return value overflows.
11719 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
11720 (__ieee754_y1l): Set errno if return value overflows.
11721 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
11722 * math/auto-libm-test-out: Regenerated.
11724 * math/gen-auto-libm-tests.c: Document use of
11725 ignore-zero-inf-sign.
11726 (input_flag_type): Add value flag_ignore_zero_inf_sign.
11727 (input_flags): Add ignore-zero-inf-sign.
11728 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
11729 * math/gen-libm-test.pl (generate_testfile): Handle
11730 ignore-zero-inf-sign.
11731 * math/auto-libm-test-in: Mark some cpow tests with
11732 ignore-zero-inf-sign and some with xfail-rounding.
11733 * math/auto-libm-test-out: Regenerated.
11734 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
11735 * sysdeps/i386/fpu/libm-test-ulps: Update.
11736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11739 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
11740 overflowing or underflowing operations take place with sign of
11742 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11743 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11744 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
11745 (__ieee754_pow): Recompute overflowing and underflowing results in
11746 original rounding mode.
11747 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
11748 (__powl_helper): Allow negative argument X and scale negated value
11749 as needed. Avoid passing value outside [-1, 1] to f2xm1.
11750 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
11751 overflowing or underflowing operations take place with sign of
11753 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
11755 * math/auto-libm-test-in: Add more tests of pow.
11756 * math/auto-libm-test-out: Regenerated.
11757 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
11758 (pow_tonearest_test_data): Remove.
11759 (pow_test_tonearest): Likewise.
11760 (pow_towardzero_test_data): Likewise.
11761 (pow_test_towardzero): Likewise.
11762 (pow_downward_test_data): Likewise.
11763 (pow_test_downward): Likewise.
11764 (pow_upward_test_data): Likewise.
11765 (pow_test_upward): Likewise.
11766 (main): Don't call removed functions.
11767 * sysdeps/i386/fpu/libm-test-ulps: Update.
11768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11770 2014-06-23 Roland McGrath <roland@hack.frob.com>
11772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
11774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
11775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
11778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
11781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
11784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
11790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
11792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
11794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
11796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
11798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
11802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
11806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
11808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
11810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
11811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
11813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
11817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
11818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
11820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
11821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
11823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
11824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
11826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
11827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
11829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
11830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
11832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
11833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
11835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
11836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
11837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
11841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
11842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
11848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11946 2014-06-23 Will Newton <will.newton@linaro.org>
11947 Wilco <wdijkstr@arm.com>
11949 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11950 implementation. Include get-rounding-mode.h.
11951 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11952 [!libc_feholdsetround_noex_ctx]: Define
11953 libc_feholdsetround_noex_ctx.
11954 [!libc_feholdsetround_noexf_ctx]: Define
11955 libc_feholdsetround_noexf_ctx.
11956 [!libc_feholdsetround_noexl_ctx]: Define
11957 libc_feholdsetround_noexl_ctx.
11958 (libc_feholdsetround_ctx): New function.
11959 (libc_feresetround_ctx): New function.
11960 (libc_feholdsetround_noex_ctx): New function.
11961 (libc_feresetround_noex_ctx): New function.
11963 2014-06-23 Roland McGrath <roland@hack.frob.com>
11965 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11966 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11967 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11968 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11969 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11970 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11972 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11973 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11974 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11975 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11976 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11977 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11978 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11979 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11980 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11981 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11982 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11984 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11986 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11987 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11988 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11989 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11990 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11992 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11993 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11994 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11995 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11996 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11997 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11998 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11999 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
12001 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
12002 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
12004 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
12005 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
12006 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
12007 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
12009 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
12010 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
12011 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
12012 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
12013 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
12014 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
12015 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
12016 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
12017 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
12018 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
12020 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12022 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
12023 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
12024 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
12025 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
12026 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
12027 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
12028 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
12029 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
12030 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
12031 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
12032 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
12033 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
12034 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
12036 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
12037 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
12038 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
12039 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
12040 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
12041 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
12043 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
12044 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
12045 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
12046 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
12047 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
12049 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
12050 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
12051 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
12052 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
12053 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
12054 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
12055 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
12056 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
12057 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
12058 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
12059 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
12060 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
12061 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
12062 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
12063 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
12064 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
12065 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
12066 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
12067 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
12068 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
12069 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
12070 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
12071 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
12072 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
12073 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
12074 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
12075 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
12076 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
12078 2014-06-23 Joseph Myers <joseph@codesourcery.com>
12080 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
12081 (FALLOC_FL_COLLAPSE_RANGE): New macro.
12082 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
12083 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
12084 (IPV6_PMTUDISC_INTERFACE): Likewise.
12085 (IPV6_PMTUDISC_OMIT): Likewise.
12087 2014-06-23 Andreas Schwab <schwab@suse.de>
12089 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
12090 Remove unused errout label.
12092 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12094 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
12095 macro: hardware supports Vector Crypto instructions.
12097 2014-06-23 Will Newton <will.newton@linaro.org>
12099 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
12100 rather than __builtin_expect.
12102 * elf/dl-lookup.c (undefined_msg): Remove variable.
12103 (_dl_lookup_symbol_x): Replace undefined_msg with string
12106 * elf/dl-lookup.c (do_lookup_unique): New function.
12107 (do_lookup_x): Move STB_GNU_UNIQUE handling code
12108 to a separate function.
12110 2014-06-23 Andreas Schwab <schwab@suse.de>
12113 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
12114 before reading the next line.
12116 2014-06-23 Will Newton <will.newton@linaro.org>
12118 * test-skeleton.c (signal_handler): Use printf and %m
12119 rather than perror. Use printf rather than fprintf to
12120 stderr. Use puts rather than fputs to stderr.
12123 2014-06-22 Ludovic Courtès <ludo@gnu.org>
12125 * nscd/nscd.c (thread_info_t): Remove typedef.
12126 (thread_info): Remove variable.
12128 2014-06-21 Allan McRae <allan@archlinux.org>
12130 * NEWS: Mention CVE-2014-4043.
12132 2014-06-20 Roland McGrath <roland@hack.frob.com>
12134 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
12135 * nptl/smp.h: ... here.
12137 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
12139 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
12140 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
12141 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
12142 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
12144 * nptl/allocatestack.c: Include <stack-aliasing.h>.
12145 * nptl/stack-aliasing.h: New file.
12146 * sysdeps/i386/i686/stack-aliasing.h: New file.
12147 * sysdeps/i386/i686/nptl/Makefile: File removed.
12148 * sysdeps/x86_64/stack-aliasing.h: New file.
12149 * sysdeps/x86_64/nptl/Makefile
12150 (CFLAGS-pthread_create.c): Variable removed.
12152 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
12153 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
12155 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
12156 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
12159 2014-06-21 Joseph Myers <joseph@codesourcery.com>
12161 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12162 (__ASSUME_SIGFRAME_V2): Remove macro.
12163 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
12164 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
12165 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
12166 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
12167 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
12168 Declare as function. Remove conditional macro definitions.
12169 (__default_rt_sa_restorer): Likewise.
12170 (__default_sa_restorer_v1): Remove declaration.
12171 (__default_sa_restorer_v2): Likewise.
12172 (__default_rt_sa_restorer_v1): Likewise.
12173 (__default_rt_sa_restorer_v2): Likewise.
12174 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
12175 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
12176 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
12178 2014-06-20 Roland McGrath <roland@hack.frob.com>
12180 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
12181 (libpthread-routines): Add sysdep.
12182 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
12183 * sysdeps/unix/sysv/linux/sparc/Versions
12184 (libpthread: GLIBC_2.3.3): New version set.
12185 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
12186 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
12187 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
12188 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
12189 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
12190 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
12192 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
12193 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
12194 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
12195 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
12196 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
12197 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
12198 * sysdeps/sparc/nptl/sem_init.c: ... here.
12199 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
12200 * sysdeps/sparc/nptl/sem_post.c: ... here.
12201 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
12202 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
12203 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
12204 * sysdeps/sparc/nptl/sem_wait.c: ... here.
12205 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
12206 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
12207 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
12208 (libpthread-routines): Add cpu_relax.
12209 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
12211 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
12212 (librt: GLIBC_2.3.3): New version set.
12213 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
12214 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
12215 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
12216 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
12217 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
12218 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
12219 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
12220 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
12222 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
12223 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
12224 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
12225 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
12226 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
12227 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
12228 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
12229 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
12230 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
12231 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
12233 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
12235 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
12237 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
12239 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
12241 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
12243 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
12245 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
12247 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
12249 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
12251 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
12253 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
12255 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
12256 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
12257 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
12258 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
12259 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
12260 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
12261 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
12262 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
12263 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
12264 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
12265 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12267 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
12268 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
12269 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
12270 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
12271 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
12273 2014-06-20 Joseph Myers <joseph@codesourcery.com>
12275 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
12276 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
12277 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12278 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
12279 * nscd/nscd.c: Likewise.
12280 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
12281 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
12282 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
12283 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
12285 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
12286 <kernel-features.h>.
12287 (init_mq_netlink): Remove conditional have_sock_cloexec
12288 definitions. Remove code conditional on have_sock_cloexec < 0.
12289 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
12290 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
12291 * sysdeps/unix/sysv/linux/opensock.c: Do not include
12292 <kernel-features.h>.
12293 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
12294 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
12296 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
12298 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12299 Add tests for memset_chk and memset.
12301 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
12304 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
12307 * elf/tst-dl-iter-static.c: New file.
12308 * elf/Makefile (tests-static): Add tst-dl-iter-static.
12310 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
12313 2014-06-20 Joseph Myers <joseph@codesourcery.com>
12315 * sysdeps/unix/sysv/linux/kernel-features.h
12316 (__ASSUME_F_GETOWN_EX): Remove macro.
12317 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
12318 <kernel-features.h>.
12319 (miss_F_GETOWN_EX): Remove variable or macro.
12320 (do_fcntl): Do not check miss_F_GETOWN_EX.
12321 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
12323 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
12325 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
12326 [!__ASSUME_AT_RANDOM]: Remove conditional code.
12327 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
12329 * sysdeps/unix/sysv/linux/kernel-features.h
12330 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
12331 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
12332 [ADJ_OFFSET_SS_READ]: Make code unconditional.
12333 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
12335 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
12338 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
12339 Fix calculation of the symbol's value.
12340 * sysdeps/arm/tst-armtlsdescloc.c: New file.
12341 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
12342 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
12343 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
12344 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
12345 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
12346 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
12347 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
12348 (modules-names): Add `tst-armtlsdescmod',
12349 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
12350 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
12351 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
12352 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
12353 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
12354 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
12355 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
12356 ($(objpfx)tst-armtlsdescloc): New dependency.
12357 ($(objpfx)tst-armtlsdescextnow): Likewise.
12358 ($(objpfx)tst-armtlsdescextlazy): Likewise.
12359 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
12360 TLS scheme support.
12361 * sysdeps/arm/configure: Regenerate.
12363 2014-06-20 Joseph Myers <joseph@codesourcery.com>
12365 * include/fcntl.h (__atfct_seterrno): Remove prototype.
12366 (__atfct_seterrno_2): Likewise.
12367 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
12368 <kernel-features.h>.
12369 (__ASSUME_ATFCTS): Do not undefine and redefine.
12370 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
12371 (__have_atfcts): Remove conditional definition.
12372 (__fxstatat([__NR_fstatat64]: Make code unconditional.
12373 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
12374 unreachable if [__ASSUME_ATFCTS].
12375 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
12376 not undefine and redefine.
12377 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
12378 <kernel-features.h>.
12379 (faccessat) [__NR_faccessat]: Make code unconditional.
12380 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
12381 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
12382 <kernel-features.h>.
12383 (fchmodat) [__NR_fchmodat]: Make code unconditional.
12384 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
12385 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
12386 <kernel-features.h>.
12387 (fchownat) [__NR_fchownat]: Make code unconditional.
12388 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
12389 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
12390 <kernel-features.h>.
12391 (futimesat) [__NR_futimesat]: Make code unconditional.
12392 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
12393 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12394 <kernel-features.h>.
12395 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
12396 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12397 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12398 <kernel-features.h>.
12399 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
12400 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
12401 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
12402 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12403 <kernel-features.h>.
12404 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
12405 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12406 * sysdeps/unix/sysv/linux/linkat.c: Do not include
12407 <kernel-features.h>.
12408 (linkat) [__NR_linkat]: Make code unconditional.
12409 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12410 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
12411 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
12412 <kernel-features.h>.
12413 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
12414 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
12415 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
12416 <kernel-features.h>.
12417 (mkdirat) [__NR_mkdirat]: Make code unconditional.
12418 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
12419 * sysdeps/unix/sysv/linux/openat.c: Do not include
12420 <kernel-features.h>.
12421 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
12422 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
12423 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
12424 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
12425 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
12426 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
12427 <kernel-features.h>.
12428 (readlinkat) [__NR_readlinkat]: Make code unconditional.
12429 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
12430 result of INLINE_SYSCALL directly, not via int variable.
12431 * sysdeps/unix/sysv/linux/renameat.c: Do not include
12432 <kernel-features.h>.
12433 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
12434 (renameat) [__NR_renameat]: Make code unconditional.
12435 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
12436 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
12437 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
12438 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
12439 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
12440 (__ASSUME_ATFCTS): Do not undefine and redefine.
12441 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
12442 <kernel-features.h>.
12443 (symlinkat) [__NR_symlinkat]: Make code unconditional.
12444 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12445 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
12446 <kernel-features.h>.
12447 (unlinkat) [__NR_unlinkat]: Make code unconditional.
12448 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12449 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
12450 (__ASSUME_ATFCTS): Do not undefine and redefine.
12451 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12452 <kernel-features.h>.
12453 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
12454 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12455 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12456 <kernel-features.h>.
12457 (__xmknodat) [__NR_mknodat]: Make code unconditional.
12458 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
12460 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
12462 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
12464 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
12467 * posix/regcomp.c (parse_reg_exp): Deallocate partially
12468 constructed tree before returning error.
12469 * posix/bug-regexp36.c: Expand test case.
12471 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12474 * math/libm-test.inc (scalbln_test_date):
12475 Add errno expectations.
12476 * math/w_scalblnf.c: New File.
12477 Add wrapper which checks for setting errno to ERANGE.
12478 Add weak_alias for corresponding scalbln function.
12479 * math/w_scalbln.c: Likewise.
12480 * math/w_scalblnl.c: Likewise.
12481 * math/Makefile (libm-calls): Add w_scalbln.
12482 * sysdeps/ieee754/flt-32/s_scalblnf.c:
12483 Remove weak_alias for corresponding scalbln function.
12484 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12485 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12486 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12487 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12488 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
12489 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12490 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
12491 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12492 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
12493 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
12494 Remove long_double_symbol for scalblnl function in libm, libc.
12495 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
12496 Add wrapper which checks for setting errno to ERANGE.
12497 Add long_double_symbol for scalblnl function in libm, libc.
12498 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
12499 Remove long_double_symbol for scalblnl in libm.
12500 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
12501 Add wrapper which checks for setting errno to ERANGE.
12502 Add long_double_symbol for scalblnl function in libm.
12503 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
12504 Do not use wrapper because of own implementation.
12506 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
12508 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
12509 3 bytes for __pad1 for x32.
12510 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
12512 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
12513 H.J. Lu <hongjiu.lu@intel.com>
12515 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
12516 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
12517 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12518 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12519 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
12521 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
12524 * posix/regcomp.c (parse_expression): Deallocate partially
12525 constructed tree before returning error.
12526 * posix/Makefile.c (tests): Add bug-regex36.
12527 (generated): Add bug-regex36.mtrace.
12528 (tests-special): Add $(objpfx)bug-regex36-mem.out
12529 (bug-regex36-ENV): New variable.
12530 ($(objpfx)bug-regex36-mem.out): New rule.
12531 * posix/bug-regex36.c: New file.
12533 2014-06-19 Will Newton <will.newton@linaro.org>
12535 * malloc/malloc.c (systrim): If extra is zero then return
12538 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12540 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
12542 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
12544 * sysdeps/aarch64/strchr.S: New file.
12546 2014-06-18 Joseph Myers <joseph@codesourcery.com>
12549 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
12550 from arguments -2 or below.
12551 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12552 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
12554 2014-06-18 Andreas Schwab <schwab@suse.de>
12557 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
12558 of a bracket expr not to run off the end of the string.
12559 * posix/Makefile (tests): Add tst-fnmatch3.
12560 * posix/tst-fnmatch3.c: New file.
12562 2014-06-18 Joseph Myers <joseph@codesourcery.com>
12564 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
12565 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12566 [$(cross-compiling) = no]: Likewise.
12567 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12568 [$(cross-compiling) = no]: Likewise.
12570 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12573 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
12574 double, adjusted for any remainder from the high double.
12575 * math/libm-test.inc (nearbyint): Add tests.
12578 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12580 * nptl/sysdeps/powerpc/Makefile: Moved ...
12581 * sysdeps/powerpc/nptl/Makefile: ... here.
12582 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
12583 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
12584 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
12585 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
12586 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
12587 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
12588 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
12589 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
12590 * nptl/sysdeps/powerpc/tls.h: Moved ...
12591 * sysdeps/powerpc/nptl/tls.h: ... here.
12593 2014-06-16 Joseph Myers <joseph@codesourcery.com>
12596 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
12597 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
12598 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
12599 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
12600 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12601 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
12602 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
12603 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12604 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
12606 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
12608 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12610 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
12612 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
12615 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
12618 2014-06-16 Florian Weimer <fweimer@redhat.com>
12621 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
12622 non-executed part of the test.
12624 2014-06-16 Andreas Schwab <schwab@suse.de>
12626 * string/bits/string2.h (strdup, strndup): Update feature guard.
12628 2014-06-14 David S. Miller <davem@davemloft.net>
12630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12632 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
12634 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
12635 that was previously under [RESET_PID].
12636 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
12638 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
12639 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
12640 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
12641 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12642 (__libc_vfork): New strong alias.
12643 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
12645 2014-06-14 Andi Kleen <ak@linux.intel.com>
12647 * sysdeps/generic/elide.h: New file.
12649 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12651 * Makefile (installed-headers): Adjust path of pthread.h header.
12653 2014-06-13 Roland McGrath <roland@hack.frob.com>
12655 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
12656 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
12657 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
12658 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
12660 * nptl/sysdeps/s390/Makefile: Moved ...
12661 * sysdeps/s390/nptl/Makefile: ... here.
12662 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
12663 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
12664 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
12665 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
12666 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
12667 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
12668 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
12669 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
12670 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
12671 * sysdeps/s390/nptl/pthreaddef.h: ... here.
12672 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
12673 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
12674 * nptl/sysdeps/s390/tls.h: Moved ...
12675 * sysdeps/s390/nptl/tls.h: ... here.
12677 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
12678 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
12680 2014-06-13 David S. Miller <davem@davemloft.net>
12682 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
12683 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
12684 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
12685 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
12686 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
12687 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
12688 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
12689 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
12690 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
12691 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
12692 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
12693 Remove RESET_PID cpp guards.
12694 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
12695 Remove RESET_PID cpp guards.
12696 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
12698 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
12700 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
12703 2014-06-13 Andi Kleen <ak@linux.intel.com>
12705 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
12706 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
12707 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
12708 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
12709 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
12710 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
12711 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
12712 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
12713 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
12714 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
12715 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
12716 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
12717 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
12718 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
12719 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
12720 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
12721 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
12722 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
12723 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
12724 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
12726 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
12727 (pthread_rwlock_rdlock): Add elision.
12728 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
12729 (pthread_rwlock_wrlock): Add elision.
12730 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
12731 (pthread_rwlock_trywrlock): Add elision.
12732 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
12733 (pthread_rwlock_tryrdlock): Add elision.
12734 * nptl/pthread_rwlock_unlock.c: Include elide.h.
12735 (pthread_rwlock_tryrdlock): Add elision unlock.
12736 * nptl/sysdeps/pthread/pthread.h:
12737 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
12738 (PTHREAD_RWLOCK_INITIALIZER,
12739 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
12740 Handle new elision field.
12741 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
12742 * sysdeps/arm/nptl/bits/pthreadtypes.h
12743 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12744 * sysdeps/sh/nptl/bits/pthreadtypes.h
12745 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12746 * sysdeps/tile/nptl/bits/pthreadtypes.h
12747 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12748 * sysdeps/a/nptl/bits/pthreadtypes.h
12749 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12750 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12751 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12752 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12753 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12754 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
12755 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12756 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12757 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12758 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12759 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12760 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12761 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12762 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12763 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12764 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
12765 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12766 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
12767 (elision_init): Set try_xbegin to zero when no RTM.
12768 * sysdeps/x86/nptl/bits/pthreadtypes.h
12769 (pthread_rwlock_t): Change __pad1 to __rwelision.
12770 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12772 2014-06-13 Andi Kleen <ak@linux.intel.com>
12774 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
12775 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
12776 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
12777 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
12779 2014-06-13 Meador Inge <meadori@codesourcery.com>
12782 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
12783 that the cached result has been set before returning it.
12785 2014-06-12 Roland McGrath <roland@hack.frob.com>
12787 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
12788 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
12789 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
12790 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
12791 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
12792 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
12794 * nptl/sysdeps/sparc/Makefile: Moved ...
12795 * sysdeps/sparc/nptl/Makefile: ... here.
12796 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
12797 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
12798 * nptl/sysdeps/sparc/tls.h: Moved ...
12799 * sysdeps/sparc/nptl/tls.h: ... here.
12800 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
12801 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
12802 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
12803 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
12804 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
12805 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
12806 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
12807 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
12808 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
12809 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
12810 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
12811 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
12812 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
12813 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
12814 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
12815 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
12816 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
12817 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
12819 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
12820 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
12822 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
12823 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
12825 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
12826 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
12829 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12831 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
12832 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
12834 * sysdeps/pthread/posix-timer.h: Include <list.h>.
12835 (struct list_links): Type removed.
12836 (struct thread_node, struct timer_node): Replace struct list_links
12837 with struct list_head.
12838 (list_unlink_ip): Likewise.
12839 * sysdeps/pthread/timer_routines.c
12840 (timer_free_list, thread_free_list, thread_active_list): Likewise.
12841 (list_append, list_insbefore): Likewise.
12842 (list_init): Function removed.
12843 (thread_init, init_module): Use INIT_LIST_HEAD instead.
12844 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
12845 * sysdeps/pthread/Makefile: ... here, new file.
12847 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
12848 * sysdeps/nptl/Implies: ... here.
12849 * sysdeps/unix/sysv/linux/Implies: Add nptl.
12850 * nptl/sysdeps/pthread/list.h: Moved ...
12851 * include/list.h: ... here.
12852 * nptl/sysdeps/pthread/createthread.c: Moved ...
12853 * nptl/createthread.c: ... here.
12854 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
12855 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
12856 * nptl/pt-longjmp.c: ... here.
12857 * nptl/sysdeps/pthread/Makefile: Moved ...
12858 * sysdeps/nptl/Makefile: ... here.
12859 * nptl/sysdeps/pthread/Subdirs: Moved ...
12860 * sysdeps/nptl/Subdirs: ... here.
12861 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12862 * sysdeps/nptl/aio_misc.h: ... here.
12863 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12864 * sysdeps/nptl/bits/libc-lock.h: ... here.
12865 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12866 * sysdeps/nptl/bits/libc-lockP.h: ... here.
12867 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12868 * sysdeps/nptl/bits/stdio-lock.h: ... here.
12869 * nptl/sysdeps/pthread/configure: Moved ...
12870 * sysdeps/nptl/configure: ... here.
12871 * nptl/sysdeps/pthread/configure.ac: Moved ...
12872 * sysdeps/nptl/configure.ac: ... here.
12873 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12874 * sysdeps/nptl/gai_misc.h: ... here.
12875 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12876 * sysdeps/nptl/librt-cancellation.c: ... here.
12877 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12878 * sysdeps/nptl/malloc-machine.h: ... here.
12879 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12880 * sysdeps/nptl/pthread-functions.h: ... here.
12881 * nptl/sysdeps/pthread/pthread.h: Moved ...
12882 * sysdeps/nptl/pthread.h: ... here.
12883 * nptl/sysdeps/pthread/setxid.h: Moved ...
12884 * sysdeps/nptl/setxid.h: ... here.
12885 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12886 * sysdeps/nptl/sigfillset.c: ... here.
12887 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12888 * sysdeps/nptl/tcb-offsets.h: ... here.
12889 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12890 * sysdeps/nptl/tst-mqueue8x.c: ... here.
12891 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12892 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12893 * nptl/sysdeps/pthread/allocalim.h: Moved ...
12894 * sysdeps/pthread/allocalim.h: ... here.
12895 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12896 * sysdeps/pthread/bits/sigthread.h: ... here.
12897 * nptl/sysdeps/pthread/flockfile.c: Moved ...
12898 * sysdeps/pthread/flockfile.c: ... here.
12899 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12900 * sysdeps/pthread/ftrylockfile.c: ... here.
12901 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12902 * sysdeps/pthread/funlockfile.c: ... here.
12903 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12904 * sysdeps/pthread/posix-timer.h: ... here.
12905 * nptl/sysdeps/pthread/timer_create.c: Moved ...
12906 * sysdeps/pthread/timer_create.c: ... here.
12907 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12908 * sysdeps/pthread/timer_delete.c: ... here.
12909 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12910 * sysdeps/pthread/timer_getoverr.c: ... here.
12911 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12912 * sysdeps/pthread/timer_gettime.c: ... here.
12913 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12914 * sysdeps/pthread/timer_routines.c: ... here.
12915 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12916 * sysdeps/pthread/timer_settime.c: ... here.
12917 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12918 * sysdeps/pthread/tst-timer.c: ... here.
12919 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12920 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12922 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12923 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12925 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12926 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12927 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12928 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12929 Update #include target.
12930 * nptl/sysdeps/i386/i686/Makefile: Moved ...
12931 * sysdeps/i386/i686/nptl/Makefile: ... here.
12932 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12933 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12934 Update #include target.
12935 * nptl/sysdeps/i386/i686/tls.h: Moved ...
12936 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
12937 * nptl/sysdeps/i386/Makefile: Moved ...
12938 * sysdeps/i386/nptl/Makefile: ... here.
12939 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12940 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12941 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12942 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12943 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12944 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12945 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12946 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12947 * sysdeps/i386/nptl/pthreaddef.h: ... here.
12948 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12949 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12950 * nptl/sysdeps/i386/tls.h: Moved ...
12951 * sysdeps/i386/nptl/tls.h: ... here.
12953 * sysdeps/sh/Makefile [$(subdir) = csu]
12954 (gen-as-const-headers): Add tcb-offsets.sym.
12955 * nptl/sysdeps/sh/Makefile: File removed.
12956 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12957 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12958 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12959 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12960 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12961 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12962 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12963 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12964 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12965 * sysdeps/sh/nptl/pthreaddef.h: ... here.
12966 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12967 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12968 * nptl/sysdeps/sh/tls.h: Moved ...
12969 * sysdeps/sh/nptl/tls.h: ... here.
12970 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12971 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12972 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12973 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12974 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12975 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12976 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12977 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12978 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12979 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12980 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12981 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12982 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12983 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12984 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12985 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12986 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12987 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12988 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12989 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12990 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12991 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12992 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12993 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12994 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12996 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12997 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12999 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
13000 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
13001 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
13002 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
13003 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
13004 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
13005 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
13006 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
13007 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
13008 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
13009 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
13010 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
13011 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
13012 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
13013 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
13014 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
13015 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
13016 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
13017 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
13019 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13021 * posix/spawn_faction_addopen.c: Include string.h.
13023 2014-06-11 Roland McGrath <roland@hack.frob.com>
13025 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
13026 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
13027 * nptl/sysdeps/x86_64/Makefile: Moved ...
13028 * sysdeps/x86_64/nptl/Makefile: ... here.
13029 * nptl/sysdeps/x86_64/configure: Moved ...
13030 * sysdeps/x86_64/nptl/configure: ... here.
13031 * nptl/sysdeps/x86_64/configure.ac: Moved ...
13032 * sysdeps/x86_64/nptl/configure.ac: ... here.
13033 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
13034 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
13035 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
13036 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
13037 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
13038 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
13039 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
13040 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
13041 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
13042 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
13043 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
13044 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
13045 * nptl/sysdeps/x86_64/tls.h: Moved ...
13046 * sysdeps/x86_64/nptl/tls.h: ... here.
13047 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
13048 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
13049 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
13050 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
13052 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
13054 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13058 2014-06-11 Joseph Myers <joseph@codesourcery.com>
13060 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
13062 [POSIX] (off_t): Likewise.
13063 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
13064 [POSIX] (S_ISBLK): Require macro.
13065 [POSIX] (S_ISCHR): Likewise.
13066 [POSIX] (S_ISDIR): Likewise.
13067 [POSIX] (S_ISFIFO): Likewise.
13068 [POSIX] (S_ISREG): Likewise.
13069 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
13071 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
13073 [POSIX] (time_t): Likewise.
13074 [POSIX] (timer_t): Likewise.
13076 2014-06-11 Florian Weimer <fweimer@redhat.com>
13079 * posix/spawn_int.h (struct __spawn_action): Make the path string
13080 non-const to support deallocation.
13081 * posix/spawn_faction_addopen.c
13082 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
13083 * posix/spawn_faction_destroy.c
13084 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
13085 path in all spawn_do_open actions.
13086 * posix/tst-spawn.c (do_test): Exercise the copy operation in
13087 posix_spawn_file_actions_addopen.
13089 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
13091 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
13092 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
13093 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
13094 conditional code always true.
13095 (__libc_vfork): New alias.
13097 2014-06-11 Roland McGrath <roland@hack.frob.com>
13099 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13100 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
13102 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
13104 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13105 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
13107 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
13108 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
13110 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13111 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
13113 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13115 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
13116 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
13117 multiarch strcmp for PPC64.
13118 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
13119 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
13120 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
13121 multiarch optimizations.
13122 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13123 (__libc_ifunc_impl_list): Likewise.
13125 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13127 * benchtests/scripts/validate_benchout.py: New script.
13128 * benchtests/Makefile (bench-func): Call it.
13129 * benchtests/scripts/benchout.schema.json: New file.
13131 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
13133 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
13134 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
13135 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
13136 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
13137 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
13138 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
13139 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
13140 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
13141 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
13142 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
13143 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
13144 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
13145 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
13146 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
13147 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
13148 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
13149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
13151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
13153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
13155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
13156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
13158 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
13160 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
13162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
13164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
13166 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
13167 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
13169 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
13171 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
13173 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
13175 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
13177 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
13178 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
13180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
13182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
13184 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
13186 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
13188 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
13190 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
13192 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
13193 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
13195 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
13197 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
13199 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
13201 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
13203 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
13205 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
13207 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
13208 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
13210 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
13212 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
13214 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
13216 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
13218 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
13219 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
13221 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
13223 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
13225 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
13226 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
13228 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
13229 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
13231 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
13233 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
13235 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
13237 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
13239 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
13241 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
13243 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
13244 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
13246 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
13248 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
13250 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
13252 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
13253 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
13254 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
13255 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
13256 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
13258 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
13260 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
13261 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
13262 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
13263 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
13264 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
13265 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
13266 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
13267 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
13268 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
13269 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
13270 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
13271 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
13272 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
13274 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
13275 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
13277 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
13278 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
13279 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
13280 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
13282 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
13283 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
13284 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
13285 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
13286 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
13287 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
13288 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
13290 2014-06-10 Wilco <wdijkstr@arm.com>
13292 * math/test-fenv-return.c: New file.
13293 * math/Makefile: Add new test test-fenv-return.
13295 2014-06-10 Joseph Myers <joseph@codesourcery.com>
13298 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
13299 when x - 1 is zero.
13300 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
13301 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
13302 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
13303 0.0L for an argument of 1.0L.
13304 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
13306 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
13307 value when x - 1 is zero.
13308 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
13309 * sysdeps/i386/fpu/libm-test-ulps: Update.
13310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13312 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
13315 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
13317 2014-06-09 Roland McGrath <roland@hack.frob.com>
13319 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
13320 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
13322 2014-06-09 Roland McGrath <roland@hack.frob.com>
13324 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13325 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
13327 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13328 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
13330 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13331 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
13333 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13334 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
13336 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
13337 if not already defined.
13338 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
13339 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
13340 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
13341 (TLS_INIT_TP): Use it.
13342 (TLS_DEFINE_INIT_TP): New macro.
13343 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
13345 2014-06-09 Joseph Myers <joseph@codesourcery.com>
13347 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
13349 [POSIX] (IXANY): Likewise.
13350 [POSIX] (OLCUC): Likewise.
13351 [POSIX || POSIX2008] (CBAUD): Do not allow.
13352 [POSIX || POSIX2008] (DEFECHO): Likewise.
13353 [POSIX || POSIX2008] (ECHOCTL): Likewise.
13354 [POSIX || POSIX2008] (ECHOKE): Likewise.
13355 [POSIX || POSIX2008] (ECHOPRT): Likewise.
13356 [POSIX || POSIX2008] (EXTA): Likewise.
13357 [POSIX || POSIX2008] (EXTB): Likewise.
13358 [POSIX || POSIX2008] (FLUSHO): Likewise.
13359 [POSIX || POSIX2008] (LOBLK): Likewise.
13360 [POSIX || POSIX2008] (PENDIN): Likewise.
13361 [POSIX || POSIX2008] (SWTCH): Likewise.
13362 [POSIX || POSIX2008] (VDISCARD): Likewise.
13363 [POSIX || POSIX2008] (VDSUSP): Likewise.
13364 [POSIX || POSIX2008] (VLNEXT): Likewise.
13365 [POSIX || POSIX2008] (VREPRINT): Likewise.
13366 [POSIX || POSIX2008] (VSTATUS): Likewise.
13367 [POSIX || POSIX2008] (VWERASE): Likewise.
13368 (B*): Change to B[0123456789]*.
13369 * conform/data/time.h-data [POSIX || UNIX98]
13370 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
13371 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13372 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
13373 [POSIX] (tm_*): Do not allow.
13375 2014-06-07 Joseph Myers <joseph@codesourcery.com>
13377 * Makefile (install): Don't set LANGUAGE.
13378 * Makefile.in (install): Likewise.
13379 * assert/Makefile (test-assert-ENV): Remove variable.
13380 (test-assert-perr-ENV): Likewise.
13381 * elf/Makefile (neededtest4-ENV): Likewise.
13382 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13383 [$(cross-compiling) = no]: Don't set LANGUAGE.
13384 * io/ftwtest-sh (LANG): Remove variable.
13385 * libio/Makefile (tst-widetext-ENV): Likewise.
13386 * manual/install.texi (Running make install): Don't refer to
13387 environment settings for make install.
13388 * INSTALL: Regenerated.
13389 * nptl/tst-tls6.sh: Don't set LANG.
13390 * posix/globtest.sh (LANG): Remove variable.
13391 * string/Makefile (tester-ENV): Likewise.
13392 (inl-tester-ENV): Likewise.
13393 (noinl-tester-ENV): Likewise.
13394 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13395 [$(cross-compiling) = no]: Don't set LANGUAGE.
13396 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
13397 without explicit environment settings.
13399 2014-06-06 Roland McGrath <roland@hack.frob.com>
13401 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
13402 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
13403 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
13404 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
13406 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
13408 * crypt/crypt-private.h [DOS]: Add some includes taken from the
13409 other files in the crypt directory.
13410 * crypt/crypt.c: Remove duplicate includes.
13411 * crypt/crypt-entry.c: Likewise.
13412 * crypt/crypt_util.c: Likewise.
13414 2014-06-06 Joseph Myers <joseph@codesourcery.com>
13416 * Makeconfig (run-program-env): New variable.
13417 (run-program-prefix-before-env): Likewise.
13418 (run-program-prefix-after-env): Likewise.
13419 (run-program-prefix): Define in terms of new variables.
13420 (built-program-cmd-before-env): New variable.
13421 (built-program-cmd-after-env): Likewise.
13422 (built-program-cmd): Define in terms of new variables.
13423 (test-program-prefix-before-env): New variable.
13424 (test-program-prefix-after-env): Likewise.
13425 (test-program-prefix): Define in terms of new variables.
13426 (test-program-cmd-before-env): New variable.
13427 (test-program-cmd-after-env): Likewise.
13428 (test-program-cmd): Define in terms of new variables.
13429 * Rules (make-test-out): Use $(run-program-env).
13430 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
13431 (help): Do not mention environment variables. Mention
13432 --timeoutfactor option.
13433 (timeoutfactor): New variable.
13434 (blacklist_exports): Remove function.
13435 (exports): Remove variable.
13436 (command): Do not include ${exports}.
13437 * manual/install.texi (Configuring and compiling): Do not mention
13438 test wrappers preserving environment variables. Mention that last
13439 assignment to a variable must take precedence.
13440 * INSTALL: Regenerated.
13441 * benchtests/Makefile (run-bench): Use $(run-program-env).
13442 * catgets/Makefile ($(objpfx)test1.cat): Use
13443 $(built-program-cmd-before-env), $(run-program-env) and
13444 $(built-program-cmd-after-env).
13445 ($(objpfx)test2.cat): Do not specify environment variables
13447 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
13448 $(run-program-env) and $(built-program-cmd-after-env).
13449 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
13450 $(run-program-env) and $(test-program-cmd-after-env).
13451 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
13453 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
13454 run_program_env and test_program_cmd_after_env arguments.
13455 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
13456 * elf/tst-pathopt.sh: Use run_program_env argument.
13457 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
13458 $(test-wrapper-env) and $(run-program-env).
13459 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
13460 run_program_env arguments.
13461 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
13462 * intl/Makefile ($(objpfx)tst-gettext.out): Use
13463 $(test-program-prefix-before-env), $(run-program-env) and
13464 $(test-program-prefix-after-env).
13465 ($(objpfx)tst-gettext2.out): Likewise.
13466 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
13467 run_program_env and test_program_prefix_after_env arguments.
13468 * intl/tst-gettext2.sh: Likewise.
13469 * intl/tst-gettext4.sh: Do not set environment variables
13471 * intl/tst-gettext6.sh: Likewise.
13472 * intl/tst-translit.sh: Likewise.
13473 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
13474 $(test-program-prefix-before-env), $(run-program-env) and
13475 $(test-program-prefix-after-env).
13476 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
13477 run_program_env and test_program_prefix_after_env arguments.
13478 * math/Makefile (run-regen-ulps): Use $(run-program-env).
13479 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
13480 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
13481 explicitly with each use of ${test_wrapper_env}.
13482 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
13483 $(test-program-prefix-before-env), $(run-program-env) and
13484 $(test-program-prefix-after-env).
13485 * posix/tst-getconf.sh: Do not set environment variables
13487 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
13488 run_program_env and test_program_prefix_after_env arguments.
13489 * stdio-common/tst-printf.sh: Do not set environment variables
13491 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
13492 $(test-program-prefix-before-env), $(run-program-env) and
13493 $(test-program-prefix-after-env).
13494 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
13495 run_program_env and test_program_prefix_after_env arguments.
13496 Split $test calls into $test_pre and $test.
13497 * timezone/Makefile (build-testdata): Use
13498 $(built-program-cmd-before-env), $(run-program-env) and
13499 $(built-program-cmd-after-env).
13501 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13503 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
13504 strlen for non SHARED builds.
13506 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13508 * nptl/allocatestack.c (check_list): Inlined function...
13509 (__reclaim_stacks): ... here.
13511 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
13514 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13517 2014-06-05 Joseph Myers <joseph@codesourcery.com>
13519 * Rules (make-test-out): Include
13520 LOCPATH=$(common-objpfx)localedata in default environment.
13521 * debug/Makefile (tst-chk1-ENV): Remove variable.
13522 (tst-chk2-ENV): Likewise.
13523 (tst-chk3-ENV): Likewise.
13524 (tst-chk4-ENV): Likewise.
13525 (tst-chk5-ENV): Likewise.
13526 (tst-chk6-ENV): Likewise.
13527 (tst-lfschk1-ENV): Likewise.
13528 (tst-lfschk2-ENV): Likewise.
13529 (tst-lfschk3-ENV): Likewise.
13530 (tst-lfschk4-ENV): Likewise.
13531 (tst-lfschk5-ENV): Likewise.
13532 (tst-lfschk6-ENV): Likewise.
13533 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
13534 (tst-iconv7-ENV): Likewise.
13535 * intl/Makefile (LOCPATH-ENV): Likewise.
13536 (tst-codeset-ENV): Likewise.
13537 (tst-gettext3-ENV): Likewise.
13538 (tst-gettext5-ENV): Likewise.
13539 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
13540 (tst-fopenloc-ENV): Likewise.
13541 (tst-fgetws-ENV): Remove variable.
13542 (tst-ungetwc1-ENV): Likewise.
13543 (tst-ungetwc2-ENV): Likewise.
13544 (bug-ungetwc2-ENV): Likewise.
13545 (tst-swscanf-ENV): Likewise.
13546 (bug-ftell-ENV): Likewise.
13547 (tst-fgetwc-ENV): Likewise.
13548 (tst-fseek-ENV): Likewise.
13549 (tst-ftell-partial-wide-ENV): Likewise.
13550 (tst-ftell-active-handler-ENV): Likewise.
13551 (tst-ftell-append-ENV): Likewise.
13552 * posix/Makefile (tst-fnmatch-ENV): Likewise.
13553 (tst-regexloc-ENV): Likewise.
13554 (bug-regex1-ENV): Likewise.
13555 (tst-regex-ENV): Likewise.
13556 (tst-regex2-ENV): Likewise.
13557 (bug-regex5-ENV): Likewise.
13558 (bug-regex6-ENV): Likewise.
13559 (bug-regex17-ENV): Likewise.
13560 (bug-regex18-ENV): Likewise.
13561 (bug-regex19-ENV): Likewise.
13562 (bug-regex20-ENV): Likewise.
13563 (bug-regex22-ENV): Likewise.
13564 (bug-regex23-ENV): Likewise.
13565 (bug-regex25-ENV): Likewise.
13566 (bug-regex26-ENV): Likewise.
13567 (bug-regex30-ENV): Likewise.
13568 (bug-regex32-ENV): Likewise.
13569 (bug-regex33-ENV): Likewise.
13570 (bug-regex34-ENV): Likewise.
13571 (bug-regex35-ENV): Likewise.
13572 (tst-rxspencer-ENV): Likewise.
13573 (tst-rxspencer-no-utf8-ENV): Likewise.
13574 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
13575 (tst-sscanf-ENV): Likewise.
13576 (tst-swprintf-ENV): Likewise.
13577 (tst-swscanf-ENV): Likewise.
13578 (test-vfprintf-ENV): Likewise.
13579 (scanf13-ENV): Likewise.
13580 (bug14-ENV): Likewise.
13581 (tst-grouping-ENV): Likewise.
13582 * stdlib/Makefile (tst-strtod-ENV): Likewise.
13583 (tst-strtod3-ENV): Likewise.
13584 (tst-strtod4-ENV): Likewise.
13585 (tst-strtod5-ENV): Likewise.
13586 (testmb2-ENV): Likewise./
13587 * string/Makefile (tst-strxfrm-ENV): Likewise.
13588 (tst-strxfrm2-ENV): Likewise.
13589 (bug-strcoll1-ENV): Likewise.
13590 (test-strcasecmp-ENV): Likewise.
13591 (test-strncasecmp-ENV): Likewise.
13592 * time/Makefile (tst-strptime-ENV): Likewise.
13593 (tst-ftime_l-ENV): Likewise.
13594 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
13595 (tst-mbrtowc-ENV): Likewise.
13596 (tst-wcrtomb-ENV): Likewise.
13597 (tst-mbrtowc2-ENV): Likewise.
13598 (tst-c16c32-1-ENV): Likewise.
13599 (tst-mbsnrtowcs-ENV): Likewise.
13601 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
13603 * manual/resource.texi (How to get information about the memory
13604 subsystem?): Fix typo.
13605 Reported by Peon de la Parra Ivan <peon@keba.com>
13607 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
13610 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
13611 (pthread_spin_lock): Branch out of spin loop to proper location.
13612 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
13613 (pthread_spin_lock): Likewise.
13615 * nptl/tst-spin4.c: New test.
13616 * nptl/Makefile (tests): Add tst-spin4.
13618 2014-06-03 Andreas Schwab <schwab@suse.de>
13621 * resolv/res_send.c (send_dg): Reload file descriptor after
13624 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
13626 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13628 2014-06-03 Richard Henderson <rth@redhat.com>
13630 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
13631 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
13632 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
13633 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
13634 in the SAVE_PID block.
13635 (__libc_vfork): New alias.
13636 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
13638 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
13639 child in registers, not on the stack. Remove RESET_PID conditionals.
13640 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
13642 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
13644 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13646 2014-06-03 Wilco <wdijkstr@arm.com>
13648 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
13649 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
13650 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13651 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
13652 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
13655 2014-06-03 Wilco <wdijkstr@arm.com>
13657 * sysdeps/aarch64/fpu/math_private.h
13658 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
13659 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
13660 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
13661 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13664 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13666 * crypt/crypt-private.h: Include ufc-crypt.h.
13667 (__b64_from_24bit): Declare extern.
13668 * crypt/crypt_util.c(__b64_from_24bit): New function.
13669 (b64t): New static const variable.
13670 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
13671 (b64t): Remove variable.
13672 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
13673 * crypt/sha256-crypt.c: Include crypt-private.h.
13674 (b64t): Remove variable.
13675 (__sha256_crypt_r): Remove b64_from_24bit and replace
13676 with __b64_from_24bit.
13677 * crypt/sha512-crypt.c: Likewise.
13679 2014-06-02 Roland McGrath <roland@hack.frob.com>
13681 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
13682 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
13683 Label the code __libc_vfork rather than __vfork.
13684 [!NOT_IN_libc] (vfork): Define as weak alias.
13685 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
13686 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
13687 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
13689 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13691 * malloc/malloc.c (malloc_info): Fix format specifier for
13694 2014-06-02 Wilco <wdijkstr@arm.com>
13696 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
13699 2014-06-02 Wilco <wdijkstr@arm.com>
13702 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
13703 Rewrite to reduce FPCR/FPSR accesses.
13705 2014-06-01 David S. Miller <davem@davemloft.net>
13707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13709 2014-05-31 David S. Miller <davem@davemloft.net>
13711 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
13712 to occur in round to nearest mode when |x| >= 2.0
13714 2014-05-30 Richard Henderson <rth@twiddle.net>
13716 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
13717 (PSEUDO_RET_NOERRNO): Remove.
13718 (ret): Don't redefine.
13719 (ret_NOERRNO): Define in terms of ret.
13720 (ret_ERRVAL): Likewise.
13722 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
13723 use of PSEUDO_RET; perform the error check directly.
13725 2014-05-30 Marko Myllynen <myllynen@redhat.com>
13727 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
13730 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13732 * malloc/malloc (malloc_info): Fix formatting.
13734 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13735 Roland McGrath <roland@hack.frob.com>
13737 * malloc/malloc (malloc_info): Also print mmapped statistics.
13739 2014-05-30 Roland McGrath <roland@hack.frob.com>
13741 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
13742 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
13744 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
13746 * malloc/malloc.c (malloc_info): Inline mi_arena.
13748 2014-05-29 Richard Henderson <rth@twiddle.net>
13750 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
13751 Remove comma before expanding ASM_ARGS_##nr.
13752 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
13753 Make _x0 a strict output; make _x8 a strict input; adjust expansion
13755 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
13756 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
13757 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
13758 (ASM_ARGS_1): Add leading comma.
13760 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
13761 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
13762 to __errno_location.
13763 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
13764 Remove the expected plt for __errno_location.
13766 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13767 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
13770 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13771 Always allocate 64 bytes of stack frame. Use ldp/stp to create
13772 it and break it down.
13773 (DOCARGS_0, DOCARGS_1): Do nothing.
13774 (DOCARGS_2): Update to store into the new stack frame.
13775 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
13776 (UNDOCARGS_1): Update to restore from the new stack frame.
13777 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
13778 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
13780 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13781 (SINGLE_THREAD_P): New parameter for result regno.
13782 (PSEUDO): Update to match; use cbz instead of beq.
13784 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13785 Use ENTRY to define the _nocancel entry point. Share the syscall
13786 and syscall error check paths with the cancel path.
13789 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
13790 whitespace; tabs before and after asm mnemonics.
13792 2014-05-29 Eric Wong <normalperson@yhbt.net>
13795 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13796 Call fstat64 or stat64 internally, depending on arguments passed.
13797 Replace stat buffer argument with file descriptor argument.
13798 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
13799 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13800 Pass fd to __internal_statvfs instead of calling fstat64.
13801 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
13802 Pass fd to __internal_statvfs64 instead of calling fstat64.
13803 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
13804 Pass -1 to __internal_statvfs instead of calling stat64.
13805 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
13806 Pass -1 to __internal_statvfs64 instead of calling stat64.
13808 2014-05-28 Roland McGrath <roland@hack.frob.com>
13810 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
13811 that was previously under [RESET_PID].
13812 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
13814 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
13815 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
13817 2014-05-27 Roland McGrath <roland@hack.frob.com>
13819 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
13821 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
13822 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
13824 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
13826 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
13828 2014-05-27 Andreas Schwab <schwab@suse.de>
13830 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
13832 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
13833 * elf/rtld.c (init_tls, dl_main): Likewise.
13834 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
13835 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
13836 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
13837 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
13838 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
13839 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
13840 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
13841 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
13842 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
13843 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
13844 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
13845 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
13846 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
13847 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
13848 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
13849 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
13850 * sysdeps/generic/tls.h: Update description.
13852 2014-05-27 Will Newton <will.newton@linaro.org>
13855 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
13856 and restore r2 rather than just restoring.
13858 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13861 * libio/tst-ftell-append.c: New test case.
13862 * libio/Makefile (tests): Add test case.
13863 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13865 * libio/wfileops.c (do_ftell_wide): Likewise.
13867 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13871 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13875 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13876 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13877 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13878 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13879 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13880 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13881 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13884 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13887 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13888 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13889 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13890 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13891 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13893 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13894 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13896 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13898 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13900 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13901 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13902 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13904 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13905 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13906 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13907 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13909 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13912 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13915 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13918 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13922 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13925 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13930 conditional [RESET_PID].
13931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13932 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13934 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13939 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13940 (__libc_vfork): New strong alias.
13941 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13943 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13948 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13949 (__libc_vfork): New strong alias.
13950 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13952 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13955 2014-05-26 Carlos O'Donell <carlos@redhat.com>
13957 * malloc/malloc.c (mi_arena): New function.
13958 (malloc_info): Remove nested function mi_arena. Call non-nosted
13961 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13963 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13965 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13966 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13967 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13968 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13969 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13970 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13971 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13973 2014-05-26 Andreas Schwab <schwab@suse.de>
13976 * locale/programs/repertoire.c (repertoire_read): Add slash
13977 between I18NPATH element and file name.
13978 * locale/programs/locfile.c (locfile_read): Likewise.
13980 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13982 * nptl/pthread_mutexattr_settype.c
13983 (__pthread_mutexattr_settype):
13984 Disable lock elision for PTHREAD_MUTEX_NORMAL.
13986 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13988 * nptl/tst-mutex5 (do_test):
13989 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13991 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13993 * benchtests/README: Document 'init' directive.
13994 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13996 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13997 (parse_file): Recognize 'init' directive.
13999 2014-05-26 Kyle McMartin <kyle@redhat.com>
14002 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
14003 alignment of struct pthread.
14005 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14008 * nscd/netgroupcache.c (addgetnetgrentX): Look for
14009 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
14010 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
14011 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
14013 2014-05-25 Richard Henderson <rth@twiddle.net>
14015 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14016 (SINGLE_THREAD_P_PIC): Remove.
14017 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
14018 (SINGLE_THREAD_P_PIC): Remove.
14020 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
14021 branch to syscall error ...
14022 (PSEUDO): ... here.
14023 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
14024 from __local_syscall_error to .Lsyscall_error.
14025 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
14026 (SYSCALL_ERROR): Update label name.
14028 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14029 Do not use DOARGS/UNDOARGS.
14030 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
14031 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
14032 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
14033 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
14034 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
14036 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
14039 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
14040 define if !NOT_IN_libc.
14041 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
14042 define with non-default symbol versions.
14044 2014-05-23 Richard Henderson <rth@twiddle.net>
14046 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
14047 (vfork, __vfork): Define via compat_symbol.
14049 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
14050 [!HAVE_IFUNC] (vfork_compat): Remove.
14051 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
14053 2014-05-23 Joseph Myers <joseph@codesourcery.com>
14056 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
14057 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
14060 2014-05-23 Richard Henderson <rth@twiddle.net>
14062 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
14063 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
14064 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
14065 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
14067 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
14068 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
14069 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
14070 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
14071 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
14072 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
14073 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
14074 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
14075 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
14076 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
14077 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
14078 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
14079 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
14080 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
14081 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
14082 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
14083 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
14084 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
14085 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
14086 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
14087 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
14088 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
14089 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
14090 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
14091 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
14092 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
14093 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
14094 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
14095 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
14096 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
14097 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
14098 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
14099 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
14100 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
14101 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
14102 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
14103 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
14104 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
14105 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
14106 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
14107 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
14108 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
14109 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
14110 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
14111 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
14112 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
14113 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
14114 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
14115 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
14116 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
14117 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
14118 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
14119 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
14120 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
14121 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
14122 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
14124 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
14125 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
14126 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
14127 before exiting on error.
14128 (__libc_vfork): New strong alias.
14129 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
14130 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
14132 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
14133 that was previously under [RESET_PID].
14134 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
14136 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
14138 2014-05-23 Joseph Myers <joseph@codesourcery.com>
14141 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
14142 value when x - 1 is zero.
14143 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
14144 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
14145 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
14146 0.0L for an argument of 1.0L.
14147 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
14149 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
14150 value when x - 1 is zero.
14151 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
14152 * sysdeps/i386/fpu/libm-test-ulps: Update.
14153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14155 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
14157 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
14158 alphasort and versionsort.
14160 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14162 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
14164 [copysignf]: Likewise.
14166 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14168 * crypt/md5-crypt.c: Fix formatting.
14170 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14172 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
14173 (b64_from_24bit): New function.
14175 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14177 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
14178 libc_hidden_builtin_def to ifunc.
14179 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14180 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
14182 2014-05-21 Roland McGrath <roland@hack.frob.com>
14184 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
14185 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
14187 2014-05-21 Joseph Myers <joseph@codesourcery.com>
14189 * nscd/Depend (linuxthreads): Remove.
14191 * resolv/Depend (linuxthreads): Remove.
14192 * rt/Depend (linuxthreads): Remove.
14194 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
14195 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
14196 $(common-objpfx)elf/.
14197 (link-libc-before-gnulib): Likewise.
14198 (elfobjdir): Remove variable.
14199 * Makefile (install): Use $(elf-objpfx) instead of
14200 $(common-objpfx)elf/.
14201 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
14203 (link-libc-deps): Likewise.
14204 ($(common-objpfx)libc.so): Likewise.
14205 ($(common-objpfx)linkobj/libc.so): Likewise.
14206 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
14207 instead of $(common-objpfx)elf/.
14208 (symbolic-link-list): Likewise.
14209 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14210 [$(cross-compiling) = no]: Likewise.
14211 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
14213 (static-gnulib-arch): Likewise.
14214 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14215 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
14216 $(common-objpfx)elf/.
14218 2014-05-21 Richard Henderson <rth@redhat.com>
14220 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14221 (SINGLE_THREAD_P): Use the correct width load. Fold
14222 into the ldr offset.
14224 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
14225 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
14227 2014-05-20 Joseph Myers <joseph@codesourcery.com>
14229 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
14230 (libgcc_s_resume): Use __attribute_used__.
14231 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
14234 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14236 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
14237 optimization when used with float constants.
14239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14241 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
14244 * locale/nl_langinfo_l.c: Make direct reference to every
14245 _nl_current_CATEGORY symbol.
14246 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
14247 (tests-static): Add tst-langinfo-static.
14248 (tests-special): Add tst-langinfo-static.out.
14249 ($(objpfx)tst-langinfo.out): Redirect output.
14250 ($(objpfx)tst-langinfo-static.out): New.
14251 * localedata/tst-langinfo.sh: Send output to stdout.
14252 * localedata/tst-langinfo-static.c: New file.
14255 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
14256 when the shift amount is modulo the limb size.
14258 2014-05-20 Richard Henderson <rth@redhat.com>
14261 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
14262 Change type of sa_flags from unsigned int to int.
14265 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
14267 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
14269 2014-05-20 Will Newton <will.newton@linaro.org>
14271 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14272 Test the return value of the system call in the nocancel case.
14274 2014-05-20 Will Newton <will.newton@linaro.org>
14275 Yvan Roux <yvan.roux@linaro.org>
14277 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
14278 #include of asm/ptrace.h.
14279 (PTRACE_GET_THREAD_AREA): Remove #undef.
14280 (PTRACE_GETHBPREGS): Likewise.
14281 (PTRACE_SETHBPREGS): Likewise.
14282 (struct user_regs_struct): New structure.
14283 (struct user_fpsimd_struct): New structure.
14284 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
14285 #include of asm/ptrace.h and second #include of sys/user.h.
14286 (PTRACE_GET_THREAD_AREA): Remove #undef.
14287 (PTRACE_GETHBPREGS): Likewise.
14288 (PTRACE_SETHBPREGS): Likewise.
14289 (ELF_NGREG): Use new struct user_regs_struct.
14290 (elf_fpregset_t): Use new struct user_fpsimd_struct.
14292 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14294 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
14295 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
14297 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14300 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
14301 membar to avoid block loads/stores to overlap previous stores.
14303 2014-05-17 Richard Henderson <rth@redhat.com>
14305 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
14306 Create the __##syscall_name##_nocancel entry point.
14307 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
14308 Remove; let the sysdep-cancel.h code create it.
14310 2014-05-17 David S. Miller <davem@davemloft.net>
14312 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
14313 Protect with __USE_GNU.
14314 (TIOCSET_TEMPT): Likewise.
14315 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14316 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
14317 these are already provided in bits/ioctl-types.h
14319 2014-05-16 Roland McGrath <roland@hack.frob.com>
14321 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
14322 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
14324 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
14325 Use wait4 regardless of [__NR_waitpid].
14327 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14330 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14331 (_FP_NANSIGN_Q): Set the quiet bit.
14333 2014-05-16 Joseph Myers <joseph@codesourcery.com>
14335 * benchtests/Makefile
14336 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
14337 not $(common-objpfx)math/libm.so.
14338 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
14339 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
14340 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
14341 $(common-objpfx)dlfcn/libdl.so.
14342 ($(objpfx)tst-audit8): Depend on $(libm), not
14343 $(common-objpfx)math/libm.so.
14344 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
14345 not $(common-objpfx)dlfcn/libdl.so.
14347 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14348 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
14349 [$(build-shared) = yes].
14350 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
14351 $(common-objpfx)nptl/libpthread.so.
14352 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
14353 $(common-objpfx)math/libm.so$(libm.so-version) or
14354 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
14355 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
14356 $(common-objpfx)dlfcn/libdl.so.
14357 * setjmp/Makefile (link-libm): Remove variable.
14358 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
14359 * stdio-common/Makefile (link-libm): Remove variable.
14360 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
14361 * stdlib/Makefile (link-libm): Remove variable.
14362 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
14363 ($(objpfx)tst-strtod-round): Likewise.
14364 ($(objpfx)tst-tininess): Likewise.
14365 ($(objpfx)tst-strtod-underflow): Likewise.
14366 ($(objpfx)tst-strtod6): Likewise.
14367 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
14368 $(libdl), not $(common-objpfx)nptl/libpthread.so and
14369 $(common-objpfx)dlfcn/libdl.so.
14371 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14373 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
14374 BSD terminal modes definitions.
14376 2014-05-16 Roland McGrath <roland@hack.frob.com>
14378 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
14379 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
14381 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
14382 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
14383 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
14384 Don't do #include_next.
14385 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
14386 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
14387 Don't do #include_next.
14388 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
14389 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
14390 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
14391 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
14393 2014-05-16 Allan McRae <allan@archlinux.org>
14395 * po/sv.po: Update Swedish translation from translation project.
14397 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
14400 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
14403 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
14404 errno if the TIOCGPTN ioctl fails with an error different than
14406 * login/tst-ptsname.c: New file.
14407 * login/Makefile (tests): Add tst-ptsname.
14410 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
14413 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14416 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
14417 herrno to return EAI_AGAIN.
14419 2014-05-14 Roland McGrath <roland@hack.frob.com>
14421 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
14422 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
14423 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
14424 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
14425 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
14426 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
14427 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
14428 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
14429 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
14430 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
14431 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
14432 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
14433 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
14434 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
14435 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
14436 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
14437 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
14438 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
14439 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
14440 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
14441 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
14442 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
14443 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
14444 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
14445 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
14446 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
14447 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
14448 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
14449 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
14450 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
14451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
14452 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
14453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
14454 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
14455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14457 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
14458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
14459 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
14460 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
14461 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
14462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
14463 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
14464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
14465 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
14466 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
14467 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
14468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
14469 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
14470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
14471 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
14472 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
14473 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
14474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
14475 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
14476 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
14477 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
14478 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
14479 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
14480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
14481 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
14482 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
14483 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
14484 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
14486 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
14487 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
14488 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
14489 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
14490 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
14491 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
14492 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
14493 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
14494 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
14495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
14496 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
14497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
14498 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
14499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
14500 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
14501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
14502 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
14503 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
14504 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
14505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
14507 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
14508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
14509 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
14511 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
14512 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
14513 (libpthread-sysdep_routines): Add elision-related stuff here instead.
14514 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
14515 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
14516 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
14517 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
14518 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
14519 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
14520 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
14521 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
14522 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
14523 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
14524 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
14525 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
14526 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
14527 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
14528 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
14529 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
14530 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
14531 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
14532 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
14533 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
14534 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
14535 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
14536 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
14537 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
14538 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
14539 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
14540 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
14541 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
14543 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
14544 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
14546 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
14547 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
14548 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
14549 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
14550 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
14551 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
14553 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
14554 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14556 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
14557 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14559 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
14560 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
14562 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
14563 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
14564 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
14565 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14567 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
14568 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
14569 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
14570 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
14571 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
14572 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
14573 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
14574 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14576 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
14577 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14579 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14581 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
14582 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
14583 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
14584 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
14585 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14587 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14589 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
14591 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
14592 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
14593 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
14594 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
14595 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
14596 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
14598 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
14599 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14601 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
14602 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14604 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
14605 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
14607 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
14608 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
14609 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
14610 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
14612 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
14613 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
14614 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
14615 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
14616 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
14617 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
14618 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
14619 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14621 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
14622 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14624 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14626 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
14627 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
14628 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
14629 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
14630 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14632 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14634 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
14636 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
14637 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
14638 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
14639 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
14640 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
14641 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
14642 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
14643 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
14644 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
14645 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
14647 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
14648 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14650 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
14651 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14653 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
14654 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
14656 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
14657 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
14658 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
14659 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
14660 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
14661 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14663 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
14664 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
14665 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
14666 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
14667 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
14668 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
14669 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
14670 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14672 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
14673 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14675 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14677 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
14678 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
14679 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
14680 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
14681 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14683 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14685 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
14687 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
14688 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
14689 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
14690 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
14691 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
14692 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
14693 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
14694 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
14695 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
14696 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
14697 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
14699 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
14700 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
14702 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
14703 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
14705 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
14706 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
14707 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
14708 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
14709 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
14710 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
14711 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
14712 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
14713 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
14714 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
14715 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
14716 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
14717 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
14718 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
14719 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
14720 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
14721 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
14722 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
14724 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
14725 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
14726 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
14727 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
14729 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
14730 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
14731 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
14732 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
14733 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
14734 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
14735 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
14736 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
14738 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
14739 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
14741 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
14742 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
14743 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
14744 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
14745 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
14746 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
14747 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
14748 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
14749 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
14750 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
14751 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
14752 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
14753 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
14754 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
14755 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
14756 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
14757 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
14759 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
14760 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
14761 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
14762 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
14763 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
14765 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
14766 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
14767 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
14768 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
14769 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
14770 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
14771 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
14772 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
14773 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
14774 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
14776 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
14777 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
14779 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
14780 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
14781 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
14782 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
14783 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
14784 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
14785 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
14786 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
14787 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
14788 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
14789 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
14790 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
14791 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
14792 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
14793 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
14795 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
14797 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14799 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14801 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14803 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
14805 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
14807 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14809 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
14811 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
14813 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
14814 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
14815 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
14816 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
14817 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
14818 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
14819 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
14820 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
14821 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
14822 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
14823 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
14824 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
14825 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
14826 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
14827 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
14829 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
14830 that was previously under [RESET_PID].
14831 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14832 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
14833 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
14835 * sysdeps/i386/nptl/Implies: New file.
14836 * sysdeps/x86_64/nptl/Implies: New file.
14837 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
14838 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
14839 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
14840 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
14842 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
14843 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14844 (__libc_vfork): New strong alias.
14845 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
14846 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
14848 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
14849 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14850 (__libc_vfork): New strong alias.
14851 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
14852 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
14854 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
14855 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14856 (__libc_vfork): New strong alias.
14857 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14858 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14859 * nptl/pt-vfork.c: New file.
14860 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14861 (libpthread: GLIBC_2.20): New version set (empty).
14863 2014-05-14 Will Newton <will.newton@linaro.org>
14865 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14868 2014-05-14 Joseph Myers <joseph@codesourcery.com>
14871 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14872 arguments with exponent 65 or above.
14873 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14874 arguments 0x1p113L or above.
14875 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14876 to arguments 0x1p107L or above.
14877 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14878 positive arguments with exponent 65 or above.
14879 * math/auto-libm-test-in: Add more tests of log1p.
14880 * math/auto-libm-test-out: Regenerated.
14883 * math/s_cacos.c (__cacos): Ensure zero real part of result from
14884 non-finite arguments is +0.
14885 * math/s_cacosf.c (__cacosf): Likewise.
14886 * math/s_cacosl.c (__cacosl): Likewise.
14887 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14888 * sysdeps/i386/fpu/libm-test-ulps: Update.
14889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14892 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14894 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14895 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14896 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14897 for explicit high bit of mantissa when testing for argument equal
14899 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14900 * sysdeps/i386/fpu/libm-test-ulps: Update.
14901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14904 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14905 (__erf): Scale by 16 instead of 8 in potentially underflowing
14906 case. Ensure exception if result actually underflows.
14907 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14908 (__erff): Scale by 16 instead of 8 in potentially underflowing
14909 case. Ensure exception if result actually underflows.
14910 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14911 (efx8): Remove variable.
14912 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14913 case. Ensure exception if result actually underflows.
14914 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14915 (efx8): Remove variable.
14916 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14917 case. Ensure exception if result actually underflows.
14918 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14919 (efx8): Remove variable.
14920 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14921 case. Ensure exception if result actually underflows.
14922 * math/auto-libm-test-in: Add more tests of erf.
14923 * math/auto-libm-test-out: Regenerated.
14925 2014-05-14 Andreas Schwab <schwab@suse.de>
14927 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14928 Remove code conditionalized on USE___THREAD.
14930 * config.h.in (HAVE_PT_CHOWN): Define as 0.
14931 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14934 2014-05-14 Joseph Myers <joseph@codesourcery.com>
14936 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14937 Define unconditionally.
14938 (__ASSUME_O_CLOEXEC): Likewise.
14939 (__ASSUME_SOCK_CLOEXEC): Likewise.
14940 (__ASSUME_IN_NONBLOCK): Likewise.
14941 (__ASSUME_PIPE2): Likewise.
14942 (__ASSUME_EVENTFD2): Likewise.
14943 (__ASSUME_SIGNALFD4): Likewise.
14944 (__ASSUME_DUP3): Likewise.
14945 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14946 (__ASSUME_DUP3): Do not define.
14947 (__ASSUME_EVENTFD2): Likewise.
14948 (__ASSUME_IN_NONBLOCK): Likewise.
14949 (__ASSUME_O_CLOEXEC): Likewise.
14950 (__ASSUME_PIPE2): Likewise.
14951 (__ASSUME_SIGNALFD4): Likewise.
14952 (__ASSUME_SOCK_CLOEXEC): Likewise.
14953 (__ASSUME_UTIMES): Undefine.
14954 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14955 (__ASSUME_UTIMES): Do not define.
14956 (__ASSUME_O_CLOEXEC): Likewise.
14957 (__ASSUME_SOCK_CLOEXEC): Likewise.
14958 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14959 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14961 (__ASSUME_PIPE2): Likewise.
14962 (__ASSUME_EVENTFD2): Likewise.
14963 (__ASSUME_SIGNALFD4): Likewise.
14964 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14965 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14967 (__ASSUME_EVENTFD2): Likewise.
14968 (__ASSUME_SIGNALFD4): Likewise.
14969 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14970 (__ASSUME_32BITUIDS): Likewise.
14971 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14972 (__ASSUME_IPC64): Likewise.
14973 (__ASSUME_ST_INO_64_BIT): Likewise.
14974 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14975 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14976 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14977 (__ASSUME_UTIMES): Do not define.
14978 (__ASSUME_PSELECT): Likewise.
14979 (__ASSUME_PPOLL): Likewise.
14980 (__ASSUME_O_CLOEXEC): Likewise.
14981 (__ASSUME_SOCK_CLOEXEC): Likewise.
14982 (__ASSUME_IN_NONBLOCK): Likewise.
14983 (__ASSUME_PIPE2): Likewise.
14984 (__ASSUME_EVENTFD2): Likewise.
14985 (__ASSUME_SIGNALFD4): Likewise.
14986 (__ASSUME_DUP3): Likewise.
14987 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14988 (__ASSUME_UTIMES): Likewise.
14989 (__ASSUME_O_CLOEXEC): Likewise.
14990 (__ASSUME_SOCK_CLOEXEC): Likewise.
14991 (__ASSUME_IN_NONBLOCK): Likewise.
14992 (__ASSUME_PIPE2): Likewise.
14993 (__ASSUME_EVENTFD2): Likewise.
14994 (__ASSUME_SIGNALFD4): Likewise.
14995 (__ASSUME_DUP3): Likewise.
14996 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14997 (__ASSUME_UTIMES): Likewise.
14998 (__ASSUME_O_CLOEXEC): Likewise.
14999 (__ASSUME_SOCK_CLOEXEC): Likewise.
15000 (__ASSUME_IN_NONBLOCK): Likewise.
15001 (__ASSUME_PIPE2): Likewise.
15002 (__ASSUME_EVENTFD2): Likewise.
15003 (__ASSUME_SIGNALFD4): Likewise.
15004 (__ASSUME_DUP3): Likewise.
15005 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
15007 (__ASSUME_UTIMES): Likewise.
15008 (__ASSUME_EVENTFD2): Likewise.
15009 (__ASSUME_SIGNALFD4): Likewise.
15010 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15011 (__ASSUME_O_CLOEXEC): Likewise.
15012 (__ASSUME_SOCK_CLOEXEC): Likewise.
15013 (__ASSUME_IN_NONBLOCK): Likewise.
15014 (__ASSUME_PIPE2): Likewise.
15015 (__ASSUME_EVENTFD2): Likewise.
15016 (__ASSUME_SIGNALFD4): Likewise.
15017 (__ASSUME_DUP3): Likewise.
15018 (__ASSUME_UTIMES): Undefine.
15020 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
15021 feclearexcept. Remove symbol versioning code.
15022 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
15023 symbol versioning code.
15024 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
15025 symbol versioning code.
15026 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
15027 feupdateenv. Remove symbol versioning code.
15028 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
15029 fegetexceptflag. Remove symbol versioning code.
15030 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
15031 fesetexceptflag. Remove symbol versioning code.
15032 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
15033 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
15034 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
15035 (__posix_fadvise64_l32): Remove prototype.
15036 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
15039 2014-05-13 Roland McGrath <roland@hack.frob.com>
15041 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
15042 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
15043 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
15044 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
15046 2014-05-13 Sami Kerola <kerolasa@iki.fi>
15048 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
15049 current working directory
15051 2014-05-13 Roland McGrath <roland@hack.frob.com>
15053 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
15054 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
15055 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
15056 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
15057 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
15058 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
15059 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
15060 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
15061 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
15062 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
15063 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
15064 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
15065 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
15066 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
15067 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
15068 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
15069 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
15070 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
15071 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
15072 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
15073 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
15074 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
15075 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
15076 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
15077 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
15078 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
15079 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
15080 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
15081 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
15082 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
15083 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
15084 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
15085 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
15086 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
15087 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
15088 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
15089 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
15090 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
15091 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
15092 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
15093 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
15094 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
15096 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
15097 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
15099 * sysdeps/unix/sysv/linux/arm/Makefile
15100 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
15101 Add rt-aeabi_unwind_cpp_pr1.
15102 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
15103 Add nptl-aeabi_unwind_cpp_pr1.
15104 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
15105 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
15106 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
15107 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15108 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
15109 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15111 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
15112 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
15113 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
15114 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
15116 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
15117 Deconditionalize the code that was previously under [RESET_PID].
15118 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
15120 * sysdeps/generic/exit-thread.h: New file.
15121 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
15122 * include/unistd.h (__exit_thread): Remove declaration.
15123 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
15124 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
15125 * csu/libc-start.c: Include <exit-thread.h>.
15126 (LIBC_START_MAIN): Pass no argument to __exit_thread.
15127 * nptl/pthread_create.c: Include <exit-thread.h>.
15128 (start_thread): Call __exit_thread in place of __exit_thread_inline.
15129 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
15130 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
15131 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
15132 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
15133 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
15134 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
15135 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
15136 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
15137 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
15138 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
15139 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
15140 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
15141 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
15142 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
15143 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
15144 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
15146 2014-05-13 Andreas Schwab <schwab@suse.de>
15148 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
15150 2014-05-12 Joseph Myers <joseph@codesourcery.com>
15152 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15153 (__ASSUME_UTIMES): Do not condition on kernel version.
15154 (__ASSUME_PSELECT): Define unconditionally.
15155 (__ASSUME_PPOLL): Likewise.
15156 (__ASSUME_ATFCTS): Likewise.
15157 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
15158 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
15159 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
15160 (__ASSUME_UTIMENSAT): Define unconditionally.
15161 (__ASSUME_PRIVATE_FUTEX): Likewise.
15162 (__ASSUME_FALLOCATE): Likewise.
15163 (__ASSUME_O_CLOEXEC): Likewise.
15164 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
15165 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
15166 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
15167 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
15168 (__ASSUME_IN_NONBLOCK): Likewise.
15169 (__ASSUME_PIPE2): Likewise.
15170 (__ASSUME_EVENTFD2): Likewise.
15171 (__ASSUME_SIGNALFD4): Likewise.
15172 (__ASSUME_DUP3): Likewise.
15173 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15174 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
15175 (__ASSUME_AT_RANDOM): Likewise.
15176 (__ASSUME_PREADV): Likewise.
15177 (__ASSUME_PWRITEV): Likewise.
15178 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
15179 (__ASSUME_F_GETOWN_EX): Define unconditionally.
15180 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
15181 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15182 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
15183 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15184 (__ASSUME_O_CLOEXEC): Define unconditionally.
15185 (__ASSUME_PSELECT): Do not undefine conditionally.
15186 (__ASSUME_PPOLL): Likewise.
15187 (__ASSUME_ATFCTS): Likewise.
15188 (__ASSUME_SET_ROBUST_LIST): Likewise.
15189 (__ASSUME_UTIMENSAT): Likewise.
15190 (__ASSUME_FDATASYNC): Define unconditionally.
15191 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15192 (__ASSUME_SIGFRAME_V2): Likewise.
15193 )__ASSUME_EVENTFD2): Likewise.
15194 (__ASSUME_SIGNALFD4): Likewise.
15195 (__ASSUME_PSELECT): Do not undefine conditionally.
15196 (__ASSUME_PPOLL): Likewise.
15197 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15198 (__ASSUME_PSELECT): Define unconditionally.
15199 (__ASSUME_PPOLL): Likewise.
15200 (__ASSUME_O_CLOEXEC): Likewise.
15201 (__ASSUME_SOCK_CLOEXEC): Likewise.
15202 (__ASSUME_IN_NONBLOCK): Likewise.
15203 (__ASSUME_PIPE2): Likewise.
15204 (__ASSUME_EVENTFD2): Likewise.
15205 (__ASSUME_SIGNALFD4): Likewise.
15206 (__ASSUME_DUP3): Likewise.
15207 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15208 (__ASSUME_O_CLOEXEC): Likewise.
15209 (__ASSUME_SOCK_CLOEXEC): Likewise.
15210 (__ASSUME_IN_NONBLOCK): Likewise.
15211 (__ASSUME_PIPE2): Likewise.
15212 (__ASSUME_EVENTFD2): Likewise.
15213 (__ASSUME_SIGNALFD4): Likewise.
15214 (__ASSUME_DUP3): Likewise.
15215 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15216 (__ASSUME_EVENTFD2): Likewise.
15217 (__ASSUME_SIGNALFD4): Likewise.
15218 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15220 2014-05-12 Andreas Schwab <schwab@suse.de>
15223 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
15224 (_nss_nis_gethostbyname4_r): Return error if item length is larger
15225 than maximum RPC packet size.
15226 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
15227 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
15228 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
15229 (_nss_nis_getservbyport_r): Likewise.
15231 2014-05-12 Will Newton <will.newton@linaro.org>
15233 * malloc/Makefile (tests): Add tst-mallopt.
15234 * malloc/tst-mallopt.c: New file.
15236 2014-05-09 Roland McGrath <roland@hack.frob.com>
15238 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
15239 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
15241 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15243 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
15244 (tst-tlsmod6.so): Likewise.
15246 2014-05-09 Roland McGrath <roland@hack.frob.com>
15248 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
15250 2014-05-09 Joseph Myers <joseph@codesourcery.com>
15253 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
15254 and <dl-procinfo.h>.
15255 (__fegetenv): Save SSE state in envp->__eip if supported.
15256 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
15257 envp->__eip if supported.
15258 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
15259 and <dl-procinfo.h>.
15260 (__fesetenv): Always set __eip, __cs_selector, __opcode,
15261 __data_offset and __data_selector in environment to 0. Set SSE
15262 state if supported.
15263 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15265 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
15267 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
15269 2014-05-09 Will Newton <will.newton@linaro.org>
15271 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
15272 and libc_relro_required for ARM.
15273 * sysdeps/arm/preconfigure: Regenerate.
15275 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
15276 Stefan Liebler <stli@linux.vnet.ibm.com>
15278 * config.make.in (enable-lock-elision): New Makefile variable.
15279 * configure.ac: Likewise.
15280 * configure: Regenerate.
15281 * sysdeps/s390/configure.ac:
15282 Add check for gcc transactions support.
15283 * sysdeps/s390/configure: Regenerate.
15284 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
15285 Build elision files if enabled.
15286 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
15287 Add lock elision support for s390.
15288 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
15289 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
15290 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
15291 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15292 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
15293 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
15294 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15296 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
15298 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
15300 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
15302 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
15303 (__lll_timedlock_elision, __lll_lock_elision)
15304 (__lll_unlock_elision, __lll_trylock_elision)
15305 (lll_timedlock_elision, lll_lock_elision)
15306 (lll_unlock_elision, lll_trylock_elision): Add.
15307 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15308 (pthread_mutex_t): Add lock elision support for s390.
15310 2014-05-14 Wilco <wdijkstr@arm.com>
15312 * sysdeps/arm/fclrexcpt.c: Cleanup.
15313 * sysdeps/arm/fedisblxcpt.c: Cleanup.
15314 * sysdeps/arm/feenablxcpt.c: Cleanup.
15315 * sysdeps/arm/fegetenv.c: Cleanup.
15316 * sysdeps/arm/fegetexcept.c: Cleanup.
15317 * sysdeps/arm/fegetround.c: Cleanup.
15318 * sysdeps/arm/feholdexcpt.c: Cleanup.
15319 * sysdeps/arm/fesetenv.c: Cleanup.
15320 * sysdeps/arm/fesetround.c: Cleanup.
15321 * sysdeps/arm/feupdateenv.c: Cleanup.
15322 * sysdeps/arm/fgetexcptflg.c: Cleanup.
15323 * sysdeps/arm/fraiseexcpt.c: Cleanup.
15324 * sysdeps/arm/fsetexcptflg.c: Cleanup.
15325 * sysdeps/arm/ftestexcept.c: Cleanup.
15326 * sysdeps/arm/get-rounding-mode.h: Cleanup.
15327 * sysdeps/arm/setfpucw.c: Cleanup.
15329 2014-05-09 Will Newton <will.newton@linaro.org>
15331 * sysdeps/arm/armv7/strcmp.S: New file.
15332 * NEWS: Mention addition of ARMv7 optimized strcmp.
15334 2014-05-08 Roland McGrath <roland@hack.frob.com>
15336 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
15337 look for %.ac rather than %.in.
15339 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
15340 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
15341 * sysdeps/mach/hurd/configure: Regenerated.
15342 * sysdeps/unix/sysv/linux/configure: Regenerated.
15344 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
15346 2014-05-07 Steve Ellcey <sellcey@mips.com>
15349 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
15353 2014-05-07 Andreas Schwab <schwab@suse.de>
15355 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
15356 when skipping over non-matching result from nscd.
15358 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
15361 * nptl/sockperf.c (client): Check socket return value.
15364 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
15365 nscd security class.
15367 2014-05-06 Roland McGrath <roland@hack.frob.com>
15369 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
15370 * sysdeps/arm/unwind.h: ... here.
15372 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
15375 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
15378 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15380 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
15381 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
15382 multiarch strncpy for PPC64.
15383 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
15384 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
15385 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
15386 multiarch optimizations.
15387 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15388 (__libc_ifunc_impl_list): Likewise.
15389 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
15390 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
15391 multiarch stpncpy for PPC64.
15392 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
15393 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
15395 2014-05-06 Andreas Schwab <schwab@suse.de>
15398 * gmon/mcount.c (_MCOUNT_DECL): Use
15399 atomic_compare_and_exchange_bool_acq instead of
15400 catomic_compare_and_exchange_bool_acq.
15402 2014-05-05 Roland McGrath <roland@hack.frob.com>
15404 * elf/Makefile (others, install-bin): Remove pldd.
15405 (pldd-modules): Variable removed.
15406 ($(objpfx)pldd): Target removed.
15407 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
15408 (others, install-bin): Append pldd here.
15409 ($(objpfx)pldd): New target.
15411 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
15412 to 0, so the first #if test emitted later doesn't see it undefined.
15413 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
15414 * sysdeps/gnu/errlist.c: Regenerated.
15416 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15418 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15419 [libc_hidden_builtin_def]: Define to empty value.
15420 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
15421 [libc_hidden_builtin_def]: Likewise.
15422 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
15423 [libc_hidden_builtin_def]: Likewise.
15424 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
15425 [libc_hidden_builtin_def]: Likewise.
15426 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
15427 __redirect_memcpy and define ifunc as default hidden symbol.
15428 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
15429 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
15431 2014-05-04 Adam Conrad <adconrad@0c3.net>
15433 * locale/iso-4217.def: Reintroduce XDR currency.
15435 2014-05-04 Allan McRae <allan@archlinux.org>
15437 * po/eo.po: Update Esperanto translation from translation project.
15439 2014-05-02 Carlos O'Donell <carlos@redhat.com>
15441 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
15442 and FEATURE_INDEX_MAX to 1.
15443 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
15445 2014-05-01 Steve Ellcey <sellcey@mips.com>
15447 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
15448 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
15449 * iconvdata/big5.c (ONE_DIRECTION): Define.
15450 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
15451 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
15452 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
15453 * iconvdata/cp932.c (ONE_DIRECTION): Define.
15454 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
15455 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
15456 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
15457 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
15458 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
15459 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
15460 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
15461 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
15462 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
15463 * iconvdata/gbk.c (ONE_DIRECTION): Define.
15464 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
15465 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
15466 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
15467 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
15468 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
15469 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
15470 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
15471 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
15472 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
15473 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
15474 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
15475 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
15476 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
15477 * iconvdata/iso646.c (ONE_DIRECTION): Define.
15478 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
15479 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
15480 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
15481 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
15482 * iconvdata/johab.c (ONE_DIRECTION): Define.
15483 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
15484 * iconvdata/sjis.c (ONE_DIRECTION): Define.
15485 * iconvdata/t.61.c (ONE_DIRECTION): Define.
15486 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
15487 * iconvdata/tscii.c (ONE_DIRECTION): Define.
15488 * iconvdata/uhc.c (ONE_DIRECTION): Define.
15489 * iconvdata/unicode.c (ONE_DIRECTION): Define.
15490 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
15491 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
15492 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
15494 2014-05-01 Roland McGrath <roland@hack.frob.com>
15496 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
15497 (_IO_JUMPS_OFFSET): Define to 0.
15499 * nptl/sysdeps/pthread/bits/libc-lock.h
15500 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15501 (__libc_lock_define_initialized_recursive): Always define using
15502 initializer. Modern compilers treat uninitialized (implicit zero) and
15503 explicit zero initializers the same (i.e. put the datum in bss).
15505 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
15507 * nscd/nscd-client.h: Include <string.h>.
15509 2014-05-01 David S. Miller <davem@davemloft.net>
15512 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
15513 multiple zero bytes exist at the end of a string.
15514 Reported by Aurelien Jarno <aurelien@aurel32.net>
15516 * string/test-strcmp.c (check): Add explicit test for situations where
15517 there are multiple zero bytes after the first.
15519 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
15522 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
15523 when compiling wprintf.
15524 * stdio-common/tstdiomisc.c (t3): New function.
15527 2014-05-01 Steve Ellcey <sellcey@mips.com>
15529 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
15530 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
15531 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
15532 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
15534 2014-05-01 Steve Ellcey <sellcey@mips.com>
15536 * stdlib/longlong.h: Updated from GCC.
15538 2014-05-01 Will Newton <will.newton@linaro.org>
15539 Bernard Ogden <bernie.ogden@linaro.org>
15541 * NEWS: Update fixed bug list.
15544 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
15546 2014-04-30 David S. Miller <davem@davemloft.net>
15548 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
15549 (libc_feholdexcept_setround_sparc_ctx): New function.
15550 (libc_fesetenv_sparc_ctx): Likewise.
15551 (libc_feupdateenv_sparc_ctx): Likewise.
15552 (libc_feholdsetround_sparc_ctx): Likewise.
15553 (libc_feholdexcept_setround_ctx): Define.
15554 (libc_feholdexcept_setroundf_ctx): Likewise.
15555 (libc_feholdexcept_setroundl_ctx): Likewise.
15556 (libc_fesetenv_ctx): Likewise.
15557 (libc_fesetenvf_ctx): Likewise.
15558 (libc_fesetenvl_ctx): Likewise.
15559 (libc_feupdateenv_ctx): Likewise.
15560 (libc_feupdateenvf_ctx): Likewise.
15561 (libc_feupdateenvl_ctx): Likewise.
15562 (libc_feresetround_ctx): Likewise.
15563 (libc_feresetroundf_ctx): Likewise.
15564 (libc_feresetroundl_ctx): Likewise.
15565 (libc_feholdsetround_ctx): Likewise.
15566 (libc_feholdsetroundf_ctx): Likewise.
15567 (libc_feholdsetroundl_ctx): Likewise.
15569 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15570 with __USE_GNU instead of XOPEN cpp guards.
15572 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
15575 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15576 with XOPEN cpp guards.
15578 2014-04-30 Julian Brown <julian@codesourcery.com>
15581 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
15584 2014-04-30 Joseph Myers <joseph@codesourcery.com>
15587 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
15589 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
15590 * sysdeps/unix/sysv/linux/configure: Regenerated.
15591 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
15592 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
15593 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
15594 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
15595 * README: Update reference to required Linux kernel version.
15596 * manual/install.texi (Linux): Update reference to required Linux
15597 kernel headers version.
15598 * INSTALL: Regenerated.
15600 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
15602 [POSIX] (limits.h): Likewise.
15603 [POSIX] (math.h): Likewise.
15604 [POSIX] (sys/wait.h): Likewise.
15605 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
15607 [POSIX] (stddef.h): Do not allow header inclusion.
15609 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15611 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
15613 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
15615 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15616 Return immediately after lll_futex_wake.
15618 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15621 * nscd/nscd-client.h (datahead_init_common): Initialize entire
15623 (datahead_init_pos): Call datahead_init_common early.
15624 (datahead_init_neg): Likewise.
15626 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
15627 datahead_init_neg): New functions.
15628 * nscd/aicache.c (addhstaiX): Use them.
15629 * nscd/grpcache.c (cache_addgr): Likewise.
15630 * nscd/hstcache.c (cache_addhst): Likewise.
15631 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15632 * nscd/netgroupcache.c (do_notfound): Likewise.
15633 (addgetnetgrentX): Likewise.
15634 (addinnetgrX): Likewise.
15635 * nscd/pwdcache.c (cache_addpw): Likewise.
15636 * nscd/servicescache.c (cache_addserv): Likewise.
15638 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15639 Atsushi Onoe <atsushi@onoe.org>
15644 * resolv/res_query.c (__libc_res_nsearch): Return if at least
15645 one response is valid.
15646 * resolv/res_send.c (send_dg): Check for validity of other
15647 response if the current response is a referral.
15649 2014-04-29 Steve Ellcey <sellcey@mips.com>
15651 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
15653 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
15656 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
15657 Always divide by positive zero when computing -Inf result.
15658 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15659 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15661 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15663 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
15664 FPSCR if value do not change.
15665 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15666 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
15667 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15668 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15669 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
15670 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
15673 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
15675 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
15676 * sysdeps/unix/sysv/linux/hppa: Move directory from
15677 ports/systeps/unix/sysv/linux/hppa.
15678 * README: Update listing for hppa-*-linux-gnu.
15680 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
15683 * manual/stdio.texi (Hook functions): Fix types of stream hook
15686 * socket/sys/socket.h: Fix typo in comment.
15688 2014-04-28 Wilco <wdijkstr@arm.com>
15690 * sysdeps/arm/fenv_private.h: New file.
15691 * sysdeps/arm/math_private.h: New file.
15692 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
15694 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
15696 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
15698 (La_x86_64_retval): Likewise.
15700 2014-04-24 Ian Bolton <ian.bolton@arm.com>
15702 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
15703 fpsr if value didn't change.
15704 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
15705 to fpcr if value didn't change.
15706 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
15707 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
15708 fpsr or fpcr if value didn't change.
15709 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15710 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
15711 fpcr if value didn't change.
15712 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
15713 to fpsr if value didn't change.
15715 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15717 * nptl/tst-sem3.c: Use test-skeleton.c
15718 (main): Rename to do_test. Use return instead of
15720 * nptl/tst-sem4.c: Use test-skeleton.c
15721 (main): Rename to do_test.
15723 2014-04-22 David S. Miller <davem@davemloft.net>
15725 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
15726 (struct sigaction): New struct member __glibc_reserved0, change
15727 type of sa_flags to int.
15729 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
15731 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
15732 (COUNT_LEADING_ZEROS_0): Define for AArch64.
15734 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15736 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
15737 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
15739 2014-04-22 Will Newton <will.newton@linaro.org>
15740 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
15742 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
15743 (__longjmp): Add longjmp and longjmp_target SystemTap
15745 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
15746 (__sigsetjmp): Add setjmp SystemTap probe.
15748 2014-04-17 Carlos O'Donell <carlos@redhat.com>
15750 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
15751 match manual order.
15753 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15755 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
15757 * sysdeps/powerpc/fpu/fenv_private.h
15758 (libc_feholdexcept_setroundl_ctx): Define to
15759 libc_feholdexcept_setround_ppc_ctx.
15760 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
15761 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
15762 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
15763 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
15765 2014-04-17 Ian Bolton <ian.bolton@arm.com>
15767 * sysdeps/aarch64/math-tests.h: New file.
15769 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
15771 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
15773 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15774 Check and set bit_AVX2_Usable.
15775 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
15777 (bit_AVX2): Likewise.
15778 (index_AVX2_Usable): Likewise.
15779 (CPUID_AVX2): Likewise.
15780 (HAS_AVX2): Likewise.
15782 2014-04-17 Will Newton <will.newton@linaro.org>
15784 * manual/setjmp.texi (System V contexts): Add note that
15785 calling setcontext on a context created by a call to a
15786 signal handler is undefined. Update text to note that
15787 setcontext from a signal handler is possible but not
15791 * stdlib/tst-setcontext.c: Include signal.h.
15792 (main): Check that the signal stack before and
15793 after swapcontext is the same.
15795 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
15796 Re-implement to restore registers in user code and avoid
15797 rt_sigreturn system call.
15799 2014-04-17 Wilco <wdijkstr@arm.com>
15801 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
15802 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
15803 * math/test-fenv.c: Skip exception trap tests on targets which only
15804 support non-stop mode.
15806 2014-04-17 Ian Bolton <ian.bolton@arm.com>
15807 Wilco Dijkstra <wilco.dijkstra@arm.com>
15809 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
15810 (libc_feholdsetround_aarch64_ctx)
15811 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
15812 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
15813 (libc_feresetround_ctx, libc_feresetroundf_ctx)
15814 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
15815 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
15816 (libc_feresetround_noexl_ctx): Define.
15818 2014-04-16 Richard Henderson <rth@redhat.com>
15820 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
15822 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
15825 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
15826 const from the non-libc, non-ldso copy.
15828 * sysdeps/alpha/libm-test-ulps: Regenerate.
15830 2014-04-16 Ian Bolton <ian.bolton@arm.com>
15831 Wilco Dijkstra <wilco.dijkstra@arm.com>
15833 * sysdeps/aarch64/fpu/math_private.h: New file.
15835 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
15837 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15839 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
15842 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
15843 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
15844 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
15845 Intel MPX bound registers before _dl_profile_fixup.
15846 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
15847 registers after _dl_profile_fixup. Save and restore bound
15848 registers bnd0/bnd1 when calling _dl_call_pltexit.
15849 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15850 (LR_BND_OFFSET): Likewise.
15851 (LRV_BND0_OFFSET): Likewise.
15852 (LRV_BND1_OFFSET): Likewise.
15854 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15856 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15858 * sysdeps/mach/hurd/i386/tls.h: ... here.
15859 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15860 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15863 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15865 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15867 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15869 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15871 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15874 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15875 * sysdeps/s390/configure: Regenerate.
15878 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15879 Set round-to-nearest internally to reduce error accumulation.
15881 2014-04-16 Alan Modra <amodra@gmail.com>
15885 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15886 * math/libm-test.inc (frexp_test_data): Add tests.
15887 * NEWS: Update fixed bug list.
15889 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15891 * benchtests/Makefile: Depend on libraries in build directory.
15892 (bench-math): Separate out math tests.
15893 (bench-pthread): Separate out pthread tests.
15894 (bench): Include math and pthread tests.
15896 2014-04-14 Carlos O'Donell <carlos@redhat.com>
15899 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15900 _dl_debug_initialize.
15902 * configure.ac: Remove SELinux header check.
15903 * configure: Regenerate.
15904 * nscd/selinux.c (perms): Array of const char* to permission names.
15905 (nscd_request_avc_has_perm): Call security_deny_unknown to find
15906 default policy. Call string_to_security_class and string_to_av_perm to
15907 translate strings. Enforce default policy and call avs_has_perm with
15908 results of translated strings.
15910 2014-04-13 David S. Miller <davem@davemloft.net>
15912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15914 2014-04-12 Allan McRae <allan@archlinux.org>
15917 * manual/string.texi (Collation Functions): Fix qsort argument
15919 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15921 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
15923 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15924 Make the test a no-op if there are no exceptions defined.
15926 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
15928 * elf/Makefile (tests): make tst-dlopen-aout conditional on
15929 enable-hardcoded-path-in-tests
15931 2014-04-11 Will Newton <will.newton@linaro.org>
15933 * benchtests/Makefile (extra-objs): Add json-lib.o.
15934 (bench-func): Tidy up JSON output.
15935 * benchtests/bench-skeleton.c: Include json-lib.h.
15936 (main): Use JSON library functions to do output of
15938 * benchtests/bench-timing-type.c (main): Output the
15939 timing type simply, leaving formatting to the user.
15940 * benchtests/json-lib.c: New file.
15941 * benchtests/json-lib.h: Likewise.
15943 2014-04-11 Torvald Riegel <triegel@redhat.com>
15946 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15947 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
15948 memory barriers. Add comments.
15949 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15950 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15951 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15952 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15953 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15954 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15956 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15958 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15959 * sysdeps/s390/s390-64/configure.ac: ... this ...
15960 * sysdeps/s390/configure.ac: ... to here.
15961 * sysdeps/s390/s390-32/configure: Delete file.
15962 * sysdeps/s390/s390-64/configure: Delete file.
15963 * sysdeps/s390/configure: Regenerate.
15965 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
15967 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15969 2014-04-11 Will Newton <will.newton@linaro.org>
15971 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15972 to zero if it is not defined elsewhere. (mtrim): Test
15973 the value of MALLOC_DEBUG with #if rather than #ifdef.
15975 2014-04-10 Torvald Riegel <triegel@redhat.com>
15977 * benchtests/pthread_once-inputs: New file.
15978 * benchtests/pthread_once-source.c: New file.
15979 * benchtests/README: Update documentation.
15981 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
15982 H.J. Lu <hongjiu.lu@intel.com>
15985 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15986 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15987 * sysdeps/x86_64/configure: Regenerated.
15988 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15990 (REGISTER_SAVE_RAX): Likewise.
15991 (REGISTER_SAVE_RCX): Likewise.
15992 (REGISTER_SAVE_RDX): Likewise.
15993 (REGISTER_SAVE_RSI): Likewise.
15994 (REGISTER_SAVE_RDI): Likewise.
15995 (REGISTER_SAVE_R8): Likewise.
15996 (REGISTER_SAVE_R9): Likewise.
15997 (REGISTER_SAVE_BND0): Likewise.
15998 (REGISTER_SAVE_BND1): Likewise.
15999 (REGISTER_SAVE_BND2): Likewise.
16000 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
16001 bound registers when calling _dl_fixup.
16003 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16005 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
16006 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
16008 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
16009 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
16010 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
16011 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
16012 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
16013 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
16014 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
16016 2014-04-09 Peter Brett <peter@peter-b.co.uk>
16019 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
16020 pathconf(_PC_NAME_MAX).
16022 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16024 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
16025 Remove macro usage.
16026 (__PTHREAD_SPINS): Move definition to ...
16027 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16028 (__PTHREAD_SPINS): ... here.
16029 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16030 (__PTHREAD_SPIN): Likewise.
16031 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
16032 (__PTHREAD_SPIN): Likewise.
16033 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
16034 (__PTHREAD_SPIN): Likewise.
16035 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
16036 (__PTHREAD_SPIN): Likewise.
16037 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16038 (__PTHREAD_SPIN): Likewise.
16039 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16040 (__PTHREAD_SPIN): Likewise.
16041 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
16042 (__PTHREAD_SPIN): Likewise.
16043 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16044 (__PTHREAD_SPIN): Likewise.
16045 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16046 (__PTHREAD_SPIN): Likewise.
16047 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16048 (__PTHREAD_SPIN): Likewise.
16049 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16050 (__PTHREAD_SPIN): Likewise.
16051 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
16052 (__PTHREAD_SPIN): Likewise.
16054 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
16055 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
16056 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
16057 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
16059 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
16060 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
16061 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
16062 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
16063 correct imply path.
16064 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
16065 strlen symbol for non multi-arch builds.
16066 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
16067 missing hidden_def and weak_alias.
16069 2014-04-08 Carlos O'Donell <carlos@redhat.com>
16071 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
16073 2014-04-07 Will Newton <will.newton@linaro.org>
16075 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
16076 and contents. [!_LIBC] Remove #ifndef and contents.
16077 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
16078 * string/memccpy.c (__memccpy): Use ANSI prototype.
16079 * string/memfrob.c (memfrob): Likewise.
16080 * string/strcoll.c (STRCOLL): Likewise.
16081 * string/strlen.c (strlen): Likewise.
16082 * string/strtok.c (STRTOK): Likewise.
16083 * string/strcat.c: Remove unused #include of memcopy.h.
16084 (strcat): Use ANSI prototype.
16085 * string/strchr.c: Remove unused #include of memcopy.h.
16086 (strchr): Use ANSI prototype.
16087 * string/strcmp.c: Remove unused #include of memcopy.h.
16088 (strcmp): Use ANSI prototype.
16089 * string/strcpy.c: Remove unused #include of memcopy.h.
16090 (strcpy): Use ANSI prototype.
16092 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16094 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
16095 * config.make.in (config-extra-cppflags): Set it from
16096 libc_extra_cppflags.
16097 * configure.ac (libc_extra_cflags): Make it accumulate over
16098 configure fragments.
16099 (libc_extra_cppflags): New flag.
16100 * configure. Regenerate.
16101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
16102 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
16103 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
16104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16107 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
16108 result for FE_DOWNWARD rounding mode.
16109 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
16111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16113 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
16115 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
16116 in function argument name.
16118 2014-04-03 David Svoboda <svoboda@cert.org>
16121 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
16124 2014-04-03 Roland McGrath <roland@hack.frob.com>
16126 * elf/dl-unmap-segments.h: New file.
16127 * sysdeps/generic/ldsodefs.h
16128 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
16129 * elf/dl-close.c: Include <dl-unmap-segments.h>.
16130 * elf/dl-fptr.c: Likewise.
16131 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
16132 * sysdeps/aarch64/tlsdesc.c: Likewise.
16133 * sysdeps/arm/tlsdesc.c: Likewise.
16134 * sysdeps/i386/tlsdesc.c: Likewise.
16135 * sysdeps/tile/dl-runtime.c: Likewise.
16136 * sysdeps/x86_64/tlsdesc.c: Likewise.
16137 * elf/dl-load.h: New file.
16138 * elf/dl-load.c: Include it.
16139 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
16140 Macros moved to dl-load.h.
16141 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
16142 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
16143 Use _dl_unmap_segments in place of __munmap.
16144 Break out segment-mapping loop into ...
16145 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
16147 2014-04-03 Will Newton <will.newton@linaro.org>
16149 * elf/dl-lookup.c (do_lookup_x): Remove comment
16150 referring to nested function and move variable
16151 declarations down to before first use.
16153 2014-04-02 Joseph Myers <joseph@codesourcery.com>
16157 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
16159 * math/s_catanf.c (__catanf): Likewise.
16160 * math/s_catanh.c (__catanh): Likewise.
16161 * math/s_catanhf.c (__catanhf): Likewise.
16162 * math/s_catanhl.c (__catanhl): Likewise.
16163 * math/s_catanl.c (__catanl): Likewise.
16164 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
16165 by positive zero when computing -Inf result.
16166 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
16167 (catanh_test): Likewise.
16168 * sysdeps/i386/fpu/libm-test-ulps: Update.
16169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16172 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
16173 instead of using underflowing value in computing result.
16174 * math/s_clog10.c (__clog10): Likewise.
16175 * math/s_clog10f.c (__clog10f): Likewise.
16176 * math/s_clog10l.c (__clog10l): Likewise.
16177 * math/s_clogf.c (__clogf): Likewise.
16178 * math/s_clogl.c (__clogl): Likewise.
16179 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
16180 (clog10_test): Likewise.
16181 * sysdeps/i386/fpu/libm-test-ulps: Update.
16182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16184 2014-04-02 Alan Modra <amodra@gmail.com>
16187 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
16188 output when value is near a power of two. Use int64_t for lx and
16189 remove casts. Use decimal rather than hex exponent constants.
16190 Don't use long double multiplication when double will suffice.
16191 * math/libm-test.inc (nextafter_test_data): Add tests.
16192 * NEWS: Add 16739 and 16786 to bug list.
16194 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
16196 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
16198 2014-04-01 Will Newton <will.newton@linaro.org>
16200 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
16201 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
16203 2014-04-01 Florian Weimer <fweimer@redhat.com>
16206 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
16207 * nptl/tst-setuid2.c: New file.
16208 * nptl/Makefile (xtests): Add tst-setuid2.
16210 2014-04-01 Alan Modra <amodra@gmail.com>
16213 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
16215 2014-03-31 Joseph Myers <joseph@codesourcery.com>
16219 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
16220 set errno as appropriate.
16221 * math/w_scalbf.c (__scalbf): Likewise.
16222 * math/w_scalbl.c (__scalbl): Likewise.
16223 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
16224 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
16225 * math/libm-test.inc (scalb_test_data): Add errno expectations.
16226 Add more NaN tests.
16229 * math/w_atan2.c: Include <errno.h>.
16230 (__atan2): Set errno for result underflowing to zero.
16231 * math/w_atan2f.c: Include <errno.h>.
16232 (__atan2f): Set errno for result underflowing to zero.
16233 * math/w_atan2l.c: Include <errno.h>.
16234 (__atan2l): Set errno for result underflowing to zero.
16235 * math/auto-libm-test-in: Don't allow missing errno for some atan2
16237 * math/auto-libm-test-out: Regenerated.
16239 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16241 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
16242 Encode instruction correctly in little endian.
16243 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
16245 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
16247 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
16249 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
16252 2014-03-31 Joseph Myers <joseph@codesourcery.com>
16255 * sysdeps/unix/sysv/linux/kernel-features.h
16256 [__sparc__ && !__arch64__ && !__sparc_v9__]
16257 (__ASSUME_SET_ROBUST_LIST): Do not define.
16258 [__sparc__ && !__arch64__ && !__sparc_v9__]
16259 (__ASSUME_FUTEX_LOCK_PI): Likewise.
16260 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
16262 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16263 (__ASSUME_FUTEX_LOCK_PI): Undefine.
16264 (__ASSUME_REQUEUE_PI): Likewise.
16265 (__ASSUME_SET_ROBUST_LIST): Likewise.
16266 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16267 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
16269 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16270 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
16272 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
16274 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
16276 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16277 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
16279 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
16280 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
16284 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16285 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
16286 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
16288 2014-03-31 Will Newton <will.newton@linaro.org>
16290 * benchtests/Makefile (bench): Add ffs and ffsll to list
16292 * benchtests/ffs-inputs: New file.
16293 * benchtests/ffsll-inputs: Likewise.
16295 2014-03-29 Joseph Myers <joseph@codesourcery.com>
16298 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
16299 too large before casting to int.
16300 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
16301 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
16302 * math/libm-test.inc (scalb_test_data): Add more tests.
16304 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16306 * benchtests/Makefile (DETAILED_OPT): New make option.
16307 (bench-func): Run benchmark program with -d if DETAILED_OPT is
16309 * benchtests/bench-skeleton.c: Include stdbool.h.
16310 (main): Store and print timings per input.
16311 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
16312 member to each argument value.
16313 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
16314 (_print_arg_data): Initialize per-input timing to 0.
16316 * benchtests/Makefile (timing-type): New binary.
16317 (bench-clean): Also remove bench-timing-type.
16318 (bench): New target for timing-type.
16319 (bench-func): Print output in JSON format.
16320 * benchtests/bench-skeleton.c (main): Print output in JSON
16322 * benchtests/bench-timing-type.c: New file.
16323 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
16324 (TIMING_PRINT_STATS): Remove.
16325 * benchtests/scripts/bench.py (_print_arg_data): Store variant
16328 * benchtests/bench-modf.c: Remove.
16329 * benchtests/modf-inputs: New inputs file.
16331 2014-03-28 Joseph Myers <joseph@codesourcery.com>
16334 * math/s_clog10.c (M_PI_LOG10E): New macro.
16335 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
16336 imaginary parts are 0.
16337 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
16338 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
16339 imaginary parts are 0.
16340 * math/s_clog10l.c (M_PI_LOG10El): New macro.
16341 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
16342 imaginary parts are 0.
16343 * math/libm-test.inc (clog10_test_data): Update expected results
16344 for when real and imaginary parts are 0.
16346 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
16348 * elf/dl-load.c: Finish conversion of __builtin_expect into
16349 __glibc_{un}likely.
16351 2014-03-27 Joseph Myers <joseph@codesourcery.com>
16354 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
16355 1+x for argument with exponent below -67.
16356 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
16358 * math/auto-libm-test-in: Add more tests of exp.
16359 * math/auto-libm-test-out: Regenerated.
16361 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16364 * inet/getnetgrent_r.c (get_nonempty_val): New function.
16365 (nscd_getnetgrent): Use it.
16368 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
16371 2014-03-27 Andi Kleen <ak@linux.intel.com>
16373 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
16374 (lll_robust_lock, lll_cond_lock, lll_timedlock)
16375 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
16376 (lll_robust_unlock): Remove out of line section. Use cfi
16378 (LLL_STUB_UNWIND_INFO*): Remove.
16379 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
16380 (lll_robust_lock, lll_cond_lock, lll_timedlock)
16381 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
16382 (lll_robust_unlock): Remove out of line section. Use cfi
16384 (LLL_STUB_UNWIND_INFO*): Remove.
16386 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16389 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
16392 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
16394 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
16396 2014-03-26 Joseph Myers <joseph@codesourcery.com>
16399 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
16401 * math/test-fenv-preserve.c: New file.
16402 * math/Makefile (tests): Add test-fenv-preserve.
16404 2014-03-26 Will Newton <will.newton@linaro.org>
16406 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
16408 2014-03-25 Roland McGrath <roland@hack.frob.com>
16410 * scripts/versionlist.awk: Partition the version sets and emit all
16411 GLIBC_* (sorted) before all others (sorted).
16413 2014-03-25 Joseph Myers <joseph@codesourcery.com>
16415 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
16416 GLIBC_2.2.5 version.
16418 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16420 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
16423 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
16426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16428 2014-03-25 Andreas Schwab <schwab@suse.de>
16430 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
16431 label to be used after in6ailist is initialized.
16433 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16435 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16436 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
16438 2014-03-25 Joseph Myers <joseph@codesourcery.com>
16442 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
16444 (fp_formats): Update initializers.
16445 (init_fp_formats): Initialize new field.
16446 (output_for_one_input_case): Allow underflow for results up to
16448 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
16449 * math/auto-libm-test-in: Don't mark some underflows from asin and
16451 * math/auto-libm-test-out: Regenerated.
16452 * sysdeps/i386/fpu/libm-test-ulps: Update.
16453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16455 2014-03-25 Andreas Schwab <schwab@suse.de>
16457 * libio/Makefile (tst-ftell-partial-wide-ENV)
16458 (tst-ftell-active-handler-ENV): Define.
16460 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
16462 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
16464 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
16466 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
16468 2014-03-24 Joseph Myers <joseph@codesourcery.com>
16470 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
16471 * sysdeps/x86_64/fpu/multiarch/e_exp.c
16472 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16474 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
16477 * elf/dl-load.c (open_verify): Add mode parameter.
16478 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
16479 (open_path): Change from boolean 'secure' to complete flag 'mode'
16480 (_dl_map_object): Adjust.
16481 * elf/Makefile (tests): Add tst-dlopen-aout.
16482 * elf/tst-dlopen-aout.c: New test.
16484 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16487 * sysdeps/unix/sysv/linux/s390/bits/stat.h
16488 (struct stat): Rename member pad0 to __glibc_reserved0.
16491 * sysdeps/s390/s390-32/bits/wordsize.h
16492 (__WORDSIZE32_SIZE_ULONG): New define.
16493 * sysdeps/s390/s390-64/bits/wordsize.h
16494 (__WORDSIZE32_SIZE_ULONG): Likewise.
16495 * sysdeps/generic/stdint.h (SIZE_MAX):
16496 Define as UL if __WORDSIZE32_SIZE_ULONG.
16499 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
16500 (__glibc_reserved0): New variable.
16501 (sa_flags): Change type to int.
16503 * posix/Makefile (before-compile): Use += before-compile instead
16506 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16507 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
16509 2014-03-20 Andreas Schwab <schwab@suse.de>
16512 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
16513 non-matching result from nscd.
16515 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16517 * scripts/bench.py: Moved to ...
16518 * benchtests/scripts/bench.py: ... here.
16519 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
16521 2014-03-24 Andreas Schwab <schwab@suse.de>
16524 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
16525 alloca_account and account alloca use for struct in6ailist.
16527 2014-03-24 Joseph Myers <joseph@codesourcery.com>
16530 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
16531 rounding mode to recompute results that overflow to infinity or
16533 * math/auto-libm-test-in: Don't mark tests as expected to fail for
16535 * math/auto-libm-test-out: Regenerated.
16536 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
16537 (ccosh_test): Likewise.
16538 (csin_test_data): Use plus_oflow.
16539 (csin_test): Use ALL_RM_TEST.
16540 (csinh_test_data): Use plus_oflow.
16541 (csinh_test): Use ALL_RM_TEST.
16542 * sysdeps/i386/fpu/libm-test-ulps: Update.
16543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16545 2014-03-21 Joseph Myers <joseph@codesourcery.com>
16547 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
16548 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
16549 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
16552 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
16553 when x - 1 is zero.
16554 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
16555 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
16556 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16557 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
16559 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
16560 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
16562 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
16563 * sysdeps/i386/fpu/libm-test-ulps: Update.
16564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16566 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16568 * scripts/bench.pl: Remove file.
16569 * scripts/bench.py: New benchmark script.
16570 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
16571 * benchtests/README: Mention python dependency.
16572 * scripts/pylintrc: New file.
16573 * scripts/pylint: New file.
16575 * bits/mathdef.h: Use #ifdef instead of #if.
16576 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
16577 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16578 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
16579 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16580 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
16581 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16583 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16584 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16586 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
16587 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
16588 and strpbrk-ppc64 objects.
16589 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16590 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
16591 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
16592 multiarch strpbrk for POWER7.
16593 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
16594 multiarch strpbrk for PPC64.
16595 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
16597 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
16598 strpbrk for POWER7.
16600 2014-03-20 Joseph Myers <joseph@codesourcery.com>
16602 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
16603 (atan_test): Likewise.
16604 (atanh_test_data): Use NO_TEST_INLINE for two tests.
16605 (atanh_test): Use ALL_RM_TEST.
16606 (atan2_test_data): Likewise.
16607 (cabs_test): Likewise.
16608 (cacosh_test): Likewise.
16609 (carg_test): Likewise.
16610 (casin_test): Likewise.
16611 (casinh_test): Likewise.
16612 (cbrt_test): Likewise.
16613 (csqrt_test): Likewise.
16614 (erf_test): Likewise.
16615 (erfc_test): Likewise.
16616 (pow10_test): Likewise.
16617 (exp2_test): Likewise.
16618 (hypot_test): Likewise.
16619 (j0_test): Likewise.
16620 (j1_test): Likewise.
16621 (lgamma_test): Likewise.
16622 (gamma_test): Likewise.
16623 (sincos_test): Likewise.
16624 (tanh_test): Likewise.
16625 (y0_test): Likewise.
16626 (y1_test): Likewise.
16627 * sysdeps/i386/fpu/libm-test-ulps: Update.
16628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16630 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16632 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
16633 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
16634 and strcspn-ppc64 objects.
16635 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16636 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
16637 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
16638 multiarch strcspn for POWER7.
16639 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
16640 multiarch strcspn for PPC64.
16641 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
16643 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
16644 strcspn for POWER7.
16646 2014-03-20 Joseph Myers <joseph@codesourcery.com>
16648 * math/gen-libm-test.pl (generate_testfile): Expect only function
16649 name as argument to AUTO_TESTS_* and pass results for all rounding
16650 modes to parse_args.
16651 (parse_auto_input): Separate inputs of automatic tests from
16652 outputs before storing in %auto_tests.
16653 * math/libm-test.inc (acos_test_data): Update call to
16655 (acos_test): Use ALL_RM_TEST.
16656 (acos_tonearest_test_data): Remove.
16657 (acos_test_tonearest): Likewise.
16658 (acos_towardzero_test_data): Likewise.
16659 (acos_test_towardzero): Likewise.
16660 (acos_downward_test_data): Likewise.
16661 (acos_test_downward): Likewise.
16662 (acos_upward_test_data): Likewise.
16663 (acos_test_upward): Likewise.
16664 (acosh_test_data): Update call to AUTO_TESTS_f_f.
16665 (asin_test_data): Likewise.
16666 (asin_test): Use ALL_RM_TEST.
16667 (asin_tonearest_test_data): Remove.
16668 (asin_test_tonearest): Likewise.
16669 (asin_towardzero_test_data): Likewise.
16670 (asin_test_towardzero): Likewise.
16671 (asin_downward_test_data): Likewise.
16672 (asin_test_downward): Likewise.
16673 (asin_upward_test_data): Likewise.
16674 (asin_test_upward): Likewise.
16675 (asinh_test_data): Update call to AUTO_TESTS_f_f.
16676 (atan_test_data): Likewise.
16677 (atanh_test_data): Likewise.
16678 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
16679 (cabs_test_data): Update call to AUTO_TESTS_c_f.
16680 (carg_test_data): Likewise.
16681 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
16682 (ccos_test_data): Update call to AUTO_TESTS_c_c.
16683 (ccosh_test_data): Likewise.
16684 (cexp_test_data): Likewise.
16685 (clog_test_data): Likewise.
16686 (clog10_test_data): Likewise.
16687 (cos_test_data): Update call to AUTO_TESTS_f_f.
16688 (cos_test): Use ALL_RM_TEST.
16689 (cos_tonearest_test_data): Remove.
16690 (cos_test_tonearest): Likewise.
16691 (cos_towardzero_test_data): Likewise.
16692 (cos_test_towardzero): Likewise.
16693 (cos_downward_test_data): Likewise.
16694 (cos_test_downward): Likewise.
16695 (cos_upward_test_data): Likewise.
16696 (cos_test_upward): Likewise.
16697 (cosh_test_data): Update call to AUTO_TESTS_f_f.
16698 (cosh_test): Use ALL_RM_TEST.
16699 (cosh_tonearest_test_data): Remove.
16700 (cosh_test_tonearest): Likewise.
16701 (cosh_towardzero_test_data): Likewise.
16702 (cosh_test_towardzero): Likewise.
16703 (cosh_downward_test_data): Likewise.
16704 (cosh_test_downward): Likewise.
16705 (cosh_upward_test_data): Likewise.
16706 (cosh_test_upward): Likewise.
16707 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
16708 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
16709 (ctan_test_data): Likewise.
16710 (ctan_test): Use ALL_RM_TEST.
16711 (ctan_tonearest_test_data): Remove.
16712 (ctan_test_tonearest): Likewise.
16713 (ctan_towardzero_test_data): Likewise.
16714 (ctan_test_towardzero): Likewise.
16715 (ctan_downward_test_data): Likewise.
16716 (ctan_test_downward): Likewise.
16717 (ctan_upward_test_data): Likewise.
16718 (ctan_test_upward): Likewise.
16719 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
16720 (ctanh_test): Use ALL_RM_TEST.
16721 (ctanh_tonearest_test_data): Remove.
16722 (ctanh_test_tonearest): Likewise.
16723 (ctanh_towardzero_test_data): Likewise.
16724 (ctanh_test_towardzero): Likewise.
16725 (ctanh_downward_test_data): Likewise.
16726 (ctanh_test_downward): Likewise.
16727 (ctanh_upward_test_data): Likewise.
16728 (ctanh_test_upward): Likewise.
16729 (erf_test_data): Update call to AUTO_TESTS_f_f.
16730 (erfc_test_data): Likewise.
16731 (exp_test_data): Likewise.
16732 (exp_test): Use ALL_RM_TEST.
16733 (exp_tonearest_test_data): Remove.
16734 (exp_test_tonearest): Likewise.
16735 (exp_towardzero_test_data): Likewise.
16736 (exp_test_towardzero): Likewise.
16737 (exp_downward_test_data): Likewise.
16738 (exp_test_downward): Likewise.
16739 (exp_upward_test_data): Likewise.
16740 (exp_test_upward): Likewise.
16741 (exp10_test_data): Update call to AUTO_TESTS_f_f.
16742 (exp10_test): Use ALL_RM_TEST.
16743 (exp10_tonearest_test_data): Remove.
16744 (exp10_test_tonearest): Likewise.
16745 (exp10_towardzero_test_data): Likewise.
16746 (exp10_test_towardzero): Likewise.
16747 (exp10_downward_test_data): Likewise.
16748 (exp10_test_downward): Likewise.
16749 (exp10_upward_test_data): Likewise.
16750 (exp10_test_upward): Likewise.
16751 (exp2_test_data): Update call to AUTO_TESTS_f_f.
16752 (expm1_test_data): Likewise.
16753 (expm1_test): Use ALL_RM_TEST.
16754 (expm1_tonearest_test_data): Remove.
16755 (expm1_test_tonearest): Likewise.
16756 (expm1_towardzero_test_data): Likewise.
16757 (expm1_test_towardzero): Likewise.
16758 (expm1_downward_test_data): Likewise.
16759 (expm1_test_downward): Likewise.
16760 (expm1_upward_test_data): Likewise.
16761 (expm1_test_upward): Likewise.
16762 (fma_test_data): Update call to AUTO_TESTS_fff_f.
16763 (fma_test): Use ALL_RM_TEST.
16764 (fma_towardzero_test_data): Remove.
16765 (fma_test_towardzero): Likewise.
16766 (fma_downward_test_data): Likewise.
16767 (fma_test_downward): Likewise.
16768 (fma_upward_test_data): Likewise.
16769 (fma_test_upward): Likewise.
16770 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
16771 (j0_test_data): Update call to AUTO_TESTS_f_f.
16772 (j1_test_data): Likewise.
16773 (jn_test_data): Update call to AUTO_TESTS_if_f.
16774 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
16775 (log_test_data): Update call to AUTO_TESTS_f_f.
16776 (log10_test_data): Likewise.
16777 (log1p_test_data): Likewise.
16778 (log2_test_data): Likewise.
16779 (pow_test_data): Update call to AUTO_TESTS_ff_f.
16780 (pow_tonearest_test_data): Likewise.
16781 (sin_test_data): Update call to AUTO_TESTS_f_f.
16782 (sin_test): Use ALL_RM_TEST.
16783 (sin_tonearest_test_data): Remove.
16784 (sin_test_tonearest): Likewise.
16785 (sin_towardzero_test_data): Likewise.
16786 (sin_test_towardzero): Likewise.
16787 (sin_downward_test_data): Likewise.
16788 (sin_test_downward): Likewise.
16789 (sin_upward_test_data): Likewise.
16790 (sin_test_upward): Likewise.
16791 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
16792 (sinh_test_data): Update call to AUTO_TESTS_f_f.
16793 (sinh_test): Use ALL_RM_TEST.
16794 (sinh_tonearest_test_data): Remove.
16795 (sinh_test_tonearest): Likewise.
16796 (sinh_towardzero_test_data): Likewise.
16797 (sinh_test_towardzero): Likewise.
16798 (sinh_downward_test_data): Likewise.
16799 (sinh_test_downward): Likewise.
16800 (sinh_upward_test_data): Likewise.
16801 (sinh_test_upward): Likewise.
16802 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
16803 (sqrt_test): Use ALL_RM_TEST.
16804 (sqrt_tonearest_test_data): Remove.
16805 (sqrt_test_tonearest): Likewise.
16806 (sqrt_towardzero_test_data): Likewise.
16807 (sqrt_test_towardzero): Likewise.
16808 (sqrt_downward_test_data): Likewise.
16809 (sqrt_test_downward): Likewise.
16810 (sqrt_upward_test_data): Likewise.
16811 (sqrt_test_upward): Likewise.
16812 (tan_test_data): Update call to AUTO_TESTS_f_f.
16813 (tan_test): Use ALL_RM_TEST.
16814 (tan_tonearest_test_data): Remove.
16815 (tan_test_tonearest): Likewise.
16816 (tan_towardzero_test_data): Likewise.
16817 (tan_test_towardzero): Likewise.
16818 (tan_downward_test_data): Likewise.
16819 (tan_test_downward): Likewise.
16820 (tan_upward_test_data): Likewise.
16821 (tan_test_upward): Likewise.
16822 (tanh_test_data): Update call to AUTO_TESTS_f_f.
16823 (tgamma_test_data): Likewise.
16824 (y0_test_data): Likewise.
16825 (y1_test_data): Likewise.
16826 (yn_test_data): Update call to AUTO_TESTS_if_f.
16827 (main): Do not call removed functions.
16829 2014-03-19 Joseph Myers <joseph@codesourcery.com>
16831 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
16832 (ldexp_test_data): Remove.
16833 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
16835 (scalb_test): Use ALL_RM_TEST.
16837 2014-03-19 Andreas Schwab <schwab@suse.de>
16839 * nscd/nscd.service: Also invalidate netgroup cache on reload.
16841 2014-03-19 Joseph Myers <joseph@codesourcery.com>
16844 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16845 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
16846 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
16847 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16848 (__ASSUME_PREADV): Undefine.
16849 (__ASSUME_PWRITEV): Likewise.
16851 2014-03-18 Roland McGrath <roland@hack.frob.com>
16853 * bits/mman-linux.h: Add comment about non-Linux use.
16854 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
16855 bits/mman-linux.h resting place.
16857 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16858 * bits/mman-linux.h: ... here.
16860 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16862 * conform/conformtest.pl: Add standard definition when calling C
16863 preprocessor on data files.
16864 (checknamespace): Remove unused variable.
16866 2014-03-18 Joseph Myers <joseph@codesourcery.com>
16868 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16869 minus_oflow, plus_uflow and minus_uflow in expected results.
16870 * math/libm-test.inc (scalbn_test_data): Add more tests of
16871 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
16873 (scalbn_test): Use ALL_RM_TEST.
16874 (scalbln_test_data): Add more tests of negative arguments. Use
16875 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16876 (scalbln_test): Use ALL_RM_TEST.
16878 2014-03-18 Roland McGrath <roland@hack.frob.com>
16880 * scripts/abilist.awk: Ignore symbols marked with .hidden.
16882 2014-03-18 Will Newton <will.newton@linaro.org>
16884 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16885 inaccurate comment.
16887 2014-03-18 Joseph Myers <joseph@codesourcery.com>
16889 * Makerules [!subdir] (check-abi): Exit with error status if a
16892 2014-03-17 Joseph Myers <joseph@codesourcery.com>
16894 * math/libm-test.inc (nearbyint_test_data): Include all tests used
16895 for rint. Include results for all rounding modes.
16896 (nearbyint_test): Use ALL_RM_TEST.
16897 (rint_test_data): Include all tests used for nearbyint.
16899 2014-03-17 Will Newton <will.newton@linaro.org>
16901 * nptl/sysdeps/pthread/pthread.h: Revert previous
16904 * sysdeps/generic/ldsodefs.h: Revert previous
16907 * libio/genops.c: Revert previous change.
16908 * libio/libioP.h: Likewise.
16909 * stdio-common/vfprintf.c: Likewise.
16911 * sysdeps/generic/math_private.h: Revert previous
16914 * sysdeps/generic/math_private.h: Check whether
16915 HAVE_RM_CTX is defined with #ifdef rather
16918 * argp/argp-fmtstream.h: Check whether
16919 __STRICT_ANSI__ is defined with #ifdef rather
16921 * argp/argp.h: Likewise.
16923 * libio/genops.c: Check whether
16924 _IO_JUMPS_OFFSET is defined with #ifdef rather
16926 * libio/libioP.h: Likewise.
16927 * stdio-common/vfprintf.c: Likewise.
16929 * sysdeps/generic/ldsodefs.h: Check whether
16930 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16933 * nptl/sysdeps/pthread/pthread.h: Check
16934 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16937 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16939 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16941 * libio/tst-ftell-active-handler.c (do_append_test): Add a
16945 * libio/fileops.c (_IO_file_open): Seek to end of file but
16946 don't cache the offset.
16947 (get_file_offset): Remove function.
16948 (do_ftell): Use cached offset when available.
16949 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16950 don't cache the offset.
16951 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16953 (do_one_test): Call it.
16954 (do_ftell_test): Fix up expected old offset for a+ mode.
16955 * libio/wfileops.c (do_ftell_wide): Used cached offset when
16958 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16959 up test status with function return status.
16960 (do_write_test): Likewise.
16961 (do_append_test): Likewise.
16963 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16964 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16967 2014-03-17 Joseph Myers <joseph@codesourcery.com>
16969 * math/gen-libm-test.pl (parse_args): Handle results specified for
16970 each rounding mode separately.
16971 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16972 tests and results from lrint_tonearest_test_data,
16973 lrint_towardzero_test_data, lrint_downward_test_data and
16974 lrint_upward_test_data.
16975 (lrint_test): Use ALL_RM_TEST.
16976 (lrint_tonearest_test_data): Remove.
16977 (lrint_test_tonearest): Likewise.
16978 (lrint_towardzero_test_data): Likewise.
16979 (lrint_test_towardzero): Likewise.
16980 (lrint_downward_test_data): Likewise.
16981 (lrint_test_downward): Likewise.
16982 (lrint_upward_test_data): Likewise.
16983 (lrint_test_upward): Likewise.
16984 (llrint_test_data): Merge in per-rounding-mode tests and results
16985 from llrint_tonearest_test_data, llrint_towardzero_test_data,
16986 llrint_downward_test_data and llrint_upward_test_data.
16987 (llrint_test): Use ALL_RM_TEST.
16988 (llrint_tonearest_test_data): Remove.
16989 (llrint_test_tonearest): Likewise.
16990 (llrint_towardzero_test_data): Likewise.
16991 (llrint_test_towardzero): Likewise.
16992 (llrint_downward_test_data): Likewise.
16993 (llrint_test_downward): Likewise.
16994 (llrint_upward_test_data): Likewise.
16995 (llrint_test_upward): Likewise.
16996 (rint_test_data): Merge in per-rounding-mode tests and results
16997 from rint_tonearest_test_data, rint_towardzero_test_data,
16998 rint_downward_test_data and rint_upward_test_data. Add
16999 per-rounding-mode results for tests not in those arrays.
17000 (rint_test): Use ALL_RM_TEST.
17001 (rint_tonearest_test_data): Remove.
17002 (rint_test_tonearest): Likewise.
17003 (rint_towardzero_test_data): Likewise.
17004 (rint_test_towardzero): Likewise.
17005 (rint_downward_test_data): Likewise.
17006 (rint_test_downward): Likewise.
17007 (rint_upward_test_data): Likewise.
17008 (rint_test_upward): Likewise.
17009 (main): Don't call removed functions.
17011 2014-03-14 Roland McGrath <roland@hack.frob.com>
17013 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
17014 "Compiled on ..." crapola. It is anti-useful.
17016 2014-03-14 Joseph Myers <joseph@codesourcery.com>
17018 * scripts/evaluate-test.sh: Handle fourth argument to determine
17019 whether test run should stop on failure.
17020 * Makeconfig (stop-on-test-failure): New variable.
17021 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
17022 $(stop-on-test-failure).
17023 * Makefile (tests): Give a summary of results from testing and
17024 exit with failure status if they include an ERROR or FAIL.
17025 (xtests): Likewise.
17026 * manual/install.texi (Configuring and compiling): Mention
17027 stop-on-test-failure=y.
17028 * INSTALL: Regenerated.
17030 2014-03-14 Roland McGrath <roland@hack.frob.com>
17032 * scripts/versionlist.awk: New file.
17033 * Makerules [$(build-shared) = yes]
17034 (postclean-generated): Add Versions.def, not Versions.def.v and
17036 ($(common-objpfx)Versions.def.v.i): Target removed.
17037 ($(common-objpfx)Versions.def): New target.
17038 ($(common-objpfx)Versions.all): Depend on that rather that
17039 $(common-objpfx)Versions.def.v.
17040 * Versions.def: File removed.
17042 * Makeconfig (+gccwarn): Add -Wundef.
17043 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
17044 a dl-sysdep.h breaking its contract.
17045 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
17046 * include/stackinfo.h: New file.
17047 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
17048 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
17049 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
17050 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
17051 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
17052 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
17053 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17054 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17055 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17056 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17057 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17058 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
17059 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17060 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17061 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17063 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17066 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
17068 * math/libm-test.inc (round_test_data): Add more tests.
17071 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
17073 * math/libm-test.inc (nearbyint_test_data): Add more tests.
17076 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
17078 * math/libm-test.inc (ceil_test_data): Add more tests.
17080 * math/libm-test.inc (trunc_test_data): Add more tests related to
17083 2014-03-14 Roland McGrath <roland@hack.frob.com>
17085 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
17086 with #if rather than #ifdef.
17087 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
17089 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
17091 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
17092 first. Disable AVX-512 GCC support if assembler doesn't support
17094 * sysdeps/x86_64/configure: Regenerated.
17096 2014-03-13 Carlos O'Donell <carlos@redhat.com>
17098 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
17099 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
17100 (__old_pthread_attr_setstack): Likewise.
17101 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
17102 [!_STACK_GROWS_DOWN]: Likewise.
17104 2014-03-13 Mike Frysinger <vapier@gentoo.org>
17106 * config.make.in (have-bash2): Delete.
17107 * configure.ac (libc_cv_have_bash2): Delete.
17108 * configure: Regenerate.
17109 * elf/Makefile (common-ldd-rewrite): Rename to ...
17110 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
17111 (sh-ldd-rewrite): Delete.
17112 (bash-ldd-rewrite): Delete.
17113 (have-bash2): Delete checks.
17114 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
17117 * config.make.in (have-ksh): Delete.
17119 * configure.ac (libc_cv_have_ksh): Delete.
17120 * configure: Regenerate.
17122 * elf/Makefile: Delete $(have-ksh) check.
17123 ($(objpfx)sotruss): Change KSH to BASH.
17124 * elf/sotruss.ksh: Rename to ...
17125 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
17126 function style to match POSIX. Drop ksh vim mode setting.
17128 * manual/time.texi (Specifying the Time Zone with TZ): Change
17129 Tuesday to Thursday.
17131 * debug/tst-longjmp_chk2.c: Update header comment.
17132 (stackoverflow_handler): Add comment. Call assert on pass value.
17134 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
17137 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
17138 (HAVE_AVX512_ASM_SUPPORT): Likewise.
17139 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
17140 (La_x86_64_vector): Add zmm.
17141 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
17142 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
17143 ($(objpfx)tst-audit10): New target.
17144 ($(objpfx)tst-audit10.out): Likewise.
17145 (tst-audit10-ENV): New.
17146 (AVX512-CFLAGS): Likewise.
17147 (CFLAGS-tst-audit10.c): Likewise.
17148 (CFLAGS-tst-auditmod10a.c): Likewise.
17149 (CFLAGS-tst-auditmod10b.c): Likewise.
17150 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
17151 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
17152 * sysdeps/x86_64/configure: Regenerated.
17153 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
17154 AVX-512 zmm register support.
17155 (_dl_x86_64_save_sse): Likewise.
17156 (_dl_x86_64_restore_sse): Likewise.
17157 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
17158 size vector registers.
17159 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
17160 (ZMM_SIZE): Likewise.
17161 * sysdeps/x86_64/tst-audit10.c: New file.
17162 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
17163 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
17165 2014-03-13 Roland McGrath <roland@hack.frob.com>
17167 * configure.ac (HAVE_EHDR_START): New check.
17168 * configure: Regenerated.
17169 * config.h.in (HAVE_EHDR_START): New #undef.
17170 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
17171 assuming the lowest-addressed segment maps the start of the file.
17173 2014-03-13 Joseph Myers <joseph@codesourcery.com>
17175 * INSTALL: Regenerated.
17177 2014-03-13 Will Newton <will.newton@linaro.org>
17179 * manual/setjmp.texi (System V contexts): Improve
17180 clarity and grammar of documentation.
17182 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
17185 * elf/Makefile (tests): Add tst-pie2.
17186 (tests-pie): Add tst-pie2.
17187 * elf/tst-pie2.c: New file.
17188 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
17190 * elf/rtld.c (map_doit): Load executable as lt_executable.
17191 (dl_main): Likewise.
17193 2014-03-12 Joseph Myers <joseph@codesourcery.com>
17196 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17197 (__ASSUME_PSELECT): Undefine.
17199 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17202 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
17203 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
17205 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
17206 selector for static builds.
17208 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17211 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
17214 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17216 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
17217 IFUNC selector for static builds.
17219 2014-03-11 Joseph Myers <joseph@codesourcery.com>
17221 * sysdeps/mips/math_private.h [__mips_hard_float]
17222 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
17223 libc_feresetround_mips_ctx.
17224 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
17225 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
17226 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
17229 * math/s_nextafter.c (__nextafter): Do not return value from
17230 overflowing computation.
17231 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
17232 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
17233 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
17235 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
17237 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
17238 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
17240 2014-03-11 Roland McGrath <roland@hack.frob.com>
17242 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
17243 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
17244 Move sfi_sp use from the load-multiple (that no longer sets sp) to
17245 the new mov targetting sp.
17247 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17250 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
17251 Define it for static builds as well.
17252 (NO_BZERO_IMPL): Likewise.
17254 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17256 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
17257 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
17258 multiarch strspn for PPC64.
17259 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
17260 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
17261 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17262 (__libc_ifunc_impl_list): Likewise.
17263 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
17264 multiarch optimizations
17265 * string/strspn.c (strspn): Using macro to redefine symbol name.
17267 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17268 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17270 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
17271 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
17272 multiarch strncat for PPC64.
17273 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
17274 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
17275 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17276 (__libc_ifunc_impl_list): Likewise.
17277 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
17278 multiarch optimizations
17280 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17283 * nscd/nscd.service: Make service type forking.
17285 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17287 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
17288 sign in non default rounding modes.
17289 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
17291 2014-03-08 Joseph Myers <joseph@codesourcery.com>
17293 * math/libm-test.inc (ALL_RM_TEST): New macro.
17294 (ceil_test): Use ALL_RM_TEST.
17295 (cimag_test): Likewise.
17296 (conj_test): Likewise.
17297 (copysign_test): Likewise.
17298 (cproj_test): Likewise.
17299 (creal_test): Likewise.
17300 (fabs_test): Likewise.
17301 (floor_test): Likewise.
17302 (fmax_test): Likewise.
17303 (fmin_test): Likewise.
17304 (fmod_test): Likewise.
17305 (fpclassify_test): Likewise.
17306 (frexp_test): Likewise.
17307 (ilogb_test): Likewise.
17308 (isfinite_test): Likewise.
17309 (finite_test): Likewise.
17310 (isgreater_test): Likewise.
17311 (isgreaterequal_test): Likewise.
17312 (isinf_test): Likewise.
17313 (isless_test): Likewise.
17314 (islessequal_test): Likewise.
17315 (islessgreater_test): Likewise.
17316 (isnan_test): Likewise.
17317 (isnormal_test): Likewise.
17318 (issignaling_test): Likewise.
17319 (isunordered_test): Likewise.
17320 (logb_test): Likewise.
17321 (logb_downward_test_data): Remove.
17322 (logb_test_downward): Likewise.
17323 (lround_test): Use ALL_RM_TEST.
17324 (llround_test): Likewise.
17325 (modf_test): Likewise.
17326 (nexttoward_test): Likewise.
17327 (remainder_test): Likewise.
17328 (drem_test): Likewise.
17329 (remainder_tonearest_test_data): Likewise.
17330 (remainder_test_tonearest): Likewise.
17331 (drem_test_tonearest): Likewise.
17332 (remainder_towardzero_test_data): Likewise.
17333 (remainder_test_towardzero): Likewise.
17334 (drem_test_towardzero): Likewise.
17335 (remainder_downward_test_data): Likewise.
17336 (remainder_test_downward): Likewise.
17337 (drem_test_downward): Likewise.
17338 (remainder_upward_test_data): Likewise.
17339 (remainder_test_upward): Likewise.
17340 (drem_test_upward): Likewise.
17341 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
17342 (round_test): Use ALL_RM_TEST.
17343 (signbit_test): Likewise.
17344 (trunc_test): Likewise.
17345 (significand_test): Likewise.
17346 (main): Don't call removed functions.
17348 2014-03-07 Joseph Myers <joseph@codesourcery.com>
17351 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
17352 || __USE_XOPEN2K8].
17353 (ILL_ILLOPN): Likewise.
17354 (ILL_ILLADR): Likewise.
17355 (ILL_ILLTRP): Likewise.
17356 (ILL_PRVOPC): Likewise.
17357 (ILL_PRVREG): Likewise.
17358 (ILL_COPROC): Likewise.
17359 (ILL_BADSTK): Likewise.
17360 (FPE_INTDIV): Likewise.
17361 (FPE_INTOVF): Likewise.
17362 (FPE_FLTDIV): Likewise.
17363 (FPE_FLTOVF): Likewise.
17364 (FPE_FLTUND): Likewise.
17365 (FPE_FLTRES): Likewise.
17366 (FPE_FLTINV): Likewise.
17367 (FPE_FLTSUB): Likewise.
17368 (SEGV_MAPERR): Likewise.
17369 (SEGV_ACCERR): Likewise.
17370 (BUS_ADRALN): Likewise.
17371 (BUS_ADRERR): Likewise.
17372 (BUS_OBJERR): Likewise.
17373 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17374 (TRAP_TRACE): Likewise.
17375 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17377 (CLD_KILLED): Likewise.
17378 (CLD_DUMPED): Likewise.
17379 (CLD_TRAPPED): Likewise.
17380 (CLD_STOPPED): Likewise.
17381 (CLD_CONTINUED): Likewise.
17382 (POLL_IN): Likewise.
17383 (POLL_OUT): Likewise.
17384 (POLL_MSG): Likewise.
17385 (POLL_ERR): Likewise.
17386 (POLL_PRI): Likewise.
17387 (POLL_HUP): Likewise.
17388 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
17390 (ILL_ILLOPN): Likewise.
17391 (ILL_ILLADR): Likewise.
17392 (ILL_ILLTRP): Likewise.
17393 (ILL_PRVOPC): Likewise.
17394 (ILL_PRVREG): Likewise.
17395 (ILL_COPROC): Likewise.
17396 (ILL_BADSTK): Likewise.
17397 (FPE_INTDIV): Likewise.
17398 (FPE_INTOVF): Likewise.
17399 (FPE_FLTDIV): Likewise.
17400 (FPE_FLTOVF): Likewise.
17401 (FPE_FLTUND): Likewise.
17402 (FPE_FLTRES): Likewise.
17403 (FPE_FLTINV): Likewise.
17404 (FPE_FLTSUB): Likewise.
17405 (SEGV_MAPERR): Likewise.
17406 (SEGV_ACCERR): Likewise.
17407 (BUS_ADRALN): Likewise.
17408 (BUS_ADRERR): Likewise.
17409 (BUS_OBJERR): Likewise.
17410 (BUS_MCEERR_AR): Likewise.
17411 (BUS_MCEERR_AO): Likewise.
17412 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17413 (TRAP_TRACE): Likewise.
17414 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17416 (CLD_KILLED): Likewise.
17417 (CLD_DUMPED): Likewise.
17418 (CLD_TRAPPED): Likewise.
17419 (CLD_STOPPED): Likewise.
17420 (CLD_CONTINUED): Likewise.
17421 (POLL_IN): Likewise.
17422 (POLL_OUT): Likewise.
17423 (POLL_MSG): Likewise.
17424 (POLL_ERR): Likewise.
17425 (POLL_PRI): Likewise.
17426 (POLL_HUP): Likewise.
17427 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
17428 (ILL_ILLOPN): Likewise.
17429 (ILL_ILLADR): Likewise.
17430 (ILL_ILLTRP): Likewise.
17431 (ILL_PRVOPC): Likewise.
17432 (ILL_PRVREG): Likewise.
17433 (ILL_COPROC): Likewise.
17434 (ILL_BADSTK): Likewise.
17435 (FPE_INTDIV): Likewise.
17436 (FPE_INTOVF): Likewise.
17437 (FPE_FLTDIV): Likewise.
17438 (FPE_FLTOVF): Likewise.
17439 (FPE_FLTUND): Likewise.
17440 (FPE_FLTRES): Likewise.
17441 (FPE_FLTINV): Likewise.
17442 (FPE_FLTSUB): Likewise.
17443 (SEGV_MAPERR): Likewise.
17444 (SEGV_ACCERR): Likewise.
17445 (BUS_ADRALN): Likewise.
17446 (BUS_ADRERR): Likewise.
17447 (BUS_OBJERR): Likewise.
17448 (BUS_MCEERR_AR): Likewise.
17449 (BUS_MCEERR_AO): Likewise.
17450 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17451 (TRAP_TRACE): Likewise.
17452 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17454 (CLD_KILLED): Likewise.
17455 (CLD_DUMPED): Likewise.
17456 (CLD_TRAPPED): Likewise.
17457 (CLD_STOPPED): Likewise.
17458 (CLD_CONTINUED): Likewise.
17459 (POLL_IN): Likewise.
17460 (POLL_OUT): Likewise.
17461 (POLL_MSG): Likewise.
17462 (POLL_ERR): Likewise.
17463 (POLL_PRI): Likewise.
17464 (POLL_HUP): Likewise.
17465 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
17467 (ILL_ILLOPN): Likewise.
17468 (ILL_ILLADR): Likewise.
17469 (ILL_ILLTRP): Likewise.
17470 (ILL_PRVOPC): Likewise.
17471 (ILL_PRVREG): Likewise.
17472 (ILL_COPROC): Likewise.
17473 (ILL_BADSTK): Likewise.
17474 (ILL_BADIADDR): Likewise.
17475 (ILL_BREAK): Likewise.
17476 (FPE_INTDIV): Likewise.
17477 (FPE_INTOVF): Likewise.
17478 (FPE_FLTDIV): Likewise.
17479 (FPE_FLTOVF): Likewise.
17480 (FPE_FLTUND): Likewise.
17481 (FPE_FLTRES): Likewise.
17482 (FPE_FLTINV): Likewise.
17483 (FPE_FLTSUB): Likewise.
17484 (FPE_DECOVF): Likewise.
17485 (FPE_DECDIV): Likewise.
17486 (FPE_DECERR): Likewise.
17487 (FPE_INVASC): Likewise.
17488 (FPE_INVDEC): Likewise.
17489 (SEGV_MAPERR): Likewise.
17490 (SEGV_ACCERR): Likewise.
17491 (SEGV_PSTKOVF): Likewise.
17492 (BUS_ADRALN): Likewise.
17493 (BUS_ADRERR): Likewise.
17494 (BUS_OBJERR): Likewise.
17495 (BUS_MCEERR_AR): Likewise.
17496 (BUS_MCEERR_AO): Likewise.
17497 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17498 (TRAP_TRACE): Likewise.
17499 (TRAP_BRANCH): Likewise.
17500 (TRAP_HWBKPT): Likewise.
17501 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17503 (CLD_KILLED): Likewise.
17504 (CLD_DUMPED): Likewise.
17505 (CLD_TRAPPED): Likewise.
17506 (CLD_STOPPED): Likewise.
17507 (CLD_CONTINUED): Likewise.
17508 (POLL_IN): Likewise.
17509 (POLL_OUT): Likewise.
17510 (POLL_MSG): Likewise.
17511 (POLL_ERR): Likewise.
17512 (POLL_PRI): Likewise.
17513 (POLL_HUP): Likewise.
17514 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
17515 (ILL_ILLOPN): Likewise.
17516 (ILL_ILLADR): Likewise.
17517 (ILL_ILLTRP): Likewise.
17518 (ILL_PRVOPC): Likewise.
17519 (ILL_PRVREG): Likewise.
17520 (ILL_COPROC): Likewise.
17521 (ILL_BADSTK): Likewise.
17522 (FPE_INTDIV): Likewise.
17523 (FPE_INTOVF): Likewise.
17524 (FPE_FLTDIV): Likewise.
17525 (FPE_FLTOVF): Likewise.
17526 (FPE_FLTUND): Likewise.
17527 (FPE_FLTRES): Likewise.
17528 (FPE_FLTINV): Likewise.
17529 (FPE_FLTSUB): Likewise.
17530 (SEGV_MAPERR): Likewise.
17531 (SEGV_ACCERR): Likewise.
17532 (BUS_ADRALN): Likewise.
17533 (BUS_ADRERR): Likewise.
17534 (BUS_OBJERR): Likewise.
17535 (BUS_MCEERR_AR): Likewise.
17536 (BUS_MCEERR_AO): Likewise.
17537 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17538 (TRAP_TRACE): Likewise.
17539 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17541 (CLD_KILLED): Likewise.
17542 (CLD_DUMPED): Likewise.
17543 (CLD_TRAPPED): Likewise.
17544 (CLD_STOPPED): Likewise.
17545 (CLD_CONTINUED): Likewise.
17546 (POLL_IN): Likewise.
17547 (POLL_OUT): Likewise.
17548 (POLL_MSG): Likewise.
17549 (POLL_ERR): Likewise.
17550 (POLL_PRI): Likewise.
17551 (POLL_HUP): Likewise.
17552 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
17553 (ILL_ILLOPN): Likewise.
17554 (ILL_ILLADR): Likewise.
17555 (ILL_ILLTRP): Likewise.
17556 (ILL_PRVOPC): Likewise.
17557 (ILL_PRVREG): Likewise.
17558 (ILL_COPROC): Likewise.
17559 (ILL_BADSTK): Likewise.
17560 (FPE_INTDIV): Likewise.
17561 (FPE_INTOVF): Likewise.
17562 (FPE_FLTDIV): Likewise.
17563 (FPE_FLTOVF): Likewise.
17564 (FPE_FLTUND): Likewise.
17565 (FPE_FLTRES): Likewise.
17566 (FPE_FLTINV): Likewise.
17567 (FPE_FLTSUB): Likewise.
17568 (SEGV_MAPERR): Likewise.
17569 (SEGV_ACCERR): Likewise.
17570 (BUS_ADRALN): Likewise.
17571 (BUS_ADRERR): Likewise.
17572 (BUS_OBJERR): Likewise.
17573 (BUS_MCEERR_AR): Likewise.
17574 (BUS_MCEERR_AO): Likewise.
17575 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17576 (TRAP_TRACE): Likewise.
17577 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17579 (CLD_KILLED): Likewise.
17580 (CLD_DUMPED): Likewise.
17581 (CLD_TRAPPED): Likewise.
17582 (CLD_STOPPED): Likewise.
17583 (CLD_CONTINUED): Likewise.
17584 (POLL_IN): Likewise.
17585 (POLL_OUT): Likewise.
17586 (POLL_MSG): Likewise.
17587 (POLL_ERR): Likewise.
17588 (POLL_PRI): Likewise.
17589 (POLL_HUP): Likewise.
17590 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
17591 (ILL_ILLOPN): Likewise.
17592 (ILL_ILLADR): Likewise.
17593 (ILL_ILLTRP): Likewise.
17594 (ILL_PRVOPC): Likewise.
17595 (ILL_PRVREG): Likewise.
17596 (ILL_COPROC): Likewise.
17597 (ILL_BADSTK): 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 (SEGV_MAPERR): Likewise.
17607 (SEGV_ACCERR): Likewise.
17608 (BUS_ADRALN): Likewise.
17609 (BUS_ADRERR): Likewise.
17610 (BUS_OBJERR): Likewise.
17611 (BUS_MCEERR_AR): Likewise.
17612 (BUS_MCEERR_AO): Likewise.
17613 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17614 (TRAP_TRACE): Likewise.
17615 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17617 (CLD_KILLED): Likewise.
17618 (CLD_DUMPED): Likewise.
17619 (CLD_TRAPPED): Likewise.
17620 (CLD_STOPPED): Likewise.
17621 (CLD_CONTINUED): Likewise.
17622 (POLL_IN): Likewise.
17623 (POLL_OUT): Likewise.
17624 (POLL_MSG): Likewise.
17625 (POLL_ERR): Likewise.
17626 (POLL_PRI): Likewise.
17627 (POLL_HUP): Likewise.
17628 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
17629 (ILL_ILLOPN): Likewise.
17630 (ILL_ILLADR): Likewise.
17631 (ILL_ILLTRP): Likewise.
17632 (ILL_PRVOPC): Likewise.
17633 (ILL_PRVREG): Likewise.
17634 (ILL_COPROC): Likewise.
17635 (ILL_BADSTK): Likewise.
17636 (ILL_DBLFLT): Likewise.
17637 (ILL_HARDWALL): Likewise.
17638 (FPE_INTDIV): Likewise.
17639 (FPE_INTOVF): Likewise.
17640 (FPE_FLTDIV): Likewise.
17641 (FPE_FLTOVF): Likewise.
17642 (FPE_FLTUND): Likewise.
17643 (FPE_FLTRES): Likewise.
17644 (FPE_FLTINV): Likewise.
17645 (FPE_FLTSUB): Likewise.
17646 (SEGV_MAPERR): Likewise.
17647 (SEGV_ACCERR): Likewise.
17648 (BUS_ADRALN): Likewise.
17649 (BUS_ADRERR): Likewise.
17650 (BUS_OBJERR): Likewise.
17651 (BUS_MCEERR_AR): Likewise.
17652 (BUS_MCEERR_AO): Likewise.
17653 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17654 (TRAP_TRACE): Likewise.
17655 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17657 (CLD_KILLED): Likewise.
17658 (CLD_DUMPED): Likewise.
17659 (CLD_TRAPPED): Likewise.
17660 (CLD_STOPPED): Likewise.
17661 (CLD_CONTINUED): Likewise.
17662 (POLL_IN): Likewise.
17663 (POLL_OUT): Likewise.
17664 (POLL_MSG): Likewise.
17665 (POLL_ERR): Likewise.
17666 (POLL_PRI): Likewise.
17667 (POLL_HUP): Likewise.
17668 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
17669 (ILL_ILLOPN): Likewise.
17670 (ILL_ILLADR): Likewise.
17671 (ILL_ILLTRP): Likewise.
17672 (ILL_PRVOPC): Likewise.
17673 (ILL_PRVREG): Likewise.
17674 (ILL_COPROC): Likewise.
17675 (ILL_BADSTK): Likewise.
17676 (FPE_INTDIV): Likewise.
17677 (FPE_INTOVF): Likewise.
17678 (FPE_FLTDIV): Likewise.
17679 (FPE_FLTOVF): Likewise.
17680 (FPE_FLTUND): Likewise.
17681 (FPE_FLTRES): Likewise.
17682 (FPE_FLTINV): Likewise.
17683 (FPE_FLTSUB): Likewise.
17684 (SEGV_MAPERR): Likewise.
17685 (SEGV_ACCERR): Likewise.
17686 (BUS_ADRALN): Likewise.
17687 (BUS_ADRERR): Likewise.
17688 (BUS_OBJERR): Likewise.
17689 (BUS_MCEERR_AR): Likewise.
17690 (BUS_MCEERR_AO): Likewise.
17691 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17692 (TRAP_TRACE): Likewise.
17693 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17695 (CLD_KILLED): Likewise.
17696 (CLD_DUMPED): Likewise.
17697 (CLD_TRAPPED): Likewise.
17698 (CLD_STOPPED): Likewise.
17699 (CLD_CONTINUED): Likewise.
17700 (POLL_IN): Likewise.
17701 (POLL_OUT): Likewise.
17702 (POLL_MSG): Likewise.
17703 (POLL_ERR): Likewise.
17704 (POLL_PRI): Likewise.
17705 (POLL_HUP): Likewise.
17706 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
17707 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17710 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
17711 before #include of <time.h>.
17712 [!__USE_XOPEN2K] (__need_timespec): Likewise.
17713 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
17714 (test-xfail-UNIX98/sched.h/conform): Likewise.
17716 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
17718 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
17719 error absence of trapping exception support.
17720 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17722 2014-03-07 Joseph Myers <joseph@codesourcery.com>
17724 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
17725 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
17726 * timezone/Makefile (testdata): Move definition above include of
17728 (test-zones): New variable.
17729 (tests-special): Add zone files.
17730 (build-testdata): Use $(evaluate-test).
17732 * elf/Makefile (tests-special): Rename tests to end with .out.
17733 ($(objpfx)noload-mem): Likewise.
17734 ($(objpfx)tst-leaks1-mem): Likewise.
17735 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
17736 * iconv/Makefile (xtests-special): Change test-iconvconfig to
17737 $(objpfx)test-iconvconfig.out.
17738 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
17739 set -e inside subshell and redirect output to file.
17740 * iconvdata/Makefile (generated): Rename tests to end with .out.
17742 (tests-special): Rename tests to end with .out.
17743 ($(objpfx)mtrace-tst-loading): Likewise.
17744 * intl/Makefile (generated): Likewise.
17745 (tests-special): Likewise.
17746 ($(objpfx)mtrace-tst-gettext): Likewise.
17747 * misc/Makefile (generated): Likewise.
17748 (tests-special): Likewise.
17749 ($(objpfx)tst-error1-mem): Likewise.
17750 * nptl/Makefile (tests-special): Likewise.
17751 ($(objpfx)tst-stack3-mem): Likewise.
17752 (generated): Likewise.
17753 * posix/Makefile (generated): Likewise.
17754 (tests-special): Likewise.
17755 (xtests-special): Likewise.
17756 ($(objpfx)tst-fnmatch-mem): Likewise.
17757 ($(objpfx)bug-regex2-mem): Likewise.
17758 ($(objpfx)bug-regex14-mem): Likewise.
17759 ($(objpfx)bug-regex21-mem): Likewise.
17760 ($(objpfx)bug-regex31-mem): Likewise.
17761 ($(objpfx)tst-vfork3-mem): Likewise.
17762 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17763 ($(objpfx)tst-pcre-mem): Likewise.
17764 ($(objpfx)tst-boost-mem): Likewise.
17765 ($(objpfx)bug-ga2-mem): Likewise.
17766 ($(objpfx)bug-glob2-mem): Likewise.
17767 * resolv/Makefile (generate): Likewise.
17768 (tests-special): Likewise.
17769 (xtests-special): Likewise.
17770 (generated): Likewise.
17771 ($(objpfx)mtrace-tst-leaks): Likewise.
17772 ($(objpfx)mtrace-tst-leaks2): Likewise.
17774 * scripts/merge-test-results.sh: New file.
17775 * Makefile (tests-special-notdir): New variable.
17776 (tests): Run merge-test-results.sh.
17777 (xtests): Likewise.
17778 * Rules (tests-special-notdir): New variable.
17779 (xtests-special-notdir): Likewise.
17780 (tests): Run merge-test-results.sh
17781 (xtests): Likewise.
17783 * Makeconfig (test-xfail-name): New variable.
17784 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
17785 compute variable name for expected failures.
17786 * conform/Makefile (conformtest-headers-data): New variable.
17787 (conformtest-standards): Likewise.
17788 (conformtest-headers-ISO): Likewise.
17789 (conformtest-headers-ISO99): Likewise.
17790 (conformtest-headers-ISO11): Likewise.
17791 (conformtest-headers-POSIX): Likewise.
17792 (conformtest-headers-XPG3): Likewise.
17793 (conformtest-headers-XPG4): Likewise.
17794 (conformtest-headers-UNIX98): Likewise.
17795 (conformtest-headers-XOPEN2K): Likewise.
17796 (conformtest-headers-POSIX2008): Likewise.
17797 (conformtest-headers-XOPEN2K8): Likewise.
17798 (conformtest-header-list-base): Likewise.
17799 (conformtest-header-list-tests): Likewise.
17800 (conformtest-header-base): Likewise.
17801 (conformtest-header-tests): Likewise.
17802 (tests-special): Add $(conformtest-header-list-tests). If
17803 [$(fast-check) && !$(cross-compiling)], add
17804 $(conformtest-header-tests) instead of
17805 $(objpfx)run-conformtest.out.
17806 (generated): Add $(conformtest-header-list-base). If
17807 [$(fast-check) && !$(cross-compiling)], add
17808 $(conformtest-header-base). Remove previous setting.
17809 ($(conformtest-header-list-tests)): New target.
17810 (test-xfail-run-conformtest): Remove variable.
17811 ($(objpfx)run-conformtest.out): Remove target.
17812 (test-xfail-ISO11/complex.h/conform): New variable.
17813 (test-xfail-ISO11/stdalign.h/conform): Likewise.
17814 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17815 (test-xfail-XPG3/varargs.h/conform): Likewise.
17816 (test-xfail-XPG4/varargs.h/conform): Likewise.
17817 (test-xfail-UNIX98/varargs.h/conform): Likewise.
17818 (test-xfail-XPG4/ndbm.h/conform): Likewise.
17819 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
17820 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
17821 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
17822 (test-xfail-XPG3/fcntl.h/conform): Likewise.
17823 (test-xfail-XPG3/ftw.h/conform): Likewise.
17824 (test-xfail-XPG3/grp.h/conform): Likewise.
17825 (test-xfail-XPG3/langinfo.h/conform): Likewise.
17826 (test-xfail-XPG3/limits.h/conform): Likewise.
17827 (test-xfail-XPG3/pwd.h/conform): Likewise.
17828 (test-xfail-XPG3/search.h/conform): Likewise.
17829 (test-xfail-XPG3/signal.h/conform): Likewise.
17830 (test-xfail-XPG3/stdio.h/conform): Likewise.
17831 (test-xfail-XPG3/stdlib.h/conform): Likewise.
17832 (test-xfail-XPG3/string.h/conform): Likewise.
17833 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
17834 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
17835 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17836 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17837 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
17838 (test-xfail-XPG3/sys/types.h/conform): Likewise.
17839 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
17840 (test-xfail-XPG3/termios.h/conform): Likewise.
17841 (test-xfail-XPG3/time.h/conform): Likewise.
17842 (test-xfail-XPG3/unistd.h/conform): Likewise.
17843 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
17844 (test-xfail-XPG4/fcntl.h/conform): Likewise.
17845 (test-xfail-XPG4/langinfo.h/conform): Likewise.
17846 (test-xfail-XPG4/netdb.h/conform): Likewise.
17847 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
17848 (test-xfail-XPG4/signal.h/conform): Likewise.
17849 (test-xfail-XPG4/stdio.h/conform): Likewise.
17850 (test-xfail-XPG4/stdlib.h/conform): Likewise.
17851 (test-xfail-XPG4/stropts.h/conform): Likewise.
17852 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17853 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17854 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17855 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17856 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17857 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17858 (test-xfail-XPG4/sys/time.h/conform): Likewise.
17859 (test-xfail-XPG4/sys/types.h/conform): Likewise.
17860 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17861 (test-xfail-XPG4/termios.h/conform): Likewise.
17862 (test-xfail-XPG4/ucontext.h/conform): Likewise.
17863 (test-xfail-XPG4/unistd.h/conform): Likewise.
17864 (test-xfail-XPG4/utmpx.h/conform): Likewise.
17865 (test-xfail-POSIX/sched.h/conform): Likewise.
17866 (test-xfail-POSIX/signal.h/conform): Likewise.
17867 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17868 (test-xfail-POSIX/tar.h/conform): Likewise.
17869 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17870 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17871 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17872 (test-xfail-UNIX98/netdb.h/conform): Likewise.
17873 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17874 (test-xfail-UNIX98/sched.h/conform): Likewise.
17875 (test-xfail-UNIX98/signal.h/conform): Likewise.
17876 (test-xfail-UNIX98/stdio.h/conform): Likewise.
17877 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17878 (test-xfail-UNIX98/stropts.h/conform): Likewise.
17879 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17880 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17881 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17882 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17883 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17884 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17885 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17886 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17887 (test-xfail-UNIX98/unistd.h/conform): Likewise.
17888 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17889 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17890 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17891 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17892 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17893 (test-xfail-XOPEN2K/math.h/conform): Likewise.
17894 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17895 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17896 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17897 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17898 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17899 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17900 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17901 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17902 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17903 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17904 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17905 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17906 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17907 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17908 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17909 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17910 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17911 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17912 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17913 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17914 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17915 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17916 (test-xfail-POSIX2008/signal.h/conform): Likewise.
17917 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17918 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17919 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17920 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17921 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17922 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17923 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17924 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17925 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17926 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17927 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17928 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17929 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17930 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17931 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17932 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17933 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17934 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17935 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17936 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17937 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17938 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17939 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17940 (conformtest-cc-flags): Likewise.
17941 ($(conformtest-header-tests): New target.
17942 * conform/check-header-lists.sh: New file.
17943 * conform/run-conformtest.sh: Remove.
17945 * conform/conformtest.pl: Allow ' and \ in values given for
17947 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17949 [POSIX] (sys/types.h): Likewise.
17950 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17952 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17954 * conform/data/signal.h-data (SIGIO): Remove expectation.
17955 [XPG3] (SIGBUS): Do not expect.
17956 [POSIX || XPG3] (SIGPOLL): Likewise.
17957 [POSIX || XPG3] (SIGPROF): Likewise.
17958 [POSIX || XPG3] (SIGSYS): Likewise.
17959 [XPG3] (SIGTRAP): Likewise.
17960 [POSIX || XPG3] (SIGURG): Likewise.
17961 [POSIX || XPG3] (SIGVTALRM): Likewise.
17962 [POSIX || XPG3] (SIGXCPU): Likewise.
17963 [POSIX || XPG3] (SIGXFSZ): Likewise.
17964 [POSIX] (SA_SIGINFO): Expect.
17965 [XPG3] (siginfo_t): Do not expect type or contents.
17966 [POSIX] (si_pid): Do not expect element.
17967 [POSIX] (si_uid): Likewise.
17968 [POSIX] (si_addr): Likewise.
17969 [POSIX] (si_status): Likewise.
17970 [POSIX] (si_band): Likewise.
17971 [XPG4] (si_value): Likewise.
17972 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17973 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17974 [POSIX || XPG3] (ILL_ILLADR): Likewise.
17975 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17976 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17977 [POSIX || XPG3] (ILL_PRVREG): Likewise.
17978 [POSIX || XPG3] (ILL_COPROC): Likewise.
17979 [POSIX || XPG3] (ILL_BADSTK): Likewise.
17980 [POSIX || XPG3] (FPE_INTDIV): Likewise.
17981 [POSIX || XPG3] (FPE_INTOVF): Likewise.
17982 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17983 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17984 [POSIX || XPG3] (FPE_FLTUND): Likewise.
17985 [POSIX || XPG3] (FPE_FLTRES): Likewise.
17986 [POSIX || XPG3] (FPE_FLTINV): Likewise.
17987 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17988 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17989 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17990 [POSIX || XPG3] (BUS_ADRALN): Likewise.
17991 [POSIX || XPG3] (BUS_ADRERR): Likewise.
17992 [POSIX || XPG3] (BUS_OBJERR): Likewise.
17993 [POSIX || XPG3] (CLD_EXITED): Likewise.
17994 [POSIX || XPG3] (CLD_KILLED): Likewise.
17995 [POSIX || XPG3] (CLD_DUMPED): Likewise.
17996 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17997 [POSIX || XPG3] (CLD_STOPPED): Likewise.
17998 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17999 [POSIX || XPG3] (POLL_IN): Likewise.
18000 [POSIX || XPG3] (POLL_OUT): Likewise.
18001 [POSIX || XPG3] (POLL_MSG): Likewise.
18002 [POSIX || XPG3] (POLL_ERR): Likewise.
18003 [POSIX || XPG3] (POLL_PRI): Likewise.
18004 [POSIX || XPG3] (POLL_HUP): Likewise.
18005 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
18006 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
18007 (SIG*): Do not allow.
18008 [XPG3] (si_*): Likewise.
18009 [XPG3] (SI_*): Likewise.
18010 [XPG3 || XPG4] (sigev_*): Likewise.
18011 [XPG3 || XPG4] (SIGEV_*): Likewise.
18012 [XPG3 || XPG4] (sival_*): Likewise.
18013 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
18014 [POSIX || XPG3] (BUS_*): Likewise.
18015 [POSIX || XPG3] (CLD_*): Likewise.
18016 [POSIX || XPG3] (FPE_*): Likewise.
18017 [POSIX || XPG3] (ILL_*): Likewise.
18018 [POSIX || XPG3] (POLL_*): Likewise.
18019 [POSIX || XPG3] (SEGV_*): Likewise.
18020 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
18021 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
18022 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
18023 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
18024 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
18025 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
18026 Specify type and value.
18027 (TVERSLEN): Likewise.
18028 (REGTYPE): Likewise.
18029 (AREGTYPE): Likewise.
18030 (LNKTYPE): Likewise.
18031 (SYMTYPE): Likewise.
18032 (CHRTYPE): Likewise.
18033 (BLKTYPE): Likewise.
18034 (DIRTYPE): Likewise.
18035 (FIFOTYPE): Likewise.
18036 (CONTTYPE): Likewise.
18040 (TUREAD): Likewise.
18041 (TUWRITE): Likewise.
18042 (TUEXEC): Likewise.
18043 (TGREAD): Likewise.
18044 (TGWRITE): Likewise.
18045 (TGEXEC): Likewise.
18046 (TOREAD): Likewise.
18047 (TOWRITE): Likewise.
18048 (TOEXEC): Likewise.
18049 [POSIX] (TSVTX): Expect constant.
18051 2014-03-06 Joseph Myers <joseph@codesourcery.com>
18053 * Makefile (tests): Change dependencies to ....
18054 (tests-special): ... additions to this variable.
18055 (tests): Depend on $(tests-special).
18056 * Makerules (check-abi-list): New variable.
18057 (check-abi): Depend on $(check-abi-list).
18058 [$(subdir) = elf] (tests-special): Add
18059 $(objpfx)check-abi-libc.out.
18060 [$(build-shared) = yes && subdir] (tests-special): Add
18062 [$(build-shared) = yes && subdir] (tests): Do not depend on
18064 * Rules (tests): Depend on $(tests-special).
18065 (xtests): Depend on $(xtests-special).
18066 * catgets/Makefile (tests): Change dependencies to ....
18067 (tests-special): ... additions to this variable.
18068 * conform/Makefile (tests): Change dependencies to ....
18069 (tests-special): ... additions to this variable.
18070 * elf/Makefile (tests): Change dependencies to ....
18071 (tests-special): ... additions to this variable.
18072 * grp/Makefile (tests): Change dependencies to ....
18073 (tests-special): ... additions to this variable.
18074 * iconv/Makefile (xtests): Change dependencies to ....
18075 (xtests-special): ... additions to this variable.
18076 * iconvdata/Makefile (tests): Change dependencies to ....
18077 (tests-special): ... additions to this variable.
18078 * intl/Makefile (tests): Change dependencies to ....
18079 (tests-special): ... additions to this variable. Also add
18080 $(objpfx)tst-gettext.out.
18081 * io/Makefile (tests): Change dependencies to ....
18082 (tests-special): ... additions to this variable.
18083 * libio/Makefile (tests): Change dependencies to ....
18084 (tests-special): ... additions to this variable.
18085 * malloc/Makefile (tests): Change dependencies to ....
18086 (tests-special): ... additions to this variable.
18087 * misc/Makefile (tests): Change dependencies to ....
18088 (tests-special): ... additions to this variable.
18089 * nptl/Makefile (tests): Change dependencies to ....
18090 (tests-special): ... additions to this variable.
18091 * nptl_db/Makefile (tests): Change dependencies to ....
18092 (tests-special): ... additions to this variable.
18093 * posix/Makefile (tests): Change dependencies to ....
18094 (tests-special): ... additions to this variable.
18095 (xtests): Change dependencies to ....
18096 (xtests-special): ... additions to this variable.
18097 * resolv/Makefile (tests): Change dependencies to ....
18098 (tests-special): ... additions to this variable.
18099 (xtests): Change dependencies to ....
18100 (xtests-special): ... additions to this variable.
18101 * stdio-common/Makefile (tests): Change dependencies to ....
18102 (tests-special): ... additions to this variable.
18103 (do-tst-unbputc): Remove target.
18104 (do-tst-printf): Likewise.
18105 * stdlib/Makefile (tests): Change dependencies to ....
18106 (tests-special): ... additions to this variable.
18107 * string/Makefile (tests): Change dependencies to ....
18108 (tests-special): ... additions to this variable.
18109 * sysdeps/x86/Makefile (tests): Change dependencies to ....
18110 (tests-special): ... additions to this variable.
18112 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
18114 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
18116 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
18117 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
18119 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
18120 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
18121 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
18122 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
18123 * conform/data/libgen.h-data [XPG3]: Likewise.
18124 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
18125 * conform/data/ndbm.h-data [XPG3]: Likewise.
18126 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
18127 * conform/data/netdb.h-data [XPG3]: Likewise.
18128 * conform/data/netinet/in.h-data [XPG3]: Likewise.
18129 * conform/data/poll.h-data [XPG3]: Likewise.
18130 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
18131 * conform/data/strings.h-data [XPG3]: Likewise.
18132 * conform/data/stropts.h-data [XPG3]: Likewise.
18133 * conform/data/sys/mman.h-data [XPG3]: Likewise.
18134 * conform/data/sys/resource.h-data [XPG3]: Likewise.
18135 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
18137 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
18138 * conform/data/sys/time.h-data [XPG3]: Likewise.
18139 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
18140 * conform/data/sys/uio.h-data [XPG3]: Likewise.
18141 * conform/data/sys/un.h-data [XPG3]: Likewise.
18142 * conform/data/syslog.h-data [XPG3]: Likewise.
18143 * conform/data/ucontext.h-data [XPG3]: Likewise.
18144 * conform/data/utmpx.h-data [XPG3]: Likewise.
18145 * conform/data/varargs.h-data [UNIX98]: Enable file.
18147 * manual/Makefile (INSTALL_INFO): Remove variable setting.
18149 * math/libm-test.inc (struct test_f_f_data): Move expected results
18150 into structure for each rounding mode.
18151 (struct test_ff_f_data): Likewise.
18152 (struct test_ff_f_data_nexttoward): Likewise.
18153 (struct test_fi_f_data): Likewise.
18154 (struct test_fl_f_data): Likewise.
18155 (struct test_if_f_data): Likewise.
18156 (struct test_fff_f_data): Likewise.
18157 (struct test_c_f_data): Likewise.
18158 (struct test_f_f1_data): Likewise.
18159 (struct test_fF_f1_data): Likewise.
18160 (struct test_ffI_f1_data): Likewise.
18161 (struct test_c_c_data): Likewise.
18162 (struct test_cc_c_data): Likewise.
18163 (struct test_f_i_data): Likewise.
18164 (struct test_ff_i_data): Likewise.
18165 (struct test_f_l_data): Likewise.
18166 (struct test_f_L_data): Likewise.
18167 (struct test_fFF_11_data): Likewise.
18169 (RM_FE_DOWNWARD): Likewise.
18170 (RM_FE_TONEAREST): Likewise.
18171 (RM_FE_TOWARDZERO): Likewise.
18172 (RM_FE_UPWARD): Likewise.
18173 (RUN_TEST_LOOP_f_f): Update references to expected results.
18174 (RUN_TEST_LOOP_2_f): Likewise.
18175 (RUN_TEST_LOOP_fff_f): Likewise.
18176 (RUN_TEST_LOOP_c_f): Likewise.
18177 (RUN_TEST_LOOP_f_f1): Likewise.
18178 (RUN_TEST_LOOP_fF_f1): Likewise.
18179 (RUN_TEST_LOOP_fI_f1): Likewise.
18180 (RUN_TEST_LOOP_ffI_f1): Likewise.
18181 (RUN_TEST_LOOP_c_c): Likewise.
18182 (RUN_TEST_LOOP_cc_c): Likewise.
18183 (RUN_TEST_LOOP_f_i): Likewise.
18184 (RUN_TEST_LOOP_f_i_tg): Likewise.
18185 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18186 (RUN_TEST_LOOP_f_b): Likewise.
18187 (RUN_TEST_LOOP_f_b_tg): Likewise.
18188 (RUN_TEST_LOOP_f_l): Likewise.
18189 (RUN_TEST_LOOP_f_L): Likewise.
18190 (RUN_TEST_LOOP_fFF_11): Likewise.
18191 * math/gen-libm-test.pl (parse_args): Output four copies of
18192 expected results for each test.
18194 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18195 (__ASSUME_UTIMES): Remove.
18196 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18197 (__ASSUME_UTIMES): Likewise.
18199 * math/gen-auto-libm-tests.c: Update comment on output format.
18200 (output_for_one_input_case): Generate before-rounding and
18201 after-rounding information as conditions on output flags not
18202 floating-point format.
18203 * math/auto-libm-test-out: Regenerated.
18204 * math/gen-libm-test.pl (cond_value): New function.
18205 (or_cond_value): Use cond_value.
18206 (generate_testfile): Handle conditional exceptions.
18208 2014-03-05 Joseph Myers <joseph@codesourcery.com>
18210 * math/libm-test.inc (max_valid_error): New variable.
18211 (init_max_error): Take new argument specifying whether function
18212 results are exactly determined. Set max_valid_error and bound
18213 other variables for errors based on this argument.
18214 (set_max_error): Do not record results above max_valid_error.
18215 (check_float_internal): Only accept errors of up to 0.5ulps if
18216 also at most max_valid_error.
18217 (START): Take new argument EXACT and pass it to init_max_error.
18218 (acos_test): Update call to START.
18219 (acos_test_tonearest): Likewise.
18220 (acos_test_towardzero): Likewise.
18221 (acos_test_downward): Likewise.
18222 (acos_test_upward): Likewise.
18223 (acosh_test): Likewise.
18224 (asin_test): Likewise.
18225 (asin_test_tonearest): Likewise.
18226 (asin_test_towardzero): Likewise.
18227 (asin_test_downward): Likewise.
18228 (asin_test_upward): Likewise.
18229 (asinh_test): Likewise.
18230 (atan_test): Likewise.
18231 (atanh_test): Likewise.
18232 (atan2_test): Likewise.
18233 (cabs_test): Likewise.
18234 (cacos_test): Likewise.
18235 (cacosh_test): Likewise.
18236 (carg_test): Likewise.
18237 (casin_test): Likewise.
18238 (casinh_test): Likewise.
18239 (catan_test): Likewise.
18240 (catanh_test): Likewise.
18241 (cbrt_test): Likewise.
18242 (ccos_test): Likewise.
18243 (ccosh_test): Likewise.
18244 (ceil_test): Likewise.
18245 (cexp_test): Likewise.
18246 (cimag_test): Likewise.
18247 (clog_test): Likewise.
18248 (clog10_test): Likewise.
18249 (conj_test): Likewise.
18250 (copysign_test): Likewise.
18251 (cos_test): Likewise.
18252 (cos_test_tonearest): Likewise.
18253 (cos_test_towardzero): Likewise.
18254 (cos_test_downward): Likewise.
18255 (cos_test_upward): Likewise.
18256 (cosh_test): Likewise.
18257 (cosh_test_tonearest): Likewise.
18258 (cosh_test_towardzero): Likewise.
18259 (cosh_test_downward): Likewise.
18260 (cosh_test_upward): Likewise.
18261 (cpow_test): Likewise.
18262 (cproj_test): Likewise.
18263 (creal_test): Likewise.
18264 (csin_test): Likewise.
18265 (csinh_test): Likewise.
18266 (csqrt_test): Likewise.
18267 (ctan_test): Likewise.
18268 (ctan_test_tonearest): Likewise.
18269 (ctan_test_towardzero): Likewise.
18270 (ctan_test_downward): Likewise.
18271 (ctan_test_upward): Likewise.
18272 (ctanh_test): Likewise.
18273 (ctanh_test_tonearest): Likewise.
18274 (ctanh_test_towardzero): Likewise.
18275 (ctanh_test_downward): Likewise.
18276 (ctanh_test_upward): Likewise.
18277 (erf_test): Likewise.
18278 (erfc_test): Likewise.
18279 (exp_test): Likewise.
18280 (exp_test_tonearest): Likewise.
18281 (exp_test_towardzero): Likewise.
18282 (exp_test_downward): Likewise.
18283 (exp_test_upward): Likewise.
18284 (exp10_test): Likewise.
18285 (exp10_test_tonearest): Likewise.
18286 (exp10_test_towardzero): Likewise.
18287 (exp10_test_downward): Likewise.
18288 (exp10_test_upward): Likewise.
18289 (pow10_test): Likewise.
18290 (exp2_test): Likewise.
18291 (expm1_test): Likewise.
18292 (expm1_test_tonearest): Likewise.
18293 (expm1_test_towardzero): Likewise.
18294 (expm1_test_downward): Likewise.
18295 (expm1_test_upward): Likewise.
18296 (fabs_test): Likewise.
18297 (fdim_test): Likewise.
18298 (floor_test): Likewise.
18299 (fma_test): Likewise.
18300 (fma_test_towardzero): Likewise.
18301 (fma_test_downward): Likewise.
18302 (fma_test_upward): Likewise.
18303 (fmax_test): Likewise.
18304 (fmin_test): Likewise.
18305 (fmod_test): Likewise.
18306 (fpclassify_test): Likewise.
18307 (frexp_test): Likewise.
18308 (hypot_test): Likewise.
18309 (ilogb_test): Likewise.
18310 (isfinite_test): Likewise.
18311 (finite_test): Likewise.
18312 (isgreater_test): Likewise.
18313 (isgreaterequal_test): Likewise.
18314 (isinf_test): Likewise.
18315 (isless_test): Likewise.
18316 (islessequal_test): Likewise.
18317 (islessgreater_test): Likewise.
18318 (isnan_test): Likewise.
18319 (isnormal_test): Likewise.
18320 (issignaling_test): Likewise.
18321 (isunordered_test): Likewise.
18322 (j0_test): Likewise.
18323 (j1_test): Likewise.
18324 (jn_test): Likewise.
18325 (ldexp_test): Likewise.
18326 (lgamma_test): Likewise.
18327 (gamma_test): Likewise.
18328 (lrint_test): Likewise.
18329 (lrint_test_tonearest): Likewise.
18330 (lrint_test_towardzero): Likewise.
18331 (lrint_test_downward): Likewise.
18332 (lrint_test_upward): Likewise.
18333 (llrint_test): Likewise.
18334 (llrint_test_tonearest): Likewise.
18335 (llrint_test_towardzero): Likewise.
18336 (llrint_test_downward): Likewise.
18337 (llrint_test_upward): Likewise.
18338 (log_test): Likewise.
18339 (log10_test): Likewise.
18340 (log1p_test): Likewise.
18341 (log2_test): Likewise.
18342 (logb_test): Likewise.
18343 (logb_test_downward): Likewise.
18344 (lround_test): Likewise.
18345 (llround_test): Likewise.
18346 (modf_test): Likewise.
18347 (nearbyint_test): Likewise.
18348 (nextafter_test): Likewise.
18349 (nexttoward_test): Likewise.
18350 (pow_test): Likewise.
18351 (pow_test_tonearest): Likewise.
18352 (pow_test_towardzero): Likewise.
18353 (pow_test_downward): Likewise.
18354 (pow_test_upward): Likewise.
18355 (remainder_test): Likewise.
18356 (drem_test): Likewise.
18357 (remainder_test_tonearest): Likewise.
18358 (drem_test_tonearest): Likewise.
18359 (remainder_test_towardzero): Likewise.
18360 (drem_test_towardzero): Likewise.
18361 (remainder_test_downward): Likewise.
18362 (drem_test_downward): Likewise.
18363 (remainder_test_upward): Likewise.
18364 (drem_test_upward): Likewise.
18365 (remquo_test): Likewise.
18366 (rint_test): Likewise.
18367 (rint_test_tonearest): Likewise.
18368 (rint_test_towardzero): Likewise.
18369 (rint_test_downward): Likewise.
18370 (rint_test_upward): Likewise.
18371 (round_test): Likewise.
18372 (scalb_test): Likewise.
18373 (scalbn_test): Likewise.
18374 (scalbln_test): Likewise.
18375 (signbit_test): Likewise.
18376 (sin_test): Likewise.
18377 (sin_test_tonearest): Likewise.
18378 (sin_test_towardzero): Likewise.
18379 (sin_test_downward): Likewise.
18380 (sin_test_upward): Likewise.
18381 (sincos_test): Likewise.
18382 (sinh_test): Likewise.
18383 (sinh_test_tonearest): Likewise.
18384 (sinh_test_towardzero): Likewise.
18385 (sinh_test_downward): Likewise.
18386 (sinh_test_upward): Likewise.
18387 (sqrt_test): Likewise.
18388 (sqrt_test_tonearest): Likewise.
18389 (sqrt_test_towardzero): Likewise.
18390 (sqrt_test_downward): Likewise.
18391 (sqrt_test_upward): Likewise.
18392 (tan_test): Likewise.
18393 (tan_test_tonearest): Likewise.
18394 (tan_test_towardzero): Likewise.
18395 (tan_test_downward): Likewise.
18396 (tan_test_upward): Likewise.
18397 (tanh_test): Likewise.
18398 (tgamma_test): Likewise.
18399 (trunc_test): Likewise.
18400 (y0_test): Likewise.
18401 (y1_test): Likewise.
18402 (yn_test): Likewise.
18403 (significand_test): Likewise.
18405 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
18406 individual tests in comment.
18407 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
18408 (prev_max_error): New variable.
18409 (prev_real_max_error): Likewise.
18410 (prev_imag_max_error): Likewise.
18411 (compare_ulp_data): Don't refer to test names in comment.
18412 (find_test_ulps): Remove function.
18413 (find_function_ulps): Likewise.
18414 (find_complex_function_ulps): Likewise.
18415 (init_max_error): Take function name as argument. Look up ulps
18417 (print_ulps): Remove function.
18418 (print_max_error): Use prev_max_error instead of calling
18419 find_function_ulps.
18420 (print_complex_max_error): Use prev_real_max_error and
18421 prev_imag_max_error instead of calling find_complex_function_ulps.
18422 (check_float_internal): Take max_ulp parameter instead of calling
18423 find_test_ulps. Don't call print_ulps.
18424 (check_float): Update call to check_float_internal.
18425 (check_complex): Update calls to check_float_internal.
18426 (START): Pass argument to init_max_error.
18427 * math/gen-libm-test.pl (%results): Don't include "kind"
18429 (parse_ulps): Don't handle ulps of individual tests.
18430 (print_ulps_file): Likewise.
18431 (output_ulps): Likewise.
18432 * math/README.libm-test: Update.
18433 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
18435 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
18436 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
18437 * sysdeps/arm/libm-test-ulps: Likewise.
18438 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18439 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
18440 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
18441 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
18442 * sysdeps/microblaze/libm-test-ulps: Likewise.
18443 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18444 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18445 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18446 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
18447 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18448 * sysdeps/sh/libm-test-ulps: Likewise.
18449 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18450 * sysdeps/tile/libm-test-ulps: Likewise.
18451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18453 2014-03-04 Joseph Myers <joseph@codesourcery.com>
18455 * math/libm-test.inc (print_complex_max_error): Check separately
18456 whether real and imaginary errors are within allowed range and
18457 pass 0 to print_complex_function_ulps instead of value within
18460 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18462 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
18464 (get_handles_fopen): Likewise.
18465 (do_write_test): Likewise.
18467 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
18469 * libio/fileops.c (do_ftell): Use cached offset when
18471 * libio/iofwide.c (do_ftell_wide): Likewise.
18472 * libio/iofdopen.c (_IO_new_fdopen): Don't use
18474 * libio/wfileops.c (_IO_fwide): Don't cache offset.
18477 * libio/libioP.h (get_file_offset): New function.
18478 * libio/fileops.c (get_file_offset): Likewise.
18479 (do_ftell): Likewise.
18480 (_IO_new_file_seekoff): Split out ftell logic.
18481 * libio/wfileops.c (do_ftell_wide): Likewise.
18482 (_IO_wfile_seekoff): Split out ftell logic.
18483 * libio/tst-ftell-active-handler.c: New test case.
18484 * libio/Makefile (tests): Add it.
18486 2014-03-03 Roland McGrath <roland@hack.frob.com>
18488 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
18489 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
18491 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18494 * nscd/connections.c (nscd_init): Call do_exit.
18495 (start_threads): Call do_exit and notify_parent.
18496 (begin_drop_privileges): Call do_exit.
18497 (finish_drop_privileges): Likewise.
18498 * nscd/selinux.c (preserve_capabilities): Likewise.
18499 (install_real_capabilities): Likewise.
18500 (nscd_selinux_enabled): Likewise.
18501 (avc_create_thread): Likewise.
18502 (avc_alloc_lock): Likewise.
18503 (nscd_avc_init): Likewise.
18504 * nscd/nscd.c (parent_fd): New static variable.
18505 (main): Create a pipe between parent and child processes.
18506 Skip closing parent_fd.
18507 (monitor_child): New function.
18508 (do_exit): Likewise.
18509 (notify_parent): Likewise.
18510 * nscd/nscd.h (notify_parent): Likewise.
18511 (do_exit): Likewise.
18513 2014-03-03 Carlos O'Donell <carlos@redhat.com>
18515 * malloc/malloc.c (__libc_calloc): Revert last change.
18517 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18521 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18523 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
18524 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
18526 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18527 (__libc_ifunc_impl_list): Likewise.
18528 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
18529 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
18530 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
18531 * string/strrchr.c: Define STRRCHR.
18533 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
18535 * benchtest/bench-strtok.c (simple_strtok): Delete.
18536 (strtok_string): Use as benchmark.
18537 * string/strtok (STRTOK): New macro.
18539 2014-02-28 Carlos O'Donell <carlos@redhat.com>
18541 * manual/threads.texi: Add header and standard comments to all
18544 * elf/dl-lookup.c (check_match): New function.
18545 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
18546 (do_lookup_x): Remove nested function check_match. Use non-nested
18547 function check_match.
18549 2014-02-28 Roland McGrath <roland@hack.frob.com>
18551 * csu/Makefile (generated, before-compile): Use += rather than =.
18552 * catgets/Makefile (generated, generated-dirs): Likewise.
18553 * debug/Makefile (generated): Likewise.
18554 * dlfcn/Makefile (generated): Likewise.
18555 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
18556 * iconvdata/Makefile (before-compile, generated): Likewise.
18557 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
18558 * libio/Makefile (generated): Likewise.
18559 * malloc/Makefile (generated): Likewise.
18560 * manual/Makefile (generated, generated-dirs): Likewise.
18561 * misc/Makefile (generated): Likewise.
18562 * posix/Makefile (generated): Likewise.
18563 * resolv/Makefile (generated): Likewise.
18564 * sunrpc/Makefile (generated, generated-dirs): Likewise.
18565 * timezone/Makefile (generated, generated-dirs): Likewise.
18567 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
18569 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18571 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18572 power8 implementation.
18573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
18574 file: POWER8 llround ifunc implementation.
18575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
18576 (__lllround): Add POWER8 implementation.
18577 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
18578 POWER8 llround implementation.
18580 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
18581 power8 implementation.
18582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
18583 file: POWER8 llrint ifunc implementation.
18584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
18585 Add POWER8 implementation.
18586 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
18587 POWER8 llrint implementation.
18589 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
18590 power8 implementation.
18591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
18592 file: POWER8 finite ifunc implementation.
18593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
18594 Add POWER8 implementation.
18595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
18597 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
18598 POWER8 finite implementation.
18599 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
18601 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
18602 power8 implementation.
18603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
18604 file: POWER8 isinf ifunc implementation.
18605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
18606 POWER8 implementation.
18607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
18609 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
18610 isinf implementation.
18611 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
18613 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18614 (INIT_ARCH): Add hwcap2 initialization.
18615 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18616 power8 implementation.
18617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
18618 file: POWER8 isnan ifunc implementation.
18619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
18620 POWER8 implementation.
18621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
18623 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
18624 isnan implementation.
18625 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
18627 2014-02-27 Joey Ye <joey.ye@arm.com>
18629 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18630 (_FP_NANFRAC_Q): Set to zero.
18632 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18635 * math/auto-libm-test-in: New test inputs.
18636 * math/auto-libm-test-out: Regenerate.
18637 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
18640 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18642 2014-02-27 Joseph Myers <joseph@codesourcery.com>
18644 * scripts/evaluate-test.sh: Take new argument indicating whether
18645 failure is expected.
18646 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
18647 indicating whether failure is expected.
18648 * conform/Makefile (test-xfail-run-conformtest): New variable.
18649 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
18651 * posix/Makefile (test-xfail-annexc): New variable.
18652 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
18654 2014-02-26 Joseph Myers <joseph@codesourcery.com>
18656 * argp/Makefile: Include Makeconfig immediately after defining
18658 * assert/Makefile: Likewise.
18659 * benchtests/Makefile: Likewise.
18660 * catgets/Makefile: Likewise.
18661 * conform/Makefile: Likewise.
18662 * crypt/Makefile: Likewise.
18663 * csu/Makefile: Likewise.
18664 (all): Remove target.
18665 * ctype/Makefile: Include Makeconfig immediately after defining
18667 * debug/Makefile: Likewise.
18668 * dirent/Makefile: Likewise.
18669 * dlfcn/Makefile: Likewise.
18670 * gmon/Makefile: Likewise.
18671 * gnulib/Makefile: Likewise.
18672 * grp/Makefile: Likewise.
18673 * gshadow/Makefile: Likewise.
18674 * hesiod/Makefile: Likewise.
18675 * hurd/Makefile: Likewise.
18676 (all): Remove target.
18677 * iconvdata/Makefile: Include Makeconfig immediately after
18679 * inet/Makefile: Likewise.
18680 * intl/Makefile: Likewise.
18681 * io/Makefile: Likewise.
18682 * libio/Makefile: Likewise.
18683 (all): Remove target.
18684 * locale/Makefile: Include Makeconfig immediately after defining
18686 * login/Makefile: Likewise.
18687 * mach/Makefile: Likewise.
18688 (all): Remove target.
18689 * malloc/Makefile: Include Makeconfig immediately after defining
18691 (all): Remove target.
18692 * manual/Makefile: Include Makeconfig immediately after defining
18694 * math/Makefile: Likewise.
18695 * misc/Makefile: Likewise.
18696 * nis/Makefile: Likewise.
18697 * nss/Makefile: Likewise.
18698 * po/Makefile: Likewise.
18699 (all): Remove target.
18700 * posix/Makefile: Include Makeconfig immediately after defining
18702 * pwd/Makefile: Likewise.
18703 * resolv/Makefile: Likewise.
18704 * resource/Makefile: Likewise.
18705 * rt/Makefile: Likewise.
18706 * setjmp/Makefile: Likewise.
18707 * shadow/Makefile: Likewise.
18708 * signal/Makefile: Likewise.
18709 * socket/Makefile: Likewise.
18710 * soft-fp/Makefile: Likewise.
18711 * stdio-common/Makefile: Likewise.
18712 * stdlib/Makefile: Likewise.
18713 * streams/Makefile: Likewise.
18714 * string/Makefile: Likewise.
18715 * sunrpc/Makefile: Likewise.
18716 (all): Remove target.
18717 * sysvipc/Makefile: Include Makeconfig immediately after defining
18719 * termios/Makefile: Likewise.
18720 * time/Makefile: Likewise.
18721 * timezone/Makefile: Likewise.
18722 (all): Remove target.
18723 * wcsmbs/Makefile: Include Makeconfig immediately after defining
18725 * wctype/Makefile: Likewise.
18727 2014-02-26 Steve Ellcey <sellcey@mips.com>
18729 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
18730 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
18731 (libc_feholdexcept_setround_mips): Ditto.
18732 (libc_feholdsetround): New.
18733 (libc_feholdsetroundf): New.
18734 (libc_feholdsetroundl): New.
18735 (libc_feupdateenv_test_mips): New.
18736 (libc_feupdateenv_test): New.
18737 (libc_feupdateenv_testf): New.
18738 (libc_feupdateenv_testl): New.
18739 (libc_feresetround): New.
18740 (libc_feresetroundf): New.
18741 (libc_feresetroundl): New.
18742 (libc_fetestexcept_mips): New.
18743 (libc_fetestexcept): New.
18744 (libc_fetestexceptf): New.
18745 (libc_fetestexceptl): New.
18746 (HAVE_RM_CTX): New.
18747 (libc_feholdexcept_setround_mips_ctx): New.
18748 (libc_feholdexcept_setround_ctx): New.
18749 (libc_feholdexcept_setroundf_ctx): New.
18750 (libc_feholdexcept_setroundl_ctx): New.
18751 (libc_fesetenv_mips_ctx): New.
18752 (libc_fesetenv_ctx): New.
18753 (libc_fesetenv_ctxf): New.
18754 (libc_fesetenv_ctxl): New.
18755 (libc_feupdateenv_mips_ctx): New.
18756 (libc_feupdateenv_ctx): New.
18757 (libc_feupdateenvf_ctx): New.
18758 (libc_feupdateenvl_ctx): New.
18759 (libc_feholdsetround_mips_ctx): New.
18760 (libc_feholdsetround_ctx): New.
18761 (libc_feholdsetroundf_ctx): New.
18762 (libc_feholdsetroundl_ctx): New.
18763 (libc_feresetround_mips_ctx): New.
18764 (libc_feresetround_ctx): New.
18765 (libc_feresetroundf_ctx): New.
18766 (libc_feresetroundl_ctx): New.
18768 2014-02-26 Carlos O'Donell <carlos@redhat.com>
18770 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
18772 * manual/ipc.texi: New file.
18773 * manual/Makefile (chapters): Add ipc.
18774 * manual/job.texi: Add "Inter-Process Communication" to next.
18775 * manual/process.texi: Add "Inter-Process Communication" to prev.
18777 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18781 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
18783 * malloc/malloc.c (__libc_calloc): Simplify implementation.
18785 * manual/arith.texi: Fix spaces after sentences.
18786 * manual/charset.texi: Likewise.
18787 * manual/errno.texi: Likewise.
18788 * manual/install.texi: Likewise.
18789 * manual/llio.texi: Likewise.
18790 * manual/locale.texi: Likewise.
18791 * manual/maint.texi: Likewise.
18792 * manual/math.texi: Likewise.
18793 * manual/memory.texi: Likewise.
18794 * manual/message.texi: Likewise.
18795 * manual/probes.texi: Likewise.
18796 * manual/resource.texi: Likewise.
18797 * manual/signal.texi: Likewise.
18798 * manual/socket.texi: Likewise.
18799 * manual/stdio.texi: Likewise.
18800 * manual/string.texi: Likewise.
18801 * manual/time.texi: Likewise.
18802 * manual/users.texi: Likewise.
18804 2014-02-25 Carlos O'Donell <carlos@redhat.com>
18807 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
18808 _DEFAULT_SOURCE is defined.
18810 2014-02-25 Ulrich Drepper <drepper@gmail.com>
18811 Carlos O'Donell <carlos@redhat.com>
18814 * elf/dl-tls.c (_dl_count_modids): New function.
18815 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
18816 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
18817 audit library and increment generation counter.
18818 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
18819 * elf/tst-audit9.c: New file.
18820 * elf/tst-auditmod9a.c: New file.
18821 * elf/tst-auditmod9b.c: New file.
18822 * elf/Makefile: Add rules to build and run tst-audit9.
18824 2014-02-25 Florian Weimer <fweimer@redhat.com>
18827 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
18829 2014-02-25 Will Newton <will.newton@linaro.org>
18831 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
18832 (__longjmp): Restore sp and lr before restoring callee
18833 saved registers. Add longjmp and longjmp_target
18834 SystemTap probe point.
18835 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
18836 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
18837 Define to zero to match jmpbuf layout.
18838 * sysdeps/arm/setjmp.S: Include stap-probe.h.
18839 (__sigsetjmp): Save sp and lr before saving callee
18840 saved registers. Add setjmp SystemTap probe point.
18842 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18844 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18846 2014-02-24 Andreas Schwab <schwab@suse.de>
18849 * elf/pldd.c (wait_for_ptrace_stop): New function.
18850 (main): Call it after attaching.
18852 2014-02-22 Roland McGrath <roland@hack.frob.com>
18854 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
18855 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
18856 Versions files is now verboten.
18857 * hurd/Versions (libc: GLIBC_2.0):
18858 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18859 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18860 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18861 * mach/Versions: Likewise.
18863 * csu/Versions: Remove unused %include.
18864 * resolv/Versions: Likewise.
18866 2014-02-21 Joseph Myers <joseph@codesourcery.com>
18868 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18869 ($(objpfx)check-local-headers.out): Likewise.
18870 ($(objpfx)begin-end-check.out): Likewise.
18871 * Makerules (check-abi-%.out): Likewise.
18872 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18873 ($(objpfx)test2.cat): Likewise.
18874 ($(objpfx)de/libc.cat): Likewise.
18875 ($(objpfx)test-gencat.out): Likewise.
18876 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18877 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18878 ($(objpfx)noload-mem): Likewise.
18879 ($(objpfx)tst-pathopt.out): Likewise.
18880 ($(objpfx)tst-rtld-load-self.out): Likewise.
18881 ($(objpfx)tst-array1-cmp.out): Likewise.
18882 ($(objpfx)tst-array1-static-cmp.out): Likewise.
18883 ($(objpfx)tst-array2-cmp.out): Likewise.
18884 ($(objpfx)tst-array3-cmp.out): Likewise.
18885 ($(objpfx)tst-array4-cmp.out): Likewise.
18886 ($(objpfx)tst-array5-cmp.out): Likewise.
18887 ($(objpfx)tst-array5-static-cmp.out): Likewise.
18888 ($(objpfx)check-textrel.out): Likewise.
18889 ($(objpfx)check-execstack.out): Likewise.
18890 ($(objpfx)check-localplt.out): Likewise.
18891 ($(objpfx)order2-cmp.out): Likewise.
18892 ($(objpfx)tst-leaks1-mem): Likewise.
18893 ($(objpfx)tst-leaks1-static-mem): Likewise.
18894 ($(objpfx)tst-initorder-cmp.out): Likewise.
18895 ($(objpfx)tst-initorder2-cmp.out): Likewise.
18896 ($(objpfx)tst-unused-dep.out): Likewise.
18897 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18898 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18899 * iconv/Makefile (test-iconvconfig): Likewise.
18900 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18901 ($(objpfx)iconv-test.out): Likewise.
18902 ($(objpfx)tst-tables.out): Likewise.
18903 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18904 ($(objpfx)tst-gettext.out): Likewise.
18905 ($(objpfx)tst-translit.out): Likewise.
18906 ($(objpfx)tst-gettext2.out): Likewise.
18907 ($(objpfx)tst-gettext4.out): Likewise.
18908 ($(objpfx)tst-gettext6.out): Likewise.
18909 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18910 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18911 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18912 ($(objpfx)tst-fopenloc-mem.out): Likewise.
18913 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18914 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18915 * posix/Makefile ($(objpfx)globtest.out): Likewise.
18916 ($(objpfx)wordexp-tst.out): Likewise.
18917 ($(objpfx)annexc.out): Likewise.
18918 ($(objpfx)tst-fnmatch-mem): Likewise.
18919 ($(objpfx)bug-regex2-mem): Likewise.
18920 ($(objpfx)bug-regex14-mem): Likewise.
18921 ($(objpfx)bug-regex21-mem): Likewise.
18922 ($(objpfx)bug-regex31-mem): Likewise.
18923 ($(objpfx)tst-vfork3-mem): Likewise.
18924 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18925 ($(objpfx)tst-pcre-mem): Likewise.
18926 ($(objpfx)tst-boost-mem): Likewise.
18927 ($(objpfx)tst-getconf.out): Likewise.
18928 ($(objpfx)bug-ga2-mem): Likewise.
18929 ($(objpfx)bug-glob2-mem): Likewise.
18930 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18931 ($(objpfx)mtrace-tst-leaks2): Likewise.
18932 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18933 ($(objpfx)tst-printf.out): Likewise.
18934 ($(objpfx)tst-setvbuf1.out): Likewise.
18935 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18936 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18937 ($(objpfx)tst-fmtmsg.out): Likewise.
18938 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18939 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18941 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18942 * bits/sigaction.h [__USE_MISC]: Likewise.
18943 * bits/waitstatus.h: Update #endif comments.
18944 * ctype/ctype.h: Likewise.
18945 * dirent/dirent.h: Likewise.
18946 [__USE_MISC]: Remove redundant conditionals.
18947 * grp/grp.h: Update #endif comments.
18948 [__USE_GNU]: Remove redundant conditionals.
18949 [__USE_MISC]: Likewise.
18950 * inet/netinet/in.h [__USE_GNU]: Likewise.
18951 * io/sys/stat.h [__USE_MISC]: Likewise.
18952 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18953 * libio/bits/stdio.h: Update #endif comments.
18954 [__USE_MISC]: Remove redundant conditionals.
18955 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18956 * libio/stdio.h: Update #endif comments.
18957 [__USE_MISC]: Remove redundant conditionals.
18958 * math/bits/math-finite.h [__USE_MISC]: Likewise.
18959 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18960 * math/math.h: Update #else and #endif comments.
18961 [__USE_MISC]: Remove redundant conditionals.
18962 * misc/sys/uio.h: Update #endif comments.
18963 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18964 * posix/glob.h [__USE_MISC]: Likewise.
18965 * posix/sys/types.h: Update #endif comments.
18966 [__USE_MISC]: Remove redundant conditionals.
18967 * posix/sys/wait.h: Update #endif comments.
18968 [__USE_MISC]: Remove redundant conditionals.
18969 * posix/unistd.h: Update #endif comments.
18970 [__USE_MISC]: Remove redundant conditionals.
18971 * pwd/pwd.h [__USE_GNU]: Likewise.
18972 [__USE_MISC]: Likewise.
18973 * resolv/netdb.h [__USE_GNU]: Likewise.
18974 * signal/signal.h: Update #endif comments.
18975 [__USE_MISC]: Remove redundant conditionals.
18976 * stdlib/stdlib.h: Update #else and #endif comments.
18977 [__USE_MISC]: Remove redundant conditionals.
18978 [__USE_GNU]: Likewise.
18979 * string/bits/string2.h [__USE_MISC]: Likewise.
18980 * string/string.h: Update #endif comments.
18981 [__USE_MISC]: Remove redundant conditionals.
18982 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18984 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18985 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18986 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18988 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18990 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18992 [__USE_MISC]: Remove redundant conditionals.
18993 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18994 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18995 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18996 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18997 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18999 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
19000 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
19002 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
19003 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
19005 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
19007 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
19008 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
19010 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
19012 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
19013 * sysdeps/x86/bits/string.h: Update #endif comments.
19014 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
19016 * time/sys/time.h: Update #endif comments.
19017 * time/time.h: Likewise.
19018 [__USE_MISC]: Remove redundant conditionals.
19020 2014-02-21 Yury Gribov <y.gribov@samsung.com>
19023 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
19025 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
19027 * Versions.def (librt): Add GLIBC_2.17.
19029 2014-02-21 Adam Conrad <adconrad@0c3.net>
19031 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
19032 synonym for _SYS_AUXV_H to allow direct inclusion.
19033 * sysdeps/sparc/bits/hwcap.h: Likewise.
19034 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
19035 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
19036 * sysdeps/sparc/sysdep.h: Likewise.
19038 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19040 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
19042 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19044 * benchtests/bench-strrchr.c: Print length instead of position.
19046 2014-02-20 Joseph Myers <joseph@codesourcery.com>
19049 * sysdeps/unix/sysv/linux/kernel-features.h
19050 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
19051 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
19052 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
19053 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
19055 [__i386__ || __powerpc__ || __sh__ || __sparc__]
19056 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19057 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
19058 (__ASSUME_SENDMMSG): Define instead of using previous
19059 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
19060 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19061 (__ASSUME_SENDMMSG_SYSCALL): Define.
19062 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19063 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
19065 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19066 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19068 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19069 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19071 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
19072 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
19073 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
19074 [__ASSUME_SENDMMSG]: Change conditionals to
19075 [__ASSUME_SENDMMSG_SOCKETCALL].
19076 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19077 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
19079 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19080 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
19082 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
19083 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
19084 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
19085 [!__ASSUME_SENDMMSG]: Change conditional to
19086 [!__ASSUME_SENDMMSG_SOCKETCALL].
19087 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19088 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19092 * sysdeps/unix/sysv/linux/kernel-features.h
19093 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
19094 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
19095 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
19096 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
19097 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19098 [__i386__ || __sparc__]
19099 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19100 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
19101 (__ASSUME_RECVMMSG): Define instead of using previous
19102 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
19103 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19104 (__ASSUME_RECVMMSG_SYSCALL): Define.
19105 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19106 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19108 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19109 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19111 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19112 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19114 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
19115 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
19116 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
19117 [__ASSUME_RECVMMSG]: Change condition to
19118 [__ASSUME_RECVMMSG_SOCKETCALL].
19119 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19120 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19122 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19123 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19124 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19126 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
19127 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
19128 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
19129 [!__ASSUME_RECVMMSG]: Change condition to
19130 [!__ASSUME_RECVMMSG_SOCKETCALL].
19131 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19132 (__ASSUME_RECVMMSG_SYSCALL): Define.
19135 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
19136 __powerpc__ || __s390__ || __sh__ || __sparc__]
19137 (__ASSUME_SOCKETCALL): Define.
19138 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
19139 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
19140 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
19141 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
19142 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19143 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
19144 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
19145 (__ASSUME_ACCEPT4): Define instead of using previous
19146 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
19147 __powerpc__ || __sparc__ || __s390__)] condition.
19148 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19149 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
19150 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
19151 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
19152 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
19153 [!__ASSUME_ACCEPT4]: Change condition to
19154 [!__ASSUME_ACCEPT4_SOCKETCALL].
19155 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19156 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
19157 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
19158 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19159 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
19160 __ASSUME_ACCEPT4_SYSCALL.
19161 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
19162 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
19163 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19164 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
19165 __ASSUME_ACCEPT4_SYSCALL.
19166 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
19167 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
19168 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
19169 [__ASSUME_ACCEPT4]: Change condition to
19170 [__ASSUME_ACCEPT4_SOCKETCALL].
19171 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19172 (__ASSUME_SOCKETCALL): Define.
19173 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
19174 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19175 (__ASSUME_SOCKETCALL): Define.
19176 (__ASSUME_ACCEPT4): Remove.
19177 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
19179 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19180 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
19182 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19183 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
19185 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
19187 (HWCAP_ARM_LPAE): Likewise.
19188 (HWCAP_ARM_EVTSTRM): Likewise.
19189 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
19190 Add vpfd32, lpae and evtstrm.
19191 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
19194 2014-02-19 Joseph Myers <joseph@codesourcery.com>
19196 * math/auto-libm-test-in: Add tests of clog10.
19197 * math/auto-libm-test-out: Regenerated.
19198 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
19199 * sysdeps/i386/fpu/libm-test-ulps: Update.
19200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19202 2014-02-18 Andreas Schwab <schwab@suse.de>
19205 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
19206 Store non-zero if the second buffer was newly allocated.
19207 (send_dg): Likewise.
19208 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
19209 to send_vc and send_dg.
19210 (res_nsend): Pass NULL for ansp2_malloced.
19211 * resolv/res_query.c (__libc_res_nquery): Add parameter
19212 answerp2_malloced and pass it down to __libc_res_nsend.
19213 (res_nquery): Pass additional NULL to __libc_res_nquery.
19214 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
19215 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
19216 second answer buffer if answerp2_malloced was set.
19217 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
19218 (__libc_res_nquerydomain): Add parameter
19219 answerp2_malloced and pass it down to __libc_res_nquery.
19220 (res_nquerydomain): Pass additional NULL to
19221 __libc_res_nquerydomain.
19222 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
19223 additional NULL to __libc_res_nsend and __libc_res_nquery.
19224 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
19225 additional NULL to __libc_res_nsearch.
19226 (_nss_dns_gethostbyname4_r): Revert last change. Use new
19227 parameter of __libc_res_nsearch to check for separately allocated
19229 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
19231 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
19232 additional NULL to __libc_res_nquery.
19233 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
19234 __libc_res_nsearch.
19235 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
19236 * include/resolv.h: Update prototypes of __libc_res_nquery,
19237 __libc_res_nsearch, __libc_res_nsend.
19239 2014-02-18 Joseph Myers <joseph@codesourcery.com>
19241 * math/auto-libm-test-in: Add tests of fma.
19242 * math/auto-libm-test-out: Regenerated.
19243 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
19244 (fma_towardzero_test_data): Likewise.
19245 (fma_downward_test_data): Likewise.
19246 (fma_upward_test_data): Likewise.
19247 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
19249 (rounding_modes): Add values for new field.
19250 (func_calc_method): Add value mpfr_fff_f.
19251 (func_calc_desc): Add mpfr_fff_f union field.
19252 (test_function): Add field exact_args.
19253 (FUNC): Add macro argument EXACT_ARGS.
19254 (FUNC_mpfr_f_f): Update call to FUNC.
19255 (FUNC_mpfr_f_f): Likewise.
19256 (FUNC_mpfr_ff_f): Likewise.
19257 (FUNC_mpfr_if_f): Likewise.
19258 (FUNC_mpc_c_f): Likewise.
19259 (FUNC_mpc_c_c): Likewise.
19260 (test_functions): Add fma. Update calls to FUNC.
19261 (handle_input_arg): Add argument exact_args.
19262 (add_test): Update call to handle_input_arg.
19263 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
19264 (output_for_one_input_case): Update call to calc_generic_results.
19265 Recalculate exact zero results in each rounding mode.
19267 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
19268 non-negative before setting low bit.
19269 * math/auto-libm-test-in: Mark one asin test possibly having
19270 spurious underflow.
19271 * math/auto-libm-test-out: Regenerated.
19272 * sysdeps/i386/fpu/libm-test-ulps: Update.
19273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19275 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
19277 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
19278 * sysdeps/unix/sysv/linux/microblaze: Move directory from
19279 ports/sysdeps/unix/sysv/linux/microblaze.
19280 * README: Add missing listing for microblaze*-*-linux-gnu.
19282 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
19284 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
19287 2014-02-16 Mike Frysinger <vapier@gentoo.org>
19289 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
19290 * sysdeps/unix/sysv/linux/ia64: Move directory from
19291 ports/sysdeps/unix/sysv/linux/ia64.
19292 * README: Update listing for ia64-*-linux-gnu.
19294 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
19295 Joseph Myers <joseph@codesourcery.com>
19297 * Makeconfig (test-name): New variable.
19298 (evaluate-test): Likewise.
19299 * Makerules (do-test-clean): Remove .test-result files.
19300 (common-mostlyclean): Likewise.
19301 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
19302 * scripts/evaluate-test.sh: New file.
19304 2014-02-14 Joseph Myers <joseph@codesourcery.com>
19306 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
19307 separate $(objpfx)tst-fopenloc-cmp.out and
19308 $(objpfx)tst-fopenloc-mem.out targets.
19309 (tests): Update dependencies.
19310 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
19311 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
19312 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
19313 (tst-rxspencer-no-utf8-ARGS): New variable.
19314 (tst-rxspencer-no-utf8-ENV): Likewise.
19315 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
19316 instead of $(objpfx)tst-rxspencer-mem.
19317 ($(objpfx)tst-rxspencer-mem): Change target to
19318 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
19319 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
19320 * posix/tst-rxspencer-no-utf8.c: New file.
19322 * elf/Makefile ($(objpfx)order.out): Remove rule.
19323 [$(run-built-tests) = yes] (tests): Depend on
19324 $(objpfx)order-cmp.out.
19325 ($(objpfx)order-cmp.out): New rule.
19326 [$(run-built-tests) = yes] (tests): Depend on
19327 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
19328 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
19329 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
19330 $(objpfx)tst-array5-static-cmp.out.
19331 ($(objpfx)tst-array1.out): Remove rule.
19332 ($(objpfx)tst-array1-cmp.out): New rule.
19333 ($(objpfx)tst-array1-static.out): Remove rule.
19334 ($(objpfx)tst-array1-static-cmp.out): New rule.
19335 ($(objpfx)tst-array2.out): Remove rule.
19336 ($(objpfx)tst-array2-cmp.out): New rule.
19337 ($(objpfx)tst-array3.out): Remove rule.
19338 ($(objpfx)tst-array3-cmp.out): New rule.
19339 ($(objpfx)tst-array4.out): Remove rule.
19340 ($(objpfx)tst-array4-cmp.out): New rule.
19341 ($(objpfx)tst-array5.out): Remove rule.
19342 ($(objpfx)tst-array5-cmp.out): New rule.
19343 ($(objpfx)tst-array5-static.out): Remove rule.
19344 ($(objpfx)tst-array5-static-cmp.out): New rule.
19345 [$(run-built-tests) = yes] (tests): Depend on
19346 $(objpfx)order2-cmp.out.
19347 ($(objpfx)order2.out): Remove rule.
19348 ($(objpfx)order2-cmp.out): New rule.
19349 ($(objpfx)tst-initorder.out): Remove rule.
19350 [$(run-built-tests) = yes] (tests): Depend on
19351 $(objpfx)tst-initorder-cmp.out.
19352 ($(objpfx)tst-initorder-cmp.out): New rule.
19353 ($(objpfx)tst-initorder2.out): Remove rule.
19354 [$(run-built-tests) = yes] (tests): Depend on
19355 $(objpfx)tst-initorder2-cmp.out.
19356 ($(objpfx)tst-initorder2-cmp.out): New rule.
19357 [$(run-built-tests) = yes] (tests): Depend on
19358 $(objpfx)tst-unused-dep-cmp.out.
19359 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
19360 ($(objpfx)tst-unused-dep-cmp.out): New rule.
19361 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
19362 on $(objpfx)tst-setvbuf1-cmp.out.
19363 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
19364 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
19365 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
19366 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
19367 ($(objpfx)tst-svc.out): Remove rule.
19368 ($(objpfx)tst-svc-cmp.out): New rule.
19370 2014-02-13 Joseph Myers <joseph@codesourcery.com>
19372 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
19373 * ctype/ctype.h [__USE_MISC]: Likewise.
19374 * dirent/dirent.h [__USE_MISC]: Likewise.
19375 * grp/grp.h [__USE_MISC]: Likewise.
19376 * io/fcntl.h [__USE_MISC]: Likewise.
19377 * io/sys/stat.h [__USE_MISC]: Likewise.
19378 * libio/stdio.h [__USE_MISC]: Likewise.
19379 * posix/unistd.h [__USE_MISC]: Likewise.
19380 * pwd/pwd.h [__USE_MISC]: Likewise.
19381 * stdlib.h [__USE_MISC]: Likewise.
19382 * string/bits/string2.h [__USE_MISC]: Likewise.
19383 * string/string.h [__USE_MISC]: Likewise.
19384 * time/time.h [__USE_MISC]: Likewise.
19386 2014-02-13 Andreas Schwab <schwab@suse.de>
19389 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
19390 second answer buffer if it was separately allocated.
19392 2014-02-12 Joseph Myers <joseph@codesourcery.com>
19394 * sysdeps/mips/math-tests.h: Include <features.h>.
19395 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
19396 (ROUNDING_TESTS_long_double): Do not define.
19397 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
19398 (EXCEPTION_TESTS_long_double): Likewise.
19399 * sysdeps/mips/mips64/libm-test-ulps: Update.
19401 * include/features.h (__USE_BSD): Remove macro definitions.
19402 (__USE_SVID): Likewise.
19403 (_BSD_SOURCE): Likewise.
19404 (_SVID_SOURCE): Likewise.
19405 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
19406 from definition of _DEFAULT_SOURCE.
19407 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
19409 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
19410 * bits/mman.h [__USE_BSD]: Likewise.
19411 * bits/termios.h [__USE_BSD]: Likewise.
19412 * bits/waitstatus.h [__USE_BSD]: Likewise.
19413 * ctype/ctype.h [__USE_SVID]: Likewise.
19414 * dirent/dirent.h [__USE_BSD]: Likewise.
19415 * grp/grp.h [__USE_SVID]: Likewise.
19416 [__USE_BSD]: Likewise.
19417 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
19418 * io/fcntl.h [__USE_BSD]: Likewise.
19419 * io/ftw.h [__USE_BSD]: Likewise.
19420 * io/sys/stat.h [__USE_BSD]: Likewise.
19421 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
19422 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
19423 * libio/stdio.h [__USE_SVID]: Likewise.
19424 [__USE_BSD]: Likewise.
19425 * math/math.h [__USE_SVID]: Likewise.
19426 [__USE_BSD]: Likewise.
19427 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
19428 * misc/bits/syslog.h [__USE_BSD]: Likewise.
19429 * misc/search.h [__USE_SVID]: Likewise.
19430 * misc/sys/mman.h [__USE_BSD]: Likewise.
19431 * misc/sys/syslog.h [__USE_BSD]: Likewise.
19432 * misc/sys/uio.h [__USE_BSD]: Likewise.
19433 * posix/bits/unistd.h [__USE_BSD]: Likewise.
19434 * posix/glob.h [__USE_BSD]: Likewise.
19435 * posix/regex.h [__USE_BSD]: Likewise.
19436 * posix/sys/types.h [__USE_BSD]: Likewise.
19437 [__USE_SVID]: Likewise.
19438 * posix/sys/utsname.h [__USE_SVID]: Likewise.
19439 * posix/sys/wait.h [__USE_BSD]: Likewise.
19440 [__USE_SVID]: Likewise.
19441 * posix/unistd.h [__USE_BSD]: Likewise.
19442 [__USE_SVID]: Likewise.
19443 * pwd/pwd.h [__USE_SVID]: Likewise.
19444 * resolv/netdb.h [__USE_BSD]: Likewise.
19445 * setjmp/setjmp.h [__USE_BSD]: Likewise.
19446 * signal/signal.h [__USE_BSD]: Likewise.
19447 [__USE_SVID]: Likewise.
19448 * socket/sys/socket.h [__USE_BSD]: Likewise.
19449 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
19450 * stdlib/stdlib.h [__USE_BSD]: Likewise.
19451 [__USE_SVID]: Likewise.
19452 * string/bits/string2.h [__USE_BSD]: Likewise.
19453 [__USE_SVID]: Likewise.
19454 * string/bits/string3.h [__USE_BSD]: Likewise.
19455 * string/endian.h [__USE_BSD]: Likewise.
19456 * string/string.h [__USE_SVID]: Likewise.
19457 [__USE_BSD]: Likewise.
19458 * string/strings.h [__USE_BSD]: Likewise.
19459 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
19460 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
19461 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
19462 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
19463 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
19464 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
19466 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
19468 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
19469 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
19471 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
19472 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
19474 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
19476 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
19477 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
19478 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
19480 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
19482 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
19483 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
19484 * termios/termios.h [__USE_BSD]: Likewise.
19485 * time/sys/time.h [__USE_BSD]: Likewise.
19486 * time/time.h [__USE_BSD]: Likewise.
19487 [__USE_SVID]: Likewise.
19489 * Makefile (subdir_targets): Remove subdir_lint.out.
19491 * stdio-common/Makefile (do-tst-unbputc): Remove target.
19492 (do-tst-printf): Likewise.
19493 (tests): Depend directly on $(objpfx)tst-unbputc.out and
19494 $(objpfx)tst-printf.out.
19496 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
19498 * Makerules (check-abi-%): Change target to
19499 $(objpfx)check-abi-%.out.
19500 (check-abi target): Update dependencies.
19501 (check-abi-pattern variable): Redirect output of diff to $@.
19502 (check-abi variable): Likewise.
19503 * elf/Makefile (check-abi): Update dependencies.
19505 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
19507 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
19508 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
19510 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
19511 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
19512 value has largest subnormal exponent.
19513 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
19514 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
19515 * sysdeps/aarch64/soft-fp/sfp-machine.h
19516 (_FP_TININESS_AFTER_ROUNDING): New macro.
19517 * sysdeps/alpha/soft-fp/sfp-machine.h
19518 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19519 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19521 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
19522 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19523 * sysdeps/mips/soft-fp/sfp-machine.h
19524 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19525 * sysdeps/powerpc/soft-fp/sfp-machine.h
19526 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19527 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19529 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19530 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19531 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19532 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19533 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19536 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
19539 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
19542 2014-02-12 Richard Henderson <rth@redhat.com>
19544 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
19545 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
19546 * sysdeps/unix/sysv/linux/alpha: Move directory from
19547 ports/sysdeps/unix/sysv/linux/alpha.
19548 * README: Update listing for alpha-*-linux-gnu.
19550 2014-02-11 Joseph Myers <joseph@codesourcery.com>
19552 * include/features.h: Update comment documenting feature test
19554 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
19556 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
19557 (_SVID_SOURCE): Likewise.
19558 (_DEFAULT_SOURCE): Update description of default features.
19559 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
19561 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
19562 (S_ISVTX): Likewise.
19563 * manual/math.texi (Mathematical Constants): Likewise.
19564 * manual/signal.texi (Interrupted Primitives): Likewise.
19565 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
19566 * math/test-matherr.c (_SVID_SOURCE): Do not define.
19567 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
19568 Don't refer to _SVID_SOURCE in warning text.
19570 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19572 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
19574 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
19575 * sysdeps/mips/dl-lookup.c: Remove.
19576 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
19578 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19581 * math/auto-libm-test-in: Add testcase for expl.
19582 * math/auto-libm-test-out: Regenerate.
19583 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
19584 calculation of unsafe.
19585 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
19587 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
19589 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
19590 * sysdeps/unix/sysv/linux/aarch64: Move directory from
19591 ports/sysdeps/unix/sysv/linux/aarch64.
19592 * README: Update listing for aarch64*-*-linux-gnu.
19594 2014-02-11 Will Newton <will.newton@linaro.org>
19596 * manual/probes.texi (Mathematical Function Probes): Use
19597 "triggered" instead of "hit".
19599 * manual/probes.texi (Internal Probes): Add documentation
19600 of setjmp, longjmp and longjmp_target probes.
19602 * include/stap-probe.h: Add comment about probe argument
19605 * malloc/mtrace.c (attribute_hidden): Remove unused macro
19606 definition. (tr_where, tr_freehook, tr_mallochook,
19607 tr_reallochook, tr_memalignhook): Use ANSI protoype.
19609 2014-02-11 David S. Miller <davem@davemloft.net>
19611 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
19612 processing int_tests.
19614 2014-02-10 Joseph Myers <joseph@codesourcery.com>
19616 * sysdeps/mips: Move directory from ports/sysdeps/mips.
19617 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
19618 * sysdeps/unix/sysv/linux/mips: Move directory from
19619 ports/sysdeps/unix/sysv/linux/mips.
19620 * README: Update listing for mips-*-linux-gnu and
19621 mips64-*-linux-gnu.
19623 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
19625 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
19626 * sysdeps/unix/sysv/linux/m68k: Move directory from
19627 ports/sysdeps/unix/sysv/linux/m68k.
19628 * README: Update listing for m68k-*-linux-gnu.
19630 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
19632 * sysdeps/tile: Move directory from ports/sysdeps/tile.
19633 * sysdeps/unix/sysv/linux/generic: Move directory from
19634 ports/sysdeps/unix/sysv/linux/generic.
19635 * sysdeps/unix/sysv/linux/tile: Move directory from
19636 ports/sysdeps/unix/sysv/linux/tile.
19637 * README: Update listing for tile*-*-linux-gnu.
19639 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
19641 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
19643 * benchtests/bench-memmem.c (simple_memmem): Likewise.
19644 * catgets/open_catalog.c (__open_catalog): Likewise.
19645 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
19646 * debug/confstr_chk.c: Likewise.
19647 * debug/fread_chk.c (__fread_chk): Likewise.
19648 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
19649 * debug/getgroups_chk.c: Likewise.
19650 * debug/mbsnrtowcs_chk.c: Likewise.
19651 * debug/mbsrtowcs_chk.c: Likewise.
19652 * debug/mbstowcs_chk.c: Likewise.
19653 * debug/memcpy_chk.c: Likewise.
19654 * debug/memmove_chk.c: Likewise.
19655 * debug/mempcpy_chk.c: Likewise.
19656 * debug/memset_chk.c: Likewise.
19657 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19658 * debug/strcat_chk.c (__strcat_chk): Likewise.
19659 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
19660 * debug/strncat_chk.c (__strncat_chk): Likewise.
19661 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
19662 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
19663 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
19664 * debug/wcpncpy_chk.c: Likewise.
19665 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19666 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
19667 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
19668 * debug/wcsncpy_chk.c: Likewise.
19669 * debug/wcsnrtombs_chk.c: Likewise.
19670 * debug/wcsrtombs_chk.c: Likewise.
19671 * debug/wcstombs_chk.c: Likewise.
19672 * debug/wmemcpy_chk.c: Likewise.
19673 * debug/wmemmove_chk.c: Likewise.
19674 * debug/wmempcpy_chk.c: Likewise.
19675 * debug/wmemset_chk.c: Likewise.
19676 * dirent/scandirat.c (SCANDIRAT): Likewise.
19677 * dlfcn/dladdr1.c (dladdr1): Likewise.
19678 * dlfcn/dladdr.c (dladdr): Likewise.
19679 * dlfcn/dlclose.c (dlclose_doit): Likewise.
19680 * dlfcn/dlerror.c (__dlerror): Likewise.
19681 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
19682 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
19683 * dlfcn/dlopen.c (dlopen_doit): Likewise.
19684 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19685 * dlfcn/dlsym.c (dlsym_doit): Likewise.
19686 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
19687 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
19688 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
19690 * elf/dl-conflict.c: Likewise.
19691 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
19692 * elf/dl-dst.h: Likewise.
19693 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
19694 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
19695 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
19696 * elf/dl-init.c (call_init, _dl_init): Likewise.
19697 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
19698 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
19699 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
19701 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
19703 * elf/dl-minimal.c (__libc_memalign): Likewise.
19704 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
19705 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19706 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
19707 * elf/dl-sym.c (do_sym): Likewise.
19708 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
19709 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
19710 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
19711 * elf/dl-writev.h (_dl_writev): Likewise.
19712 * elf/ldconfig.c (search_dir): Likewise.
19713 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
19714 (dl_main): Likewise.
19715 * elf/setup-vdso.h (setup_vdso): Likewise.
19716 * grp/compat-initgroups.c (compat_call): Likewise.
19717 * grp/fgetgrent.c (fgetgrent): Likewise.
19718 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
19719 * grp/putgrent.c (putgrent): Likewise.
19720 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19722 * hurd/hurdinit.c: Likewise.
19723 * iconvdata/8bit-gap.c (struct): Likewise.
19724 * iconvdata/ansi_x3.110.c : Likewise.
19725 * iconvdata/big5.c : Likewise.
19726 * iconvdata/big5hkscs.c : Likewise.
19727 * iconvdata/cp1255.c: Likewise.
19728 * iconvdata/cp1258.c : Likewise.
19729 * iconvdata/cp932.c : Likewise.
19730 * iconvdata/euc-cn.c: Likewise.
19731 * iconvdata/euc-jisx0213.c : Likewise.
19732 * iconvdata/euc-jp.c: Likewise.
19733 * iconvdata/euc-jp-ms.c : Likewise.
19734 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
19735 * iconvdata/gb18030.c : Likewise.
19736 * iconvdata/gbbig5.c (const): Likewise.
19737 * iconvdata/gbgbk.c: Likewise.
19738 * iconvdata/gbk.c : Likewise.
19739 * iconvdata/ibm1364.c : Likewise.
19740 * iconvdata/ibm930.c : Likewise.
19741 * iconvdata/ibm932.c: Likewise.
19742 * iconvdata/ibm933.c : Likewise.
19743 * iconvdata/ibm935.c : Likewise.
19744 * iconvdata/ibm937.c : Likewise.
19745 * iconvdata/ibm939.c : Likewise.
19746 * iconvdata/ibm943.c: Likewise.
19747 * iconvdata/iso_11548-1.c: Likewise.
19748 * iconvdata/iso-2022-cn.c : Likewise.
19749 * iconvdata/iso-2022-cn-ext.c : Likewise.
19750 * iconvdata/iso-2022-jp-3.c: Likewise.
19751 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
19752 * iconvdata/iso-2022-kr.c : Likewise.
19753 * iconvdata/iso646.c (gconv_end): Likewise.
19754 * iconvdata/iso_6937-2.c : Likewise.
19755 * iconvdata/iso_6937.c : Likewise.
19756 * iconvdata/iso8859-1.c: Likewise.
19757 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
19758 * iconvdata/shift_jisx0213.c : Likewise.
19759 * iconvdata/sjis.c : Likewise.
19760 * iconvdata/t.61.c : Likewise.
19761 * iconvdata/tcvn5712-1.c : Likewise.
19762 * iconvdata/tscii.c: Likewise.
19763 * iconvdata/uhc.c : Likewise.
19764 * iconvdata/unicode.c (gconv_end): Likewise.
19765 * iconvdata/utf-16.c (gconv_end): Likewise.
19766 * iconvdata/utf-32.c (gconv_end): Likewise.
19767 * iconvdata/utf-7.c (base64): Likewise.
19768 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
19769 * iconv/gconv_close.c (__gconv_close): Likewise.
19770 * iconv/gconv_open.c (__gconv_open): Likewise.
19771 * iconv/gconv_simple.c (internal_ucs4_loop_single)
19772 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
19773 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
19774 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
19775 (ucs4le_internal_loop_single): Likewise.
19776 * iconv/iconv.c (iconv): Likewise.
19777 * iconv/iconv_close.c: Likewise.
19778 * iconv/loop.c (SINGLE): Likewise.
19779 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
19780 * include/atomic.h: Likewise.
19781 * inet/inet6_option.c (option_alloc): Likewise.
19782 * intl/bindtextdom.c (set_binding_values): Likewise.
19783 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
19784 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
19785 * intl/localealias.c (read_alias_file): Likewise.
19786 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19787 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
19788 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
19789 * libio/fmemopen.c (fmemopen): Likewise.
19790 * libio/iofgets.c (_IO_fgets): Likewise.
19791 * libio/iofgets_u.c (fgets_unlocked): Likewise.
19792 * libio/iofgetws.c (fgetws): Likewise.
19793 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19794 * libio/iogetdelim.c (_IO_getdelim): Likewise.
19795 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
19796 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
19797 * locale/findlocale.c (_nl_find_locale): Likewise.
19798 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
19799 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
19801 * locale/setlocale.c (setlocale): Likewise.
19802 * login/programs/pt_chown.c (main): Likewise.
19803 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
19804 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
19805 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
19806 (mmap, mmap64, mremap, munmap): Likewise.
19807 * math/e_exp2l.c: Likewise.
19808 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
19809 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
19810 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
19811 * math/s_catan.c (__catan): Likewise.
19812 * math/s_catanf.c (__catanf): Likewise.
19813 * math/s_catanh.c (__catanh): Likewise.
19814 * math/s_catanhf.c (__catanhf): Likewise.
19815 * math/s_catanhl.c (__catanhl): Likewise.
19816 * math/s_catanl.c (__catanl): Likewise.
19817 * math/s_ccosh.c (__ccosh): Likewise.
19818 * math/s_ccoshf.c (__ccoshf): Likewise.
19819 * math/s_ccoshl.c (__ccoshl): Likewise.
19820 * math/s_cexp.c (__cexp): Likewise.
19821 * math/s_cexpf.c (__cexpf): Likewise.
19822 * math/s_cexpl.c (__cexpl): Likewise.
19823 * math/s_clog10.c (__clog10): Likewise.
19824 * math/s_clog10f.c (__clog10f): Likewise.
19825 * math/s_clog10l.c (__clog10l): Likewise.
19826 * math/s_clog.c (__clog): Likewise.
19827 * math/s_clogf.c (__clogf): Likewise.
19828 * math/s_clogl.c (__clogl): Likewise.
19829 * math/s_csin.c (__csin): Likewise.
19830 * math/s_csinf.c (__csinf): Likewise.
19831 * math/s_csinh.c (__csinh): Likewise.
19832 * math/s_csinhf.c (__csinhf): Likewise.
19833 * math/s_csinhl.c (__csinhl): Likewise.
19834 * math/s_csinl.c (__csinl): Likewise.
19835 * math/s_csqrt.c (__csqrt): Likewise.
19836 * math/s_csqrtf.c (__csqrtf): Likewise.
19837 * math/s_csqrtl.c (__csqrtl): Likewise.
19838 * math/s_ctan.c (__ctan): Likewise.
19839 * math/s_ctanf.c (__ctanf): Likewise.
19840 * math/s_ctanh.c (__ctanh): Likewise.
19841 * math/s_ctanhf.c (__ctanhf): Likewise.
19842 * math/s_ctanhl.c (__ctanhl): Likewise.
19843 * math/s_ctanl.c (__ctanl): Likewise.
19844 * math/w_pow.c: Likewise.
19845 * math/w_powf.c: Likewise.
19846 * math/w_powl.c: Likewise.
19847 * math/w_scalb.c (sysv_scalb): Likewise.
19848 * math/w_scalbf.c (sysv_scalbf): Likewise.
19849 * math/w_scalbl.c (sysv_scalbl): Likewise.
19850 * misc/error.c (error_tail): Likewise.
19851 * misc/pselect.c (__pselect): Likewise.
19852 * nis/nis_callback.c (__nis_create_callback): Likewise.
19853 * nis/nis_call.c (__nisfind_server): Likewise.
19854 * nis/nis_creategroup.c (nis_creategroup): Likewise.
19855 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
19856 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19857 * nis/nis_getservlist.c (nis_getservlist): Likewise.
19858 * nis/nis_lookup.c (nis_lookup): Likewise.
19859 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
19860 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19861 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
19862 * nis/nis_xdr.c (xdr_endpoint): Likewise.
19863 * nis/nss_compat/compat-grp.c (getgrent_next_file)
19864 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19865 * nis/nss_compat/compat-initgroups.c (add_group)
19866 (internal_getgrent_r): Likewise.
19867 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19868 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19869 * nis/nss_compat/compat-spwd.c (getspent_next_file)
19870 (internal_getspnam_r): Likewise.
19871 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19872 (_nss_nis_getaliasbyname_r): Likewise.
19873 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19874 (_nss_nis_getntohost_r): Likewise.
19875 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19876 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19877 (_nss_nis_getgrgid_r): Likewise.
19878 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19879 (internal_nis_gethostent_r, internal_gethostbyname2_r)
19880 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19881 (_nss_nis_gethostbyname4_r): Likewise.
19882 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19883 (initgroups_netid): Likewise.
19884 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
19885 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19886 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19887 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19888 (_nss_nis_getprotobynumber_r): Likewise.
19889 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19890 (_nss_nis_getsecretkey): Likewise.
19891 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19892 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19893 (_nss_nis_getpwuid_r): Likewise.
19894 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19895 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19896 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19897 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19898 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19899 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
19900 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19902 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19903 (_nss_nisplus_getntohost_r): Likewise.
19904 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19905 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19906 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19907 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
19909 * nis/nss_nisplus/nisplus-initgroups.c
19910 (_nss_nisplus_initgroups_dyn): Likewise.
19911 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19912 (_nss_nisplus_getnetbyaddr_r): Likewise.
19913 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19914 (_nss_nisplus_getprotobynumber_r): Likewise.
19915 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19916 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
19917 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19919 * nis/nss_nisplus/nisplus-service.c
19920 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19921 (_nss_nisplus_getservbyport_r): Likewise.
19922 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19923 (_nss_nisplus_getspnam_r): Likewise.
19924 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19926 * nscd/aicache.c (addhstaiX): Likewise.
19927 * nscd/cache.c (cache_search, prune_cache): Likewise.
19928 * nscd/connections.c (register_traced_file, send_ro_fd)
19929 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19930 (main_loop_epoll): Likewise.
19931 * nscd/grpcache.c (addgrbyX): Likewise.
19932 * nscd/hstcache.c (addhstbyX): Likewise.
19933 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19934 * nscd/mem.c (gc, mempool_alloc): Likewise.
19935 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19936 (addinnetgrX): Likewise.
19937 * nscd/nscd-client.h (__nscd_acquire_maplock)
19938 (__nscd_drop_map_ref): Likewise.
19939 * nscd/nscd_getai.c (__nscd_getai): Likewise.
19940 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19941 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19943 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19944 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19945 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19946 (__nscd_get_map_ref): Likewise.
19947 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
19948 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19950 * nscd/pwdcache.c (addpwbyX): Likewise.
19951 * nscd/selinux.c (preserve_capabilities): Likewise.
19952 * nscd/servicescache.c (addservbyX): Likewise.
19953 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19954 * posix/fnmatch.c (fnmatch): Likewise.
19955 * posix/getopt.c (_getopt_internal_r): Likewise.
19956 * posix/glob.c (glob, glob_in_dir): Likewise.
19957 * posix/wordexp.c (exec_comm_child): Likewise.
19958 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19959 (getanswer_r, gaih_getanswer_slice): Likewise.
19960 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19961 * resolv/res_init.c: Likewise.
19962 * resolv/res_mkquery.c (res_nmkquery): Likewise.
19963 * resolv/res_query.c (__libc_res_nquery): Likewise.
19964 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19966 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19967 * stdio-common/perror.c (perror): Likewise.
19968 * stdio-common/printf_fp.c (___printf_fp): Likewise.
19969 * stdio-common/tmpnam.c (tmpnam): Likewise.
19970 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19971 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
19972 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19974 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19975 * stdlib/putenv.c (putenv): Likewise.
19976 * stdlib/setenv.c (__add_to_environ): Likewise.
19977 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19978 * stdlib/strtol_l.c (INTERNAL): Likewise.
19979 * string/memmem.c (memmem): Likewise.
19980 * string/strerror.c (strerror): Likewise.
19981 * string/strnlen.c (__strnlen): Likewise.
19982 * string/test-memmem.c (simple_memmem): Likewise.
19983 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19984 * sunrpc/pm_getport.c (__get_socket): Likewise.
19985 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19986 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
19987 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19988 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
19990 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19991 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19992 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19993 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19994 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19995 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19997 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19999 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
20000 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
20001 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20002 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20003 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20004 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
20005 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20006 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
20007 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
20008 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
20009 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20010 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20012 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
20014 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
20016 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
20017 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20018 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
20019 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
20020 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
20021 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
20022 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20023 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
20024 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
20025 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
20026 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
20027 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20028 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20029 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
20030 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20031 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
20033 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
20035 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
20037 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
20039 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20040 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20041 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
20043 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
20044 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
20045 * sysdeps/posix/opendir.c (__opendirat): Likewise.
20046 * sysdeps/posix/sleep.c: Likewise.
20047 * sysdeps/posix/tempname.c: Likewise.
20048 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
20049 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20051 * sysdeps/powerpc/powerpc32/dl-machine.h
20052 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
20053 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20054 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20055 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
20056 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
20058 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
20059 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
20060 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
20061 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
20062 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
20063 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
20064 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
20065 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
20066 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20067 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
20068 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
20069 (elf_machine_lazy_rel): Likewise.
20070 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20071 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
20072 (elf_machine_lazy_rel): Likewise.
20073 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
20074 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
20075 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
20076 * sysdeps/unix/grantpt.c (grantpt): Likewise.
20077 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
20078 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
20079 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
20080 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20082 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20083 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20084 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
20085 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
20086 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20087 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20088 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
20089 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
20090 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
20091 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20092 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
20094 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
20095 (__posix_fallocate64_l64): Likewise.
20096 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
20097 (posix_fallocate): Likewise.
20098 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
20100 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20101 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
20102 (getifaddrs_internal): Likewise.
20103 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
20104 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
20105 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
20106 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
20107 * sysdeps/unix/sysv/linux/posix_fallocate64.c
20108 (__posix_fallocate64_l64): Likewise.
20109 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
20111 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
20112 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
20113 (__get_clockfreq): Likewise.
20114 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
20115 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20116 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
20117 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20118 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20119 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
20120 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
20121 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
20123 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
20124 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
20125 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
20126 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
20127 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20128 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
20129 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
20131 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20132 (posix_fallocate): Likewise.
20133 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20134 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
20135 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
20136 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
20137 (elf_machine_rela, elf_machine_rela_relative)
20138 (elf_machine_lazy_rel): Likewise.
20139 * time/asctime.c (asctime_internal): Likewise.
20140 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
20141 * time/tzset.c (__tzset_parse_tz): Likewise.
20142 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20143 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
20144 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
20145 * wcsmbs/wcsmbsload.h: Likewise.
20148 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
20150 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
20151 (arena_get2): Remove THREAD_STATS conditionals.
20152 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
20153 (__malloc_stats, int): Likewise.
20155 2014-02-08 Mike Frysinger <vapier@gentoo.org>
20157 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
20158 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
20160 * manual/setjmp.texi: Fix typos/grammar errors.
20162 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
20163 Only return early when n is <= 0. Delete unused return statement.
20165 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
20166 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20167 * debug/tst-longjmp_chk3.c: New file.
20169 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
20170 (test_main): Replace code with set_fortify_handler call.
20171 * debug/test-strcpy_chk.c: Likewise.
20172 * debug/tst-chk1.c: Likewise.
20173 * debug/tst-longjmp_chk.c: Likewise.
20174 * test-skeleton.c: Include fcntl.h & paths.h
20175 (set_fortify_handler): Define.
20177 * debug/tst-longjmp_chk.c: Add header comment and include
20178 ../test-skeleton.c.
20179 (do_test): Mark static.
20180 (TEST_FUNCTION): Define.
20182 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
20183 (IP_PMTUDISC_INTERFACE): Likewise.
20184 (IP_MULTICAST_IF): Likewise.
20185 (IP_MULTICAST_TTL): Likewise.
20186 (IP_MULTICAST_LOOP): Likewise.
20187 (IP_ADD_MEMBERSHIP): Likewise.
20188 (IP_DROP_MEMBERSHIP): Likewise.
20189 (IP_UNBLOCK_SOURCE): Likewise.
20190 (IP_BLOCK_SOURCE): Likewise.
20191 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
20192 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
20193 (IP_MSFILTER): Likewise.
20194 (MCAST_JOIN_GROUP): Likewise.
20195 (MCAST_BLOCK_SOURCE): Likewise.
20196 (MCAST_UNBLOCK_SOURCE): Likewise.
20197 (MCAST_LEAVE_GROUP): Likewise.
20198 (MCAST_JOIN_SOURCE_GROUP): Likewise.
20199 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
20200 (MCAST_MSFILTER): Likewise.
20201 (IP_MULTICAST_ALL): Likewise.
20202 (IP_UNICAST_IF): Likewise.
20204 * timezone/Makefile: Delete $(have-ksh) check.
20205 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
20206 * timezone/tzselect.ksh: Add +x mode bits.
20208 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
20209 (ANON_INODE_FS_MAGIC): Likewise.
20210 (BDEVFS_MAGIC): Likewise.
20211 (BINFMTFS_MAGIC): Likewise.
20212 (BTRFS_TEST_MAGIC): Likewise.
20213 (CRAMFS_MAGIC_WEND): Likewise.
20214 (DEBUGFS_MAGIC): Likewise.
20215 (ECRYPTFS_SUPER_MAGIC): Likewise.
20216 (EXT3_SUPER_MAGIC): Likewise.
20217 (EXT4_SUPER_MAGIC): Likewise.
20218 (FUTEXFS_SUPER_MAGIC): Likewise.
20219 (HOSTFS_SUPER_MAGIC): Likewise.
20220 (HUGETLBFS_MAGIC): Likewise.
20221 (MINIX3_SUPER_MAGIC): Likewise.
20222 (MTD_INODE_FS_MAGIC): Likewise.
20223 (NILFS_SUPER_MAGIC): Likewise.
20224 (OPENPROM_SUPER_MAGIC): Likewise.
20225 (PIPEFS_MAGIC): Likewise.
20226 (PSTOREFS_MAGIC): Likewise.
20227 (QNX6_SUPER_MAGIC): Likewise.
20228 (RAMFS_MAGIC): Likewise.
20229 (REISERFS_SUPER_MAGIC_STRING): Likewise.
20230 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
20231 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
20232 (SECURITYFS_MAGIC): Likewise.
20233 (SELINUX_MAGIC): Likewise.
20234 (SMACK_MAGIC): Likewise.
20235 (SOCKFS_MAGIC): Likewise.
20236 (SQUASHFS_MAGIC): Likewise.
20237 (STACK_END_MAGIC): Likewise.
20238 (TMPFS_MAGIC): Likewise.
20239 (USBDEVICE_SUPER_MAGIC): Likewise.
20240 (V9FS_MAGIC): Likewise.
20241 (XENFS_SUPER_MAGIC): Likewise.
20242 (CRAMFS_MAGIC): Fix typo in comment.
20243 (EXT2_SUPER_MAGIC): Update comment.
20244 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
20246 2014-02-08 Joseph Myers <joseph@codesourcery.com>
20248 * sysdeps/arm: Move directory from ports/sysdeps/arm.
20249 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
20250 * sysdeps/unix/sysv/linux/arm: Move directory from
20251 ports/sysdeps/unix/sysv/linux/arm.
20252 * README: Update listing for arm-*-linux-gnueabi.
20254 * README: Remove mention of am33.
20256 2014-02-07 Roland McGrath <roland@hack.frob.com>
20258 * bits/sigset.h (__sigemptyset): Use a statement expression rather
20259 than the comma operator, to avoid "rhs of comma has no effect"
20261 (__sigfillset, __sigandset, __sigorset): Likewise.
20262 * include/signal.h (__sigemptyset): Likewise.
20263 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
20265 2014-02-07 Allan McRae <allan@archlinux.org>
20267 * version.h (RELEASE): Set to "development".
20268 (VERSION): Set to "2.19.90"
20269 * NEWS: Add 2.20 section.
20271 2014-02-06 Carlos O'Donell <carlos@redhat.com>
20274 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
20276 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20278 * manual/contrib.texi: Update entry for Carlos O'Donell,
20279 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
20281 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
20283 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
20285 * sysdeps/unix/sysv/linux/kernel-features.h
20286 [__LINUX_KERNEL_VERSION >= 0x020621]
20287 (__ASSUME_PROC_PID_TASK_COMM): Define.
20289 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20292 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
20293 conversion when destination buffer does not have enough space.
20294 * libio/tst-ftell-partial-wide.c: New test case.
20295 * libio/Makefile (tests): Add tst-ftell-partial-wide.
20297 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
20298 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
20299 Leonard and Allan McRae.
20301 2014-02-04 David S. Miller <davem@davemloft.net>
20303 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
20306 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
20310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
20312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
20314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
20316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
20318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
20320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
20322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
20324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
20326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
20328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
20330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
20332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
20335 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20337 * nptl/shlib-versions: Change powerpc*le start to 2.17.
20338 * shlib-versions: Likewise.
20340 2014-02-04 Roland McGrath <roland@hack.frob.com>
20341 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20343 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
20344 (abilist-pattern): New variable, set to %-le.abilist.
20346 * Makerules (abilist-pattern): New variable.
20347 (vpath): Use $(abilist-pattern) in place of %.abilist.
20348 (check-abi-% pattern rule): Likewise.
20349 (check-abi, update-abi): Likewise.
20351 2014-02-04 Eric Wong <normalperson@yhbt.net>
20353 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20355 2014-02-03 Carlos O'Donell <carlos@redhat.com>
20357 * manual/startup.texi: Add next, previous, and top entries for
20358 the `Program Arguments' and `Environment Variables' nodes.
20360 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
20362 * manual/macros.texi: Add comments before MTASC-safety macros.
20364 * manual/users.texi: Document MTASC-safety properties.
20366 * manual/threads.texi (pthread_key_create, pthread_key_delete)
20367 (pthread_getspecific, pthread_setspecific): Format with
20368 @deftypefun, and add @safety note.
20369 * manual/signal.texi: Move comments that analyze the above
20370 functions to their home place.
20372 2014-02-03 Allan McRae <allan@archlinux.org>
20374 * po/sl.po: Update Slovenian translation from translation project.
20376 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
20378 * manual/time.texi (timegm): Add missing blank after @c.
20379 Reported by Joseph Myers <joseph@codesourcery.com>.
20381 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
20383 * manual/check-safety.sh: New.
20384 * manual/Makefile ($(objpfx)stamp-summary): Run it.
20386 * manual/terminal.texi: Document MTASC-safety properties.
20388 * manual/filesys.texi: Document MTASC-safety properties.
20390 * manual/errno.texi: Document MTASC-safety properties.
20392 * manual/intro.texi: Document safety identifiers and
20395 * manual/string.texi (wcstok): Fix prototype.
20396 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
20398 * manual/time.texi: Document MTASC-safety properties.
20400 * manual/string.texi: Document MTASC-safety properties.
20402 * manual/threads.texi: Document MTASC-safety properties.
20404 * manual/stdio.texi: Document MTASC-safety properties.
20406 * manual/syslog.texi: Document MTASC-safety properties.
20408 * manual/sysinfo.texi: Document MTASC-safety properties.
20410 * manual/startup.texi: Document MTASC-safety properties.
20412 * manual/socket.texi: Document MTASC-safety properties.
20414 * manual/signal.texi: Document MTASC-safety properties.
20416 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
20418 * manual/setjmp.texi: Document MTASC-safety properties.
20420 * manual/search.texi: Document MTASC-safety properties.
20422 * manual/resource.texi: Document MTASC-safety properties.
20424 * manual/process.texi: Document MTASC-safety properties.
20426 * manual/platform.texi: Document MTASC-safety properties.
20428 * manual/pipe.texi: Document MTASC-safety properties.
20430 * manual/pattern.texi: Document MTASC-safety properties.
20432 * manual/message.texi: Document MTASC-safety properties.
20435 * manual/memory.texi: Document MTASC-safety properties.
20437 * manual/math.texi: Document MTASC-safety properties.
20439 * manual/locale.texi: Document MTASC-safety properties.
20441 * manual/llio.texi: Document MTASC-safety properties.
20443 * manual/libdl.texi: New.
20445 * manual/lang.texi: Document MTASC-safety properties.
20447 * manual/job.texi: Document MTASC-safety properties.
20449 * manual/getopt.texi: Document MTASC-safety properties.
20451 * manual/ctype.texi: Document MTASC-safety properties.
20453 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
20456 * csu/libc-tls.c (static_map): Remove variable.
20457 (__libc_setup_tls): Use main executable's link map for TLS data.
20458 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
20459 casing for LM_ID_BASE and GL(dl_nns).
20460 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
20461 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
20462 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
20463 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
20464 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
20466 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
20469 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
20471 * manual/debug.texi: Document MTASC-safety properties.
20473 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
20476 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
20477 of __x86_64__ when disabling x87 inline functions.
20479 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
20481 * manual/charset.texi: Document MTASC-safety properties.
20483 * manual/crypt.texi: Document MTASC-safety properties.
20485 * manual/conf.texi: Document MTASC-safety properties.
20487 * manual/arith.texi: Document MTASC-safety properties.
20489 * manual/argp.texi: Document MTASC-safety properties.
20491 * manual/macros.texi: Introduce macros to document multi
20492 thread, asynchronous signal and asynchronous cancellation
20494 * manual/intro.texi: Introduce the properties themselves.
20496 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20498 * sysdeps/sh/sh4/Makefile: New file.
20500 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
20502 * math/gen-libm-test.pl ($srcdir): New variable.
20503 ($auto_input): Use it.
20505 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20508 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
20509 access beyond array bounds when parsing netgroups file.
20511 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
20512 the old buffer before realloc.
20514 2014-01-27 Allan McRae <allan@archlinux.org>
20516 * po/fr.po: Update French translation from translation project.
20518 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20520 * sysdeps/sh/libm-test-ulps: Regenerate.
20522 2014-01-24 David S. Miller <davem@davemloft.net>
20524 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
20526 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20528 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
20529 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
20531 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20534 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
20535 string pointers after reallocation.
20537 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20539 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
20540 __SH4A__ instead of __SH_FPU_ANY__.
20542 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20544 * sysdeps/sh/fpu_control.h: New file.
20545 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
20546 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
20547 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
20548 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
20549 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
20550 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
20551 * sysdeps/sh/sys/ucontext.h: Remove.
20552 * sysdeps/sh/sys: Remove directory.
20554 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20556 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
20557 s390/sys/ucontext.h.
20558 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
20559 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
20561 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
20564 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
20566 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20569 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20570 Adjust the vDSO correctly for internal calls.
20571 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
20573 2014-01-20 Allan McRae <allan@archlinux.org>
20575 * po/ca.po: Update Catalan translation from translation project.
20577 2014-01-16 Mike Frysinger <vapier@gentoo.org>
20579 * sysdeps/s390/sotruss-lib.c: New file.
20581 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20584 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
20585 (__GI___gettimeofday): Alias for a different internal symbol to avoid
20586 local calls issues by not having a PLT stub required for IFUNC calls.
20587 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
20589 2014-01-16 Joseph Myers <joseph@codesourcery.com>
20591 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
20592 * math/test-fpucw-static.c: Likewise.
20594 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20597 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
20599 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20601 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
20602 implementation for powerpc.
20604 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
20607 * sysdeps/posix/system.c (__libc_system): Do not enable
20608 asynchronous cancellation.
20610 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20613 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
20614 handling only for numbers special also in the IEEE case.
20616 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20618 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20620 2014-01-11 Allan McRae <allan@archlinux.org>
20622 * po/bg.po: Update Bulgarian translation from translation project.
20624 * po/de.po: Update German translation from translation project.
20626 2014-01-10 Roland McGrath <roland@hack.frob.com>
20628 * sysdeps/generic/gcc-compat.h: New file.
20630 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20632 * benchtests/asin-inputs: Correct slow inputs.
20633 * benchtests/acos-inputs: Likewise.
20635 2014-01-10 Allan McRae <allan@archlinux.org>
20637 * po:sv.po: Update Swedish translation from translation project.
20639 * po/vi.po: Update Vietnamese translation from translation project.
20641 * po/eo.po: Update Esperanto translation from translation project.
20643 * po/cs.po: Update Czech translation from translation project.
20645 * po/nl.po: Update Dutch translation from translation project.
20647 * po/pl.po: Update Polish translation from translation project.
20649 * po/ru.po: Update Russian translation from translation project.
20651 * po/uk.po: Update Ukrainian translation from translation project.
20653 2014-01-08 Brooks Moses <bmoses@google.com>
20655 * elf/dl-load.c: Fix comment typo.
20657 2014-01-08 Carlos O'Donell <carlos@redhat.com>
20659 * po/header.pot: Rename to...
20660 * po/pot.header: ... this.
20661 * po/Makefile: Use pot.header.
20663 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
20664 Maxim Kuvyrkov <maxim@kugelworks.com>
20667 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
20668 SRC and DEST against LEN.
20670 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20673 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
20675 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
20677 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20681 2014-01-08 Joseph Myers <joseph@codesourcery.com>
20684 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
20685 for large positive arguments.
20687 2014-01-07 Joseph Myers <joseph@codesourcery.com>
20689 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20691 * math/auto-libm-test-in: Mark various tests with
20692 xfail-rounding:ldbl-128ibm.
20693 * math/auto-libm-test-out: Regenerated.
20696 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
20697 Increase overflow threshold.
20699 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
20702 * stdio-common/vfprintf.c: Check for integer overflow.
20704 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20706 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
20707 the first argument and return value of __tls_get_addr_internal.
20709 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20711 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
20712 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
20714 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20716 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
20717 * sysdeps/s390/rtld-global-offsets.sym: New file.
20718 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
20720 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
20721 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
20722 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
20724 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
20725 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
20727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20731 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
20732 halfs of GPRs for high_gprs contexts.
20733 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
20734 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
20736 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
20738 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
20740 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
20741 for high GPRs (uc_high_gprs) and for future extensions
20743 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
20744 for future extensions (__reserved).
20745 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
20747 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
20748 SC_HIGHGPRS offset definition.
20749 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
20750 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
20752 * Versions.def: Add GLIBC_2.19 for libpthread.
20753 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
20754 siglongjmp for libpthread with GLIBC_2.19 symver.
20755 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
20756 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
20757 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
20758 * sysdeps/s390/__longjmp.c: New file.
20759 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
20760 * sysdeps/s390/longjmp.c: New file.
20761 * sysdeps/s390/setjmp.S: New file.
20762 * sysdeps/s390/sigjmp.S: New file.
20763 * sysdeps/s390/v1-longjmp.c: New file.
20764 * sysdeps/s390/v1-setjmp.h: New file.
20765 * sysdeps/s390/v1-sigjmp.c: New file.
20766 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
20767 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
20768 GLIBC_2.19 version.
20769 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
20770 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
20771 versioned symbols for ____longjmp_chk.
20772 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
20774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20782 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
20783 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
20784 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
20785 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
20786 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
20787 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
20788 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
20789 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
20790 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
20791 * sysdeps/s390/rtld-__longjmp.c: New file.
20792 * sysdeps/s390/rtld-setjmp.S: New file.
20794 2014-01-06 Joseph Myers <joseph@codesourcery.com>
20797 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20798 Return -__logl (x) for small positive arguments without evaluating
20801 2014-01-06 Mike Frysinger <vapier@gentoo.org>
20803 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
20805 (__ptrace_peeksiginfo_args): ... this.
20806 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20807 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20808 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20810 2014-01-06 Allan McRae <allan@archlinux.org>
20812 * inet/netinet/in.h: Fix typo in comment.
20814 2014-01-05 Andreas Jaeger <aj@suse.de>
20816 * sysdeps/i386/fpu/libm-test-ulps: Update.
20818 2014-01-05 Allan McRae <allan@archlinux.org>
20820 * po/libc.pot: Regenerated.
20822 * malloc/memusagestat.c: Fix gettext call formatting.
20824 2014-01-04 Sami Kerola <kerolasa@iki.fi>
20826 * nscd/nscd.c: Improve usage() output.
20828 2014-01-04 Mike Frysinger <vapier@gentoo.org>
20830 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
20831 * sysdeps/unix/sysv/linux/configure: Regenerated.
20832 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
20833 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
20835 2014-01-03 Joseph Myers <joseph@codesourcery.com>
20838 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20839 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
20841 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20843 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
20844 extra tokens at end of #undef directive.
20845 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20846 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20847 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20849 2014-01-03 Joseph Myers <joseph@codesourcery.com>
20851 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20853 * math/auto-libm-test-in: Mark various tests with
20854 xfail-rounding:ldbl-128ibm.
20855 * math/auto-libm-test-out: Regenerated.
20857 2014-01-02 Joseph Myers <joseph@codesourcery.com>
20860 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20861 numbers with subnormal high part when calculating exponent.
20864 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20868 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20870 (__ieee754_acoshl): Use __log1pl not __log1p.
20872 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
20874 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20875 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20876 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20877 (grow_heap, heap_trim, _int_new_arena, get_free_list)
20878 (reused_arena, arena_get2): Convert to GNU style.
20879 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20880 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20881 (memalign_check, __malloc_set_state): Likewise.
20882 * malloc/mallocbug.c (main): Likewise.
20883 * malloc/malloc.c (__malloc_assert, malloc_init_state)
20884 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20885 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20886 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20887 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20888 (__posix_memalign, malloc_info): Likewise.
20889 * malloc/malloc.h: Likewise.
20890 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20891 (mallochook, memalignhook, reallochook, mabort): Likewise.
20892 * malloc/mcheck.h: Likewise.
20893 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20894 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
20895 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20896 * malloc/morecore.c (__default_morecore): Likewise.
20897 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
20898 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20899 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20900 (print_and_abort): Likewise.
20901 * malloc/obstack.h: Likewise.
20902 * malloc/set-freeres.c (__libc_freeres): Likewise.
20903 * malloc/tst-mallocstate.c (main): Likewise.
20904 * malloc/tst-mtrace.c (main): Likewise.
20905 * malloc/tst-realloc.c (do_test): Likewise.
20907 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20910 * nscd/netgroupcache.c (do_notfound): New function.
20911 (addgetnetgrentX): Use it.
20914 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20915 NSS_STATUS_NOTFOUND.
20917 2014-01-01 Joseph Myers <joseph@codesourcery.com>
20919 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20922 2014-01-01 Allan McRae <allan@archlinux.org>
20924 * scripts/update-copyrights: Update configure input file suffix.
20926 * NEWS: Update copyright year.
20927 * catgets/gencat.c: Likewise.
20928 * csu/version.c: Likewise.
20929 * debug/catchsegv.sh: Likewise.
20930 * debug/pcprofiledump.c: Likewise.
20931 * debug/xtrace.sh: Likewise.
20932 * elf/ldconfig.c: Likewise.
20933 * elf/ldd.bash.in: Likewise.
20934 * elf/pldd.c: Likewise.
20935 * elf/sotruss.ksh: Likewise.
20936 * elf/sprof.c: Likewise.
20937 * iconv/iconv_prog.c: Likewise.
20938 * iconv/iconvconfig.c: Likewise.
20939 * locale/programs/locale.c: Likewise.
20940 * locale/programs/localedef.c: Likewise.
20941 * login/programs/pt_chown.c: Likewise.
20942 * malloc/memusage.sh: Likewise.
20943 * malloc/memusagestat.c: Likewise.
20944 * malloc/mtrace.pl: Likewise.
20945 * manual/libc.texinfo: Likewise.
20946 * nscd/nscd.c: Likewise.
20947 * nss/getent.c: Likewise.
20948 * nss/makedb.c: Likewise.
20949 * posix/getconf.c: Likewise.
20950 * scripts/test-installation.pl: Likewise.
20952 * All files with FSF copyright notices: Update copyright dates
20953 using scripts/update-copyrights.
20954 * intl/plural.c: Regenerated.
20955 * locale/programs/charmap-kw.h: Likewise.
20956 * locale/programs/locfile-kw.h: Likewise.
20958 2013-12-31 Mike Frysinger <vapier@gentoo.org>
20960 * sysdeps/unix/sysv/linux/configure: Regenerated.
20961 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20962 the linux/fanotify.h header.
20963 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20964 HAVE_LINUX_FANOTIFY_H is defined.
20966 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20968 * benchtests/cos-inputs: New inputs.
20969 * benchtests/sin-inputs: Likewise.
20971 * benchtests/atan-inputs: New inputs. Fix name of multiple
20972 precision fallback inputs.
20974 * benchtests/atanh-inputs: New inputs.
20975 * benchtests/tanh-inputs: Likewise.
20977 * benchtests/acosh-inputs: New inputs.
20978 * benchtests/asinh-inputs: Likewise.
20980 * benchtests/cosh-inputs: New inputs.
20981 * benchtests/sinh-inputs: Likewise.
20983 * benchtests/acos-inputs: Add more inputs.
20984 * benchtests/asin-inputs: Likewise.
20986 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
20989 * manual/arith.texi: Fix spelling.
20990 * manual/charset.texi: Likewise.
20991 * manual/errno.texi: Likewise.
20992 * manual/filesys.texi: Likewise.
20993 * manual/lang.texi: Likewise.
20994 * manual/llio.texi: Likewise.
20995 * manual/locale.texi: Likewise.
20996 * manual/message.texi: Likewise.
20997 * manual/resource.texi: Likewise.
20998 * manual/search.texi: Likewise.
20999 * manual/setjmp.texi: Likewise.
21000 * manual/stdio.texi: Likewise.
21001 * manual/string.texi: Likewise.
21002 * manual/sysinfo.texi: Likewise.
21003 * manual/time.texi: Likewise.
21005 2013-12-27 Carlos O'Donell <carlos@redhat.com>
21007 * po/sl.po: New file.
21009 2013-12-27 Mike Frysinger <vapier@gentoo.org>
21011 * .gitignore: Add core/.gdbinit/.gdb_history.
21013 2013-12-27 Allan McRae <allan@archlinux.org>
21016 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
21017 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
21019 2013-12-24 Brooks Moses <bmoses@google.com>
21021 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
21022 all compilers that claim C++98 compliance, not just GCC.
21023 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
21026 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
21028 * NEWS: Restore accidentally deleted bug-fix entries.
21030 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
21031 Ondřej Bílka <neleai@seznam.cz>
21034 * malloc/malloc.c (_int_free): Perform sanity check only if we
21037 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
21040 * manual/stdio.texi (String Input Conversions): Clarify that character
21041 classes are not supported.
21043 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21047 2013-12-22 Joseph Myers <joseph@codesourcery.com>
21050 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21051 Calculate results for small negative arguments directly rather
21052 than using reflection formula with special underflow handling.
21054 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
21055 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
21056 sysdeps/unix/bsd/bsd4.4/syscalls.list.
21057 (fchflags): Likewise.
21058 (revoke): Likewise.
21059 (setlogin): Likewise.
21060 (sigaltstack): Likewise.
21062 (sigblock): Remove.
21063 (sigsetmask): Likewise.
21065 (waitpid): Likewise.
21066 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
21067 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
21069 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
21070 * sysdeps/unix/bsd/Makefile: ... here.
21071 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
21072 * sysdeps/unix/bsd/Versions: ... here.
21073 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
21074 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
21075 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
21076 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
21077 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
21078 * sysdeps/unix/bsd/sigblock.c: ... here.
21079 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
21080 * sysdeps/unix/bsd/sigsetmask.c: ... here.
21081 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
21082 * sysdeps/unix/bsd/sigvec.c: ... here.
21083 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
21084 * sysdeps/unix/bsd/tcdrain.c: ... here.
21085 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
21086 * sysdeps/unix/bsd/tcgetattr.c: ... here.
21087 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
21088 * sysdeps/unix/bsd/tcsetattr.c: ... here.
21089 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
21090 * sysdeps/unix/bsd/wait.c: ... here.
21091 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
21092 * sysdeps/unix/bsd/wait3.c: ... here.
21093 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
21094 * sysdeps/unix/bsd/waitpid.c: ... here.
21096 2013-12-21 Joseph Myers <joseph@codesourcery.com>
21099 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
21100 round-to-nearest for [!USE_AS_EXPM1L].
21101 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
21102 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
21103 more tests of exp and exp10. Expect some exp10 tests to miss
21104 exceptions or fail in directed rounding modes.
21105 * math/auto-libm-test-out: Regenerated.
21106 * math/libm-test.inc (exp10_tonearest_test_data): New array.
21107 (exp10_test_tonearest): New function.
21108 (exp10_towardzero_test_data): New array.
21109 (exp10_test_towardzero): New function.
21110 (exp10_downward_test_data): New array.
21111 (exp10_test_downward): New function.
21112 (exp10_upward_test_data): New array.
21113 (exp10_test_upward): New function.
21114 (main): Call the new functions.
21115 * sysdeps/i386/fpu/libm-test-ulps: Update.
21116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21118 2013-12-20 Joseph Myers <joseph@codesourcery.com>
21120 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21121 asinh, atan, atan2, atanh, cbrt, cos and cosh.
21122 * math/auto-libm-test-out: Regenerated.
21123 * math/libm-test.inc (acosh_test_data): Add more tests.
21124 (atanh_test_data): Likewise.
21125 (ceil_test_data): Likewise.
21126 (copysign_test_data): Likewise.
21127 * sysdeps/i386/fpu/libm-test-ulps: Update.
21128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21130 * timezone/checktab.awk: Update from tzcode 2013i.
21131 * timezone/private.h: Likewise.
21132 * timezone/scheck.c: Likewise.
21133 * timezone/tzfile.h: Likewise.
21134 * timezone/tzselect.ksh: Likewise.
21135 * timezone/zdump.c: Likewise.
21136 * timezone/zic.c: Likewise.
21138 * math/auto-libm-test-in: Add tests of cpow.
21139 * math/auto-libm-test-out: Regenerated.
21140 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
21141 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21143 (func_calc_desc): Add mpc_cc_c union field.
21144 (test_functions): Add cpow.
21145 (special_fill_2pi): New function.
21146 (special_real_inputs): Add 2pi.
21147 (calc_generic_results): Handle mpc_cc_c.
21148 * sysdeps/i386/fpu/libm-test-ulps: Update.
21149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21151 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
21152 csqrt, ctan and ctanh.
21153 * math/auto-libm-test-out: Regenerated.
21154 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21155 (TEST_COND_x86): Likewise.
21156 (ccos_test_data): Use AUTO_TESTS_c_c.
21157 (ccosh_test_data): Likewise.
21158 (cexp_test_data): Likewise.
21159 (clog_test_data): Likewise.
21160 (csqrt_test_data): Likewise.
21161 (ctan_test_data): Likewise.
21162 (ctan_tonearest_test_data): Likewise.
21163 (ctan_towardzero_test_data): Likewise.
21164 (ctan_downward_test_data): Likewise.
21165 (ctan_upward_test_data): Likewise.
21166 (ctanh_test_data): Likewise.
21167 (ctanh_tonearest_test_data): Likewise.
21168 (ctanh_towardzero_test_data): Likewise.
21169 (ctanh_downward_test_data): Likewise.
21170 (ctanh_upward_test_data): Likewise.
21171 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21173 (func_calc_desc): Add mpc_c_c union field.
21174 (FUNC_mpc_c_c): New macro.
21175 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
21176 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
21178 (special_fill_min_subnorm_p120): New function.
21179 (special_real_inputs): Add min_subnorm_p120.
21180 (calc_generic_results): Handle mpc_c_c.
21181 * sysdeps/i386/fpu/libm-test-ulps: Update.
21182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21184 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21186 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
21187 (do_sin_slow): New functions.
21188 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
21189 (cslow2, csloww1, csloww2): Use the new functions.
21191 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
21192 Use M to change sign of result instead of X. Assume X is
21194 (csloww1): Likewise.
21198 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
21199 arguments A and DA.
21203 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
21205 (sloww1): Don't adjust sign of DX.
21206 (csloww1): Likewise.
21207 (sloww2): Use X directly and don't adjust sign of DX.
21208 (csloww2): Likewise.
21210 2013-12-19 Joseph Myers <joseph@codesourcery.com>
21212 * math/auto-libm-test-in: Add tests of cabs and carg.
21213 * math/auto-libm-test-out: Regenerated.
21214 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
21215 (carg_test_data): Likewise.
21216 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21218 (func_calc_desc): Add mpc_c_f union field.
21219 (test_functions): Add cabs and carg.
21220 (calc_generic_results): Handle mpc_c_f.
21222 * sysdeps/powerpc/powerpc32/libgcc-compat.S
21223 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
21224 as a macro and a compat symbol.
21225 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
21226 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
21227 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
21228 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
21229 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
21230 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
21232 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
21234 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
21236 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
21238 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
21240 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
21242 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
21243 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
21246 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21250 2013-12-19 Joseph Myers <joseph@codesourcery.com>
21252 * manual/texinfo.tex: Update to version 2013-11-26.10 with
21253 trailing whitespace removed.
21254 * scripts/config.guess: Update to version 2013-11-29.
21255 * scripts/config.sub: Update to version 2013-10-01.
21257 * math/auto-libm-test-in: Add tests of sincos.
21258 * math/auto-libm-test-out: Regenerated.
21259 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
21260 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21262 (func_calc_desc): Add mpfr_f_11 union field.
21263 (test_functions): Add sincos.
21264 (calc_generic_results): Handle mpfr_f_11.
21265 * sysdeps/i386/fpu/libm-test-ulps: Update.
21266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21268 2013-12-19 Andreas Schwab <schwab@suse.de>
21270 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
21272 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21273 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
21274 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
21276 2013-12-19 Joseph Myers <joseph@codesourcery.com>
21278 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
21279 * sysdeps/i386/fpu/libm-test-ulps: Update.
21280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21283 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
21284 round-to-nearest mode when using frndint.
21285 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
21286 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21287 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
21289 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
21291 * math/auto-libm-test-out: Regenerated.
21292 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
21293 (TEST_COND_x86): Likewise.
21294 (expm1_tonearest_test_data): New array.
21295 (expm1_test_tonearest): New function.
21296 (expm1_towardzero_test_data): New array.
21297 (expm1_test_towardzero): New function.
21298 (expm1_downward_test_data): New array.
21299 (expm1_test_downward): New function.
21300 (expm1_upward_test_data): New array.
21301 (expm1_test_upward): New function.
21302 (main): Run the new test functions.
21303 * sysdeps/i386/fpu/libm-test-ulps: Update.
21304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21306 * include/features.h: Update comment documenting feature test
21307 macros. Mention _DEFAULT_SOURCE in comment.
21308 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
21309 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
21310 _BSD_SOURCE and _SVID_SOURCE.
21311 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
21312 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
21313 !_SVID_SOURCE]: Likewise.
21314 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21315 (__USE_POSIX_IMPLICITLY): Define.
21316 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21317 (_POSIX_SOURCE): Undefine and redefine.
21318 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21319 (_POSIX_C_SOURCE): Likewise.
21320 * manual/creature.texi (_DEFAULT_SOURCE): Document.
21321 (Feature Test Macros): Update documentation of default features.
21323 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21325 * benchtests/Makefile: Add bench-strtok.
21326 * benchtests/bench-strtok.c: New file: strtok benchtest.
21328 2013-12-19 Allan McRae <allan@archlinux.org>
21330 * manual/install.texi: Suppress menu for plain text output.
21331 * INSTALL: Regenerated.
21333 2013-12-18 Brooks Moses <bmoses@google.com>
21336 * misc/getauxval.c: Include errno.h.
21337 (__getauxval): Set errno to ENOENT if the requested type is not
21339 * misc/sys/auxv.h (getauxval): Document that it may set errno;
21340 don't declare with __attribute_const__.
21341 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
21342 * manual/startup.texi: Document that getauxval sets errno.
21344 2013-12-18 Joseph Myers <joseph@codesourcery.com>
21346 * math/auto-libm-test-in: Add tests of jn and yn.
21347 * math/auto-libm-test-out: Regenerated.
21348 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
21349 (yn_test_data): Likewise.
21350 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21352 (func_calc_desc): Add mpfr_if_f union field.
21353 (FUNC_mpfr_if_f): New macro.
21354 (test_functions): Add jn and yn.
21355 (calc_generic_results): Assert type of second input for
21356 mpfr_ff_f. Handle mpfr_if_f.
21357 (output_for_one_input_case): Disable all checking for arguments
21358 fitting floating-point types in case of an integer argument.
21359 * sysdeps/i386/fpu/libm-test-ulps: Update.
21360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21363 Don't expect fegetround reference in libm.so.
21365 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21367 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
21368 $(config-cflags-nofma).
21370 2013-12-18 Joseph Myers <joseph@codesourcery.com>
21372 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
21373 * math/auto-libm-test-out: Regenerated.
21376 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
21377 to determine exponent and adjust argument to have exponent of -1.
21378 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
21380 * math/auto-libm-test-out: Regenerated.
21381 * sysdeps/i386/fpu/libm-test-ulps: Update.
21382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21384 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
21386 * manual/probes.texi: Remove cases when per-thread arenas are
21389 2013-12-18 Andreas Schwab <schwab@suse.de>
21391 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
21392 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
21393 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
21394 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
21395 * sysdeps/i386/i686/multiarch/Makefile: Update.
21396 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
21398 2013-12-17 Joseph Myers <joseph@codesourcery.com>
21400 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
21401 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
21403 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
21406 Support TZ transition times < 00:00:00.
21407 This is needed for version-3 tz-format files; it supports time
21408 stamps past 2037 for America/Godthab (the only entry in the tz
21409 database for which this change is relevant).
21410 * manual/time.texi (TZ Variable): Document transition times
21411 from -167:59:59 through -00:00:01.
21412 * time/tzset.c (tz_rule): Time of day is now signed.
21413 (__tzset_parse_tz): Parse negative time of day.
21415 Document TZ transition times >= 25:00:00.
21416 * manual/time.texi (TZ Variable): Document transition times from
21417 25:00:00 through 167:59:59. These are already supported, and this
21418 support will help with version-3 tz-format files.
21420 * manual/time.texi (TZ Variable): Modernize North America example
21421 to reflect current (i.e., 2007-and-later) daylight saving rules.
21423 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
21425 2013-12-17 Joseph Myers <joseph@codesourcery.com>
21427 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
21428 * sysdeps/unix/bsd/bits/stat.h: Likewise.
21429 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
21430 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21431 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
21432 * sysdeps/unix/bsd/bsdstat.h: Likewise.
21433 * sysdeps/unix/bsd/clock.c: Likewise.
21434 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
21435 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
21436 * sysdeps/unix/bsd/init-posix.c: Likewise.
21437 * sysdeps/unix/bsd/poll.c: Likewise.
21438 * sysdeps/unix/bsd/ptsname.c: Likewise.
21439 * sysdeps/unix/bsd/seekdir.c: Likewise.
21440 * sysdeps/unix/bsd/setegid.c: Likewise.
21441 * sysdeps/unix/bsd/seteuid.c: Likewise.
21442 * sysdeps/unix/bsd/setgid.c: Likewise.
21443 * sysdeps/unix/bsd/setrgid.c: Likewise.
21444 * sysdeps/unix/bsd/setruid.c: Likewise.
21445 * sysdeps/unix/bsd/setsid.c: Likewise.
21446 * sysdeps/unix/bsd/setuid.c: Likewise.
21447 * sysdeps/unix/bsd/sigaction.c: Likewise.
21448 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
21449 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
21450 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
21451 * sysdeps/unix/bsd/telldir.c: Likewise.
21452 * sysdeps/unix/bsd/times.c: Likewise.
21453 * sysdeps/unix/bsd/usleep.c: Likewise.
21455 * misc/Makefile (install-lib): Remove libbsd-compat.a.
21456 ($(objpfx)libbsd-compat.a): Remove rule.
21458 * include/features.h (__FAVOR_BSD): Do not define.
21459 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
21460 features conflicting with POSIX.
21461 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
21462 (_BSD_SOURCE): Remove description of not being a subset of other
21463 feature test macros.
21464 * manual/job.texi (getpgrp): Do not document BSD version.
21465 (getpgid): Do not document by reference to BSD getpgrp.
21466 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
21467 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
21468 * signal/signal.h [__FAVOR_BSD]: Likewise.
21469 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
21470 instead of making contents conditional on [__FAVOR_BSD].
21471 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
21473 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21477 2013-12-17 Joseph Myers <joseph@codesourcery.com>
21480 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
21481 values below 2**-450, not 2**-500.
21482 * math/auto-libm-test-in: Don't allow spurious underflow from
21484 * math/auto-libm-test-out: Regenerated.
21488 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
21489 values of ha and hb and sort them after adjusting subnormal
21491 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
21493 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
21494 values of ea and eb and sort them after adjusting subnormal
21496 * math/auto-libm-test-in: Do not expect some hypot tests of
21497 subnormals to fail. Add more hypot tests.
21498 * math/auto-libm-test-out: Regenerated.
21500 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21503 * sysdeps/sh/s_fma.c: New file.
21504 * sysdeps/sh/s_fmaf.c: New file.
21505 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
21507 * sysdeps/sh/Implies: Add sh/soft-fp.
21509 2013-12-16 Roland McGrath <roland@hack.frob.com>
21511 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
21512 level of indirection to members `objname', `errstring', `malloced'.
21513 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
21514 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
21515 it as the __longjmp argument (just pass 1 instead).
21516 (_dl_catch_error): Initialize C with argument pointers and address of
21517 volatile local ERRCODE rather than copying values out of C at return.
21519 2013-12-16 Joseph Myers <joseph@codesourcery.com>
21521 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
21522 * math/auto-libm-test-out: Regenerated.
21523 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
21524 (hypot_test_data): Likewise.
21525 (pow_test_data): Likewise.
21526 (pow_tonearest_test_data): Likewise.
21527 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21529 (func_calc_desc): Add mpfr_ff_f union field.
21530 (FUNC_mpfr_ff_f): New macro.
21531 (test_functions): Add atan2, hypot and pow.
21532 (special_fill_min): New function.
21533 (special_fill_minus_min): Likewise.
21534 (special_fill_min_subnorm): Likewise.
21535 (special_fill_minus_min_subnorm): Likewise.
21536 (special_real_inputs): Add min, -min, min_subnorm and
21538 (calc_generic_results): Handle mpfr_ff_f.
21539 * sysdeps/i386/fpu/libm-test-ulps: Update.
21540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21542 2013-12-16 Will Newton <will.newton@linaro.org>
21544 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
21545 (Aligned Memory Blocks): Add documentation for aligned_alloc
21546 and suggest it as an alternative to posix_memalign.
21547 (Hooks for Malloc): Document __memalign_hook is also called
21548 for aligned_alloc. (Summary of Malloc): Add summary for
21549 aligned alloc. Document __memalign_hook is also called
21552 2013-12-16 Will Newton <will.newton@linaro.org>
21554 * manual/memory.texi (Malloc Examples): Clarify default
21555 alignment documentation. Suggest posix_memalign rather
21556 than memalign or valloc.
21557 (Aligned Memory Blocks): Remove suggestion to use memalign
21558 or valloc. Remove obsolete comment about BSD.
21559 Document memalign errno values and mark the function obsolete.
21560 Document posix_memalign returned error codes. Mark valloc
21561 as obsolete. (Hooks for Malloc): __memalign_hook is also
21562 called for posix_memalign and valloc.
21563 (Summary of Malloc): Add posix_memalign to function summary.
21564 __memalign_hook is also called for posix_memalign and valloc.
21566 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21568 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
21572 (sloww): Use mynumber union. Expand ternary operator into
21573 if-else statements.
21574 (cslow): use mynumber union.
21576 2013-12-16 Allan McRae <allan@archlinux.org>
21578 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
21579 * configure: Regenerated.
21581 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
21584 * configure.ac: Added --enable-maintainer-mode. Check for
21585 autoconf when enabled.
21586 * configure: Regenerated.
21588 * nscd/nscd.service: New file.
21589 * nscd/nscd.tmpfiles: New file.
21591 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
21594 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
21595 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
21596 * sysdeps/x86_64/multiarch/strstr.c: ... here.
21597 (strstr): Add __strstr_sse2_unaligned ifunc.
21598 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
21599 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
21600 (strcasestr): Remove __strcasestr_sse42 ifunc.
21601 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
21602 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21603 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21605 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21607 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
21608 * sysdeps/sh/bits/fenv.h: ... here.
21609 * sysdeps/sh/sh4/fpu/bits: Remove directory.
21611 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21613 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
21615 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
21616 hypotf multiarch implementations.
21617 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
21618 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
21619 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
21620 multiarch hypot for PPC64.
21621 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
21622 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
21623 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
21624 multiarch hypotf for PPC64.
21626 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
21627 modff multiarch implementations.
21628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
21629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
21630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
21631 multiarch modf for PPC64.
21632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
21633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
21634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
21635 multiarch modff for PPC64.
21637 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
21638 and logl multiarch implementations.
21639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
21640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
21641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
21642 multiarch logb for PPC64.
21643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
21644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
21645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
21646 multiarch logb for PPC64.
21647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
21648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
21649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
21650 multiarch logb for PPC64.
21652 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
21653 isinff multiarch implementation.
21654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
21656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
21657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
21658 multiarch isinf for PPC64.
21659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
21661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
21662 multiarch isinff for PPC64.
21664 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
21665 finitef multiarch implementation.
21666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
21668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
21669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
21670 multiarch finite for PPC64.
21671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
21673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
21674 multiarch finitef for PPC64.
21676 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
21677 lrint multiarch implementation.
21678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
21680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
21681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
21682 multiarch llrint for PPC64.
21683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
21684 multiarch lrint for PPC64.
21686 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
21687 copysignf multiarch implementation.
21688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
21690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
21692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
21693 multiarch copysign for PPC64.
21694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
21695 multiarch copysignf for PPC64.
21697 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
21698 multiarch implementation.
21699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
21701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
21703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
21705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
21707 multiarch llround for PPC64.
21708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
21709 multiarch trunc for PPC64.
21710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
21711 multiarch truncf for PPC64.
21713 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
21714 multiarch implementation.
21715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
21717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
21719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
21721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
21723 multiarch llround for PPC64.
21724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
21725 multiarch round for PPC64.
21726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
21727 multiarch roundf for PPC64.
21729 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
21730 multiarch implementation.
21731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
21733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
21735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
21737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
21739 multiarch llround for PPC64.
21740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
21741 multiarch floor for PPC64.
21742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
21743 multiarch floorf for PPC64.
21745 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
21746 multiarch implementation.
21747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
21749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
21751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
21753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
21755 multiarch llround for PPC64.
21756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
21757 multiarch ceil for PPC64.
21758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
21759 multiarch ceilf for PPC64.
21761 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21762 multiarch implementation.
21763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
21765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
21767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
21769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
21770 multiarch llround for PPC64.
21771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
21772 multiarch lround for PPC64.
21774 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21775 multiarch implementation.
21776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
21777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
21778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
21780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
21781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
21782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
21783 multiarch isnan for PPC64.
21784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
21785 multiarch isnanf for PPC64.
21787 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
21788 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
21789 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
21790 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
21791 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
21792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
21794 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
21795 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21796 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21797 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21799 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
21800 multiarch implementations.
21801 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21802 (__libc_ifunc_impl_list): Likewise.
21803 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
21804 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
21805 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
21806 multiarch stpcpy for PPC64.
21808 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
21809 multiarch implementations.
21810 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21811 (__libc_ifunc_impl_list): Likewise.
21812 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
21813 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
21814 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
21815 multiarch strcpy for PPC64.
21817 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
21818 redefine function name.
21819 (_wordcopy_fwd_dest_aligned): Likewise.
21820 (_wordcopy_bwd_aligned): Likewise.
21821 (_wordcopy_bwd_dest_aligned): Likewise.
21822 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
21823 multiarch implementations.
21824 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21825 (__libc_ifunc_impl_list): Likewise.
21826 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
21827 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
21828 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
21829 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
21830 multiarch wcscpy for PPC64.
21832 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
21833 multiarch implementations.
21834 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21835 (__libc_ifunc_impl_list): Likewise.
21836 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
21837 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
21838 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
21839 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
21840 multiarch wcscpy for PPC64.
21842 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
21843 multiarch implementations.
21844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21845 (__libc_ifunc_impl_list): Likewise.
21846 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
21847 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
21848 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
21849 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
21850 multiarch wcsrchr for PPC64.
21852 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
21853 multiarch implementations.
21854 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21855 (__libc_ifunc_impl_list): Likewise.
21856 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21857 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21858 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21859 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21860 multiarch wcschr for PPC64.
21862 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21863 multiarch implementations.
21864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21865 (__libc_ifunc_impl_list): Likewise.
21866 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21867 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21868 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21869 multiarch strchrnul for PPC64.
21871 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21873 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21874 (__libc_ifunc_impl_list): Likewise.
21875 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21876 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21877 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21878 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21881 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21883 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21884 (__libc_ifunc_impl_list): Likewise.
21885 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21886 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21887 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21888 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21891 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21892 multiarch implementations.
21893 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21894 (__libc_ifunc_impl_list): Likewise.
21895 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21896 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21897 strncasecmp for PPC64.
21898 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21899 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21900 multiarch strncasecmp_l for PPC64.
21902 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21903 multiarch implementations.
21904 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21905 (__libc_ifunc_impl_list): Likewise.
21906 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21907 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21908 multiarch strcasecmp for PPC64.
21909 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21911 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21912 multiarch strcasecmp_l for PPC64.
21914 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21916 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21917 (__libc_ifunc_impl_list): Likewise.
21918 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21919 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21920 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21923 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21925 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21926 (__libc_ifunc_impl_list): Likewise.
21927 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21928 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21929 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21932 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21934 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21935 (__libc_ifunc_impl_list): Likewise.
21936 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21937 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21938 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21939 rawmemrchr for PPC64.
21941 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21943 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21944 (__libc_ifunc_impl_list): Likewise.
21945 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21946 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21947 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21950 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21952 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21953 (__libc_ifunc_impl_list): Likewise.
21954 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21955 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21956 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21959 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21961 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21962 (__libc_ifunc_impl_list): Likewise.
21963 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21964 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21965 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21968 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21969 avoid cretion of __bzero symbol.
21970 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21972 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21974 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21976 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21977 multiarch implementations.
21978 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21979 (__libc_ifunc_impl_list): Likewise.
21980 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21981 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21982 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21983 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21985 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21986 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21987 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21988 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21989 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21991 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21993 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21994 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21996 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21997 (__libc_ifunc_impl_list): Likewise.
21998 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21999 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
22000 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
22001 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
22004 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
22005 multiarch for POWER/PPC64.
22006 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
22007 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
22008 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
22009 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
22010 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
22011 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
22012 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
22013 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
22014 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
22017 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
22018 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
22019 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
22020 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
22021 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
22022 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
22023 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
22024 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
22025 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
22026 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
22027 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
22028 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
22029 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
22030 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
22031 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
22032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
22033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
22034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
22035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
22036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
22037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
22038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
22040 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22042 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
22044 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22046 * benchtests/Makefile (bench): Add exp2 and log2.
22047 (LDLIBS-bench-exp2): Add -lm.
22048 (LDLIBS-bench-log2): Likewise.
22049 * benchtests/exp2-inputs: New inputs file.
22050 * benchtests/log2-inputs: New inputs file.
22051 * benchtests/log-inputs: Add new inputs.
22052 * benchtests/tan-inputs: Likewise.
22054 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22056 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
22058 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
22059 (csloww2): ... from here.
22061 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
22062 instead of structures.
22063 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
22064 (POLYNOMIAL): Likewise.
22065 (TAYLOR_SLOW): Likewise.
22071 (sloww1); Likewise.
22072 (sloww2): Likewise.
22073 (bsloww1): Likewise.
22074 (bsloww2): Likewise.
22075 (cslow2): Likewise.
22076 (csloww): Likewise.
22077 (csloww1): Likewise.
22078 (csloww2): Likewise.
22080 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
22082 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
22083 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
22084 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
22085 * malloc/hooks.c (realloc_check): Likewise.
22087 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
22088 * malloc/arena.c: Remove PER_THREAD conditional.
22089 [!PER_THREAD]: Remove code.
22090 (ptmalloc_unlock_all2): Likewise.
22091 (ptmalloc_init): Likewise.
22092 (_int_new_arena): Likewise.
22093 (arena_get2): Likewise.
22094 * malloc/hooks.c (__malloc_get_state): Likewise.
22095 (__malloc_set_state): Likewise.
22096 * malloc/malloc.c: Likewise.
22097 (struct malloc_state): Likewise.
22098 (struct malloc_par): Likewise.
22099 (__libc_realloc): Likewise.
22100 (__libc_mallopt): Likewise.
22102 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22104 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
22106 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
22108 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
22109 macro to a function. Check for zero perturb_byte.
22110 (_int_malloc, _int_free): Remove zero perturb_byte checks.
22112 * malloc/malloc.c: (force_reg): Remove.
22113 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
22114 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
22115 force_reg by atomic_forced_read.
22116 * malloc/arena.c (ptmalloc_init): Likewise.
22117 * malloc/hooks.c (top_check): Likewise.
22119 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22123 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
22125 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22127 2013-12-08 Joseph Myers <joseph@codesourcery.com>
22129 * math/auto-libm-test-in: Add tests of lgamma.
22130 * math/auto-libm-test-out: Regenerated.
22131 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
22132 (M_LOG_2_SQRT_PIl): Likewise.
22133 (lgamma_test_data): Use AUTO_TESTS_f_f1.
22134 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22136 (func_calc_desc): Add mpfr_f_f1 union field.
22137 (ARGS1): New macro.
22145 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
22146 (test_functions): Add lgamma.
22147 (calc_generic_results): Handle mpfr_f_f1.
22148 * sysdeps/i386/fpu/libm-test-ulps: Update.
22149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22151 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22153 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
22154 __mpn_add_n for PowerPC64/POWER7.
22155 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
22156 __mpn_sub_n for PowerPC64/POWER7.
22158 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
22159 __mpn_addmul_1 for PowerPC64.
22160 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
22161 __mpn_submul_1 for PowerPC64.
22162 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
22164 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
22167 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
22170 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
22172 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22174 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
22176 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
22177 add multiarch folders.
22178 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
22179 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
22180 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
22181 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
22182 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
22183 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
22184 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
22185 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
22186 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
22187 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
22188 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
22189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
22190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
22191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
22192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
22193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
22194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
22196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
22197 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
22198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
22200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
22202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
22203 multiarch __ieee754_hypot for PowerPC32.
22204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
22206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
22208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
22209 multiarch __ieee754_hypotf for PowerPC32.
22211 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
22212 long_double_symbol only if __logbl is defined.
22213 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
22214 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
22215 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
22216 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
22217 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
22218 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
22219 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
22220 path for implementation.
22221 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
22222 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
22223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
22224 logb, and logbl multiarch implementations for PowerPC32.
22225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
22227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
22229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
22230 multiarch logb for PowerPC32.
22231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
22233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
22235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
22236 multiarch logbf for PowerPC32.
22237 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
22238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
22240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
22241 multiarch logbl implementation for PowerPC32.
22243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
22244 and modff multiarch implementations.
22245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
22247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
22249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
22250 multiarch modf for PowerPC32.
22251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
22253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
22255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
22256 multiarch modff for PowerPC32.
22258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
22259 and lrintf multiarch implementations.
22260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
22262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
22264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
22265 multiarch lrint for PowerPC32.
22266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
22267 file: multiarch lrintf for PowerPC32.
22269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
22270 and lroundf multiarch implementations.
22271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
22273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
22275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
22277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
22278 multiarch lround for PowerPC32.
22279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
22280 file: multiarch lroundf for PowerPC32.
22282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
22283 copysign and copysignf multiarch implementations.
22284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
22286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
22288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
22289 file: multiarch copysign for PowerPC32.
22290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
22291 file: multiarch copysignf for PowerPC32.
22293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
22294 and truncf multiarch implementations.
22295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
22297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
22299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
22300 multiarch trunc for PowerPC32.
22301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
22303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
22305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
22306 multiarch truncf for PowerPC32.
22308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
22309 and roundf multiarch implementations.
22310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
22312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
22314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
22315 multiarch round for PowerPC32.
22316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
22318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
22320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
22321 multiarch roundf for PowerPC32.
22323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
22324 and floorf multiarch implementations.
22325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
22327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
22329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
22330 multiarch floor for PowerPC32.
22331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
22333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
22335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
22336 multiarch floorf for PowerPC32.
22338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
22339 and ceilf multiarch implementations.
22340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
22342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
22344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
22345 multiarch ceil for PowerPC32.
22346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
22348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
22350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
22351 multiarch ceilf for PowerPC32.
22353 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
22355 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
22356 FINITEF is defined.
22357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
22358 and finitef multiarch implementations.
22359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
22361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
22363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
22364 multiarch finite for PowerPC32.
22365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
22367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
22368 file: multiarch finitef for PowerPC32.
22370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
22371 and isinff multiarch implementations.
22372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
22374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
22376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
22377 multiarch isinf for PowerPC32.
22378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
22380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
22381 multiarch isinff for PowerPC32.
22383 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
22384 alias when __isnan is defined.
22385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
22386 and isnanf multiarch implementations.
22387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
22389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
22391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
22393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
22395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
22396 multiarch isnan for PowerPC32.
22397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
22399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
22401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
22402 multiarch isnanf for PowerPC32.
22404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
22405 and sqrtf multiarch implementations.
22406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
22408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
22410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
22411 multiarch sqrt for PowerPC32.
22412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
22414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
22416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
22417 multiarch sqrtf for PowerPC32.
22419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
22420 and llroundf multiarch implementations.
22421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
22423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
22425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
22427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
22428 file: multiarch llround for PowerPC32.
22429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
22430 file: multiarch llroundf for PowerPC32.
22432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
22433 multiarch PowerPC32 fpu implementations.
22434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
22436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
22438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
22439 multiarch llrint for PowerPC32.
22440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
22442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
22444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
22447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
22449 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
22451 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
22453 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
22455 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
22456 multiarch wordcopy for PPC32.
22457 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
22459 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22460 (__libc_ifunc_impl_list): Likewise.
22461 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
22462 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
22463 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
22464 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
22465 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
22466 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
22468 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
22469 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
22471 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
22473 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
22475 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
22476 multiarch wcscpy for PPC32.
22477 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
22479 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22480 (__libc_ifunc_impl_list): Likewise.
22481 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22482 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22483 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
22484 sysdeps/powerpc/power6/wcscpy.c.
22486 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
22487 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
22489 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
22491 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
22493 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
22494 multiarch wcsrchr for PPC32.
22495 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22497 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22498 (__libc_ifunc_impl_list): Likewise.
22499 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22500 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22501 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
22502 sysdeps/powerpc/power6/wcsrchr.c.
22504 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
22506 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
22508 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
22509 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
22510 multiarch wcschr for PPc32.
22511 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22513 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22514 (__libc_ifunc_impl_list): Likewise.
22515 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
22516 * sysdeps/powerpc/power6/wcschr.c: ... to here.
22517 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
22518 sysdeps/powerpc/power6/wcschr.c.
22520 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
22521 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
22523 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
22524 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
22525 file: multiarch strchr for PPC32.
22526 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
22528 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22529 (__libc_ifunc_impl_list): Likewise.
22531 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
22533 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
22535 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
22537 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
22538 multiarch strchrnul for PPC32.
22539 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
22541 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22542 (__libc_ifunc_impl_list): Likewise.
22544 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
22546 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
22547 multiarch strncasecmp for PPC32.
22548 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
22550 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
22551 multiarch strncasecmp_l for PPC32.
22552 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
22553 strncasecmp multiarch objects.
22554 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22555 (__libc_ifunc_impl_list): Likewise.
22557 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
22559 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
22560 multiarch strncasecmp for PPC32.
22561 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
22563 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
22564 multiarch strcasecmp_l for PPC32.
22565 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
22567 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22568 (__libc_ifunc_impl_list): Likewise.
22570 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
22572 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
22574 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
22575 multiarch strncmp for PPC32.
22576 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
22578 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22579 (__libc_ifunc_impl_list): Likewise.
22581 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
22582 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
22584 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
22585 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
22586 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
22588 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22589 (__libc_ifunc_impl_list): Likewise.
22591 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
22593 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
22595 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
22596 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
22598 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22599 (__libc_ifunc_impl_list): Likewise.
22601 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
22603 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
22605 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
22606 multiarch rawmemchr for PPC32.
22607 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
22609 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22610 (__libc_ifunc_impl_list): Likewise.
22612 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
22614 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
22616 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
22617 file: memrchr multiarch for PPC32.
22618 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
22620 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22621 (__libc_ifunc_impl_list): Likewise.
22623 * string/memchr.c (__memchr): Using macro to redefine symbol name.
22624 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
22626 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
22627 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
22628 multiarch memchr for PPC32.
22629 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
22631 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22632 (__libc_ifunc_impl_list): Likewise.
22634 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
22635 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
22637 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
22639 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
22640 file: multiarch mempcpy for PPC32.
22641 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
22643 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22644 (__libc_ifunc_impl_list): Likewise.
22646 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
22647 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
22648 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
22649 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
22650 multiarch bzero for PPC32.
22651 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
22653 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
22655 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
22656 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
22657 file: multiarch memset for PPC32.
22658 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
22659 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
22660 memset multiarch objects.
22661 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22662 (__libc_ifunc_impl_list): Likewise.
22664 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
22666 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
22667 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
22669 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
22670 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
22672 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22673 (__libc_ifunc_impl_list): Likewise.
22675 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
22676 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
22677 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
22679 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
22681 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
22683 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
22684 multiarch memcpy for PPC32.
22685 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
22687 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22688 (__libc_ifunc_impl_list): Likewise.
22690 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
22691 support multiarch for POWER/PPC32.
22692 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
22694 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
22696 Implies file to make multiarch folder appers before the fpu and
22697 default folder for power4 configuration.
22699 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22701 * scripts/bench.pl: Append volatile keyword to type.
22703 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22705 * sysdeps/sh/sotruss-lib.c: New file.
22706 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
22708 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22712 2013-12-05 Joseph Myers <joseph@codesourcery.com>
22715 * math/w_tgamma.c: Include <errno.h>.
22716 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
22717 * math/w_tgammaf.c: Include <errno.h>.
22718 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
22719 * math/w_tgammal.c: Include <errno.h>.
22720 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
22721 * math/auto-libm-test-in: Do not allow missing errno on tgamma
22722 underflow. Add more tgamma tests.
22723 * math/auto-libm-test-out: Regenerated.
22724 * sysdeps/i386/fpu/libm-test-ulps: Update.
22725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22727 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
22728 sin, sinh, tan, tanh, tgamma, y0 and y1.
22729 * math/auto-libm-test-out: Regenerated.
22730 * math/libm-test.inc (TEST_COND_x86_64): New macro.
22731 (TEST_COND_x86): Likewise.
22732 (M_E2l): Remove macro.
22734 (M_2_SQRT_PIl): Likewise.
22735 (M_SQRT_PIl): Likewise.
22736 (M_1_DIV_El): Likewise.
22737 (log_test_data): Use AUTO_TESTS_f_f.
22738 (log10_test_data): Likewise.
22739 (log1p_test_data): Likewise.
22740 (log2_test_data): Likewise.
22741 (sin_test_data): Likewise.
22742 (sin_tonearest_test_data): Likewise.
22743 (sin_towardzero_test_data): Likewise.
22744 (sin_downward_test_data): Likewise.
22745 (sin_upward_test_data): Likewise.
22746 (sinh_test_data): Likewise.
22747 (sinh_tonearest_test_data): Likewise.
22748 (sinh_towardzero_test_data): Likewise.
22749 (sinh_downward_test_data): Likewise.
22750 (sinh_upward_test_data): Likewise.
22751 (tan_test_data): Likewise.
22752 (tan_tonearest_test_data): Likewise.
22753 (tan_towardzero_test_data): Likewise.
22754 (tan_downward_test_data): Likewise.
22755 (tan_upward_test_data): Likewise.
22756 (tanh_test_data): Likewise.
22757 (tgamma_test_data): Likewise.
22758 (y0_test_data): Likewise.
22759 (y1_test_data): Likewise.
22760 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
22761 (special_real_inputs): Add pi/4.
22762 * sysdeps/i386/fpu/libm-test-ulps: Update.
22763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22765 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22767 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
22768 "longjmp_target" static probes.
22769 (__longjmp): Rename to __longjmp_symbol.
22770 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22771 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
22772 on which longjmp to generate.
22773 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22774 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
22776 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22777 (__sigjmp_save): Rename to __sigjmp_save_symbol.
22778 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22779 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
22780 and __sigjmp_save_symbol based on which sigsetjmp to generated.
22781 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
22782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
22783 __longjmp_symbol based on which __longjmp to generate.
22784 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
22786 (setjmp): Rename to setjmp_symbol.
22787 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22788 (_setjmp): Rename to _setjmp_symbol.
22789 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22790 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
22791 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
22792 which setjmp to generate.
22793 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
22794 "longjmp_target" static probes.
22796 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22798 * benchtests/README: Add note about output arguments.
22799 * benchtests/bench-sincos.c: Remove file.
22800 * benchtests/sincos-inputs: New file.
22801 * scripts/bench.pl: Identify output arguments and define
22802 static variables for them.
22804 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
22807 * Makefile (INSTALL): Add install-plain.texi as the primary
22809 * manual/install-plain.texi: New file.
22810 * manual/install.texi: Include node directive only for
22811 non-plaintext output.
22813 2013-12-04 Joseph Myers <joseph@codesourcery.com>
22815 * stdlib/longlong.h: Update from GCC.
22819 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
22820 * math/w_j0f.c (y0f): Likewise.
22821 * math/w_j0l.c (__y0l): Likewise.
22822 * math/w_j1.c (y1): Likewise.
22823 * math/w_j1f.c (y1f): Likewise.
22824 * math/w_j1l.c (__y1l): Likewise
22825 * math/w_jn.c (yn): Likewise.
22826 * math/w_jnf.c (ynf): Likewise.
22827 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
22828 Bessel function pole errors in _POSIX_ mode. Use NAN as return
22829 value for Bessel function domain errors outside _SVID_ mode.
22830 Adjust sign of return value for yn (negative integer, 0).
22831 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
22832 by zero in return for negative x and set sign appropriately for
22834 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
22835 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22836 * math/libm-test.inc (y0_test_data): Add more tests and adjust
22837 expectations in error cases.
22838 (y1_test_data): Likewise.
22839 (yn_test_data): Likewise.
22840 * sysdeps/i386/fpu/libm-test-ulps: Update.
22841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22843 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22845 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
22846 "64" to "64-v1". Add "64-v2".
22847 (abi-64-options): Rename to ...
22848 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
22849 (abi-64-condition): Rename to ...
22850 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
22851 (abi-64-ld-soname): Rename to ...
22852 (abi-64-v1-ld-soname): ... this.
22853 (abi-64-v2-options): Define.
22854 (abi-64-v2-condition): Likewise.
22855 (abi-64-v2-ld-soname): Likewise.
22856 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22857 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22862 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22863 Alan Modra <amodra@gmail.com>
22865 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22866 New versions for use with the ELFv2 ABI.
22867 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22868 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22870 (struct La_ppc64v2_retval): Likewise.
22871 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22872 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22873 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22874 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22875 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22876 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22877 Do not save or restore CR.
22878 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22879 (_dl_profile_resolve): Do no save or restore CR. Support extended
22880 return values for ELFv2 ABI. Fix location of FPR return registers.
22881 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22882 updated values for _CALL_ELF == 2.
22883 (La_regs, La_retval, int_retval): Likewise.
22885 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22887 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22888 (FRAME_MIN_SIZE_PARM): Likewise.
22889 (FRAME_BACKCHAIN): Likewise.
22890 (FRAME_CR_SAVE): Likewise.
22891 (FRAME_LR_SAVE): Likewise.
22892 (FRAME_TOC_SAVE): Likewise.
22893 (FRAME_PARM_SAVE): Likewise.
22894 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22895 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22896 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22897 (call_mcount_parm_offset): New macro.
22898 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22899 (PROF): Use symbolic stack frame offsets.
22900 (TAIL_CALL_SYSCALL_ERROR): Likewise.
22901 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22902 Redefine in terms of FRAME_MIN_SIZE.
22903 (_dl_runtime_resolve): Use symbolic stack frame offsets.
22904 (_dl_profile_resolve): Likewise. Update comment.
22905 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22906 symbols stack frame offsets.
22907 (__sigsetjmp): Likewise.
22908 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22909 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22910 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22911 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22914 (FRAME_BACKCHAIN): Remove.
22915 (FRAME_CR_SAVE): Likewise.
22916 (FRAME_LR_SAVE): Likewise.
22917 (FRAME_COMPILER_DW): Likewise.
22918 (FRAME_LINKER_DW): Likewise.
22919 (FRAME_TOC_SAVE): Likewise.
22920 (FRAME_PARM_SAVE): Likewise.
22921 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22922 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22923 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22925 (CHECK_SP): Use symbolic stack frame offsets.
22926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22927 zone" instead of caller's parameter save area for temp storage.
22928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22929 Likewise. Also, use symbolic stack frame offsets.
22930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22931 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22932 our own stack frame instead of the caller's.
22933 (__socket): Use symbolic stack frame offsets.
22935 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22936 Alan Modra <amodra@gmail.com>
22938 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22940 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22941 (PPC64_LOCAL_ENTRY_OFFSET): Define.
22942 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22944 (elf_machine_fixup_plt): Call it.
22945 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
22947 (elf_machine_rela): Update call to elf_machine_plt_conflict.
22948 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22949 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
22950 r2 before calling target.
22952 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22953 Alan Modra <amodra@gmail.com>
22955 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22956 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22957 versions of macros to support ELFv2 ABI.
22958 (LOCALENTRY): New macro.
22959 (ENTRY, EALIGN): Use it.
22960 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22961 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22962 fall through into ENTRY entry point.
22963 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22964 Only define if _CALL_ELF != 2.
22966 (elf_machine_matches_host): Verify ABI version matches.
22967 (RTLD_START): Use LOCALENTRY.
22968 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22969 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22970 (PLT_ENTRY_WORDS): New macro.
22971 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22972 (elf_machine_runtime_setup): Support ELFv2 ABI.
22973 (elf_machine_fixup_plt): Likewise.
22974 (elf_machine_plt_conflict): Likewise.
22975 (resolve_ifunc): Likewise.
22976 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22977 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22980 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22982 (makecontext): Support ELFv2 ABI.
22983 * elf/elf.h (EF_PPC64_ABI): Define.
22985 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22987 * sysdeps/powerpc/powerpc64/sysdep.h
22988 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22989 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22990 (ENTRY) [ASSEMBLER]: ... but instead here ...
22991 (EALIGN) [ASSEMBLER]: ... and here.
22992 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22993 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22994 (ENTRY_2) [!ASSEMBLER]: Use it.
22995 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22996 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
22997 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22998 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
22999 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
23000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
23001 Use PPC64_LOAD_FUNCPTR.
23003 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
23005 2013-12-04 Alan Modra <amodra@gmail.com>
23007 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
23008 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
23009 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
23010 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
23012 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
23013 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
23014 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
23015 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
23016 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
23017 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
23019 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23022 (__makecontext): Fix incorrect CFI when backtracing out of
23023 context created via makecontext.
23024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
23025 (__setcontext): Fix incorrect CFI during switch to new context.
23026 (__novec_setcontext): Likewise.
23028 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
23031 * time/strptime_l.c (__strptime_internal): Allow modifiers
23033 * time/tst-strptime.c (day_tests): Add testcase.
23035 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23037 * scripts/bench.pl: Skip over blank lines.
23039 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
23042 * manual/time.texi (Calendar Time): Clarify what timezone functions
23045 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23049 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
23051 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
23053 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
23054 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
23055 * debug/memset_chk.c (__memset_chk): Likewise.
23056 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
23057 * debug/strncpy_chk.c: Likewise.
23059 2013-12-03 Joseph Myers <joseph@codesourcery.com>
23063 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
23064 (__ieee754_exp): For possibly underflowing results, check size of
23065 result and force underflow exception if required.
23066 * math/auto-libm-test-in: Add more tests of exp.
23067 * math/auto-libm-test-out: Regenerated.
23068 * sysdeps/i386/fpu/libm-test-ulps: Update.
23069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23072 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
23073 * math/w_exp2f.c (__exp2f): Likewise.
23074 * math/w_exp2l.c (__exp2l): Likewise.
23075 * math/auto-libm-test-in: Do not allow missing errno on exp2
23077 * math/auto-libm-test-out: Regenerated.
23079 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
23082 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
23083 handle filename validation.
23084 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
23087 2013-12-03 Joseph Myers <joseph@codesourcery.com>
23090 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
23091 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
23092 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
23094 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
23095 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
23096 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23097 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
23098 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23099 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
23100 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23101 * math/auto-libm-test-in: Don't allow missing errno from erfc.
23102 Add more erfc tests.
23103 * math/auto-libm-test-out: Regenerated.
23104 * sysdeps/i386/fpu/libm-test-ulps: Update.
23105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23107 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
23108 exp2, expm1, j0 and j1.
23109 * math/auto-libm-test-out: Regenerated.
23110 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
23111 (erfc_test_data): Likewise.
23112 (exp_test_data): Likewise.
23113 (exp_tonearest_test_data): Likewise.
23114 (exp_towardzero_test_data): Likewise.
23115 (exp_downward_test_data): Likewise.
23116 (exp_upward_test_data): Likewise.
23117 (exp10_test_data): Likewise.
23118 (exp2_test_data): Likewise.
23119 (expm1_test_data): Likewise.
23120 (j0_test_data): Likewise.
23121 (j1_test_data): Likewise.
23122 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
23123 (input_flag_type): Add flag_xfail_rounding.
23124 (input_flags): Add xfail-rounding.
23125 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
23126 (output_for_one_input_case): Handle flag_xfail_rounding.
23127 * sysdeps/i386/fpu/libm-test-ulps: Update.
23128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23130 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
23133 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
23136 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23139 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
23140 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
23141 (STAP_PROBE0): New macro.
23142 (STAP_PROBE1): Likewise.
23143 (STAP_PROBE2): Likewise.
23144 (STAP_PROBE3): Likewise.
23145 (STAP_PROBE4): Likewise.
23147 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
23149 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
23151 2013-12-02 Steve Ellcey <sellcey@mips.com>
23153 * benchtests/Makefile (bench): Add sqrt.
23154 (LDLIBS-bench-sqrt): New.
23155 * benchtests/sqrt-input: New.
23157 2013-12-02 Pavel Simerda <psimerda@redhat.com>
23159 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
23160 (GAIH_EAI): Likewise.
23161 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
23162 (gaih_inet): Likewise.
23163 (getaddrinfo): Don't use GAIH_EAI.
23165 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
23166 (struct gaih): Remove definition.
23168 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23170 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
23171 Use HERRNOP directly.
23173 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23177 2013-11-30 Joseph Myers <joseph@codesourcery.com>
23179 * math/gen-auto-libm-tests.c (test_functions): Add more
23180 single-argument functions.
23181 (special_fill_pi_2): New function.
23182 (special_fill_minus_pi_2): Likewise.
23183 (special_fill_pi_6): Likewise.
23184 (special_fill_minus_pi_6): Likewise.
23185 (special_fill_pi_3): Likewise.
23186 (special_fill_2pi_3): Likewise.
23187 (special_fill_e): Likewise.
23188 (special_fill_1_e): Likewise.
23189 (special_fill_e_minus_1): Likewise.
23190 (special_real_inputs): Add more special inputs.
23191 (output_for_one_input_case): Do not require ERANGE on underflow to
23192 zero if round-to-nearest result does not underflow to zero, unless
23193 exact results required.
23194 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
23195 atan, atanh, cbrt, cos and cosh.
23196 * math/auto-libm-test-out: Regenerated.
23197 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
23198 (acos_tonearest_test_data): Likewise.
23199 (acos_towardzero_test_data): Likewise.
23200 (acos_downward_test_data): Likewise.
23201 (acos_upward_test_data): Likewise.
23202 (acosh_test_data): Likewise.
23203 (asin_test_data): Likewise.
23204 (asin_tonearest_test_data): Likewise.
23205 (asin_towardzero_test_data): Likewise.
23206 (asin_upward_test_data): Likewise.
23207 (asinh_test_data): Likewise.
23208 (atan_test_data): Likewise.
23209 (atanh_test_data): Likewise.
23210 (cbrt_test_data): Likewise.
23211 (cos_test_data): Likewise.
23212 (cos_tonearest_test_data): Likewise.
23213 (cos_towardzero_test_data): Likewise.
23214 (cos_downward_test_data): Likewise.
23215 (cos_upward_test_data): Likewise.
23216 (cosh_test_data): Likewise.
23217 (cosh_tonearest_test_data): Likewise.
23218 (cosh_towardzero_test_data): Likewise.
23219 (cosh_downward_test_data): Likewise.
23220 (cosh_upward_test_data): Likewise.
23221 * sysdeps/i386/fpu/libm-test-ulps: Update.
23222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23224 2013-11-29 Joseph Myers <joseph@codesourcery.com>
23227 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
23228 * math/w_exp10f.c (__exp10f): Likewise.
23229 * math/w_exp10l.c (__exp10l): Likewise.
23230 * math/libm-test.inc (exp10_test_data): Add more tests and expect
23231 errno settings in existing tests.
23234 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
23235 precision control set to double precision.
23236 * sysdeps/i386/fpu/w_sqrt.c: New file.
23237 * math/auto-libm-test-in: Add more tests.
23238 * math/auto-libm-test-out: Update.
23240 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
23241 (sqrt_test_tonearest): New function.
23242 (sqrt_towardzero_test_data): New variable.
23243 (sqrt_test_towardzero): New function.
23244 (sqrt_downward_test_data): New variable.
23245 (sqrt_test_downward): New function.
23246 (sqrt_upward_test_data): New variable.
23247 (sqrt_test_upward): New function.
23248 (main): Call the new functions.
23250 * math/gen-auto-libm-tests.c: New file.
23251 * math/auto-libm-test-in: Likewise.
23252 * math/auto-libm-test-out: New generated file.
23253 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
23255 (%beautify): Add generated representations of zero.
23256 (top level): Set $auto_input and call parse_auto_input.
23257 (beautify): Remove trailing "f" from hex float constants.
23258 (parse_args): Handle XFAIL_TEST.
23259 (convert_condition): New function.
23260 (or_value): Likewise.
23261 (or_cond_value): Likewise.
23262 (generate_testfile): Handle AUTO_TESTS_* lines.
23263 (parse_auto_input): New function.
23264 * math/libm-test.inc (XFAIL_TEST): New macro.
23265 (ERRNO_UNCHANGED): Update value.
23266 (ERRNO_EDOM): Likewise.
23267 (ERRNO_ERANGE): Likewise.
23268 (IGNORE_RESULT): Likewise.
23269 (TEST_COND_flt_32): New macro.
23270 (TEST_COND_dbl_64): Likewise.
23271 (TEST_COND_ldbl_96_intel): Likewise.
23272 (TEST_COND_ldbl_96_m68k): Likewise.
23273 (TEST_COND_ldbl_128): Likewise.
23274 (TEST_COND_ldbl_128ibm): Likewise.
23275 (TEST_COND_long32): Likewise.
23276 (TEST_COND_long64): Likewise.
23277 (TEST_COND_before_rounding): Likewise.
23278 (TEST_COND_after_rounding): Likewise.
23279 (enable_test): Handle XFAIL_TEST flag.
23280 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
23281 with finite results.
23282 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
23283 auto-libm-test-out.
23285 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23286 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23289 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
23290 __tls_get_addr_internal instead of __tls_get_offset in order to
23291 avoid GOT pointer dependency. Make rtld export
23292 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
23293 __tls_get_addr since we are a __tls_get_offset platform.
23294 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
23295 GOT pointer being set up before.
23296 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
23298 2013-11-28 Joseph Myers <joseph@codesourcery.com>
23300 * manual/math.texi (Errors in Math Functions): Document accuracy
23304 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
23305 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
23306 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23307 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23308 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23309 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23310 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23311 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23312 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23313 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23314 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23315 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23316 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23317 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23318 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23319 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23321 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
23322 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
23323 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
23324 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
23325 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
23327 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
23329 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
23331 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
23332 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
23333 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
23334 atomic-feupdateenv and flt-rounds.
23335 * sysdeps/powerpc/nofpu/Versions (libc): Add
23336 __atomic_feholdexcept, __atomic_feclearexcept,
23337 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
23338 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
23339 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
23340 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
23341 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
23343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
23346 * manual/arith.texi (FP Exceptions): Document that exceptions may
23347 not be raised when matherr is used.
23348 (Math Error Reporting): Document overflow in directed rounding
23349 modes. Document that errno may not be set when finite values are
23350 returned on overflow. Document intent to set errno on underflow
23351 only for underflow to zero.
23354 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
23355 round-to-nearest then adjust result for other rounding modes.
23356 * include/fenv.h (fegetround): Use libm_hidden_proto.
23357 * math/fegetround.c (fegetround): Use libm_hidden_def.
23358 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
23359 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
23360 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23361 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
23363 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
23364 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23365 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
23366 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
23368 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23371 * nss/Versions (libnss_files): Add
23372 _nss_files_gethostbyname3_r.
23373 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
23375 (HOST_DB_LOOKUP): Remove macro.
23376 (_nss_files_gethostbyname_r): Implement function without the
23377 HOST_DB_LOOKUP macro.
23378 (_nss_files_gethostbyname2_r): Likewise.
23380 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
23382 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
23384 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
23386 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
23387 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
23390 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23392 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
23393 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
23394 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
23395 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23396 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
23397 __fe_nomask_env_priv and attribute_hidden.
23398 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
23399 (libc_feupdateenv_test_ppc): Likewise.
23400 (libc_feresetround_ppc): Likewise.
23401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23402 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
23403 compat_symbol macro.
23404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23405 (__fe_nomask_env): Likewise.
23406 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
23408 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
23410 * string/Makefile: Remove ifunc tests.
23411 * string/test-string.h: Define TEST_IFUNC.
23412 * string/test-bcopy-ifunc.c: Remove.
23413 * string/test-bzero-ifunc.c: Likewise.
23414 * string/test-memccpy-ifunc.c: Likewise.
23415 * string/test-memchr-ifunc.c: Likewise.
23416 * string/test-memcmp-ifunc.c: Likewise.
23417 * string/test-memcpy-ifunc.c: Likewise.
23418 * string/test-memmem-ifunc.c: Likewise.
23419 * string/test-memmove-ifunc.c: Likewise.
23420 * string/test-mempcpy-ifunc.c: Likewise.
23421 * string/test-memrchr-ifunc.c: Likewise.
23422 * string/test-memset-ifunc.c: Likewise.
23423 * string/test-rawmemchr-ifunc.c: Likewise.
23424 * string/test-stpcpy-ifunc.c: Likewise.
23425 * string/test-stpncpy-ifunc.c: Likewise.
23426 * string/test-strcasecmp-ifunc.c: Likewise.
23427 * string/test-strcasestr-ifunc.c: Likewise.
23428 * string/test-strcat-ifunc.c: Likewise.
23429 * string/test-strchr-ifunc.c: Likewise.
23430 * string/test-strchrnul-ifunc.c: Likewise.
23431 * string/test-strcmp-ifunc.c: Likewise.
23432 * string/test-strcpy-ifunc.c: Likewise.
23433 * string/test-strcspn-ifunc.c: Likewise.
23434 * string/test-strlen-ifunc.c: Likewise.
23435 * string/test-strncasecmp-ifunc.c: Likewise.
23436 * string/test-strncat-ifunc.c: Likewise.
23437 * string/test-strncmp-ifunc.c: Likewise.
23438 * string/test-strncpy-ifunc.c: Likewise.
23439 * string/test-strnlen-ifunc.c: Likewise.
23440 * string/test-strpbrk-ifunc.c: Likewise.
23441 * string/test-strrchr-ifunc.c: Likewise.
23442 * string/test-strspn-ifunc.c: Likewise.
23443 * string/test-strstr-ifunc.c: Likewise.
23445 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
23447 * benchtests/Makefile: Remove ifunc tests.
23448 * benchtests/bench-string.h: Define TEST_IFUNC.
23449 * benchtests/bench-bcopy-ifunc.c: Remove.
23450 * benchtests/bench-bzero-ifunc.c: Likewise.
23451 * benchtests/bench-memccpy-ifunc.c: Likewise.
23452 * benchtests/bench-memchr-ifunc.c: Likewise.
23453 * benchtests/bench-memcmp-ifunc.c: Likewise.
23454 * benchtests/bench-memcpy-ifunc.c: Likewise.
23455 * benchtests/bench-memmem-ifunc.c: Likewise.
23456 * benchtests/bench-memmove-ifunc.c: Likewise.
23457 * benchtests/bench-mempcpy-ifunc.c: Likewise.
23458 * benchtests/bench-memrchr-ifunc.c: Likewise.
23459 * benchtests/bench-memset-ifunc.c: Likewise.
23460 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
23461 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
23462 * benchtests/bench-stpcpy-ifunc.c: Likewise.
23463 * benchtests/bench-stpncpy-ifunc.c: Likewise.
23464 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
23465 * benchtests/bench-strcasestr-ifunc.c: Likewise.
23466 * benchtests/bench-strcat-ifunc.c: Likewise.
23467 * benchtests/bench-strchr-ifunc.c: Likewise.
23468 * benchtests/bench-strchrnul-ifunc.c: Likewise.
23469 * benchtests/bench-strcmp-ifunc.c: Likewise.
23470 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
23471 * benchtests/bench-strcpy-ifunc.c: Likewise.
23472 * benchtests/bench-strcspn-ifunc.c: Likewise.
23473 * benchtests/bench-strlen-ifunc.c: Likewise.
23474 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
23475 * benchtests/bench-strncat-ifunc.c: Likewise.
23476 * benchtests/bench-strncmp-ifunc.c: Likewise.
23477 * benchtests/bench-strncpy-ifunc.c: Likewise.
23478 * benchtests/bench-strnlen-ifunc.c: Likewise.
23479 * benchtests/bench-strpbrk-ifunc.c: Likewise.
23480 * benchtests/bench-strrchr-ifunc.c: Likewise.
23481 * benchtests/bench-strsep-ifunc.c: Likewise.
23482 * benchtests/bench-strspn-ifunc.c: Likewise.
23483 * benchtests/bench-strstr-ifunc.c: Likewise.
23485 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
23487 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
23489 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
23491 * resolv/netdb.h: Use __glibc_reserved instead __unused.
23492 * rt/aio.h: Likewise.
23493 * sysdeps/gnu/bits/utmp.h: Likewise.
23494 * sysdeps/gnu/bits/utmpx.h: Likewise.
23495 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23496 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
23497 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
23498 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
23499 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
23500 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
23501 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
23502 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
23503 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
23504 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
23505 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
23506 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
23507 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
23508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
23509 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23510 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
23511 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
23512 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
23513 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
23514 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
23515 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
23516 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
23517 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
23518 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23519 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
23520 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23521 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
23522 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
23523 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
23524 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
23525 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
23526 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
23527 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
23528 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
23529 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
23530 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
23531 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
23532 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
23533 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
23534 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
23535 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
23536 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23538 2013-11-25 Carlos O'Donell <carlos@redhat.com>
23541 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
23542 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
23544 2013-11-25 Joseph Myers <joseph@codesourcery.com>
23546 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
23547 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23550 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23552 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
23553 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
23554 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
23555 (__fesetround): Remove define.
23556 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
23557 rounding and exceptions handling.
23558 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
23559 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
23560 (__fe_nomask_env): Likewise.
23561 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
23562 __fegetround instead of fegetround.
23563 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23564 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
23566 2013-11-21 Roland McGrath <roland@hack.frob.com>
23568 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
23571 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
23573 2013-11-21 Meador Inge <meadori@codesourcery.com>
23576 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
23577 (encrypt_r): Likewise.
23578 * malloc/obstack.h (obstack_free): Likewise.
23579 * posix/unistd.h (encrypt): Likewise.
23581 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
23583 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
23584 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
23585 DL_CALL_DT_FINI() that call the functions directly.
23586 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
23587 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
23588 * elf/dl-fini.c: Likewise.
23590 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
23592 * malloc/hooks.c (memalign_check): Add alignment rounding.
23593 * malloc/malloc.c (_mid_memalign): New function.
23594 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
23595 Implement by calling _mid_memalign.
23596 * manual/probes.texi (Memory Allocation Probes): Remove
23597 memory_valloc_retry and memory_pvalloc_retry.
23599 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23601 * locale/programs/locarchive.c (open_archive): Add const
23602 qualifier to ARCHIVEFNAME and copy default fname to
23606 * libio/tst-widetext.input: Rename Oriya to Odia.
23607 * locale/iso-639.def: Likewise.
23609 * manual/probes.texi (Mathematical Function Probes): Add
23610 documentation for sin, cos, asin and acos probes.
23611 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
23612 (__sin32): Add slowasin probe.
23613 (__cos32): Add slowacos probe.
23614 (__mpsin): Add slowsin probe.
23615 (__mpcos): Add slowcos probe.
23617 2013-11-19 Joseph Myers <joseph@codesourcery.com>
23620 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
23621 thread-local __sim_exceptions_thread and global
23622 __sim_exceptions_global.
23623 (__sim_disabled_exceptions): Change to thread-local
23624 __sim_disabled_exceptions_thread and global
23625 __sim_disabled_exceptions_global.
23626 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23627 and global __sim_round_mode_global.
23628 (__simulate_exceptions): Use thread-local floating-point state and
23629 set global state from it as needed.
23630 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
23631 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
23632 __sim_round_mode_thread.
23633 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
23634 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
23635 and global __sim_exceptions_global.
23636 (__sim_disabled_exceptions): Change to thread-local
23637 __sim_disabled_exceptions_thread and global
23638 __sim_disabled_exceptions_global.
23639 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23640 and global __sim_round_mode_global.
23641 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
23642 (SIM_SET_GLOBAL): Likewise.
23643 * sysdeps/powerpc/soft-fp/sfp-machine.h
23644 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
23645 __sim_round_mode_thread.
23646 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
23647 __sim_disabled_exceptions_thread.
23648 (__sim_exceptions): Change to __sim_exceptions_thread.
23649 (__sim_disabled_exceptions): Change to
23650 __sim_disabled_exceptions_thread.
23651 (__sim_round_mode): Change to __sim_round_mode_thread.
23652 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
23653 thread-local floating-point state and set global state from it as
23655 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
23656 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
23657 (__sim_disabled_exceptions): Remove extern declaration.
23658 (feenableexcept): Use thread-local floating-point state and set
23659 global state from it as needed.
23660 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
23661 extern declaration.
23662 (__sim_disabled_exceptions): Likewise.
23663 (__sim_round_mode): Likewise.
23664 (__fegetenv): Use thread-local floating-point state.
23665 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
23666 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23667 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
23668 floating-point state and set global state from it as needed.
23669 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
23670 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23671 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
23673 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23674 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
23676 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
23677 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
23678 Use __sim_round_mode_thread.
23679 * math/test-fenv-tls.c: New file.
23680 * math/Makefile (tests): Add test-fenv-tls.
23681 ($(objpfx)test-fenv-tls): Depend on
23682 $(common-objpfx)nptl/libpthread.so.
23684 2013-11-19 Andreas Schwab <schwab@suse.de>
23686 * locale/programs/locale.c (show_info): Decode wordarray elements.
23687 * locale/categories.def (LC_MONETARY): Add element for
23688 _NL_MONETARY_CRNCYSTR.
23689 * locale/C-monetary.c (conversion_rate): New variable.
23690 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
23693 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
23695 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
23696 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
23698 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23700 * elf/Makefile (tst-auxv): New test.
23701 * elf/tst-auxv.c: New
23702 * elf/rtld.c (dl_main): Adjust AT_EXECFN
23704 2013-11-18 Joseph Myers <joseph@codesourcery.com>
23706 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
23707 (hidden_proto): Caller changed.
23708 (hidden_tls_proto): New macro.
23709 (libc_hidden_tls_proto): Likewise.
23710 (rtld_hidden_tls_proto): Likewise.
23711 (libm_hidden_tls_proto): Likewise.
23712 (libresolv_hidden_tls_proto): Likewise.
23713 (librt_hidden_tls_proto): Likewise.
23714 (libdl_hidden_tls_proto): Likewise.
23715 (libnss_files_hidden_tls_proto): Likewise.
23716 (libnsl_hidden_tls_proto): Likewise.
23717 (libnss_nisplus_hidden_tls_proto): Likewise.
23718 (libutil_hidden_tls_proto): Likewise.
23720 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
23723 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
23724 (decompose_rpath): Defer expansion to fillin_rpath.
23725 (_dl_init_paths): Pass linkmap to fillin_rpath.
23727 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23729 * benchtests/Makefile: Add strsep.
23730 * benchtests/bench-strsep.c: New file: strsep benchtest.
23731 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
23733 2013-11-18 Andreas Schwab <schwab@suse.de>
23735 * locale/programs/locale.c (show_info) [case byte]: Check for
23736 '\377' instead of '\177'.
23737 * locale/C-monetary.c (not_available): Always use "\377".
23738 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
23739 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
23740 detect unavailable sign_posn locale elements.
23741 * locale/localeconv.c (__localeconv): For grouping and
23742 mon_grouping handle "\177" and "\377" like no grouping.
23743 (INT_ELEM): New macro. Use it to set all numeric members.
23744 * locale/programs/ld-monetary.c (monetary_read)
23745 <tok_mon_grouping>: Normalize single -1 to the empty string.
23746 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
23749 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
23752 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
23753 when we match (nil).
23754 * stdio-common/tst-sscanf.c (struct test): Add testcase.
23756 2013-11-16 Joseph Myers <joseph@codesourcery.com>
23758 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
23759 (NO_TEST_INLINE): Update value.
23760 (ERRNO_UNCHANGED): Likewise.
23761 (ERRNO_EDOM): Likewise.
23762 (ERRNO_ERANGE): Likewise.
23763 (IGNORE_RESULT): Likewise.
23764 (check_float_internal): Check signs of NaN results if
23765 TEST_NAN_SIGN used.
23766 (check_complex): Pass TEST_NAN_SIGN flag through to second
23767 check_float_internal call.
23768 (copysign_test_data): Add tests with quiet NaNs as second
23769 argument. Use TEST_NAN_SIGN.
23770 (fabs_test_data): Add test of negative quiet NaN argument. Use
23772 (signbit_test_data): Add tests of quiet NaN argument.
23773 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
23775 * math/gen-libm-test.pl (show_exceptions): Take extra argument
23777 (parse_args): Handle function results specified as IGNORE.
23778 * math/libm-test.inc (IGNORE_RESULT): New macro.
23779 (check_float_internal): Do not check numerical result if flag
23781 (check_complex): Pass through IGNORE_RESULT to second
23782 check_float_internal call.
23783 (check_int): Do not check numerical result if flag IGNORE_RESULT
23785 (check_long): Likewise.
23786 (check_bool): Likewise.
23787 (check_longlong): Likewise.
23788 (lrint_test_data): Add tests of infinite and NaN arguments.
23789 (lrint_tonearest_test_data): Likewise.
23790 (lrint_towardzero_test_data): Likewise.
23791 (lrint_downward_test_data): Likewise.
23792 (lrint_upward_test_data): Likewise.
23793 (llrint_test_data): Likewise.
23794 (llrint_tonearest_test_data): Likewise.
23795 (llrint_towardzero_test_data): Likewise.
23796 (llrint_downward_test_data): Likewise.
23797 (llrint_upward_test_data): Likewise.
23798 (lround_test_data): Likewise.
23799 (llround_test_data): Likewise.
23801 * math/libm-test.inc (NO_TEST_INLINE): New macro.
23802 (ERRNO_UNCHANGED): Update value.
23803 (ERRNO_EDOM): Likewise.
23804 (ERRNO_ERANGE): Likewise.
23805 (NO_TEST_INLINE_FLOAT): New macro.
23806 (NO_TEST_INLINE_DOUBLE): Likewise.
23807 (enable_test): New function.
23808 (RUN_TEST_f_f): Check enable_test before running test.
23809 (RUN_TEST_2_f): Likewise.
23810 (RUN_TEST_fff_f): Likewise.
23811 (RUN_TEST_c_f): Likewise.
23812 (RUN_TEST_f_f1): Likewise.
23813 (RUN_TEST_fF_f1): Likewise.
23814 (RUN_TEST_fI_f1): Likewise.
23815 (RUN_TEST_ffI_f1): Likewise.
23816 (RUN_TEST_c_c): Likewise.
23817 (RUN_TEST_cc_c): Likewise.
23818 (RUN_TEST_f_i): Likewise.
23819 (RUN_TEST_f_i_tg): Likewise.
23820 (RUN_TEST_ff_i_tg): Likewise.
23821 (RUN_TEST_f_b): Likewise.
23822 (RUN_TEST_f_b_tg): Likewise.
23823 (RUN_TEST_f_l): Likewise.
23824 (RUN_TEST_f_L): Likewise.
23825 (RUN_TEST_fFF_11): Likewise.
23826 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
23828 (cosh_test_data): Likewise.
23829 (exp_test_data): Likewise.
23830 (expm1_test_data): Likewise.
23831 (hypot_test_data): Likewise.
23832 (pow_test_data): Likewise.
23833 (sinh_test_data): Likewise.
23834 (tanh_test_data): Likewise.
23835 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
23838 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
23839 tests with quiet NaN input and output.
23840 (acosh_test_data): Likewise.
23841 (asin_test_data): Likewise.
23842 (asinh_test_data): Likewise.
23843 (atan_test_data): Likewise.
23844 (atanh_test_data): Likewise.
23845 (atan2_test_data): Likewise.
23846 (cbrt_test_data): Likewise.
23847 (cos_test_data): Likewise.
23848 (cosh_test_data): Likewise.
23849 (erf_test_data): Likewise.
23850 (erfc_test_data): Likewise.
23851 (exp_test_data): Likewise.
23852 (exp10_test_data): Likewise.
23853 (exp2_test_data): Likewise.
23854 (expm1_test_data): Likewise.
23855 (hypot_test_data): Likewise.
23856 (j0_test_data): Likewise.
23857 (j1_test_data): Likewise.
23858 (jn_test_data): Likewise.
23859 (lgamma_test_data): Likewise.
23860 (log_test_data): Likewise.
23861 (log10_test_data): Likewise.
23862 (log1p_test_data): Likewise.
23863 (log2_test_data): Likewise.
23864 (pow_test_data): Likewise.
23865 (scalb_test_data): Likewise.
23866 (sin_test_data): Likewise.
23867 (sincos_test_data): Likewise.
23868 (sinh_test_data): Likewise.
23869 (tan_test_data): Likewise.
23870 (tanh_test_data): Likewise.
23871 (tgamma_test_data): Likewise.
23872 (y0_test_data): Likewise.
23873 (y1_test_data): Likewise.
23874 (yn_test_data): Likewise.
23877 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23878 argument being NaN and avoid computations with second argument in
23880 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23881 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23882 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23884 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
23886 * locale/iso-639.def: Add Chitwani Tharu (the).
23888 2013-11-14 Andreas Schwab <schwab@suse.de>
23890 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23891 word instead of empty string.
23893 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23896 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23898 (__fe_nomask_env): Likewise.
23900 2013-11-13 Steve Ellcey <sellcey@mips.com>
23902 * benchtests/bench-timing.h: Include time.h.
23904 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
23907 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23909 * sysdeps/unix/sysv/linux/configure: Regenerated.
23911 2013-11-13 Joseph Myers <joseph@codesourcery.com>
23914 * stdlib/strtod_l.c (round_and_return): Do not consider
23915 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23916 exponent one less than half the least subnormal exponent.
23917 * stdlib/test-strtod-round-data: Add more tests.
23918 * stdlib/tst-strtod-round.c (tests): Regenerated.
23920 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23923 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23924 (__fe_mask_env): Likewise.
23925 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23926 libm_hidden_proto and add function prototype.
23927 (__fe_mask_env): Add function prototype.
23928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23929 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23931 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23933 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23935 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23937 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
23938 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23940 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23942 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23943 of htab_find_slot().
23945 2013-11-11 David S. Miller <davem@davemloft.net>
23948 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23949 symbol in the non-vis3 case in static builds.
23950 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23951 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23952 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23953 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23955 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
23958 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23961 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23963 * benchtests/Makefile: Add bench-strtod.
23964 * benchtests/bench-strtod.c: New file: strtod benchtest
23966 2013-11-11 Andreas Schwab <schwab@suse.de>
23969 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23970 terminating NUL in key length.
23972 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23974 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23975 Add artificial ODP entry for vDSO symbol for PPC64.
23976 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23977 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23979 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
23982 * nss/getent.c (services_keys): Recognize services starting with digit.
23984 2013-11-06 David S. Miller <davem@davemloft.net>
23987 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23988 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23990 2013-11-06 Will Newton <will.newton@linaro.org>
23992 * manual/memory.texi (Malloc Examples): Remove register
23993 keyword from examples.
23995 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
23997 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
23999 2013-11-04 Joseph Myers <joseph@codesourcery.com>
24002 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
24003 depending on [__GCC_IEC_559 > 0].
24004 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
24005 depending on [__GCC_IEC_559_COMPLEX > 0].
24007 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
24009 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
24012 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
24014 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
24016 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
24019 * malloc/malloc (malloc_info): Do not handle first bin as
24022 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
24024 * locale/iso-639.def: Add Central Nahuatl (nhn).
24026 2013-11-01 Bruno Haible <bruno@clisp.org>
24029 * manual/math.texi (BSD Random): Specify range upper bound as
24032 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
24034 * locale/iso-639.def: Add Meadow Mari (mhr).
24036 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
24038 [BZ #14752], [BZ #15763]
24039 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
24041 * rt/tst_shm.c: Add test for escaping directory.
24043 2013-10-31 Andreas Schwab <schwab@suse.de>
24046 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
24047 followed by 'x' as part of digit sequence.
24048 * stdio-common/tst-sscanf.c (double_tests2): New tests.
24050 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
24053 * configure.ac: allow GNU Make 4.0 and greater.
24054 * configure: Regenerated.
24056 2013-10-30 Will Newton <will.newton@linaro.org>
24059 * malloc/hooks.c (memalign_check): Limit alignment to the
24060 maximum representable power of two.
24061 * malloc/malloc.c (__libc_memalign): Likewise.
24062 * malloc/tst-memalign.c (do_test): Add test for very
24063 large alignment values.
24064 * malloc/tst-posix_memalign.c (do_test): Likewise.
24066 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
24069 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
24070 (munmap_chunk): Likewise.
24071 (mremap_chunk): Likewise.
24073 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
24076 * stdlib/div.c (div): Remove obsolete code.
24077 * stdlib/ldiv.c (ldiv): Likewise.
24078 * stdlib/lldiv.c (lldiv): Likewise.
24080 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24083 * nss/nss_files/files-XXX.c (get_contents_ret): New
24085 (get_contents): New function.
24086 (internal_getent): Use it. Expand size of LINEBUFLEN.
24088 2013-10-30 Mike Frysinger <vapier@gentoo.org>
24090 * configure.in: Moved to ...
24091 * configure.ac: ... here. Change reference to configure.in
24093 * sysdeps/arm/preconfigure.ac: ... here.
24094 configure.in to configure.ac.
24095 * sysdeps/gnu/configure.in: Moved to ...
24096 * sysdeps/gnu/configure.ac: ... here.
24097 * sysdeps/i386/configure.in: Moved to ...
24098 * sysdeps/i386/configure.ac: ... here.
24099 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
24100 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
24101 * sysdeps/mach/configure.in: Moved to ...
24102 * sysdeps/mach/configure.ac: ... here.
24103 * sysdeps/mach/hurd/configure.in: Moved to ...
24104 * sysdeps/mach/hurd/configure.ac: ... here.
24105 * sysdeps/powerpc/configure.in: Moved to ...
24106 * sysdeps/powerpc/configure.ac: ... here.
24107 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
24108 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
24109 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
24110 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
24111 * sysdeps/s390/s390-32/configure.in: Moved to ...
24112 * sysdeps/s390/s390-32/configure.ac: ... here.
24113 * sysdeps/s390/s390-64/configure.in: Moved to ...
24114 * sysdeps/s390/s390-64/configure.ac: ... here.
24115 * sysdeps/sh/configure.in: Moved to ...
24116 * sysdeps/sh/configure.ac: ... here.
24117 * sysdeps/sparc/configure.in: Moved to ...
24118 * sysdeps/sparc/configure.ac: ... here.
24119 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
24120 * sysdeps/unix/sysv/linux/configure.ac: ... here.
24121 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
24122 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
24123 * sysdeps/x86_64/configure.in: Moved to ...
24124 * sysdeps/x86_64/configure.ac: ... here.
24125 * sysdeps/x86_64/preconfigure.in: Moved to ...
24126 * sysdeps/x86_64/preconfigure.ac: ... here.
24127 * aclocal.m4: Change reference to configure.in to configure.ac.
24128 * config.h.in: Likewise.
24129 * manual/install.texi: Likewise.
24130 * manual/maint.texi: Likewise.
24131 * Makefile: Likewise.
24132 * malloc/Makefile: Likewise.
24133 * nscd/Makefile: Likewise.
24134 * Makeconfig: Change reference to configure.in and
24135 preconfigure.in to configure.ac and preconfigure.ac
24137 * INSTALL: Regenerated.
24138 * configure: Likewise.
24139 * sysdeps/gnu/configure: Likewise.
24140 * sysdeps/i386/configure: Likewise.
24141 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
24142 * sysdeps/mach/configure: Likewise.
24143 * sysdeps/mach/hurd/configure: Likewise.
24144 * sysdeps/powerpc/configure: Likewise.
24145 * sysdeps/powerpc/powerpc32/configure: Likewise.
24146 * sysdeps/powerpc/powerpc64/configure: Likewise.
24147 * sysdeps/s390/s390-32/configure: Likewise.
24148 * sysdeps/s390/s390-64/configure: Likewise.
24149 * sysdeps/sh/configure: Likewise.
24150 * sysdeps/sparc/configure: Likewise.
24151 * sysdeps/unix/sysv/linux/configure: Likewise.
24152 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
24153 * sysdeps/x86_64/configure: Likewise.
24154 * sysdeps/x86_64/preconfigure: Likewise.
24156 2013-10-29 Andreas Schwab <schwab@suse.de>
24158 * stdio-common/Makefile (tst-swscanf-ENV): Define.
24160 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24162 * benchtests/pow-inputs: Add new inputs.
24164 * benchtests/exp-inputs: Add new inputs.
24166 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
24167 conditional check for return value.
24168 (__cos32): Likewise.
24170 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24172 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
24173 to provide a boost for large inputs with word alignment.
24174 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
24175 implementation based on optimized PPC64 strcpy.
24176 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
24177 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
24178 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
24179 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
24181 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
24184 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
24186 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
24189 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
24190 * time/tst-strptime.c (day_tests): Add testcase.
24192 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
24195 * manual/pattern.texi: Acknowledge that fnmatch can fail.
24197 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
24200 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
24201 MAP_FAILED on error.
24203 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24206 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
24207 heap for large requests.
24209 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
24212 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
24213 result if the result has no associated interface.
24214 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
24215 interface for all 127.X.Y.Z addresses.
24217 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
24219 * locale/iso-639.def: Add Ligurian (lij)
24221 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
24224 * sunrpc/rpc_main.c: Document rpcgen -5.
24226 2013-10-19 Michael Stahl <mstahl@redhat.com>
24228 * elf/rtld.c (do_preload): Print the reason why preloading failed.
24230 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
24233 * posix/glob.c: Match only directories when trailing slash is present.
24234 * posix/tst-gnuglob.c (my_opendir): Do not open files.
24235 (main): Add testcase.
24237 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
24240 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
24242 2013-10-18 Carlos O'Donell <carlos@redhat.com>
24244 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
24245 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
24246 AUTH_DES and cindex for FIPS 140-2.
24247 (DES Encryption): Add cindex FIPS 46-3.
24249 * locale/locarchive.h (struct locarhandle): Add fname.
24250 * locale/programs/localedef.c (main): Pass ARGV[remaining]
24251 if an optional argument was specified to --list-archive,
24253 * locale/programs/locarchive.c (show_archive_content): Take new
24254 argument fname and pass it via ah.fname to open_archive.
24255 * locale/programs/localedef.h: Update decl.
24256 (open_archive): If AH->fname is non-null, open that file
24257 rather than the default file name, and don't ignore ENOENT.
24258 (create_archive): Set AH.fname to NULL.
24259 (delete_locales_from_archive): Likewise.
24260 (add_locales_to_archive): Likewise.
24261 * locale/programs/locfile.c (write_all_categories): Likewise.
24263 2013-10-18 Joseph Myers <joseph@codesourcery.com>
24264 Aldy Hernandez <aldyh@redhat.com>
24266 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
24267 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
24268 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
24269 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
24270 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
24271 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
24272 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
24273 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
24274 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
24275 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
24276 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
24277 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
24278 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
24279 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
24280 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
24282 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
24284 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
24286 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
24288 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
24289 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
24291 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
24292 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
24293 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
24294 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
24296 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
24297 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
24298 * sysdeps/powerpc/preconfigure: Likewise.
24299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
24301 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
24302 Replace contents of file by #include of <fenv_libc.h>.
24303 * sysdeps/powerpc/soft-fp/sfp-machine.h
24304 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
24306 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
24307 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
24308 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
24309 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
24310 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
24311 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
24312 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
24313 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
24314 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
24315 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
24316 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
24317 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
24318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24319 Allow copysignl PLT reference to be missing.
24321 2013-10-18 Richard Sandiford <richard@codesourcery.com>
24322 Joseph Myers <joseph@codesourcery.com
24325 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
24327 (add_to_tablewc): Assert sequence of wide characters is nonempty.
24329 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24331 * elf/tst-tls-dlinfo.c: Don't include tls.h.
24332 * elf/tst-tls1.c: Likewise.
24333 * elf/tst-tls10.h: Likewise.
24334 * elf/tst-tls14.c: Likewise.
24335 * elf/tst-tls2.c: Likewise.
24336 * elf/tst-tls3.c: Likewise.
24337 * elf/tst-tls4.c: Likewise.
24338 * elf/tst-tls5.c: Likewise.
24339 * elf/tst-tls6.c: Likewise.
24340 * elf/tst-tls7.c: Likewise.
24341 * elf/tst-tls8.c: Likewise.
24342 * elf/tst-tls9.c: Likewise.
24343 * elf/tst-tlsmod1.c: Likewise.
24344 * elf/tst-tlsmod13.c: Likewise.
24345 * elf/tst-tlsmod13a.c: Likewise.
24346 * elf/tst-tlsmod14a.c: Likewise.
24347 * elf/tst-tlsmod16a.c: Likewise.
24348 * elf/tst-tlsmod16b.c: Likewise.
24349 * elf/tst-tlsmod2.c: Likewise.
24350 * elf/tst-tlsmod3.c: Likewise.
24351 * elf/tst-tlsmod4.c: Likewise.
24352 * elf/tst-tlsmod5.c: Likewise.
24353 * elf/tst-tlsmod6.c: Likewise.
24355 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
24358 * malloc/malloc.c: remove checks for statistics.
24360 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
24363 * inet/inet_net.c (inet_network): Detect additional invalid strings.
24364 * inet/tst-network.c: Add testcase.
24366 2013-10-17 Andreas Schwab <schwab@suse.de>
24369 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
24370 to determine canonical name.
24372 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
24374 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
24375 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
24376 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24377 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24378 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24379 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24380 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24381 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24382 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
24383 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24384 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24385 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24386 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24387 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24388 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24389 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24390 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24391 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24392 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24393 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24394 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24395 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24396 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24397 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
24398 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
24399 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24400 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24401 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
24402 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24403 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
24404 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24405 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24406 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24407 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24408 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24409 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24410 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24411 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24412 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24413 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24414 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24415 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24416 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24417 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24418 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24419 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24420 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24421 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24422 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24423 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24424 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24425 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24426 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24427 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24428 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24429 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24430 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24431 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24433 2013-10-17 Joseph Myers <joseph@codesourcery.com>
24436 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
24437 make result into a quiet NaN.
24439 2013-10-16 Joseph Myers <joseph@codesourcery.com>
24441 * soft-fp/adddf3.c: Fix horizontal whitespace.
24442 * soft-fp/addsf3.c: Likewise.
24443 * soft-fp/addtf3.c: Likewise.
24444 * soft-fp/divdf3.c: Likewise.
24445 * soft-fp/divsf3.c: Likewise.
24446 * soft-fp/divtf3.c: Likewise.
24447 * soft-fp/double.h: Likewise.
24448 * soft-fp/eqdf2.c: Likewise.
24449 * soft-fp/eqsf2.c: Likewise.
24450 * soft-fp/eqtf2.c: Likewise.
24451 * soft-fp/extenddftf2.c: Likewise.
24452 * soft-fp/extended.h: Likewise.
24453 * soft-fp/extendsfdf2.c: Likewise.
24454 * soft-fp/extendsftf2.c: Likewise.
24455 * soft-fp/extendxftf2.c: Likewise.
24456 * soft-fp/fixdfdi.c: Likewise.
24457 * soft-fp/fixdfsi.c: Likewise.
24458 * soft-fp/fixdfti.c: Likewise.
24459 * soft-fp/fixsfdi.c: Likewise.
24460 * soft-fp/fixsfsi.c: Likewise.
24461 * soft-fp/fixsfti.c: Likewise.
24462 * soft-fp/fixtfdi.c: Likewise.
24463 * soft-fp/fixtfsi.c: Likewise.
24464 * soft-fp/fixtfti.c: Likewise.
24465 * soft-fp/fixunsdfdi.c: Likewise.
24466 * soft-fp/fixunsdfsi.c: Likewise.
24467 * soft-fp/fixunsdfti.c: Likewise.
24468 * soft-fp/fixunssfdi.c: Likewise.
24469 * soft-fp/fixunssfsi.c: Likewise.
24470 * soft-fp/fixunssfti.c: Likewise.
24471 * soft-fp/fixunstfdi.c: Likewise.
24472 * soft-fp/fixunstfsi.c: Likewise.
24473 * soft-fp/fixunstfti.c: Likewise.
24474 * soft-fp/floatdidf.c: Likewise.
24475 * soft-fp/floatdisf.c: Likewise.
24476 * soft-fp/floatditf.c: Likewise.
24477 * soft-fp/floatsidf.c: Likewise.
24478 * soft-fp/floatsisf.c: Likewise.
24479 * soft-fp/floatsitf.c: Likewise.
24480 * soft-fp/floattidf.c: Likewise.
24481 * soft-fp/floattisf.c: Likewise.
24482 * soft-fp/floattitf.c: Likewise.
24483 * soft-fp/floatundidf.c: Likewise.
24484 * soft-fp/floatundisf.c: Likewise.
24485 * soft-fp/floatunditf.c: Likewise.
24486 * soft-fp/floatunsidf.c: Likewise.
24487 * soft-fp/floatunsisf.c: Likewise.
24488 * soft-fp/floatunsitf.c: Likewise.
24489 * soft-fp/floatuntidf.c: Likewise.
24490 * soft-fp/floatuntisf.c: Likewise.
24491 * soft-fp/floatuntitf.c: Likewise.
24492 * soft-fp/fmadf4.c: Likewise.
24493 * soft-fp/fmasf4.c: Likewise.
24494 * soft-fp/fmatf4.c: Likewise.
24495 * soft-fp/gedf2.c: Likewise.
24496 * soft-fp/gesf2.c: Likewise.
24497 * soft-fp/getf2.c: Likewise.
24498 * soft-fp/ledf2.c: Likewise.
24499 * soft-fp/lesf2.c: Likewise.
24500 * soft-fp/letf2.c: Likewise.
24501 * soft-fp/muldf3.c: Likewise.
24502 * soft-fp/mulsf3.c: Likewise.
24503 * soft-fp/multf3.c: Likewise.
24504 * soft-fp/negdf2.c: Likewise.
24505 * soft-fp/negsf2.c: Likewise.
24506 * soft-fp/negtf2.c: Likewise.
24507 * soft-fp/op-1.h: Likewise.
24508 * soft-fp/op-2.h: Likewise.
24509 * soft-fp/op-4.h: Likewise.
24510 * soft-fp/op-8.h: Likewise.
24511 * soft-fp/op-common.h: Likewise.
24512 * soft-fp/quad.h: Likewise.
24513 * soft-fp/single.h: Likewise.
24514 * soft-fp/soft-fp.h: Likewise.
24515 * soft-fp/sqrtdf2.c: Likewise.
24516 * soft-fp/sqrtsf2.c: Likewise.
24517 * soft-fp/sqrttf2.c: Likewise.
24518 * soft-fp/subdf3.c: Likewise.
24519 * soft-fp/subsf3.c: Likewise.
24520 * soft-fp/subtf3.c: Likewise.
24521 * soft-fp/truncdfsf2.c: Likewise.
24522 * soft-fp/trunctfdf2.c: Likewise.
24523 * soft-fp/trunctfsf2.c: Likewise.
24524 * soft-fp/trunctfxf2.c: Likewise.
24525 * soft-fp/unorddf2.c: Likewise.
24526 * soft-fp/unordsf2.c: Likewise.
24527 * soft-fp/unordtf2.c: Likewise.
24529 2013-10-15 Joseph Myers <joseph@codesourcery.com>
24531 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
24532 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
24534 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
24536 * elf/dl-libc.c: Clear initfini list after freeing.
24538 2013-10-14 Joseph Myers <joseph@codesourcery.com>
24540 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
24541 * soft-fp/addsf3.c: Likewise.
24542 * soft-fp/addtf3.c: Likewise.
24543 * soft-fp/divdf3.c: Likewise.
24544 * soft-fp/divsf3.c: Likewise.
24545 * soft-fp/divtf3.c: Likewise.
24546 * soft-fp/double.h: Likewise.
24547 * soft-fp/eqdf2.c: Likewise.
24548 * soft-fp/eqsf2.c: Likewise.
24549 * soft-fp/eqtf2.c: Likewise.
24550 * soft-fp/extenddftf2.c: Likewise.
24551 * soft-fp/extended.h: Likewise.
24552 * soft-fp/extendsfdf2.c: Likewise.
24553 * soft-fp/extendsftf2.c: Likewise.
24554 * soft-fp/extendxftf2.c: Likewise.
24555 * soft-fp/fixdfdi.c: Likewise.
24556 * soft-fp/fixdfsi.c: Likewise.
24557 * soft-fp/fixdfti.c: Likewise.
24558 * soft-fp/fixsfdi.c: Likewise.
24559 * soft-fp/fixsfsi.c: Likewise.
24560 * soft-fp/fixsfti.c: Likewise.
24561 * soft-fp/fixtfdi.c: Likewise.
24562 * soft-fp/fixtfsi.c: Likewise.
24563 * soft-fp/fixtfti.c: Likewise.
24564 * soft-fp/fixunsdfdi.c: Likewise.
24565 * soft-fp/fixunsdfsi.c: Likewise.
24566 * soft-fp/fixunsdfti.c: Likewise.
24567 * soft-fp/fixunssfdi.c: Likewise.
24568 * soft-fp/fixunssfsi.c: Likewise.
24569 * soft-fp/fixunssfti.c: Likewise.
24570 * soft-fp/fixunstfdi.c: Likewise.
24571 * soft-fp/fixunstfsi.c: Likewise.
24572 * soft-fp/fixunstfti.c: Likewise.
24573 * soft-fp/floatdidf.c: Likewise.
24574 * soft-fp/floatdisf.c: Likewise.
24575 * soft-fp/floatditf.c: Likewise.
24576 * soft-fp/floatsidf.c: Likewise.
24577 * soft-fp/floatsisf.c: Likewise.
24578 * soft-fp/floatsitf.c: Likewise.
24579 * soft-fp/floattidf.c: Likewise.
24580 * soft-fp/floattisf.c: Likewise.
24581 * soft-fp/floattitf.c: Likewise.
24582 * soft-fp/floatundidf.c: Likewise.
24583 * soft-fp/floatundisf.c: Likewise.
24584 * soft-fp/floatunsidf.c: Likewise.
24585 * soft-fp/floatunsisf.c: Likewise.
24586 * soft-fp/floatuntidf.c: Likewise.
24587 * soft-fp/floatuntisf.c: Likewise.
24588 * soft-fp/floatuntitf.c: Likewise.
24589 * soft-fp/fmadf4.c: Likewise.
24590 * soft-fp/fmasf4.c: Likewise.
24591 * soft-fp/fmatf4.c: Likewise.
24592 * soft-fp/gedf2.c: Likewise.
24593 * soft-fp/gesf2.c: Likewise.
24594 * soft-fp/getf2.c: Likewise.
24595 * soft-fp/ledf2.c: Likewise.
24596 * soft-fp/lesf2.c: Likewise.
24597 * soft-fp/letf2.c: Likewise.
24598 * soft-fp/muldf3.c: Likewise.
24599 * soft-fp/mulsf3.c: Likewise.
24600 * soft-fp/multf3.c: Likewise.
24601 * soft-fp/negdf2.c: Likewise.
24602 * soft-fp/negsf2.c: Likewise.
24603 * soft-fp/negtf2.c: Likewise.
24604 * soft-fp/op-1.h: Likewise.
24605 * soft-fp/op-2.h: Likewise.
24606 * soft-fp/op-4.h: Likewise.
24607 * soft-fp/op-8.h: Likewise.
24608 * soft-fp/op-common.h: Likewise.
24609 * soft-fp/quad.h: Likewise.
24610 * soft-fp/single.h: Likewise.
24611 * soft-fp/soft-fp.h: Likewise.
24612 * soft-fp/sqrtdf2.c: Likewise.
24613 * soft-fp/sqrtsf2.c: Likewise.
24614 * soft-fp/sqrttf2.c: Likewise.
24615 * soft-fp/subdf3.c: Likewise.
24616 * soft-fp/subsf3.c: Likewise.
24617 * soft-fp/subtf3.c: Likewise.
24618 * soft-fp/truncdfsf2.c: Likewise.
24619 * soft-fp/trunctfdf2.c: Likewise.
24620 * soft-fp/trunctfsf2.c: Likewise.
24621 * soft-fp/trunctfxf2.c: Likewise.
24622 * soft-fp/unorddf2.c: Likewise.
24623 * soft-fp/unordsf2.c: Likewise.
24624 * soft-fp/unordtf2.c: Likewise.
24626 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
24629 * misc/error.c (error_tail): Fix possible buffer overflow.
24631 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
24634 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
24637 2013-10-14 P. J. McDermott <pj@pehjota.net>
24640 * elf/ldd.bash.in (try_trace): New function. Delete previous code
24641 testing pipefail option.
24643 2013-10-12 Joseph Myers <joseph@codesourcery.com>
24645 * soft-fp/double.h: Indent preprocessor directives inside #if.
24646 * soft-fp/extended.h: Likewise.
24647 * soft-fp/op-2.h: Likewise.
24648 * soft-fp/op-4.h: Likewise.
24649 * soft-fp/op-common.h: Likewise.
24650 * soft-fp/quad.h: Likewise.
24651 * soft-fp/single.h: Likewise.
24652 * soft-fp/soft-fp.h: Likewise.
24654 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
24656 * iconv/iconv_prog.c: Fix typos.
24657 * stdio-common/psiginfo-data.h: Likewise.
24659 2013-10-12 Reuben Thomas <rrt@sc3d.org>
24662 * locale/setlocale.c: Fix typo.
24664 2013-10-12 Joseph Myers <joseph@codesourcery.com>
24667 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
24668 signaling NaN arguments.
24669 * soft-fp/unordsf2.c (__unordsf2): Likewise.
24670 * soft-fp/unordtf2.c (__unordtf2): Likewise.
24673 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
24674 unordered operands.
24675 * soft-fp/gesf2.c (__gesf2): Likewise.
24676 * soft-fp/getf2.c (__getf2): Likewise.
24677 * soft-fp/ledf2.c (__ledf2): Likewise.
24678 * soft-fp/lesf2.c (__lesf2): Likewise.
24679 * soft-fp/letf2.c (__letf2): Likewise.
24681 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
24682 * soft-fp/eqsf2.c (__eqsf2): Likewise.
24683 * soft-fp/eqtf2.c (__eqtf2): Likewise.
24684 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
24685 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
24686 * soft-fp/fixdfti.c (__fixdfti): Likewise.
24687 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
24688 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
24689 * soft-fp/fixsfti.c (__fixsfti): Likewise.
24690 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
24691 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
24692 * soft-fp/fixtfti.c (__fixtfti): Likewise.
24693 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
24694 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
24695 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
24696 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
24697 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
24698 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
24699 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
24700 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
24701 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
24702 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
24703 * soft-fp/floatdisf.c (__floatdisf): Likewise.
24704 * soft-fp/floatsisf.c (__floatsisf): Likewise.
24705 * soft-fp/floattidf.c (__floattidf): Likewise.
24706 * soft-fp/floattisf.c (__floattisf): Likewise.
24707 * soft-fp/floattitf.c (__floattitf): Likewise.
24708 * soft-fp/floatundidf.c (__floatundidf): Likewise.
24709 * soft-fp/floatundisf.c (__floatundisf): Likewise.
24710 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
24711 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
24712 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
24713 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
24714 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
24715 * soft-fp/gesf2.c (__gesf2): Likewise.
24716 * soft-fp/getf2.c (__getf2): Likewise.
24717 * soft-fp/ledf2.c (__ledf2): Likewise.
24718 * soft-fp/lesf2.c (__lesf2): Likewise.
24719 * soft-fp/letf2.c (__letf2): Likewise.
24721 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
24722 Undefine and redefine.
24723 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
24724 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
24725 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
24726 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
24727 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24728 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
24729 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24730 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
24731 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24732 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
24733 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24734 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
24735 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24736 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
24737 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24740 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
24741 without decrementing exponent if mantissa >= that for the
24742 denominator, not >.
24743 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
24744 denominator, not >. Decrement exponent in < case instead of
24745 incrementing in >= case.
24746 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
24747 without decrementing exponent if mantissa >= that for the
24748 denominator, not >.
24750 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
24751 computing saturated result for unsigned overflow.
24753 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24754 Jeff Law <law@redhat.com>
24756 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
24757 (atan2Mp): Add systemtap probe marker.
24758 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
24759 (__ieee754_log): Add systemtap probe marker.
24760 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
24761 (atanMp): Add systemtap probe marker.
24762 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
24763 (tanMp): Add systemtap probe marker.
24764 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
24765 (__slowexp): Add systemtap probe marker.
24766 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
24767 (__slowpow): Add systemtap probe marker.
24768 * manual/probes.texi: Document probes.
24770 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
24773 * libio/fileops.c (_IO_new_file_write): Return count of bytes
24775 (_IO_new_file_xsputn): Don't return EOF if nothing has been
24777 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
24778 written to buffer but not flushed.
24779 * libio/iofwrite_u.c: Likewise.
24780 * libio/iopadn.c: Return bytes returned even if EOF was
24782 * libio/iowpadn.c: Likewise.
24783 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
24784 if _IO_padn does not write the whole buffer.
24785 [!COMPILE_WPRINTF] (PAD): Likewise.
24787 2013-10-10 David S. Miller <davem@davemloft.net>
24789 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
24792 2013-10-10 Joseph Myers <joseph@codesourcery.com>
24794 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
24795 instead of FSF address.
24796 * soft-fp/fixdfti.c: Likewise.
24797 * soft-fp/fixsfti.c: Likewise.
24798 * soft-fp/fixtfti.c: Likewise.
24799 * soft-fp/fixunsdfti.c: Likewise.
24800 * soft-fp/fixunssfti.c: Likewise.
24801 * soft-fp/fixunstfti.c: Likewise.
24802 * soft-fp/floattidf.c: Likewise.
24803 * soft-fp/floattisf.c: Likewise.
24804 * soft-fp/floattitf.c: Likewise.
24805 * soft-fp/floatuntidf.c: Likewise.
24806 * soft-fp/floatuntisf.c: Likewise.
24807 * soft-fp/floatuntitf.c: Likewise.
24808 * soft-fp/trunctfxf2.c: Likewise.
24810 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
24811 * soft-fp/fixdfti.c: Likewise.
24812 * soft-fp/fixsfti.c: Likewise.
24813 * soft-fp/fixtfti.c: Likewise.
24814 * soft-fp/fixunsdfti.c: Likewise.
24815 * soft-fp/fixunssfti.c: Likewise.
24816 * soft-fp/fixunstfti.c: Likewise.
24817 * soft-fp/floattidf.c: Likewise.
24818 * soft-fp/floattisf.c: Likewise.
24819 * soft-fp/floattitf.c: Likewise.
24820 * soft-fp/floatuntidf.c: Likewise.
24821 * soft-fp/floatuntisf.c: Likewise.
24822 * soft-fp/floatuntitf.c: Likewise.
24823 * soft-fp/trunctfxf2.c: Likewise.
24825 2013-10-10 David S. Miller <davem@davemloft.net>
24827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24829 2013-10-10 Joseph Myers <joseph@codsourcery.com>
24831 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24832 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
24833 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
24834 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
24835 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
24836 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
24837 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
24839 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
24840 for NaNs before doing comparisons on argument.
24841 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24844 2013-10-10 Will Newton <will.newton@linaro.org>
24846 * malloc/hooks.c (memalign_check): Ensure the value of bytes
24847 passed to _int_memalign does not overflow.
24849 2013-10-10 Torvald Riegel <triegel@redhat.com>
24851 * scripts/bench.pl: Add include-sources directive.
24852 * benchtests/README: Update documentation.
24854 2013-10-10 Joseph Myers <joseph@codesourcery.com>
24856 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24857 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24858 instead of FP_INIT_ROUNDMODE.
24859 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24860 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24863 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
24864 copy class of input value.
24865 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
24866 not handle exceptions.
24867 * soft-fp/negsf2.c (__negsf2): Likewise.
24868 * soft-fp/negtf2.c (__negtf2): Likewise.
24869 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24871 2013-10-09 Joseph Myers <joseph@codesourcery.com>
24873 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24874 semicolon. From Linux kernel.
24876 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
24878 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24880 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
24883 * manual/socket.texi: Added statement about buffer
24884 for gethostbyname2_r.
24886 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
24888 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24889 Use .p2align directive instead, throughout.
24890 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24891 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24892 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24893 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24894 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24895 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24896 * sysdeps/x86_64/strchr.S: Likewise.
24897 * sysdeps/x86_64/strrchr.S: Likewise.
24899 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24901 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24903 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24905 * sysdeps/generic/math_private.h (__mpsin1): Remove
24907 (__mpcos1): Likewise.
24908 (__mpsin): New argument __range_reduce.
24909 (__mpcos): Likewise.
24910 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24911 (slow): Use __mpsin and __mpcos.
24915 (sloww1): Likewise.
24916 (sloww2): Likewise.
24917 (bsloww): Likewise.
24918 (bsloww1): Likewise.
24919 (bsloww2): Likewise.
24920 (cslow2): Likewise.
24921 (csloww): Likewise.
24922 (csloww1): Likewise.
24923 (csloww2): Likewise.
24924 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24925 range_reduce. Merge in __mpsin1.
24926 (__mpcos): Likewise.
24927 (__mpsin1): Remove.
24928 (__mpcos1): Likewise.
24930 2013-10-07 Joseph Myers <joseph@codesourcery.com>
24932 * locale/loadlocale.c (_nl_intern_locale_data): Use
24934 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24935 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24936 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24937 obstack data is appropriately aligned.
24938 (obstack_int32_grow_fast): Likewise.
24939 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24940 * locale/programs/locfile.c (add_locale_uint32): Likewise.
24941 (add_locale_uint32_array): Likewise.
24943 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24945 * benchtests/Makefile: Remove ARGLIST and RET variables.
24946 ($(objpfx)bench-%.c): Pass only function name to the script.
24947 * benchtests/README: Update documentation.
24948 * benchtests/acos-inputs: Add new directives.
24949 * benchtests/acosh-inputs: Likewise.
24950 * benchtests/asin-inputs: Likewise.
24951 * benchtests/asinh-inputs: Likewise.
24952 * benchtests/atan-inputs: Likewise.
24953 * benchtests/atanh-inputs: Likewise.
24954 * benchtests/cos-inputs: Likewise.
24955 * benchtests/cosh-inputs: Likewise.
24956 * benchtests/exp-inputs: Likewise.
24957 * benchtests/log-inputs: Likewise.
24958 * benchtests/pow-inputs: Likewise.
24959 * benchtests/rint-inputs: Likewise.
24960 * benchtests/sin-inputs: Likewise.
24961 * benchtests/sinh-inputs: Likewise.
24962 * benchtests/tan-inputs: Likewise.
24963 * benchtests/tanh-inputs: Likewise.
24964 * scripts/bench.pl: Add support for new directives.
24966 2013-10-07 Alan Modra <amodra@gmail.com>
24968 * README: Fix careless merge.
24970 2013-10-05 Alan Modra <amodra@gmail.com>
24972 * NEWS: Mention powerpc64le support and bugs fixed.
24973 * README: Both big-endian and little-endian powerpc64 supported.
24975 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24977 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24978 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
24979 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24980 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24982 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
24984 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24987 2013-10-04 Joseph Myers <joseph@codesourcery.com>
24989 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24990 Move -mhard-float appending from
24991 ports/sysdeps/powerpc/powerpc32/Makefile.
24992 [$(with-fp) = yes] (ASFLAGS): Likewise.
24993 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24994 * sysdeps/powerpc/nofpu: Move directory from
24995 ports/sysdeps/powerpc/nofpu.
24996 * sysdeps/powerpc/soft-fp: Move directory from
24997 ports/sysdeps/powerpc/soft-fp.
24998 * sysdeps/powerpc/powerpc32/405: Move directory from
24999 ports/sysdeps/powerpc/powerpc32/405.
25000 * sysdeps/powerpc/powerpc32/440: Move directory from
25001 ports/sysdeps/powerpc/powerpc32/440.
25002 * sysdeps/powerpc/powerpc32/464: Move directory from
25003 ports/sysdeps/powerpc/powerpc32/464.
25004 * sysdeps/powerpc/powerpc32/476: Move directory from
25005 ports/sysdeps/powerpc/powerpc32/476.
25006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
25007 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
25008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
25009 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
25010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
25011 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
25012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
25013 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
25014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
25015 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
25016 * README: Update for powerpc-*-linux-gnu software floating point
25019 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
25020 case to powerpc/powerpc32*.
25021 * sysdeps/unix/sysv/linux/configure: Regenerated.
25023 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
25024 (_FPU_MASK_OM): Define as 0x04.
25025 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
25026 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
25028 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
25030 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
25032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
25033 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
25035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
25036 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
25038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
25039 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
25040 and setcontext_e500.
25042 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
25044 * locale/iso-3166.def: Update iso-1366.def and related occurrences
25046 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25048 * manual/threads.texi (Default Thread Attributes): Fix typo.
25050 2013-10-04 Will Newton <will.newton@linaro.org>
25052 * malloc/Makefile: Add tst-memalign.
25053 * malloc/tst-memalign.c: New file.
25055 * malloc/tst-posix_memalign.c: Add comments.
25056 (do_test): Add comments and call free on all potentially
25057 allocated pointers. Add space after cast.
25059 * malloc/tst-pvalloc.c: Add comments.
25060 (do_test): Add comments and call free on all potentially
25061 allocated pointers. Remove duplicate check for NULL pointer.
25062 Add space after cast.
25064 * malloc/tst-valloc.c: Add comments.
25065 (do_test): Add comments and call free on all potentially
25066 allocated pointers. Remove duplicate check for NULL pointer.
25067 Add space after cast.
25069 2013-10-04 Alan Modra <amodra@gmail.com>
25071 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25072 Use stdint types in rather than __attribute__((mode())).
25073 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25075 2013-10-04 Alan Modra <amodra@gmail.com>
25077 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25078 Correct handling of unaligned relocs for little-endian.
25079 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25081 2013-10-04 Alan Modra <amodra@gmail.com>
25083 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
25084 * configure: Regenerate.
25085 * nptl/shlib-versions: Powerpc*le starts at 2.18.
25086 * shlib-versions: Likewise.
25088 2013-10-04 Alan Modra <amodra@gmail.com>
25090 * string/tester.c (test_memrchr): Increment reported test cycle.
25092 2013-10-04 Alan Modra <amodra@gmail.com>
25094 * string/test-memcpy.c (do_one_test): When reporting errors, print
25095 string address and don't overrun end of string.
25097 2013-10-04 Alan Modra <amodra@gmail.com>
25099 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
25100 insrdi. Make better use of reg selection to speed exit slightly.
25101 Schedule entry path a little better. Remove useless "are we done"
25102 checks on entry to main loop. Handle wrapping around zero address.
25103 Correct main loop count. Handle single left-over word from main
25104 loop inline rather than by using loop_small. Remove extra word
25105 case in loop_small caused by wrong loop count. Add little-endian
25107 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25108 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
25110 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25111 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
25112 support. Avoid rlwimi.
25113 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
25115 2013-10-04 Alan Modra <amodra@gmail.com>
25117 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
25118 insrdi. Formatting.
25119 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
25120 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25121 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
25122 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25123 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25124 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
25126 2013-10-04 Alan Modra <amodra@gmail.com>
25128 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
25129 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25130 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
25131 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
25132 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25133 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25134 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25135 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
25136 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
25137 use of regs. Use power7 mtocrf. Tidy function tails.
25139 2013-10-04 Alan Modra <amodra@gmail.com>
25141 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
25142 Formatting. Consistently use rXXX register defines or rN defines.
25143 Use early exit labels that avoid restoring unused non-volatile regs.
25144 Make cr field use more consistent with rWORDn compares. Rename
25145 regs used as shift registers for unaligned loop, using rN defines
25146 for short lifetime/multiple use regs.
25147 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25148 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
25149 addi 1,1,64 to pop stack frame. Simplify return value code.
25150 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25152 2013-10-04 Alan Modra <amodra@gmail.com>
25154 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
25155 support. Correct typos, formatting. Optimize tail. Use insrdi
25156 rather than rlwimi.
25157 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
25158 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
25159 little-endian support. Correct typos.
25160 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
25161 rather than rlwimi.
25162 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
25163 in loop and entry code to keep "and." results.
25164 (strchr): Add little-endian support. Comment. Move cntlzd
25166 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
25168 2013-10-04 Alan Modra <amodra@gmail.com>
25170 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
25171 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
25172 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
25173 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
25175 2013-10-04 Alan Modra <amodra@gmail.com>
25177 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
25178 (rTMP): Define as r11.
25179 (strcmp): Add little-endian support. Optimise tail.
25180 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
25181 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25182 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25183 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25184 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25185 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25186 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25188 2013-10-04 Alan Modra <amodra@gmail.com>
25190 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
25191 little-endian support. Remove unnecessary "are we done" tests.
25192 Handle "s" wrapping around zero and extremely large "size".
25193 Correct main loop count. Handle single left-over word from main
25194 loop inline rather than by using small_loop. Correct comments.
25195 Delete "zero" tail, use "end_max" instead.
25196 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
25198 2013-10-04 Alan Modra <amodra@gmail.com>
25200 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
25201 support. Don't branch over align.
25202 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
25203 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
25204 support. Rearrange tmp reg use to suit. Comment.
25205 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
25207 2013-10-04 Alan Modra <amodra@gmail.com>
25209 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
25211 2013-10-04 Alan Modra <amodra@gmail.com>
25213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
25214 conditional form of branch and link when obtaining pc.
25215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25217 2013-10-04 Alan Modra <amodra@gmail.com>
25219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
25221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
25222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
25224 2013-10-04 Alan Modra <amodra@gmail.com>
25226 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
25227 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
25228 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
25229 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
25230 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25231 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25232 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
25233 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25234 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
25235 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
25237 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
25238 Alistair Popple <alistair@ozlabs.au.ibm.com>
25239 Alan Modra <amodra@gmail.com>
25242 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
25243 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
25244 _dl_hwcap access for little-endian.
25245 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
25246 destroy vmx regs when saving unaligned.
25247 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
25248 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
25249 destroy vmx regs when saving unaligned.
25251 2013-10-04 Alan Modra <amodra@gmail.com>
25253 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
25254 Don't use a union to pack hi/low value.
25256 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
25258 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
25260 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25261 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
25262 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25263 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25264 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25266 2013-10-04 Alan Modra <amodra@gmail.com>
25268 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
25269 constants to usual value for .cst8 section, and remove redundant
25271 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
25272 constant for 0x1p52. Load little-endian words of double from
25273 correct stack offsets.
25275 2013-10-04 Alan Modra <amodra@gmail.com>
25277 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
25278 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
25279 words of double from correct stack offsets.
25280 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
25281 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
25282 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25283 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25284 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25285 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25286 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25287 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
25288 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
25289 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25290 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25291 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25292 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25293 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25294 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25295 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
25296 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
25298 2013-10-04 Alan Modra <amodra@gmail.com>
25300 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
25301 64-bit int/double union.
25302 (_FPU_SETCW): Likewise.
25303 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
25304 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
25306 2013-10-04 Alan Modra <amodra@gmail.com>
25308 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
25309 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
25311 2013-10-04 Alan Modra <amodra@gmail.com>
25313 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
25314 use vector int constants.
25315 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
25317 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
25319 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
25320 array with long long.
25321 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
25322 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
25323 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
25324 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
25325 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
25326 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
25327 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
25328 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
25329 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
25330 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
25331 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
25332 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
25333 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
25335 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
25337 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
25338 (__signbit): Likewise. Correct for little-endian.
25339 (__signbitl): Call __signbit.
25340 (lrint): Correct for little-endian.
25341 (lrintf): Call lrint.
25343 2013-10-04 Alan Modra <amodra@gmail.com>
25345 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
25346 union 32-bit int array member with 64-bit int array.
25347 (t515, tm256): Double rather than long double.
25348 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
25350 2013-10-04 Alan Modra <amodra@gmail.com>
25352 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
25354 (IEEE854_LONG_DOUBLE_BIAS): Delete.
25355 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
25356 version of math_ldbl.h.
25358 2013-10-04 Alan Modra <amodra@gmail.com>
25360 [BZ #15734], [BZ #15735]
25361 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
25362 all uses of ieee875 long double macros and unions. Simplify test
25363 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
25364 ldbl_extract_mantissa value for ix,iy exponents. Properly
25365 normalize after ldbl_extract_mantissa, and don't add hidden bit
25366 already handled. Don't treat low word of ieee854 mantissa like
25367 low word of IBM long double and mask off bit when testing for
25369 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
25370 all uses of ieee875 long double macros and unions. Simplify tests
25371 for 0.0L and inf. Correct double adjustment of k. Delete dead code
25372 adjusting ha,hb. Simplify code setting kld. Delete two600 and
25373 two1022, instead use their values. Recognise that tests for large
25374 "a" and small "b" are mutually exclusive. Rename vars. Comment.
25375 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
25376 Rewrite all uses of ieee875 long double macros and unions. Simplify
25377 test for 0.0L and nan. Correct negation.
25378 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
25379 ieee875 long double macros and unions. Correct output for large
25380 magnitude x. Correct absolute value calculation.
25381 (__erfcl): Likewise.
25382 * math/libm-test.inc: Add tests for errors discovered in IBM long
25383 double versions of fmodl, remainderl, erfl and erfcl.
25385 2013-10-04 Alan Modra <amodra@gmail.com>
25387 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
25388 all uses of ieee854 long double macros and unions. Simplify tests
25389 for long doubles that are fully specified by the high double.
25390 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25392 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
25393 Remove dead code too.
25394 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25395 (__ieee754_ynl): Likewise.
25396 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
25397 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
25398 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
25399 Remove dead code too.
25400 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
25401 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
25402 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
25403 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
25405 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
25407 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
25408 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
25409 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
25410 Comment on variable precision.
25411 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
25412 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25414 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25415 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25416 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25417 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
25418 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
25420 2013-10-04 Alan Modra <amodra@gmail.com>
25422 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
25423 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
25424 all uses of ieee854 long double macros and unions.
25425 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
25426 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25427 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
25428 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
25429 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
25430 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25432 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
25433 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25434 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
25435 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25436 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
25437 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
25438 Simplify sign and nan test too.
25439 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
25440 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
25441 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
25442 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
25444 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25445 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
25447 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25448 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
25449 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
25450 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
25451 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
25452 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
25454 2013-10-04 Alan Modra <amodra@gmail.com>
25456 * stdio-common/printf_size.c (__printf_size): Don't use
25457 union ieee854_long_double in fpnum union.
25458 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
25459 signbit macro to retrieve sign from long double.
25460 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
25461 retrieve sign from long double.
25462 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
25463 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
25464 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
25465 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25466 * math/test-misc.c (main): Don't use union ieee854_long_double.
25468 2013-10-04 Alan Modra <amodra@gmail.com>
25471 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
25472 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
25473 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
25474 calculation. Remove unnecessary test for denormal exponent.
25475 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
25476 Correct handling of denormals. Avoid undefined shift behaviour.
25477 Correct normalisation of low mantissa when low double is denormal.
25478 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
25479 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
25480 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
25481 Correct normalisation of low mantissa. Test for overflow of high
25482 mantissa and normalise.
25483 (ldbl_nearbyint): Use more readable constant for two52.
25484 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
25485 (__mpn_construct_long_double): Fix test for overflow of high
25486 mantissa and correct normalisation. Avoid undefined shift.
25488 2013-10-04 Alan Modra <amodra@gmail.com>
25490 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25491 (union ibm_extended_long_double): Define as an array of ieee754_double.
25492 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
25493 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
25494 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
25495 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25496 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25497 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
25498 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25499 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25500 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25501 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
25502 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25504 2013-10-03 Joseph Myers <joseph@codesourcery.com>
25506 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
25507 page size instead of calling getpagesize.
25509 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
25510 (LOCFILE_ALIGN_MASK): Likewise.
25511 (LOCFILE_ALIGN_UP): Likewise.
25512 (LOCFILE_ALIGNED_P): Likewise.
25513 * locale/programs/ld-collate.c (collate_output): Use the new
25514 macros instead of __alignof__ (int32_t).
25515 * locale/weight.h (findidx): Likewise.
25517 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
25520 * manual/string.texi: Fix strncat and wcsncat.
25522 2013-10-03 Brooks Moses <bmoses@google.com>
25525 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
25526 * Makerules: ...here, and adjust associated comments.
25528 2013-10-02 Will Newton <will.newton@linaro.org>
25530 * malloc/Makefile: Add tst-pvalloc.
25531 * malloc/tst-pvalloc.c: New file.
25533 2013-10-02 Will Newton <will.newton@linaro.org>
25535 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
25536 improve test coverage.
25538 2013-10-02 Will Newton <will.newton@linaro.org>
25540 * malloc/Makefile: Add tst-posix_memalign.
25541 * malloc/tst-posix_memalign.c: New file.
25543 2013-10-01 Eric Blake <eblake@redhat.com>
25545 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
25546 Use __THROWNL rather than __THROW on static functions.
25548 2013-09-30 Petr Machata <pmachata@redhat.com>
25550 * elf/elf.h (R_AARCH64_ABS16): New macro.
25551 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
25552 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
25553 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
25554 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
25555 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
25556 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
25557 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
25558 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
25559 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
25560 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
25561 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
25562 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
25563 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
25564 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
25565 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
25566 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
25567 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
25568 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
25569 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
25570 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
25571 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
25572 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
25573 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
25574 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
25575 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
25576 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
25577 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
25578 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
25579 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
25580 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
25581 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
25582 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
25583 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
25584 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
25585 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
25586 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
25587 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
25588 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
25589 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
25590 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
25591 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
25592 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
25593 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
25594 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
25595 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
25596 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
25597 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
25598 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
25599 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
25600 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
25601 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
25602 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
25603 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
25604 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
25605 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
25606 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
25607 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
25608 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
25609 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
25610 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
25611 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
25612 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
25613 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
25614 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
25615 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
25616 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
25617 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
25618 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
25619 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
25620 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
25621 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
25622 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
25623 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
25624 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
25625 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
25626 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
25627 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
25628 (R_AARCH64_TLSDESC_LDR): Likewise.
25629 (R_AARCH64_TLSDESC_ADD): Likewise.
25630 (R_AARCH64_TLSDESC_CALL): Likewise.
25632 2013-09-30 Andreas Schwab <schwab@suse.de>
25635 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
25636 the nss database lookup.
25637 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25638 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25640 2013-09-28 Mike Frysinger <vapier@gentoo.org>
25642 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
25644 2013-09-28 P. J. McDermott <pj@pehjota.net>
25646 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
25647 ${Bash-specific parameter/pattern/string} parameter expansion.
25648 * sysdeps/unix/make-syscalls.sh: Likewise.
25650 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25652 * sysdeps/sh/stackguard-macros.h: New file.
25654 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
25656 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25657 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
25658 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
25659 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
25660 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25661 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
25663 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25665 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
25666 Fix thread ID register.
25668 2013-09-25 Joseph Myers <joseph@codesourcery.com>
25670 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
25671 [POSIX || UNIX98]: Require rather than permitting all symbols from
25673 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
25674 element of struct sched_param.
25675 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
25676 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
25677 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
25678 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
25681 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
25683 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
25684 argument calculation.
25686 2013-09-24 Joseph Myers <joseph@codesourcery.com>
25688 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
25690 [POSIX] (pthread_attr_t): Do not require type.
25691 [POSIX] (pthread_cond_t): Likewise.
25692 [POSIX] (pthread_condattr_t): Likewise.
25693 [POSIX] (pthread_key_t): Likewise.
25694 [POSIX] (pthread_mutex_t): Likewise.
25695 [POSIX] (pthread_mutexattr_t): Likewise.
25696 [POSIX] (pthread_once_t): Likewise.
25697 [POSIX] (pthread_t): Likewise.
25698 [POSIX-based standards] (pthread_atfork): Expect function.
25700 2013-09-24 Joseph Myers <joseph@codesourcery.com>
25701 Richard Sandiford <richard@codesourcery.com>
25703 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
25704 (swap_endianness_p): New extern variable.
25705 (set_big_endian): New inline function.
25706 (maybe_swap_uint32): Likewise.
25707 (maybe_swap_uint32_array): Likewise.
25708 (maybe_swap_uint32_obstack): Likewise.
25709 * locale/programs/locfile.c: Include <stdbool.h>.
25710 (swap_endianness_p): New variable.
25711 (add_locale_uint32): Call maybe_swap_uint32.
25712 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
25713 (write_locale_data): Call maybe_swap_uint32_array.
25714 * locale/programs/ld-collate.c (obstack_int32_grow): Call
25716 (obstack_int32_grow_fast): Likewise.
25717 (output_weightwc): Call maybe_swap_uint32_obstack.
25718 (collate_output): Likewise.
25719 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
25720 (OPT_LITTLE_ENDIAN): Likewise.
25721 (options): Add --little-endian and --big-endian options.
25722 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
25723 * locale/programs/locarchive.c: Include "locfile.h".
25727 (create_archive): Use the new macros to access fields of
25728 structures directly mapped from or written to locale archives.
25729 (oldlocrecentcmp): Likewise.
25730 (enlarge_archive): Likewise.
25731 (insert_name): Likewise.
25732 (add_alias): Likewise.
25733 (add_locale): Likewise.
25734 (delete_locales_from_archive): Likewise.
25735 (show_archive_content): Likewise.
25736 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
25739 2013-09-24 Roland McGrath <roland@hack.frob.com>
25741 * manual/freemanuals.texi: Updated from (newly) canonical copy at
25742 http://www.gnu.org/doc/freemanuals.texi.
25743 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
25745 2013-09-24 Will Newton <will.newton@linaro.org>
25747 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
25750 2013-09-23 Joseph Myers <joseph@codesourcery.com>
25752 * locale/hashval.h (compute_hashval): Interpret bytes of key as
25755 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
25757 * manual/threads.texi (POSIX Threads): Fix a typo.
25759 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25762 * string/tst-strcoll-overflow.c: New test case.
25763 * string/Makefile (xtests): Add tst-strcoll-overflow.
25764 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
25765 cache if string sizes may cause integer overflow.
25768 * string/strcoll_l.c (coll_seq): New members rule, idx,
25769 save_idx and back_us.
25770 (get_next_seq_nocache): New function.
25771 (do_compare_nocache): New function.
25772 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
25775 2013-09-23 Carlos O'Donell <carlos@redhat.com>
25778 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
25779 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
25780 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
25783 * elf/Makefile (tests): Add tst-ptrguard1.
25784 (tests-static): Add tst-ptrguard1-static.
25785 (tst-ptrguard1-ARGS): Define.
25786 (tst-ptrguard1-static-ARGS): Define.
25787 * elf/tst-ptrguard1.c: New file.
25788 * elf/tst-ptrguard1-static.c: New file.
25789 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
25790 * sysdeps/i386/stackguard-macros.h: Likewise.
25791 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25792 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25793 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25794 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25795 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25796 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25798 2013-09-23 Hector Marco <hecmargi@upv.es>
25799 Ismael Ripoll <iripoll@disca.upv.es>
25800 Carlos O'Donell <carlos@redhat.com>
25803 * sysdeps/generic/stackguard-macros.h: Define
25804 __pointer_chk_guard_local and POINTER_CHK_GUARD.
25805 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
25806 Define __pointer_chk_guard_local.
25807 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
25808 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
25810 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
25813 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
25815 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
25817 * include/string.h (__ffs): Declare as hidden.
25818 * string/ffs.c (__ffs): Define as hidden.
25819 * sysdeps/i386/ffs.c (__ffs): Likewise.
25820 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25821 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
25822 * sysdeps/s390/ffs.c (__ffs): Likewise.
25823 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
25825 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
25827 * NEWS: Mention malloc probes.
25829 * malloc/arena.c (new_heap): New memory_heap_new probe.
25830 (grow_heap): New memory_heap_more probe.
25831 (shrink_heap): New memory_heap_less probe.
25832 (heap_trim): New memory_heap_free probe.
25833 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
25834 (systrim): New memory_sbrk_less probe.
25835 * manual/probes.texi: Document them.
25837 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
25838 * manual/probes.texi: Document it.
25840 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
25841 (__libc_realloc): Add memory_realloc_retry probe.
25842 (__libc_memalign): Add memory_memalign_retry probe.
25843 (__libc_valloc): Add memory_valloc_retry probe.
25844 (__libc_pvalloc): Add memory_pvalloc_retry probe.
25845 (__libc_calloc): Add memory_calloc_retry probe.
25846 * manual/probes.texi: Document them.
25848 * malloc/arena.c (get_free_list): Add probe
25849 memory_arena_reuse_free_list.
25850 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
25851 and memory_arena_reuse.
25852 (arena_get2) [!PER_THREAD]: Likewise.
25853 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
25854 memory_arena_reuse_realloc.
25855 * manual/probes.texi: Document them.
25857 * malloc/malloc.c (__libc_free): Add
25858 memory_mallopt_free_dyn_thresholds probe.
25859 (__libc_mallopt): Add multiple memory_mallopt probes.
25860 * manual/probes.texi: Document them.
25862 * malloc/malloc.c: Include stap-probe.h.
25863 (__libc_mallopt): Add memory_mallopt probe.
25864 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25865 * manual/probes.texi: New.
25866 * manual/Makefile (chapters): Add probes.
25867 * manual/threads.texi: Set next node.
25869 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
25871 [BZ #15963, #13985]
25872 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25873 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25874 Add `Chinese' to `nan' entry name.
25876 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25878 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25879 (POLYNOMIAL): Likewise.
25880 (TAYLOR_SINCOS): Likewise.
25881 (TAYLOR_SLOW): Likewise.
25882 (__sin): Use TAYLOR_SINCOS.
25884 (slow): Use TAYLOR_SLOW.
25886 (bsloww): Likewise.
25887 (csloww): Likewise.
25889 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25891 * stdlib/strtod_l.c: Fix buffer overrun.
25893 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25895 * benchtests/Makefile (bench): Add sincos.
25896 * benchtests/bench-sincos.c: New file.
25898 * math/libm-test.inc (cos_test_data): New test inputs.
25899 (sin_test_data): Likewise.
25901 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25907 (sloww1): Likewise.
25908 (sloww2): Likewise.
25909 (bsloww1): Likewise.
25910 (bsloww2): Likewise.
25911 (cslow2): Likewise.
25912 (csloww1): Likewise.
25913 (csloww2): Likewise.
25915 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25920 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25924 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
25926 * config.h.in (HAVE_MIPS_NAN2008): New macro.
25927 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25928 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25929 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25930 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25931 * elf/cache.c (print_entry): Handle the new cache flags.
25933 2013-09-18 Joseph Myers <joseph@codesourcery.com>
25934 Aldy Hernandez <aldyh@redhat.com>
25936 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25937 Change condition to [_SOFT_FLOAT].
25938 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25939 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25940 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25941 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25942 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25943 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25944 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25945 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25946 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25947 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25948 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25949 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25950 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25951 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25952 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25953 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25956 2013-09-18 Joseph Myers <joseph@codesourcery.com>
25958 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25959 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25960 (__longjmp): Use LOAD_GP to load saved GPRs.
25961 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25962 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25963 (__sigsetjmp): Use SAVE_GP to save GPRs.
25965 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25966 Do not append -msoft-float.
25967 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25969 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25971 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25973 2013-09-17 Joseph Myers <joseph@codesourcery.com>
25976 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25977 (_FPU_GETCW): Use initial "__" on variable and field names but not
25978 on macro parameter name.
25979 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
25980 parentheses around reference to macro parameter.
25982 2013-09-13 Richard Sandiford <richard@codesourcery.com>
25984 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25986 (ctype_startup): Use uint32_t in cast and sizeof for
25989 2013-09-11 Jia Liu <proljc@gmail.com>
25991 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25993 [__FreeBSD__]: Likewise.
25995 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
25997 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25998 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25999 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
26000 (strchr): Remove __strchr_sse42 ifunc selection.
26001 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
26002 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
26004 2013-09-11 Will Newton <will.newton@linaro.org>
26006 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
26007 parameter to RES. Remove hardcoded 1000 value.
26008 * benchtests/bench-skeleton.c (main): Pass RES parameter
26009 to TIMING_INIT and multiply result by 1000.
26011 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26015 2013-09-11 Andreas Schwab <schwab@suse.de>
26017 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
26019 (O_TMPFILE) [__USE_GNU]: Define.
26020 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
26023 2013-09-11 Will Newton <will.newton@linaro.org>
26026 * malloc/malloc.c (__libc_memalign): Check the value of bytes
26029 2013-09-11 Will Newton <will.newton@linaro.org>
26032 * malloc/malloc.c (__libc_valloc): Check the value of bytes
26035 2013-09-11 Will Newton <will.newton@linaro.org>
26038 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
26041 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
26043 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
26044 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26045 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26046 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26047 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26049 2013-09-10 Allan McRae <allan@archlinux.org>
26052 * manual/arith.texi (Parsing of Floats): Clarify
26056 * manual/install.texi (Running make install): Mention
26058 * INSTALL: Regenerated.
26060 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
26062 * csu/init-first.c (_init): Remove the !SHARED condition around
26063 FPU control word initialization.
26064 * elf/dl-support.c (_dl_fpu_control): New variable.
26065 (_dl_aux_init) <AT_FPUCW>: Initialize it.
26066 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
26067 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
26068 * math/test-fpucw-static.c: New file.
26069 * math/test-fpucw-ieee.c: New file.
26070 * math/test-fpucw-ieee-static.c: New file.
26071 * math/Makefile (tests): Add `test-fpucw-ieee' and
26073 (tests-static): New variable.
26074 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
26076 [($(build-shared),yes)]
26077 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
26079 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
26082 2013-09-09 Allan McRae <allan@archlinux.org>
26085 * manual/string.texi (Collation Functions): Fix typo in
26087 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
26090 * stdlib/isomac.c (get_null_defines): Fix memory leak.
26093 * libio/memstream.c (open_memstream): Fix memory leak.
26094 * libio/wmemstream.c (open_wmemstream): Likewise.
26097 * nscd/netgroupcache.c: Fix nesting of ifdefs.
26099 2013-09-09 Will Newton <will.newton@linaro.org>
26101 * malloc/Makefile: Add tst-realloc to tests.
26102 * malloc/tst-realloc.c: New file.
26104 2013-09-09 Allan McRae <allan@archlinux.org>
26107 * COPYING: Update from GNU website to fix FSF address.
26108 * COPYING.LIB: Likewise.
26110 2013-09-06 David S. Miller <davem@davemloft.net>
26112 * po/zh_TW.po: Update Chinese (traditional) translation from
26113 translation project.
26115 2013-09-06 Richard Sandiford <richard@codesourcery.com>
26116 Joseph Myers <joseph@codesourcery.com>
26118 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
26120 (obstack_chunk_alloc): New macro.
26121 (obstack_chunk_free): Likewise.
26122 (record_offset): New function.
26123 (init_locale_data): Likewise.
26124 (align_locale_data): Likewise.
26125 (add_locale_empty): Likewise.
26126 (add_locale_raw_data): Likewise.
26127 (add_locale_raw_obstack): Likewise.
26128 (add_locale_string): Likewise.
26129 (add_locale_wstring): Likewise.
26130 (add_locale_uint32): Likewise.
26131 (add_locale_uint32_array): Likewise.
26132 (add_locale_char): Likewise.
26133 (start_locale_structure): Likewise.
26134 (end_locale_structure): Likewise.
26135 (start_locale_prelude): Likewise.
26136 (end_locale_prelude): Likewise.
26137 (write_locale_data): Take locale_file structure rather than an
26139 * locale/programs/locfile.h: Include "obstack.h".
26140 (struct locale_file): Change to store locale file contents instead
26142 (init_locale_data): New prototype.
26143 (align_locale_data): Likewise.
26144 (add_locale_empty): Likewise.
26145 (add_locale_raw_data): Likewise.
26146 (add_locale_raw_obstack): Likewise.
26147 (add_locale_string): Likewise.
26148 (add_locale_wstring): Likewise.
26149 (add_locale_uint32): Likewise.
26150 (add_locale_uint32_array): Likewise.
26151 (add_locale_char): Likewise.
26152 (start_locale_structure): Likewise.
26153 (end_locale_structure): Likewise.
26154 (start_locale_prelude): Likewise.
26155 (end_locale_prelude): Likewise.
26156 (write_locale_data): Update prototype.
26157 * locale/programs/3level.h (struct TABLE): Remove result field.
26158 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
26159 Use new locale_file interface.
26160 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
26161 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
26162 * locale/programs/ld-address.c (address_output): Use new
26163 locale_file interface.
26164 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
26166 (collate_finish): Don't call collseq_table_finalize.
26167 (collate_output): Use new locale_file interface.
26168 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
26170 (NO_FINALIZE): Change to NO_ADD_LOCALE.
26171 (TABLE): Move defines earlier in file.
26172 (ELEMENT): Likewise.
26173 (DEFAULT): Likewise.
26174 (wctrans_table_add): Move macro and inline function earlier in
26176 (struct wctype_table): Move type earlier in file.
26177 (add_locale_wctype_table): New static prototype.
26178 (struct locale_ctype_t): Use logical types instead of struct iovec
26179 pointers for members.
26180 (ctype_output): Use new locale_file interface.
26181 (wctype_table_finalize): Change to add_locale_wctype_table. Use
26182 new locale_file interface.
26183 (allocate_arrays): Update for use of new locale_file interface.
26184 * locale/programs/ld-identification.c (identification_output): Use
26185 new locale_file interface.
26186 * locale/programs/ld-measurement.c (measurement_output): Likewise.
26187 * locale/programs/ld-messages.c (messages_output): Likewise.
26188 * locale/programs/ld-monetary.c (monetary_output): Likewise.
26189 * locale/programs/ld-name.c (name_output): Likewise.
26190 * locale/programs/ld-numeric.c (numeric_output): Likewise.
26191 * locale/programs/ld-paper.c (paper_output): Likewise.
26192 * locale/programs/ld-telephone.c (telephone_output): Likewise.
26193 * locale/programs/ld-time.c (time_output): Likewise.
26195 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26197 * benchtests/Makefile: Add memrchr benchmark.
26198 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
26199 benchmark as memrchr.
26200 * benchtests/bench-memrchr-ifunc.c: New file.
26201 * benchtests/bench-memrchr.c: New file.
26203 2013-09-06 Will Newton <will.newton@linaro.org>
26205 * benchtests/Makefile (string-bench): Add memcpy.
26207 2013-09-05 Carlos O'Donell <carlos@redhat.com>
26208 Cong Wang <amwang@redhat.com>
26211 * sysdeps/unix/sysv/linux/bits/in.h
26212 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
26213 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
26214 before __USE_KERNEL_IPV6_DEFS uses.
26215 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
26217 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
26218 sockaddr_in6, or ipv6_mreq.
26220 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26222 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
26223 memory access for final bytes in some large inputs.
26224 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
26226 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26228 * string/test-memrchr.c: New file.
26229 * string/test-memrchr-ifunc.c: New file.
26230 * string/Makefile: Add new memrchr testcase.
26232 2013-09-05 Mike Frysinger <vapier@gentoo.org>
26234 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
26235 fanotify_init returns EPERM.
26237 2013-09-04 Joseph Myers <joseph@codesourcery.com>
26239 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
26241 (top level): Treat second token from macro or constant entries for
26242 allowed headers as allowed.
26243 * include/complex.h: Condition internal declarations on
26245 * include/fenv.h: Condition include of <stdbool.h> and internal
26246 declarations on [!_ISOMAC].
26248 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
26251 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
26253 2013-09-04 Joseph Myers <joseph@codesourcery.com>
26255 * configure.in (--enable-versioning): Remove configure option.
26256 (libc_cv_asm_symver_directive): Remove configure test.
26257 (libc_cv_ld_version_script_option): Likewise.
26258 (VERSIONING): Remove variable and AC_SUBST.
26259 (DO_VERSIONING): Remove AC_DEFINE.
26260 * configure: Regenerated.
26261 * config.h.in (DO_VERSIONING): Remove macro.
26262 * Makerules [$(versioning) = yes]: Change conditionals to
26263 [$(build-shared) = yes].
26264 * config.make.in (versioning): Remove variable.
26265 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
26266 [$(build-shared) = yes].
26267 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
26268 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
26269 * elf/Makefile [$(versioning) = yes]: Change conditionals to
26270 [$(build-shared) = yes].
26271 * extra-lib.mk [$(versioning) = yes]: Likewise.
26272 * hurd/Makefile [$(versioning) = yes]: Likewise.
26273 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
26275 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
26277 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
26278 [SHARED && !NO_HIDDEN].
26279 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
26281 [SHARED && DO_VERSIONING]: Likewise..
26282 * libio/Makefile [$(versioning) = yes]: Change conditionals to
26283 [$(build-shared) = yes].
26284 * manual/install.texi (--disable-versioning): Remove
26286 * INSTALL: Regenerated.
26287 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
26289 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
26290 [$(build-shared) = yes].
26291 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
26292 * sysdeps/i386/i686/multiarch/strstr-c.c
26293 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
26294 [SHARED && !NO_HIDDEN].
26295 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
26296 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
26297 * sysdeps/powerpc/powerpc32/dl-machine.c
26298 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
26299 * sysdeps/powerpc/powerpc32/sysdep.h
26300 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
26301 to [SHARED && PIC && !NO_HIDDEN].
26302 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
26303 conditional to [SHARED].
26305 2013-09-04 Will Newton <will.newton@linaro.org>
26307 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
26308 * benchtests/bench-string.h: Include bench-timing.h instead
26309 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
26310 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
26311 call to HP_TIMING_DIFF_INIT.
26312 * benchtests/bench-memccpy.c: Use bench-timing.h macros
26313 instead of hp-timing.h macros.
26314 * benchtests/bench-memchr.c: Likewise.
26315 * benchtests/bench-memcmp.c: Likewise.
26316 * benchtests/bench-memcpy.c: Likewise.
26317 * benchtests/bench-memmem.c: Likewise.
26318 * benchtests/bench-memmove.c: Likewise.
26319 * benchtests/bench-memset.c: Likewise.
26320 * benchtests/bench-rawmemchr.c: Likewise.
26321 * benchtests/bench-strcasecmp.c: Likewise.
26322 * benchtests/bench-strcasestr.c: Likewise.
26323 * benchtests/bench-strcat.c: Likewise.
26324 * benchtests/bench-strchr.c: Likewise.
26325 * benchtests/bench-strcmp.c: Likewise.
26326 * benchtests/bench-strcpy.c: Likewise.
26327 * benchtests/bench-strcpy_chk.c: Likewise.
26328 * benchtests/bench-strlen.c: Likewise.
26329 * benchtests/bench-strncasecmp.c: Likewise.
26330 * benchtests/bench-strncat.c: Likewise.
26331 * benchtests/bench-strncmp.c: Likewise.
26332 * benchtests/bench-strncpy.c: Likewise.
26333 * benchtests/bench-strnlen.c: Likewise.
26334 * benchtests/bench-strpbrk.c: Likewise.
26335 * benchtests/bench-strrchr.c: Likewise.
26336 * benchtests/bench-strspn.c: Likewise.
26337 * benchtests/bench-strstr.c: Likewise.
26339 2013-09-04 Will Newton <will.newton@linaro.org>
26341 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
26343 2013-09-03 Joseph Myers <joseph@codesourcery.com>
26346 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
26347 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
26348 * math/libm-test.inc (lgamma_test_data): Add more tests.
26349 * sysdeps/i386/fpu/libm-test-ulps: Update.
26350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26352 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
26354 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
26355 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26357 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26358 Add strcmp-sse2-unaligned
26359 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
26361 2013-09-02 Mike Frysinger <vapier@gentoo.org>
26363 * Versions.def (libc): Add GLIBC_2.19.
26365 2013-09-02 Mike Frysinger <vapier@gentoo.org>
26367 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
26368 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
26370 2013-09-02 Joseph Myers <joseph@codesourcery.com>
26373 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
26374 intermediate calculations in recurrence.
26375 (__ieee754_ynf): Likewise.
26376 * math/libm-test.inc (jn_test_data): Do not allow spurious
26377 underflow exception. Add more tests.
26378 (yn_test_data): Add more tests.
26379 * sysdeps/i386/fpu/libm-test-ulps: Update.
26380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26382 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
26384 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
26386 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
26388 * csu/init-first.c: Fix then/than typos.
26389 * locale/programs/ld-collate.c: Likewise.
26390 * locale/programs/linereader.h: Likewise.
26391 * manual/charset.texi: Likewise.
26392 * manual/filesys.texi: Likewise.
26393 * manual/stdio.texi: Likewise.
26394 * manual/string.texi: Likewise.
26395 * stdlib/fmtmsg.c: Likewise.
26396 * sysdeps/i386/stpncpy.S: Likewise.
26397 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26398 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26399 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26400 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26402 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
26404 * elf/dl-open.c: Fix typos.
26405 * iconvdata/gbbig5.c: Likewise.
26406 * iconvdata/iso-2022-jp.c: Likewise.
26407 * iconv/gconv_int.h: Likewise.
26408 * iconv/loop.c: Likewise.
26409 * nis/rpcsvc/nis.h: Likewise.
26410 * resolv/ns_name.c: Likewise.
26411 * stdio-common/vfscanf.c: Likewise.
26412 * streams/stropts.h: Likewise.
26413 * sunrpc/rpc_thread.c: Likewise.
26414 * sysdeps/i386/strpbrk.S: Likewise.
26415 * sysdeps/ieee754/k_standard.c: Likewise.
26416 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26417 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26418 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
26419 * sysdeps/mach/hurd/profil.c: Likewise.
26420 * sysdeps/s390/dl-procinfo.h: Likewise.
26421 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
26422 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26423 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
26424 * sysdeps/x86_64/dl-trampoline.S: Likewise.
26425 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26427 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
26429 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
26430 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
26432 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
26434 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
26435 aix specific files.
26436 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
26437 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
26438 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
26439 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
26440 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
26441 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
26442 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
26443 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
26445 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
26446 Roland McGrath <roland@hack.frob.com>
26448 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
26449 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
26451 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
26453 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
26454 __executable_start symbol instead of _start.
26456 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
26458 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
26459 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
26461 * sysdeps/gnu/ldsodefs.h: ... this new file.
26463 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
26464 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
26465 instead of ELFOSABI_LINUX.
26467 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
26468 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
26469 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
26470 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
26472 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
26473 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
26474 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
26476 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26477 (ibm_extended_long_double): Add ieee_nan member.
26478 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
26479 (do_test): New function.
26481 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
26483 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
26484 functions, renamed from truncdfsf_test, trunctfsf_test,
26486 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
26488 (do_test): Run all these.
26490 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
26492 * argp/argp-help.c: Fix typos.
26493 * argp/argp-parse.c: Likewise.
26494 * debug/backtracesyms.c: Likewise.
26495 * elf/elf.h: Likewise.
26496 * malloc/malloc.c: Likewise.
26497 * nis/nis_print.c: Likewise.
26498 * resolv/res_comp.c: Likewise.
26499 * stdlib/stdlib.h: Likewise.
26500 * sunrpc/clnt_tcp.c: Likewise.
26501 * sunrpc/clnt_udp.c: Likewise.
26502 * sunrpc/clnt_unix.c: Likewise.
26503 * sysdeps/unix/bsd/ptsname.c: Likewise.
26504 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
26505 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
26506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
26508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
26510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
26512 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26514 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26516 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
26517 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26519 2013-08-27 Mike Frysinger <vapier@gentoo.org>
26522 * dlfcn/Makefile (tests): Add bug-dl-leaf.
26523 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
26524 ($(objpfx)bug-dl-leaf): New rule.
26525 ($(objpfx)bug-dl-leaf.so): Likewise.
26526 ($(objpfx)bug-dl-leaf.out): Likewise.
26527 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
26528 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
26529 * dlfcn/bug-dl-leaf.c: New test.
26530 * dlfcn/bug-dl-leaf-lib.c: Likewise.
26531 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
26532 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
26533 (dlclose): Likewise.
26534 (dlmopen): Likewise.
26536 2013-08-27 Roland McGrath <roland@hack.frob.com>
26538 * include/netdb.h [!_ISOMAC]:
26539 Don't include <tls.h>.
26540 (h_errno, __libc_h_errno): Move declaration and macros out of
26543 * include/resolv.h [_RESOLV_H_]:
26544 Don't include <tls.h>.
26545 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
26546 * resolv/res_libc.c: Don't include <tls.h>.
26547 (_res): Use __attribute__ ((nocommon)) in place of
26548 __attribute__ ((section (".bss"))).
26550 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
26551 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
26553 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
26555 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
26556 only under [SIOCGIFCONF && SIOCGIFNETMASK].
26558 * resolv/res_mkquery.c: Include <sys/time.h>.
26560 * inet/ifreq.c: Moved to ...
26561 * sysdeps/unix/ifreq.c: ... here.
26562 * inet/ifreq.c: New file, true stub version.
26564 * socket/sa_len.c: New file.
26565 * socket/Makefile (aux): Add it.
26566 * sysdeps/unix/sysv/linux/Makefile
26567 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
26568 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
26569 and #include <socket/sa_len.c>.
26570 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
26571 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
26573 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
26574 * bits/socket.h: ... here.
26576 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
26577 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
26578 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
26580 2013-08-27 Andreas Schwab <schwab@suse.de>
26583 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
26584 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
26585 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
26586 * string/test-strcasecmp.c (test_main): Run tests in several
26588 * string/test-strncasecmp.c (test_main): Likewise.
26590 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
26591 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
26592 to __strcasecmp_nonascii and __strncasecmp_nonascii.
26593 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
26594 (__strncasecmp_ssse3) [PIC]: Likewise.
26596 2013-08-26 Roland McGrath <roland@hack.frob.com>
26598 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
26600 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
26601 instead of explicitly declaring xdecrypt.
26602 * nis/nss_nis/nis-publickey.c: Likewise.
26604 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26607 * nscd/aicache.c: Include res_hconf.h.
26608 (addhstaiX): Initialize res_hconf.
26610 2013-08-26 Andreas Schwab <schwab@suse.de>
26612 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
26613 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
26615 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26617 * nscd/aicache.c (addhstaiX): Fix indentation.
26619 2013-08-25 Mike Frysinger <vapier@gentoo.org>
26621 * configure.ac: Quote $build_pt_chown test.
26622 * configure: Regenerated.
26624 2013-08-23 Joseph Myers <joseph@codesourcery.com>
26627 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
26628 * math/s_cexpf.c (__cexpf): Likewise.
26629 * math/s_cexpl.c (__cexpl): Likewise.
26630 * math/libm-test.inc (cexp_test_data): Correct expected return
26631 value for NaN + i0. Add another test.
26633 2013-08-22 David S. Miller <davem@davemloft.net>
26635 * po/ca.po: Update Catalan translation from translation project.
26636 * po/uk.po: Add Ukrainian translations from translation project.
26638 2013-08-21 Joseph Myers <joseph@codesourcery.com>
26641 * math/s_fdim.c (__fdim): Check for infinite arguments if result
26642 is infinite, not alongside NaN test.
26643 * math/s_fdimf.c (__fdimf): Likewise.
26644 * math/s_fdiml.c (__fdiml): Likewise.
26645 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
26646 errno is unchanged.
26648 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
26650 * argp/argp-help.c: Fix typos.
26651 * crypt/speeds.c: Likewise.
26652 * csu/check_fds.c: Likewise.
26653 * elf/dl-load.c: Likewise.
26654 * elf/dl-open.c: Likewise.
26655 * elf/reldep3.c: Likewise.
26656 * elf/reldep.c: Likewise.
26657 * elf/sprof.c: Likewise.
26658 * iconv/iconv_charmap.c: Likewise.
26659 * iconv/skeleton.c: Likewise.
26660 * iconv/strtab.c: Likewise.
26661 * io/lockf64.c: Likewise.
26662 * libio/libioP.h: Likewise.
26663 * resolv/gai_notify.c: Likewise.
26664 * resolv/ns_name.c: Likewise.
26665 * resolv/ns_samedomain.c: Likewise.
26666 * resolv/res_send.c: Likewise.
26667 * stdlib/random.c: Likewise.
26668 * sunrpc/rpc/xdr.h: Likewise.
26669 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
26670 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26671 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26672 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26673 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26674 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26675 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26676 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26677 * sysdeps/mach/hurd/check_fds.c: Likewise.
26678 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26679 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26680 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26681 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26682 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26683 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26684 * sysdeps/pthread/aio_notify.c: Likewise.
26685 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
26686 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
26687 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
26688 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26689 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26691 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26693 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
26694 version if bit_Slow_SSE4_2 is set.
26695 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26696 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26698 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26701 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
26702 trampoline stack frame information.
26703 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
26704 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
26705 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
26706 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
26707 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
26708 * sysdeps/unix/sysv/linux/powerpc/init-first.c
26709 (_libc_vdso_platform_setup): Initialize the signal trampolines.
26710 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
26712 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
26713 interrupting a syscall and set with option SA_SIGINFO.
26715 2013-08-20 Joseph Myers <joseph@codesourcery.com>
26718 * math/s_cproj.c (__cproj): Only return an infinity if one part of
26719 argument is infinite.
26720 * math/s_cprojf.c (__cprojf): Likewise.
26721 * math/s_cprojl.c (__cprojl): Likewise.
26722 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
26723 * math/libm-test.inc (cproj_test_data): Add more tests.
26725 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
26727 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
26728 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
26729 size. Use __ffs to determine corresponding shift.
26731 2013-08-20 Joseph Myers <joseph@codesourcery.com>
26732 Roland McGrath <roland@hack.frob.com>
26734 * Makefile (INSTALL): Remove trailing blank lines from output of
26737 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26739 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
26740 Align 32 bit compat elf_greg to 8 bytes.
26742 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
26744 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
26746 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26748 * string/strcoll_l.c (coll_seq): New structure.
26749 (get_next_seq_cached): New function.
26750 (get_next_seq): New function.
26751 (do_compare): New function.
26752 (STRCOLL): Use GNU style definition. Simplify implementation
26753 by using get_next_seq, get_next_seq_cached and do_compare.
26755 2013-08-16 Florian Weimer <fweimer@redhat.com>
26759 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
26761 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
26763 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
26764 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
26765 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
26767 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
26768 GETDENTS_64BIT_ALIGNED.
26769 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26770 * manual/filesys.texi (Reading/Closing Directory): Document
26771 ENAMETOOLONG return value of readdir_r. Recommend readdir more
26773 * manual/conf.texi (Limits for Files): Add portability note to
26774 NAME_MAX, PATH_MAX.
26775 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
26777 2013-08-13 Andreas Schwab <schwab@suse.de>
26780 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
26782 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
26783 LDBL_MAX_EXP >= 16384]: Add tests for it.
26785 2013-08-12 David S. Miller <davem@davemloft.net>
26787 * version.h (RELEASE): Set to "development".
26788 (VERSION): Set to "2.18.90".
26789 * NEWS: Add 2.19 section.
26791 2013-08-03 David S. Miller <davem@davemloft.net>
26793 * po/ko.po: Update Korean translation from translation project.
26795 2013-08-01 David S. Miller <davem@davemloft.net>
26797 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
26798 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
26801 2013-07-30 David S. Miller <davem@davemloft.net>
26803 * po/fr.po: Update French translation from translation project.
26805 2013-07-28 David S. Miller <davem@davemloft.net>
26807 * po/cs.po: Update Czech translation from translation project.
26809 * po/sv.po: Update Swedish translation from translation project.
26811 2013-07-27 David S. Miller <davem@davemloft.net>
26813 * po/eo.po: Update Esperanto translation from translation project.
26815 * po/vi.po: Update Vietnamese translation from translation project.
26817 * po/de.po: Update German translation from translation project.
26819 2013-07-26 David S. Miller <davem@davemloft.net>
26821 * po/bg.po: Update Bulgarian translation from translation project.
26823 * po/nl.po: Update Dutch translation from translation project.
26824 * po/pl.po: Update Polish translation from translation project.
26825 * po/ru.po: Update Russian translation from translation project.
26827 2013-07-24 David S. Miller <davem@davemloft.net>
26829 * po/libc.pot: Update.
26831 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26833 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
26834 variable page size.
26835 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
26836 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
26837 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
26839 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26841 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
26843 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26844 Andreas Schwab <schwab@suse.de>
26845 Roland McGrath <roland@hack.frob.com>
26846 Joseph Myers <joseph@codesourcery.com>
26847 Carlos O'Donell <carlos@redhat.com>
26850 * config.h.in: Define HAVE_PT_CHOWN.
26851 * config.make.in (build-pt-chown): New variable.
26852 * configure.in (--enable-pt_chown): New configure option.
26853 * configure: Regenerate.
26854 * login/Makefile: Include Makeconfig. Build pt_chown only if
26855 build-pt-chown is enabled.
26856 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26857 pt_chown to fix pty ownership.
26858 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26860 * manual/install.texi (Configuring and compiling): Mention
26861 --enable-pt_chown. Add @findex for grantpt.
26862 * INSTALL: Regenerate.
26864 2013-07-20 David S. Miller <davem@davemloft.net>
26866 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26867 difference between 32-bit and 64-bit.
26869 2013-07-15 Carlos O'Donell <carlos@redhat.com>
26872 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26873 Avoid system header dependency with -ffreestanding.
26874 ($(objpfx)bits/syscall%d): Likewise.
26876 2013-07-13 David S. Miller <davem@davemloft.net>
26878 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26879 underflows from atanl/atan2l due to bug 15319.
26880 (casinh_test_data): Likewise.
26882 2013-07-07 David S. Miller <davem@davemloft.net>
26884 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26886 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
26888 * sysdeps/i386/fpu/libm-test-ulps: Update.
26889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26891 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26893 * configure.in (--enable-lock-elision): Fix message text.
26894 * INSTALL: Regenerate.
26895 * configure: Regenerate.
26897 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26901 2013-07-03 Andreas Jaeger <aj@suse.de>
26903 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26905 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26906 (ptrace_peeksiginfo_args): Add.
26907 (__ptrace_peeksiginfo_flags): Add.
26908 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26909 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26910 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26912 2013-07-03 Allan McRae <allan@archlinux.org>
26914 * sysdeps/i386/fpu/libm-test-ulps: Update.
26916 2013-07-02 David S. Miller <davem@davemloft.net>
26918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26920 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
26922 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26924 2013-07-02 Joseph Myers <joseph@codesourcery.com>
26926 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26929 2013-07-02 Andi Kleen <ak@linux.intel.com>
26931 * config.h.in (ENABLE_LOCK_ELISION): Add.
26932 * configure.in (--enable-lock-elision): Add option.
26933 * manual/install.texi: Document --enable lock elision.
26934 * configure: Regenerate
26935 * INSTALL: Regenerate.
26937 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
26939 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26940 SSE4.2 strcasecmp for libc.a.
26941 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26943 2013-07-02 Joseph Myers <joseph@codesourcery.com>
26946 * soft-fp/op-common.h (_FP_FMA): New macro.
26947 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26948 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
26949 (_FP_MUL_MEAT_1_imm): ... here.
26950 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
26951 (_FP_MUL_MEAT_1_wide): ... here.
26952 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
26953 (_FP_MUL_MEAT_1_hard): ... here.
26954 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26955 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
26956 (_FP_MUL_MEAT_2_wide): ... here.
26957 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
26958 (_FP_MUL_MEAT_2_wide_3mul): ... here.
26959 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
26960 (_FP_MUL_MEAT_2_gmp): ... here.
26961 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26962 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
26963 (_FP_MUL_MEAT_4_wide): ... here.
26964 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
26965 (_FP_MUL_MEAT_4_gmp): ... here.
26966 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26967 (_FP_WFRACBITS_DW_S): Likewise.
26968 (_FP_WFRACXBITS_DW_S): Likewise.
26969 (_FP_HIGHBIT_DW_S): Likewise.
26970 (FP_FMA_S): Likewise.
26971 (_FP_FRAC_HIGH_DW_S): Likewise.
26972 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26973 (_FP_WFRACBITS_DW_D): Likewise.
26974 (_FP_WFRACXBITS_DW_D): Likewise.
26975 (_FP_HIGHBIT_DW_D): Likewise.
26976 (FP_FMA_D): Likewise.
26977 (_FP_FRAC_HIGH_DW_D): Likewise.
26978 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26979 (_FP_WFRACBITS_DW_E): Likewise.
26980 (_FP_WFRACXBITS_DW_E): Likewise.
26981 (_FP_HIGHBIT_DW_E): Likewise.
26982 (FP_FMA_E): Likewise.
26983 (_FP_FRAC_HIGH_DW_E): Likewise.
26984 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26985 (_FP_WFRACBITS_DW_Q): Likewise.
26986 (_FP_WFRACXBITS_DW_Q): Likewise.
26987 (_FP_HIGHBIT_DW_Q): Likewise.
26988 (FP_FMA_Q): Likewise.
26989 (_FP_FRAC_HIGH_DW_Q): Likewise.
26990 * soft-fp/fmasf4.c: New file.
26991 * soft-fp/fmadf4.c: Likewise.
26992 * soft-fp/fmatf4.c: Likewise.
26994 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26997 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26999 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
27001 (index_Slow_SSE4_2): Likewise.
27002 (index_Prefer_PMINUB_for_stringop): Likewise.
27003 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
27004 bit_Slow_SSE4_2 is set.
27005 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27006 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27008 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27010 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
27011 rtld_global._dl_hwcap2.
27012 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
27014 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
27015 POWER8 feature descriptions defined in _dl_hwcap2.
27016 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
27017 string handling for POWER8 feature bits.
27018 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
27019 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
27020 _dl_powerpc_cap_flags.
27021 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
27022 * sysdeps/powerpc/rtld-global-offsets.sym
27023 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
27024 _dl_hwcap2 in the rtld_global_ro structure.
27026 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27028 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
27029 hardware capabilities in support of AT_HWCAP2.
27030 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
27031 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
27033 (_dl_show_auxv): Add support for calling _dl_procinfo to display
27034 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
27035 explicitly the unknown a_type display mechanism is used.
27036 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
27037 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
27039 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
27040 to macro prototype for AT_HWCAP2 support.
27041 * sysdeps/i386/dl-procinfo.h: Likewise.
27042 * sysdeps/s390/dl-procinfo.h: Likewise.
27043 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
27044 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
27045 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
27046 return -1 for unknown a_type display fallback.
27047 * sysdeps/sparc/dl-procinfo.h: Likewise.
27048 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
27049 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
27051 2013-06-28 Joseph Myers <joseph@codesourcery.com>
27053 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
27054 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
27056 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
27059 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
27060 mprotect making __stack_prot writable.
27062 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
27063 Joseph Myers <joseph@codesourcery.com>
27065 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
27066 as being properly aligned.
27068 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
27070 * dlfcn/modstatic5.c: New file.
27071 * dlfcn/tststatic5.c: New file.
27072 * dlfcn/Makefile (tests): Add tststatic5.
27073 (tests-static): Likewise.
27074 (modules-names): Add modstatic5.
27075 (tststatic5-ENV): New variable.
27076 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
27079 * elf/dl-support.c (_dl_main_map): New variable.
27080 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
27081 (_dl_nns, _dl_load_adds): Set to 1.
27082 (_dl_initial_searchlist): Refer to _dl_main_map.
27083 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
27084 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
27085 call to _dl_get_origin.
27086 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
27088 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
27089 * dlfcn/modstatic3.c: New file.
27090 * dlfcn/tststatic3.c: New file.
27091 * dlfcn/tststatic4.c: New file.
27092 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
27093 (tests-static): Likewise.
27094 (modules-names): Add modstatic3.
27095 (tststatic3-ENV, tststatic4-ENV): New variables.
27096 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
27097 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
27099 2013-06-26 Joseph Myers <joseph@codesourcery.com>
27101 * configure.in (CC): Require GCC version 4.4 or later.
27102 * configure: Regenerated.
27103 * manual/install.texi (Tools for Compilation): Update GCC version
27105 * INSTALL: Regenerated.
27107 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27110 * string/test-memcmp.c (check2): New.
27111 (main): Call check2.
27113 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
27115 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
27118 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
27120 (dl_open_worker) [!SHARED]: ... here.
27122 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27124 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
27126 2013-06-25 Richard Henderson <rth@redhat.com>
27128 * locale/programs/locarchive.c: Include <libc-internal.h>
27130 2013-06-25 Joseph Myers <joseph@codesourcery.com>
27132 * manual/texinfo.tex: Update to version 2013-06-21.17, with
27133 trailing whitespace removed.
27135 2013-06-24 Mike Frysinger <vapier@gentoo.org>
27138 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
27139 * locale/programs/locarchive.c: Include libc-mmap.h.
27140 (prepare_address_space): Take two new outputs (the mmap base and len).
27141 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
27143 (create_archive): Declare new mmap base and len values for
27144 prepare_address_space, and store the result in ah.
27145 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
27146 (enlarge_archive): If ah->mmap_base is not NULL, use that and
27147 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
27148 Declare new mmap base and len values for
27149 prepare_address_space, and store the result in new_ah.
27150 (open_archive): Declare new mmap base and len values for
27151 prepare_address_space, and store the result in ah.
27152 (close_archive): If ah->mmap_base is not NULL, use that and
27153 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
27154 * sysdeps/generic/libc-mmap.h: New file.
27156 2013-06-24 Mike Frysinger <vapier@gentoo.org>
27158 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
27159 (ALIGN_UP): Likewise.
27160 (PTR_ALIGN_DOWN): Likewise.
27161 (PTR_ALIGN_UP): Likewise.
27163 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27165 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
27166 entry mapped to PPC_PLATFORM_POWER8.
27167 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
27169 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
27170 (_dl_string_platform): Add case for exporting platform position for
27172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
27173 search path to sysdeps/powerpc/powerpc32/power8 directory.
27174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
27175 search path to sysdeps/powerpc/powerpc64/power8 directory.
27176 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
27177 power7 directories.
27178 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
27179 power7 directories.
27181 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27183 * INSTALL: Regenerate.
27185 * nscd/connections.c (nscd_init): Fix comment.
27187 2013-06-22 Joseph Myers <joseph@codesourcery.com>
27189 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
27192 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
27193 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
27195 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
27197 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
27199 (DL_DST_REQ_STATIC): Remove macro.
27201 2013-06-21 Joseph Myers <joseph@codesourcery.com>
27204 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
27205 with a shift of 0 bits.
27207 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
27209 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
27212 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27215 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
27217 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27219 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
27220 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
27221 accepts -fno-tree-loop-distribute-patterns.
27222 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
27223 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
27225 * string/memset.c (memset): Likewise.
27226 * string/test-memmove.c (simple_memmove): Disable loop transformation
27228 * string/test-memset.c (simple_memset): Likewise.
27229 * benchtests/bench-memmove.c (simple_memmove): Likewise.
27230 * benchtests/bench-memset.c (simple_memset): Likewise.
27231 * configure: Regenerated.
27233 2013-06-20 Joseph Myers <joseph@codesourcery.com>
27235 * math/test-misc.c (main): Ignore fesetround failure when failures
27236 of subsequent rounding tests would be ignored.
27239 * math/fedisblxcpt.c (fedisableexcept): Return 0.
27240 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
27241 * math/fegetenv.c (__fegetenv): Return 0.
27242 * math/fegetexcept.c (fegetexcept): Return 0.
27243 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
27245 * math/feholdexcpt.c (feholdexcept): Return 0.
27246 * math/fesetenv.c (__fesetenv): Return 0.
27247 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
27248 argument FE_TONEAREST.
27249 * math/feupdateenv.c (__feupdateenv): Return 0.
27250 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
27252 2013-06-18 Roland McGrath <roland@hack.frob.com>
27254 * elf/rtld-Rules (rtld-compile-command.S): New variable.
27255 (rtld-compile-command.s, rtld-compile-command.c): New variables.
27256 ($(objpfx)rtld-%.os rules): Use them.
27258 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27260 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
27263 2013-06-17 Roland McGrath <roland@hack.frob.com>
27265 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
27266 length of target pattern, then descending length of dependency pattern.
27267 * configure.in (AWK): Require gawk 3.1.2 or newer.
27268 * manual/install.texi (Tools for Compilation): Say that we do.
27269 * configure: Regenerated.
27271 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
27272 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
27273 * scripts/sysd-rules.awk: ... this new script.
27274 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
27275 than a glob-style pattern.
27277 2013-06-17 Joseph Myers <joseph@codesourcery.com>
27279 * math/test-misc.c (main): Do not treat incorrectly rounded
27280 conversions as failure unless ROUNDING_TESTS passes.
27282 2013-06-15 Joseph Myers <joseph@codesourcery.com>
27285 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
27286 restore exception state around main square root computation, then
27287 check for inexactness explicitly.
27289 * math/libm-test.inc (fma_test_data): Add another test.
27291 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27293 * manual/threads.texi (Non-POSIX Extensions): New document
27294 node. Document pthread_getattr_default_np and
27295 pthread_setattr_default_np.
27297 * Versions.def (libpthread): Add GLIBC_2.18.
27298 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
27299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27307 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
27309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27318 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27320 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27321 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
27323 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27324 H.J. Lu <hjl.tools@gmail.com>
27327 * sysdeps/x86_64/rtld-memset.c: Remove file.
27328 * sysdeps/x86_64/rtld-memset.S: New file.
27330 2013-06-14 Joseph Myers <joseph@codesourcery.com>
27332 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
27333 (test_in_one_mode): Take arguments for whether the rounding mode
27334 is supported for each floating-point type.
27335 (do_test): Pass new arguments to test_in_one_mode using
27338 2013-06-13 Roland McGrath <roland@hack.frob.com>
27340 * posix/tst-waitid.c (do_test): Distinguish different instances of
27341 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
27342 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
27343 before entering the kernel for waitpid.
27345 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27347 * NEWS: Fix note on clock function precision. Text by Roland
27350 2013-06-13 Roland McGrath <roland@hack.frob.com>
27352 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
27353 it into place only when and if the sanity check passes.
27355 2013-06-13 Joseph Myers <joseph@codesourcery.com>
27357 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
27358 output for whether conversion result is exact. Take argument
27359 indicating whether type is IBM long double.
27360 (round_for_all): Change need_exact field to ibm_ld.
27361 * stdlib/tst-strtod-round.c (struct exactness): New type.
27362 (struct test): Change bool ld_ok field to struct exactness exact.
27363 (TEST): Update all definitions for change to field.
27364 (tests): Regenerate array contents.
27365 (test_in_one_mode): Take pointer to new field instead of old ld_ok
27366 field value. Check for IBM long double here.
27367 (do_test): Update calls to test_in_one_mode.
27369 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27372 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
27373 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
27375 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27378 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
27379 generated by the compiler on loop optimizations.
27380 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
27381 general definitions.
27383 2013-06-12 Joseph Myers <joseph@codesourcery.com>
27385 * math/bug-nextafter.c: Include <math-tests.h>.
27386 (main): Only test for exceptions if EXCEPTION_TESTS is true for
27388 * math/bug-nexttoward.c: Include <math-tests.h>.
27389 (main): Only test for exceptions if EXCEPTION_TESTS is true for
27391 * math/test-misc.c: Include <math-tests.h>.
27392 (main): Only test for exceptions if EXCEPTION_TESTS is true for
27395 2013-06-12 Andreas Jaeger <aj@suse.de>
27397 * po/ia.po: Update Interlingua translation from translation
27400 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27402 * include/fenv.h: Include stdbool.h.
27403 (struct rm_ctx): New structure.
27404 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
27406 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
27407 (SET_RESTORE_ROUNDF): Likewise.
27408 (SET_RESTORE_ROUNDL): Likewise.
27409 (SET_RESTORE_ROUND_NOEX): Likewise.
27410 (SET_RESTORE_ROUND_NOEXF): Likewise.
27411 (SET_RESTORE_ROUND_NOEXL): Likewise.
27412 (SET_RESTORE_ROUND_53BIT): Likewise.
27413 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
27414 (libc_feresetround_noexf_ctx): Likewise.
27415 (libc_feresetround_noexl_ctx): Likewise.
27416 (libc_feholdsetround_53bit_ctx): Likewise.
27417 (libc_feresetround_53bit_ctx): Likewise.
27418 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
27419 (libc_feholdexcept_setround_sse_ctx): New function.
27420 (libc_fesetenv_sse_ctx): Likewise.
27421 (libc_feupdateenv_sse_ctx): Likewise.
27422 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
27423 (libc_feholdexcept_setround_387_ctx): Likewise.
27424 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
27425 (libc_feholdsetround_387_prec_ctx): Likewise.
27426 (libc_feholdsetround_387_ctx): Likewise.
27427 (libc_feholdsetround_387_53bit_ctx): Likewise.
27428 (libc_feholdsetround_sse_ctx): Likewise.
27429 (libc_feresetround_sse_ctx): Likewise.
27430 (libc_feresetround_387_ctx): Likewise.
27431 (libc_feupdateenv_387_ctx): Likewise.
27432 (libc_feholdexcept_setroundf_ctx): Define macro.
27433 (libc_fesetenvf_ctx): Likewise.
27434 (libc_feupdateenvf_ctx): Likewise.
27435 (libc_feholdsetroundf_ctx): Likewise.
27436 (libc_feresetroundf_ctx): Likewise.
27437 (libc_feholdexcept_setround_ctx): Likewise.
27438 (libc_fesetenv_ctx): Likewise.
27439 (libc_feupdateenv_ctx): Likewise.
27440 (libc_feholdsetround_ctx): Likewise.
27441 (libc_feresetround_ctx): Likewise.
27442 (libc_feholdexcept_setroundl_ctx): Likewise.
27443 (libc_feupdateenvl_ctx): Likewise.
27444 (libc_feholdsetroundl_ctx): Likewise.
27445 (libc_feresetroundl_ctx): Likewise.
27446 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
27447 (libc_feresetround_53bit_ctx): Likewise.
27449 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27451 * locale/iso-639.def: Convert to UTF-8.
27453 2013-06-11 Joseph Myers <joseph@codesourcery.com>
27455 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
27456 (EXCEPTION_TESTS_double): Likewise.
27457 (EXCEPTION_TESTS_long_double): Likewise.
27458 (EXCEPTION_TESTS): Likewise.
27459 * math/libm-test.inc (test_exceptions): Only test exceptions if
27460 EXCEPTION_TESTS (FLOAT).
27462 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27464 * benchtests/Makefile (string-bench): Add strcpy_chk and
27466 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
27467 * benchtests/bench-stpcpy_chk.c: New file.
27468 * benchtests/bench-strcpy_chk-ifunc.c: New file.
27469 * benchtests/bench-strcpy_chk.c: New file.
27470 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
27472 (do_test): Likewise.
27474 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27476 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
27477 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
27478 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
27479 with tabs where appropriate.
27480 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
27482 [PPC_PLATFORM_PPC440]: Likewise.
27483 [PPC_PLATFORM_PPC464]: Likewise.
27484 [PPC_PLATFORM_PPC476]: Likewise.
27485 (_dl_string_platform): Add support for detecting ppc405, ppc440,
27486 ppc464, and ppc476 platform strings merging from ports/
27489 2013-06-11 Andreas Schwab <schwab@suse.de>
27492 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
27493 (from_ucs4_idx): Regenerate.
27494 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
27495 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
27496 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
27497 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
27498 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
27499 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
27500 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
27501 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
27502 from FROM_LOOP and TO_LOOP specific macros.
27503 (BODY): Handle combining characters.
27504 * iconvdata/BIG5HKSCS.irreversible: Update.
27505 * iconvdata/BIG5HKSCS.precomposed: New file.
27506 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
27508 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
27510 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27512 * include/sys/time.h: Fix indentation and add copyright header.
27514 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
27515 (do_test): Likewise.
27516 * string/test-memchr.c (do_one_test): Likewise.
27517 (do_test): Likewise.
27518 * string/test-memcmp.c (do_one_test): Likewise.
27519 (do_test): Likewise.
27520 * string/test-memcpy.c (do_one_test): Likewise.
27521 (do_test): Likewise.
27522 * string/test-memmem.c (do_one_test): Likewise.
27523 (do_test): Likewise.
27524 (do_random_tests): Likewise.
27525 * string/test-memmove.c (do_one_test): Likewise.
27526 (do_test): Likewise.
27527 * string/test-memset.c (do_one_test): Likewise.
27528 (do_test): Likewise.
27529 * string/test-rawmemchr.c (do_one_test): Likewise.
27530 (do_test): Likewise.
27531 * string/test-strcasecmp.c (do_one_test): Likewise.
27532 (do_test): Likewise.
27533 * string/test-strcasestr.c (do_one_test): Likewise.
27534 (do_test): Likewise.
27535 * string/test-strcat.c (do_one_test): Likewise.
27536 (do_test): Likewise.
27537 * string/test-strchr.c (do_one_test): Likewise.
27538 (do_test): Likewise.
27539 * string/test-strcmp.c (do_one_test): Likewise.
27540 (do_test): Likewise.
27541 * string/test-strcpy.c (do_one_test): Likewise.
27542 (do_test): Likewise.
27543 * string/test-string.h: Likewise.
27544 (test_init): Likewise.
27545 * string/test-strlen.c (do_one_test): Likewise.
27546 (do_test): Likewise.
27547 * string/test-strncasecmp.c (do_one_test): Likewise.
27548 (do_test): Likewise.
27549 * string/test-strncat.c (do_one_test): Likewise.
27550 (do_test): Likewise.
27551 * string/test-strncmp.c (do_one_test): Likewise.
27552 (do_test_limit): Likewise.
27553 (do_test): Likewise.
27554 * string/test-strncpy.c (do_one_test): Likewise.
27555 (do_test): Likewise.
27556 * string/test-strnlen.c (do_one_test): Likewise.
27557 (do_test): Likewise.
27558 * string/test-strpbrk.c (do_one_test): Likewise.
27559 (do_test): Likewise.
27560 * string/test-strrchr.c (do_one_test): Likewise.
27561 (do_test): Likewise.
27562 * string/test-strspn.c (do_one_test): Likewise.
27563 (do_test): Likewise.
27564 * string/test-strstr.c (do_one_test): Likewise.
27565 (do_test): Likewise.
27567 * benchtests/Makefile (string-bench): Add string benchmarks.
27568 * benchtests/bench-bcopy-ifunc.c: New file.
27569 * benchtests/bench-bcopy.c: New file.
27570 * benchtests/bench-bzero-ifunc.c: New file.
27571 * benchtests/bench-bzero.c: New file.
27572 * benchtests/bench-memccpy-ifunc.c: New file.
27573 * benchtests/bench-memccpy.c: New file.
27574 * benchtests/bench-memchr-ifunc.c: New file.
27575 * benchtests/bench-memchr.c: New file.
27576 * benchtests/bench-memcmp-ifunc.c: New file.
27577 * benchtests/bench-memcmp.c: New file.
27578 * benchtests/bench-memmem-ifunc.c: New file.
27579 * benchtests/bench-memmem.c: New file.
27580 * benchtests/bench-memmove-ifunc.c: New file.
27581 * benchtests/bench-memmove.c: New file.
27582 * benchtests/bench-mempcpy-ifunc.c: New file.
27583 * benchtests/bench-mempcpy.c: New file.
27584 * benchtests/bench-memset-ifunc.c: New file.
27585 * benchtests/bench-memset.c: New file.
27586 * benchtests/bench-rawmemchr-ifunc.c: New file.
27587 * benchtests/bench-rawmemchr.c: New file.
27588 * benchtests/bench-stpcpy-ifunc.c: New file.
27589 * benchtests/bench-stpcpy.c: New file.
27590 * benchtests/bench-stpncpy-ifunc.c: New file.
27591 * benchtests/bench-stpncpy.c: New file.
27592 * benchtests/bench-strcasecmp-ifunc.c: New file.
27593 * benchtests/bench-strcasecmp.c: New file.
27594 * benchtests/bench-strcasestr-ifunc.c: New file.
27595 * benchtests/bench-strcasestr.c: New file.
27596 * benchtests/bench-strcat-ifunc.c: New file.
27597 * benchtests/bench-strcat.c: New file.
27598 * benchtests/bench-strchr-ifunc.c: New file.
27599 * benchtests/bench-strchr.c: New file.
27600 * benchtests/bench-strchrnul-ifunc.c: New file.
27601 * benchtests/bench-strchrnul.c: New file.
27602 * benchtests/bench-strcmp-ifunc.c: New file.
27603 * benchtests/bench-strcmp.c: New file.
27604 * benchtests/bench-strcpy-ifunc.c: New file.
27605 * benchtests/bench-strcpy.c: New file.
27606 * benchtests/bench-strcspn-ifunc.c: New file.
27607 * benchtests/bench-strcspn.c: New file.
27608 * benchtests/bench-strlen-ifunc.c: New file.
27609 * benchtests/bench-strlen.c: New file.
27610 * benchtests/bench-strncasecmp-ifunc.c: New file.
27611 * benchtests/bench-strncasecmp.c: New file.
27612 * benchtests/bench-strncat-ifunc.c: New file.
27613 * benchtests/bench-strncat.c: New file.
27614 * benchtests/bench-strncmp-ifunc.c: New file.
27615 * benchtests/bench-strncmp.c: New file.
27616 * benchtests/bench-strncpy-ifunc.c: New file.
27617 * benchtests/bench-strncpy.c: New file.
27618 * benchtests/bench-strnlen-ifunc.c: New file.
27619 * benchtests/bench-strnlen.c: New file.
27620 * benchtests/bench-strpbrk-ifunc.c: New file.
27621 * benchtests/bench-strpbrk.c: New file.
27622 * benchtests/bench-strrchr-ifunc.c: New file.
27623 * benchtests/bench-strrchr.c: New file.
27624 * benchtests/bench-strspn-ifunc.c: New file.
27625 * benchtests/bench-strspn.c: New file.
27626 * benchtests/bench-strstr-ifunc.c: New file.
27627 * benchtests/bench-strstr.c: New file.
27629 * benchtests/Makefile: Disable parallel execution of targets.
27630 (string-bench): Add memcpy.
27631 (benchset): New variable to store a list of benchmark sets.
27632 (bench-func): Renamed from bench.
27633 (bench-set): New target.
27634 (bench): Depend on bench-func and bench-set.
27635 * benchtests/README: Add section on benchmark sets.
27636 * benchtests/bench-memcpy-ifunc.c: New file.
27637 * benchtests/bench-memcpy.c: New file.
27638 * benchtests/bench-string.h: New file.
27640 2013-06-11 Andreas Schwab <schwab@suse.de>
27643 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
27644 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
27645 values in the triple.
27646 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
27647 terminator in the group key.
27649 2013-06-11 Andreas Jaeger <aj@suse.de>
27651 * po/zh_TW.po: Update Chinese (traditional) translation from
27652 translation project.
27654 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27656 * include/time.h (__clock_gettime): Add libc_hidden_proto.
27657 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
27658 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
27659 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27660 (clock_getcpuclockid): Likewise.
27661 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
27662 Add weak_alias and libc_hidden_def.
27663 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
27664 * rt/clock_gettime.c (clock_gettime): Rename to
27665 __clock_gettime. Add weak_alias and libc_hidden_def.
27666 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
27667 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
27668 __clock_nanosleep. Add weak_alias and libc_hidden_def.
27669 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
27670 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
27672 * rt/clock_settime.c (clock_settime): Rename to
27673 __clock_settime. Add weak_alias and libc_hidden_def.
27674 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
27676 2013-06-10 Joseph Myers <joseph@codesourcery.com>
27678 * mach/err_boot.sub: Remove trailing whitespace.
27679 * mach/err_ipc.sub: Likewise.
27680 * mach/err_mach.sub: Likewise.
27682 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
27683 (ROUNDING_TESTS_double): Likewise.
27684 (ROUNDING_TESTS_long_double): Likewise.
27685 (ROUNDING_TESTS): Likewise.
27686 * math/libm-test.inc: Include <math-tests.h>.
27687 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
27688 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27689 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27690 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27692 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27694 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
27697 2013-06-08 Joseph Myers <joseph@codesourcery.com>
27699 * sysdeps/gnu/errlist.awk: Do not generate space at end of
27700 otherwise empty TRANS lines.
27701 * sysdeps/gnu/errlist.c: Regenerated.
27703 * catgets/gencat.c (error_print): Use (void) in function
27705 * crypt/crypt_util.c (__init_des): Likewise.
27706 * crypt/speeds.c (Stop): Likewise.
27708 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
27709 * inet/ruserpass.c (token): Likewise.
27710 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
27711 * intl/localealias.c (extend_alias_table): Likewise.
27712 * intl/plural-exp.c (init_germanic_plural): Likewise.
27713 * libio/fcloseall.c (__fcloseall): Likewise.
27714 * libio/genops.c (_IO_flush_all): Likewise.
27715 (_IO_flush_all_linebuffered): Likewise.
27716 (_IO_cleanup): Likewise.
27717 (_IO_iter_begin): Likewise.
27718 (_IO_iter_end): Likewise.
27719 (_IO_list_lock): Likewise.
27720 (_IO_list_unlock): Likewise.
27721 (_IO_list_resetlock): Likewise.
27722 * libio/getchar.c (getchar): Likewise.
27723 * libio/getchar_u.c (getchar_unlocked): Likewise.
27724 * libio/getwchar.c (getwchar): Likewise.
27725 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
27726 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
27727 * login/getpt.c (__getpt): Likewise.
27728 * login/tst-utmp.c (main): Likewise.
27729 * malloc/hooks.c (__malloc_check_init): Likewise.
27730 * malloc/malloc.c (__malloc_stats): Likewise.
27731 * malloc/mtrace.c (tr_break): Likewise.
27732 (mtrace): Likewise.
27733 (muntrace): Likewise.
27734 * misc/fstab.c (endfsent): Likewise.
27735 * misc/getclktck.c (__getclktck): Likewise.
27736 * misc/getdtsz.c (__getdtablesize): Likewise.
27737 * misc/gethostid.c (gethostid): Likewise.
27738 * misc/getpagesize.c (__getpagesize): Likewise.
27739 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
27740 (__get_nprocs): Likewise.
27741 (__get_phys_pages): Likewise.
27742 (__get_avphys_pages): Likewise.
27743 * misc/getttyent.c (getttyent): Likewise.
27744 (setttyent): Likewise.
27745 (endttyent): Likewise.
27746 * misc/getusershell.c (getusershell): Likewise.
27747 (endusershell): Likewise.
27748 (setusershell): Likewise.
27749 (initshells): Likewise.
27750 * misc/hsearch.c (__hdestroy): Likewise.
27751 * misc/sync.c (sync): Likewise.
27752 * misc/syslog.c (closelog_internal): Likewise.
27753 (closelog): Likewise.
27754 * misc/ttyslot.c (ttyslot): Likewise.
27755 * misc/vhangup.c (vhangup): Likewise.
27756 * posix/fork.c (__fork): Likewise.
27757 * posix/getegid.c (__getegid): Likewise.
27758 * posix/geteuid.c (__geteuid): Likewise.
27759 * posix/getgid.c (__getgid): Likewise.
27760 * posix/getpid.c (__getpid): Likewise.
27761 * posix/getppid.c (__getppid): Likewise.
27762 * posix/getuid.c (__getuid): Likewise.
27763 * posix/pause.c (pause): Likewise.
27764 * posix/setpgrp.c (setpgrp): Likewise.
27765 * posix/setsid.c (__setsid): Likewise.
27766 * posix/test-vfork.c (noop): Likewise.
27767 * resolv/gethnamaddr.c (_endhtent): Likewise.
27768 (_gethtent): Likewise.
27769 (ht_endhostent): Likewise.
27770 (gethostent): Likewise.
27771 (dns_service): Likewise.
27772 * stdlib/drand48.c (drand48): Likewise.
27773 * stdlib/lrand48.c (lrand48): Likewise.
27774 * stdlib/mrand48.c (mrand48): Likewise.
27775 * stdlib/rand.c (rand): Likewise.
27776 * stdlib/random.c (__random): Likewise.
27777 * stdlib/setenv.c (clearenv): Likewise.
27778 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
27779 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
27780 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
27781 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
27782 (__get_nprocs): Likewise.
27783 (__get_phys_pages): Likewise.
27784 (__get_avphys_pages): Likewise.
27785 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
27786 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
27787 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
27788 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
27789 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
27790 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
27791 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
27792 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
27793 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
27794 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
27795 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
27796 * sysdeps/mach/hurd/sync.c (sync): Likewise.
27797 * sysdeps/posix/clock.c (clock): Likewise.
27798 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
27799 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
27800 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
27801 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
27802 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
27803 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27804 (__get_nprocs_conf): Likewise.
27805 (__get_phys_pages): Likewise.
27806 (__get_avphys_pages): Likewise.
27807 * time/clock.c (clock): Likewise.
27808 * time/tzset.c (__tzname_max): Likewise.
27810 2013-06-07 Joseph Myers <joseph@codesourcery.com>
27812 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
27813 (__bswap_32): Do not use "register".
27814 * crypt/crypt.c (_ufc_doit_r): Likewise.
27815 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27816 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27817 * gmon/gmon.c (__monstartup): Likewise.
27818 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
27819 * hurd/hurdmalloc.c (more_memory): Likewise.
27820 (malloc): Likewise.
27822 (realloc): Likewise.
27823 (malloc_fork_prepare): Likewise.
27824 (malloc_fork_parent): Likewise.
27825 (malloc_fork_child): Likewise.
27826 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
27827 (_svcauth_des): Likewise.
27828 * inet/inet_lnaof.c (inet_lnaof): Likewise.
27829 * inet/inet_net.c (inet_network): Likewise.
27830 * inet/inet_netof.c (inet_netof): Likewise.
27831 * inet/rcmd.c (__validuser2_sa): Likewise.
27832 * io/fts.c (fts_open): Likewise.
27833 (fts_load): Likewise.
27834 (fts_close): Likewise.
27835 (fts_read): Likewise.
27836 (fts_children): Likewise.
27837 (fts_build): Likewise.
27838 (fts_stat): Likewise.
27839 (fts_sort): Likewise.
27840 (fts_alloc): Likewise.
27841 (fts_lfree): Likewise.
27842 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
27843 (_IO_file_xsgetn): Likewise.
27844 (_IO_file_xsgetn_mmap): Likewise.
27845 * libio/iofopncook.c (_IO_cookie_read): Likewise.
27846 (_IO_cookie_write): Likewise.
27847 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
27848 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
27849 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
27850 * malloc/obstack.c (_obstack_begin): Likewise.
27851 (_obstack_begin_1): Likewise.
27852 (_obstack_newchunk): Likewise.
27853 (_obstack_allocated_p): Likewise.
27854 (obstack_free): Likewise.
27855 (_obstack_memory_used): Likewise.
27856 * misc/getttyent.c (getttynam): Likewise.
27857 (getttyent): Likewise.
27860 * misc/getusershell.c (initshells): Likewise.
27861 * misc/syslog.c (__vsyslog_chk): Likewise.
27862 * misc/ttyslot.c (ttyslot): Likewise.
27863 * nis/nis_hash.c (__nis_hash): Likewise.
27864 * posix/fnmatch_loop.c (FCT): Likewise.
27865 * posix/getconf.c (print_all): Likewise.
27867 * posix/getopt.c (exchange): Likewise.
27868 * posix/glob.c (globfree): Likewise.
27869 (prefix_array): Likewise.
27870 (__glob_pattern_type): Likewise.
27871 * resolv/arpa/nameser.h (NS_GET16): Likewise.
27872 (NS_GET32): Likewise.
27873 (NS_PUT16): Likewise.
27874 (NS_PUT32): Likewise.
27875 * resolv/gethnamaddr.c (getanswer): Likewise.
27876 (gethostbyname2): Likewise.
27877 (gethostbyaddr): Likewise.
27878 (_gethtent): Likewise.
27879 (_gethtbyname2): Likewise.
27880 (_gethtbyaddr): Likewise.
27881 * resolv/ns_print.c (dst_s_get_int16): Likewise.
27882 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27883 * resolv/res_init.c (__res_vinit): Likewise.
27884 (net_mask): Likewise.
27885 * resolv/res_mkquery.c (outchar): Likewise.
27887 * stdio-common/printf_fp.c (outchar): Likewise.
27889 * stdio-common/printf_fphex.c (outchar): Likewise.
27891 * stdio-common/printf_size.c (outchar): Likewise.
27893 * stdio-common/test_rdwr.c (main): Likewise.
27894 * stdio-common/tfformat.c (matches): Likewise.
27895 * stdio-common/vfprintf.c (outchar): Likewise.
27896 (printf_unknown): Likewise.
27897 (buffered_vfprintf): Likewise.
27898 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27899 * stdio-common/xbug.c (AppendToBuffer): Likewise.
27900 (ReadFile): Likewise.
27901 * stdlib/qsort.c (SWAP): Likewise.
27902 (_quicksort): Likewise.
27903 * stdlib/setenv.c (__add_to_environ): Likewise.
27904 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27905 * stdlib/strtol_l.c (__strtol_l): Likewise.
27906 * stdlib/tst-strtod.c (main): Likewise.
27907 * stdlib/tst-strtol.c (main): Likewise.
27908 * stdlib/tst-strtoll.c (main): Likewise.
27909 * string/bits/string2.h (__strcmp_cc): Likewise.
27910 (__strcmp_cg): Likewise.
27911 (__strcspn_c1): Likewise.
27912 (__strcspn_c2): Likewise.
27913 (__strcspn_c3): Likewise.
27914 (__strspn_c1): Likewise.
27915 (__strspn_c2): Likewise.
27916 (__strspn_c3): Likewise.
27917 (__strsep_1c): Likewise.
27918 (__strsep_2c): Likewise.
27919 (__strsep_3c): Likewise.
27920 * string/memccpy.c (__memccpy): Likewise.
27921 * string/stpcpy.c (__stpcpy): Likewise.
27922 * string/strcmp.c (strcmp): Likewise.
27923 * string/strrchr.c (strrchr): Likewise.
27924 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27926 * sysdeps/mach/hurd/getcwd.c
27927 (_hurd_canonicalize_directory_name_internal): Likewise.
27928 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27929 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27930 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27931 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27932 Likewise, in both definitions.
27933 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27935 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27936 64] (__bswap_64): Likewise.
27937 * time/test_time.c (main): Likewise.
27938 * time/tzfile.c (__tzfile_read): Likewise.
27939 (__tzfile_compute): Likewise.
27940 * time/tzset.c (__tzset_parse_tz): Likewise.
27941 (tzset_internal): Likewise.
27942 (compute_change): Likewise.
27943 * wcsmbs/wcscat.c (__wcscat): Likewise.
27944 * wcsmbs/wcschr.c (wcschr): Likewise.
27945 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27946 * wcsmbs/wcscspn.c (wcscspn): Likewise.
27947 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27948 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27949 * wcsmbs/wcsspn.c (wcsspn): Likewise.
27950 * wcsmbs/wcsstr.c (wcsstr): Likewise.
27951 * wcsmbs/wmemchr.c (wmemchr): Likewise.
27952 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27953 * wcsmbs/wmemset.c (wmemset): Likewise.
27955 2013-06-06 Joseph Myers <joseph@codesourcery.com>
27957 * scripts/config.guess: Update to version 2013-05-16.
27958 * scripts/config.sub: Update to version 2013-04-24.
27959 * scripts/install-sh: Update to version 2011-11-20.07.
27960 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27961 * scripts/move-if-change: Update to version 2012-01-06 07:23.
27963 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
27965 * debug/fgetws_u_chk.c: Fix leading whitespaces.
27966 * elf/sln.c: Likewise.
27967 * hurd/hurd/ioctl.h: Likewise.
27968 * hurd/hurdmalloc.c: Likewise.
27969 * hurd/xattr.c: Likewise.
27970 * include/shlib-compat.h: Likewise.
27971 * inet/ruserpass.c: Likewise.
27972 * libio/iofgets_u.c: Likewise.
27973 * libio/iofgetws_u.c: Likewise.
27974 * locale/programs/ld-identification.c: Likewise.
27975 * locale/programs/ld-time.c: Likewise.
27976 * mach/msg-destroy.c: Likewise.
27977 * nss/nss_files/files-netgrp.c: Likewise.
27978 * resolv/res_data.c: Likewise.
27979 * soft-fp/op-1.h: Likewise.
27980 * soft-fp/op-2.h: Likewise.
27981 * soft-fp/op-4.h: Likewise.
27982 * soft-fp/op-common.h: Likewise.
27983 * stdio-common/printf_fphex.c: Likewise.
27984 * stdlib/strtod_l.c: Likewise.
27985 * sunrpc/rpc/clnt.h: Likewise.
27986 * sysdeps/generic/framestate.c: Likewise.
27987 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27988 * sysdeps/i386/bsd-setjmp.S: Likewise.
27989 * sysdeps/i386/__longjmp.S: Likewise.
27990 * sysdeps/i386/setjmp.S: Likewise.
27991 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27992 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27993 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27994 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27995 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27996 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27997 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27998 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27999 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28000 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28001 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28002 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28003 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28004 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28005 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28006 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28007 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28008 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
28009 * sysdeps/ieee754/support.c: Likewise.
28010 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28011 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
28012 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
28013 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
28014 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
28015 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
28016 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
28017 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
28018 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
28019 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
28020 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
28021 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
28022 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
28023 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
28024 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
28025 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
28026 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
28029 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
28031 * posix/transbug.c: Remove executable mode.
28033 2013-06-05 Joseph Myers <joseph@codesourcery.com>
28035 * crypt/speeds.c: Remove trailing whitespace.
28036 * dlfcn/default.c: Likewise.
28037 * elf/ifuncdep2.c: Likewise.
28038 * elf/ifuncmain1.c: Likewise.
28039 * elf/ifuncmain1vis.c: Likewise.
28040 * elf/testobj.h: Likewise.
28041 * elf/tst-stackguard1.c: Likewise.
28042 * gmon/sys/gmon.h: Likewise.
28043 * hurd/hurdmsg.c: Likewise.
28044 * hurd/new-fd.c: Likewise.
28045 * hurd/ports-get.c: Likewise.
28046 * iconvdata/ibm1008_420.c: Likewise.
28047 * inet/tst-getni1.c: Likewise.
28048 * inet/tst-getni2.c: Likewise.
28049 * libio/ioungetc.c: Likewise.
28050 * libio/wfiledoalloc.c: Likewise.
28051 * manual/libm-err-tab.pl: Likewise.
28052 * math/w_dremf.c: Likewise.
28053 * misc/ftruncate.c: Likewise.
28054 * posix/bug-glob2.c: Likewise.
28055 * posix/tst-pcre.c: Likewise.
28056 * posix/wait4.c: Likewise.
28057 * resolv/README: Likewise.
28058 * resolv/res_debug.h: Likewise.
28059 * resolv/tst-inet_ntop.c: Likewise.
28060 * setjmp/bug269-setjmp.c: Likewise.
28061 * soft-fp/extended.h: Likewise.
28062 * soft-fp/op-1.h: Likewise.
28063 * soft-fp/op-2.h: Likewise.
28064 * soft-fp/op-4.h: Likewise.
28065 * soft-fp/op-8.h: Likewise.
28066 * soft-fp/testit.c: Likewise.
28067 * stdio-common/bug16.c: Likewise.
28068 * stdlib/random.c: Likewise.
28069 * sunrpc/rpcsvc/rquota.x: Likewise.
28070 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
28071 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28072 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28073 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28074 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28075 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28076 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28077 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28078 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28079 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28080 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28081 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28082 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28083 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28084 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28085 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28086 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28087 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28088 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28089 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28090 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28091 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28092 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
28093 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28094 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28095 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28096 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28097 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28098 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28099 * sysdeps/ieee754/s_lib_version.c: Likewise.
28100 * sysdeps/mach/hurd/check_fds.c: Likewise.
28101 * sysdeps/mach/hurd/getsockname.c: Likewise.
28102 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
28103 * sysdeps/mach/hurd/recvfrom.c: Likewise.
28104 * sysdeps/powerpc/bits/link.h: Likewise.
28105 * sysdeps/powerpc/dl-procinfo.c: Likewise.
28106 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
28107 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
28108 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
28109 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28110 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28111 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
28112 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28113 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
28114 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28115 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
28116 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28117 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
28118 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28119 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28120 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28121 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28122 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28123 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28124 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28125 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28126 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
28127 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28128 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28129 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
28130 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28131 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28132 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28133 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28134 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28135 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28136 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28137 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28138 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28139 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
28140 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28141 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
28142 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28143 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
28144 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
28145 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
28146 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
28147 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
28148 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
28149 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28150 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
28151 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
28152 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28153 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
28154 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
28155 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28156 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28157 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28158 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28159 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
28160 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
28161 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28162 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28163 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
28164 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28165 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
28166 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
28167 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
28168 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28169 * sysdeps/powerpc/sysdep.h: Likewise.
28170 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28171 * sysdeps/s390/s390-64/sub_n.S: Likewise.
28172 * sysdeps/sh/dl-trampoline.S: Likewise.
28173 * sysdeps/sh/memset.S: Likewise.
28174 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
28175 * sysdeps/sh/strlen.S: Likewise.
28176 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
28177 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
28178 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
28179 * sysdeps/sparc/sparc32/rem.S: Likewise.
28180 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
28181 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
28182 * sysdeps/sparc/sparc32/strchr.S: Likewise.
28183 * sysdeps/sparc/sparc32/udiv.S: Likewise.
28184 * sysdeps/sparc/sparc32/urem.S: Likewise.
28185 * sysdeps/sparc/sparc64/add_n.S: Likewise.
28186 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28187 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
28188 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
28189 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
28190 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
28191 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
28192 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
28193 * sysdeps/unix/bsd/times.c: Likewise.
28194 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
28195 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
28196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
28197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
28198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
28199 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
28200 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28201 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
28202 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
28203 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
28204 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
28205 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28206 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
28207 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28208 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28209 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
28210 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28211 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
28212 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
28213 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
28214 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
28215 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
28216 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28217 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
28218 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
28219 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
28220 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
28221 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28222 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
28223 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
28224 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
28225 * sysdeps/x86_64/strcspn.S: Likewise.
28227 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28229 * locale/C-translit.h: Revert #include <stdint.h> because this is a
28230 generated file. Regenerate properly from gen-translit.pl.
28231 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
28232 locale/C-translit.h.
28234 2013-06-05 Andreas Schwab <schwab@suse.de>
28237 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
28238 week as 6 instead of -1.
28239 * time/tst-strptime.c (day_tests): Add test case.
28241 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28243 * sysdeps/generic/math_private.h
28244 (libc_feholdexcept_setround_53bit): Replace with
28245 libc_feholdsetround_53bit.
28246 (libc_feupdateenv_53bit): Replace with
28247 libc_feresetround_53bit.
28248 (SET_RESTORE_ROUND_53BIT): Adjust.
28250 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
28252 * string/test-strchrnul.c: Add copyright header.
28254 * posix/tst-getaddrinfo4.c: Increase test timeout.
28256 2013-06-03 Carlos O'Donell <carlos@redhat.com>
28259 * math/libm-test.inc (MAX_EXP): Remove
28261 (ulp): Use MIN_EXP - MANT_DIG.
28262 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
28264 2013-05-31 Carlos O'Donell <carlos@redhat.com>
28266 * po/be.po: Revert last change.
28267 * po/zh_CN.po: Likewise.
28268 * po/header.pot: Likewise.
28270 2013-05-31 Joseph Myers <joseph@codesourcery.com>
28272 * Makefile ($(common-objpfx)linkobj/libc.so): Define
28273 link-libc-deps to empty as target-specific variable.
28274 * Makerules (link-libc-args): New variable.
28275 (libc-for-link): Likewise.
28276 (link-libc-deps): Likewise.
28277 (lib%.so): Depend on $(link-libc-deps). Link with
28279 (build-module): Link with $(link-libc-args).
28280 (build-module-asneeded): Likewise.
28281 (build-module-helper-objlist): Filter out $(link-libc-deps) from
28283 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
28284 target-specific variable.
28285 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
28286 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
28287 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
28289 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
28291 ($(objpfx)libpcprofile.so): Likewise.
28292 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
28294 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
28295 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
28296 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
28298 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
28299 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
28300 * login/Makefile ($(objpfx)libutil.so): Likewise.
28301 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
28302 * math/Makefile ($(objpfx)libm.so): Likewise.
28303 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
28304 $(objpfx)libnsl.so): Define libc-for-link as target-specific
28305 variable instead of depending directly on libc.
28306 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
28307 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
28309 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
28311 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
28312 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
28313 ($(objpfx)libanl.so): Likewise.
28314 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
28316 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
28318 * sysdeps/i386/fpu/Makefile: Remove file.
28319 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
28320 ($(objpfx)libm.so): Remove dependency on ld.so.
28322 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
28325 * nis/yp_xdr.c (XDRMAXNAME): Define.
28326 (XDRMAXRECORD): Define.
28327 (xdr_domainname): Use XDRMAXNAME.
28328 (xdr_mapname): Likewise.
28329 (xdr_peername): Likewise.
28330 (xdr_keydat): Use XDRMAXRECORD.
28331 (xdr_valdat): Likewise.
28333 2013-05-30 Jeff Law <law@redhat.com>
28336 * manual/errno.texi (ESTALE): Update to account for more than
28337 just NFS file systems.
28338 * sysdeps/gnu/errlist.c: Regenerated.
28340 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28343 * elf/Makefile (tests): Add tst-null-argv.
28344 (modules-names): Add tst-null-argv-lib.
28345 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
28346 (tst-null-argv-ENV): Set environment for tst-null-argv.
28347 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
28348 (RTLD_PROGNAME): New macro.
28349 * elf/tst-null-argv.c: New test case.
28350 * elf/tst-null-argv-lib.c: Library for test case.
28351 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
28352 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
28353 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
28354 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
28355 * elf/dl-init.c (call_init): Likewise.
28356 (_dl_init): Likewise.
28357 * elf/dl-load.c (print_search_path): Likewise.
28358 (_dl_map_object): Likewise.
28359 * elf/dl-lookup.c (do_lookup_x): Likewise.
28360 (add_dependency): Likewise.
28361 (_dl_lookup_symbol_x): Likewise.
28362 (_dl_debug_bindings): Likewise.
28363 * elf/dl-open.c (_dl_show_scope): Likewise.
28364 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
28365 * elf/dl-version.c (match_symbol): Likewise.
28366 (_dl_check_map_versions): Likewise.
28367 * elf/rtld.c (dl_main): Likewise.
28368 (print_unresolved): Use RTLD_PROGNAME.
28369 (print_missing_version): Likewise.
28370 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
28371 (elf_machine_rela): Likewise.
28372 * sysdeps/powerpc/powerpc32/dl-machine.c
28373 (__process_machine_rela): Likewise.
28374 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28376 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28378 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28380 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28381 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
28383 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
28385 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28387 2013-05-28 Carlos O'Donell <carlos@redhat.com>
28389 * po/be.po: Add descriptive title.
28390 * po/zh_CN.po: Likewise.
28391 * po/header.pot: Likewise.
28393 2013-05-28 Mike Frysinger <vapier@gentoo.org>
28395 * locale/programs/locarchive.c (create_archive): Inlucde fname in
28397 (enlarge_archive): Likewise.
28399 2013-05-28 Ben North <ben@redfrontdoor.org>
28401 * manual/arith.texi (frexp): It is the magnitude of the return
28402 value which lies in [0.5, 1), not the return value itself.
28404 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28408 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
28410 * stdio-common/bug26.c (main): Correct fscanf template.
28412 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
28413 declare _dl_skip_args.
28415 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
28418 * manual/platform.texi: Add missing @end deftypefun.
28420 2013-05-24 Joseph Myers <joseph@codesourcery.com>
28423 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
28424 bit of mantissa of 2^16382.
28425 * math/libm-test.inc (hypot_test_data): Add more tests.
28427 * math/libm-test.inc: Add drem and pow10 to list of tested
28429 (pow10_test): New function.
28430 (drem_test): Likewise.
28431 (drem_test_tonearest): Likewise.
28432 (drem_test_towardzero): Likewise.
28433 (drem_test_downward): Likewise.
28434 (drem_test_upward): Likewise.
28435 (main): Call the new functions.
28437 * math/libm-test.inc (finite_test_data): Remove.
28438 (finite_test): Run tests from isfinite_test_data.
28439 (gamma_test_data): Remove.
28440 (gamma_test): Run tests from lgamma_test_data.
28441 * sysdeps/i386/fpu/libm-test-ulps: Update.
28442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28444 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28446 * manual/platform.texi: Add PowerPC PPR function set documentation.
28447 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
28450 2013-05-24 Carlos O'Donell <carlos@redhat.com>
28452 * math/libm-test.inc (MAX_EXP): Define.
28454 (ulp): New function.
28455 (check_float_internal): Use ULPDIFF.
28456 (cpow_test): Disable failing test.
28457 (check_ulp): Test ulp() implemetnation.
28458 (main): Call check_ulp before starting tests.
28460 2013-05-24 Joseph Myers <joseph@codesourcery.com>
28462 * math/gen-libm-test.pl (generate_testfile): Do not handle
28463 START_DATA and END_DATA.
28464 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
28466 (acos_tonearest_test_data): Likewise.
28467 (acos_towardzero_test_data): Likewise.
28468 (acos_downward_test_data): Likewise.
28469 (acos_upward_test_data): Likewise.
28470 (acosh_test_data): Likewise.
28471 (asin_test_data): Likewise.
28472 (asin_tonearest_test_data): Likewise.
28473 (asin_towardzero_test_data): Likewise.
28474 (asin_downward_test_data): Likewise.
28475 (asin_upward_test_data): Likewise.
28476 (asinh_test_data): Likewise.
28477 (atan_test_data): Likewise.
28478 (atanh_test_data): Likewise.
28479 (atan2_test_data): Likewise.
28480 (cabs_test_data): Likewise.
28481 (cacos_test_data): Likewise.
28482 (cacosh_test_data): Likewise.
28483 (carg_test_data): Likewise.
28484 (casin_test_data): Likewise.
28485 (casinh_test_data): Likewise.
28486 (catan_test_data): Likewise.
28487 (catanh_test_data): Likewise.
28488 (cbrt_test_data): Likewise.
28489 (ccos_test_data): Likewise.
28490 (ccosh_test_data): Likewise.
28491 (ceil_test_data): Likewise.
28492 (cexp_test_data): Likewise.
28493 (cimag_test_data): Likewise.
28494 (clog_test_data): Likewise.
28495 (clog10_test_data): Likewise.
28496 (conj_test_data): Likewise.
28497 (copysign_test_data): Likewise.
28498 (cos_test_data): Likewise.
28499 (cos_tonearest_test_data): Likewise.
28500 (cos_towardzero_test_data): Likewise.
28501 (cos_downward_test_data): Likewise.
28502 (cos_upward_test_data): Likewise.
28503 (cosh_test_data): Likewise.
28504 (cosh_tonearest_test_data): Likewise.
28505 (cosh_towardzero_test_data): Likewise.
28506 (cosh_downward_test_data): Likewise.
28507 (cosh_upward_test_data): Likewise.
28508 (cpow_test_data): Likewise.
28509 (cproj_test_data): Likewise.
28510 (creal_test_data): Likewise.
28511 (csin_test_data): Likewise.
28512 (csinh_test_data): Likewise.
28513 (csqrt_test_data): Likewise.
28514 (ctan_test_data): Likewise.
28515 (ctan_tonearest_test_data): Likewise.
28516 (ctan_towardzero_test_data): Likewise.
28517 (ctan_downward_test_data): Likewise.
28518 (ctan_upward_test_data): Likewise.
28519 (ctanh_test_data): Likewise.
28520 (ctanh_tonearest_test_data): Likewise.
28521 (ctanh_towardzero_test_data): Likewise.
28522 (ctanh_downward_test_data): Likewise.
28523 (ctanh_upward_test_data): Likewise.
28524 (erf_test_data): Likewise.
28525 (erfc_test_data): Likewise.
28526 (exp_test_data): Likewise.
28527 (exp_tonearest_test_data): Likewise.
28528 (exp_towardzero_test_data): Likewise.
28529 (exp_downward_test_data): Likewise.
28530 (exp_upward_test_data): Likewise.
28531 (exp10_test_data): Likewise.
28532 (exp2_test_data): Likewise.
28533 (expm1_test_data): Likewise.
28534 (fabs_test_data): Likewise.
28535 (fdim_test_data): Likewise.
28536 (finite_test_data): Likewise.
28537 (floor_test_data): Likewise.
28538 (fma_test_data): Likewise.
28539 (fma_towardzero_test_data): Likewise.
28540 (fma_downward_test_data): Likewise.
28541 (fma_upward_test_data): Likewise.
28542 (fmax_test_data): Likewise.
28543 (fmin_test_data): Likewise.
28544 (fmod_test_data): Likewise.
28545 (fpclassify_test_data): Likewise.
28546 (frexp_test_data): Likewise.
28547 (gamma_test_data): Likewise.
28548 (hypot_test_data): Likewise.
28549 (ilogb_test_data): Likewise.
28550 (isfinite_test_data): Likewise.
28551 (isgreater_test_data): Likewise.
28552 (isgreaterequal_test_data): Likewise.
28553 (isinf_test_data): Likewise.
28554 (isless_test_data): Likewise.
28555 (islessequal_test_data): Likewise.
28556 (islessgreater_test_data): Likewise.
28557 (isnan_test_data): Likewise.
28558 (isnormal_test_data): Likewise.
28559 (issignaling_test_data): Likewise.
28560 (isunordered_test_data): Likewise.
28561 (j0_test_data): Likewise.
28562 (j1_test_data): Likewise.
28563 (jn_test_data): Likewise.
28564 (ldexp_test_data): Likewise.
28565 (lgamma_test_data): Likewise.
28566 (lrint_test_data): Likewise.
28567 (lrint_tonearest_test_data): Likewise.
28568 (lrint_towardzero_test_data): Likewise.
28569 (lrint_downward_test_data): Likewise.
28570 (lrint_upward_test_data): Likewise.
28571 (llrint_test_data): Likewise.
28572 (llrint_tonearest_test_data): Likewise.
28573 (llrint_towardzero_test_data): Likewise.
28574 (llrint_downward_test_data): Likewise.
28575 (llrint_upward_test_data): Likewise.
28576 (log_test_data): Likewise.
28577 (log10_test_data): Likewise.
28578 (log1p_test_data): Likewise.
28579 (log2_test_data): Likewise.
28580 (logb_test_data): Likewise.
28581 (logb_downward_test_data): Likewise.
28582 (lround_test_data): Likewise.
28583 (llround_test_data): Likewise.
28584 (modf_test_data): Likewise.
28585 (nearbyint_test_data): Likewise.
28586 (nextafter_test_data): Likewise.
28587 (nexttoward_test_data): Likewise.
28588 (pow_test_data): Likewise.
28589 (pow_tonearest_test_data): Likewise.
28590 (pow_towardzero_test_data): Likewise.
28591 (pow_downward_test_data): Likewise.
28592 (pow_upward_test_data): Likewise.
28593 (remainder_test_data): Likewise.
28594 (remainder_tonearest_test_data): Likewise.
28595 (remainder_towardzero_test_data): Likewise.
28596 (remainder_downward_test_data): Likewise.
28597 (remainder_upward_test_data): Likewise.
28598 (remquo_test_data): Likewise.
28599 (rint_test_data): Likewise.
28600 (rint_tonearest_test_data): Likewise.
28601 (rint_towardzero_test_data): Likewise.
28602 (rint_downward_test_data): Likewise.
28603 (rint_upward_test_data): Likewise.
28604 (round_test_data): Likewise.
28605 (scalb_test_data): Likewise.
28606 (scalbn_test_data): Likewise.
28607 (scalbln_test_data): Likewise.
28608 (signbit_test_data): Likewise.
28609 (sin_test_data): Likewise.
28610 (sin_tonearest_test_data): Likewise.
28611 (sin_towardzero_test_data): Likewise.
28612 (sin_downward_test_data): Likewise.
28613 (sin_upward_test_data): Likewise.
28614 (sincos_test_data): Likewise.
28615 (sinh_test_data): Likewise.
28616 (sinh_tonearest_test_data): Likewise.
28617 (sinh_towardzero_test_data): Likewise.
28618 (sinh_downward_test_data): Likewise.
28619 (sinh_upward_test_data): Likewise.
28620 (sqrt_test_data): Likewise.
28621 (tan_test_data): Likewise.
28622 (tan_tonearest_test_data): Likewise.
28623 (tan_towardzero_test_data): Likewise.
28624 (tan_downward_test_data): Likewise.
28625 (tan_upward_test_data): Likewise.
28626 (tanh_test_data): Likewise.
28627 (tgamma_test_data): Likewise.
28628 (trunc_test_data): Likewise.
28629 (y0_test_data): Likewise.
28630 (y1_test_data): Likewise.
28631 (yn_test_data): Likewise.
28632 (significand_test_data): Likewise.
28634 * math/gen-libm-test.pl (@functions): Remove variable.
28635 (generate_testfile): Don't handle START and END lines.
28636 * math/libm-test.inc (START): New macro.
28638 (END_COMPLEX): Likewise.
28639 (acos_test): Use END macro without arguments.
28640 (acos_test_tonearest): Likewise.
28641 (acos_test_towardzero): Likewise.
28642 (acos_test_downward): Likewise.
28643 (acos_test_upward): Likewise.
28644 (acosh_test): Likewise.
28645 (asin_test): Likewise.
28646 (asin_test_tonearest): Likewise.
28647 (asin_test_towardzero): Likewise.
28648 (asin_test_downward): Likewise.
28649 (asin_test_upward): Likewise.
28650 (asinh_test): Likewise.
28651 (atan_test): Likewise.
28652 (atanh_test): Likewise.
28653 (atan2_test): Likewise.
28654 (cabs_test): Likewise.
28655 (cacos_test): Use END_COMPLEX macro without arguments.
28656 (cacosh_test): Likewise.
28657 (carg_test): Use END macro without arguments.
28658 (casin_test): Use END_COMPLEX macro without arguments.
28659 (casinh_test): Likewise.
28660 (catan_test): Likewise.
28661 (catanh_test): Likewise.
28662 (cbrt_test): Use END macro without arguments.
28663 (ccos_test): Use END_COMPLEX macro without arguments.
28664 (ccosh_test): Likewise.
28665 (ceil_test): Use END macro without arguments.
28666 (cexp_test): Use END_COMPLEX macro without arguments.
28667 (cimag_test): Use END macro without arguments.
28668 (clog_test): Use END_COMPLEX macro without arguments.
28669 (clog10_test): Likewise.
28670 (conj_test): Likewise.
28671 (copysign_test): Use END macro without arguments.
28672 (cos_test): Likewise.
28673 (cos_test_tonearest): Likewise.
28674 (cos_test_towardzero): Likewise.
28675 (cos_test_downward): Likewise.
28676 (cos_test_upward): Likewise.
28677 (cosh_test): Likewise.
28678 (cosh_test_tonearest): Likewise.
28679 (cosh_test_towardzero): Likewise.
28680 (cosh_test_downward): Likewise.
28681 (cosh_test_upward): Likewise.
28682 (cpow_test): Use END_COMPLEX macro without arguments.
28683 (cproj_test): Likewise.
28684 (creal_test): Use END macro without arguments.
28685 (csin_test): Use END_COMPLEX macro without arguments.
28686 (csinh_test): Likewise.
28687 (csqrt_test): Likewise.
28688 (ctan_test): Likewise.
28689 (ctan_test_tonearest): Likewise.
28690 (ctan_test_towardzero): Likewise.
28691 (ctan_test_downward): Likewise.
28692 (ctan_test_upward): Likewise.
28693 (ctanh_test): Likewise.
28694 (ctanh_test_tonearest): Likewise.
28695 (ctanh_test_towardzero): Likewise.
28696 (ctanh_test_downward): Likewise.
28697 (ctanh_test_upward): Likewise.
28698 (erf_test): Use END macro without arguments.
28699 (erfc_test): Likewise.
28700 (exp_test): Likewise.
28701 (exp_test_tonearest): Likewise.
28702 (exp_test_towardzero): Likewise.
28703 (exp_test_downward): Likewise.
28704 (exp_test_upward): Likewise.
28705 (exp10_test): Likewise.
28706 (exp2_test): Likewise.
28707 (expm1_test): Likewise.
28708 (fabs_test): Likewise.
28709 (fdim_test): Likewise.
28710 (finite_test): Likewise.
28711 (floor_test): Likewise.
28712 (fma_test): Likewise.
28713 (fma_test_towardzero): Likewise.
28714 (fma_test_downward): Likewise.
28715 (fma_test_upward): Likewise.
28716 (fmax_test): Likewise.
28717 (fmin_test): Likewise.
28718 (fmod_test): Likewise.
28719 (fpclassify_test): Likewise.
28720 (frexp_test): Likewise.
28721 (gamma_test): Likewise.
28722 (hypot_test): Likewise.
28723 (ilogb_test): Likewise.
28724 (isfinite_test): Likewise.
28725 (isgreater_test): Likewise.
28726 (isgreaterequal_test): Likewise.
28727 (isinf_test): Likewise.
28728 (isless_test): Likewise.
28729 (islessequal_test): Likewise.
28730 (islessgreater_test): Likewise.
28731 (isnan_test): Likewise.
28732 (isnormal_test): Likewise.
28733 (issignaling_test): Likewise.
28734 (isunordered_test): Likewise.
28735 (j0_test): Likewise.
28736 (j1_test): Likewise.
28737 (jn_test): Likewise.
28738 (ldexp_test): Likewise.
28739 (lgamma_test): Likewise.
28740 (lrint_test): Likewise.
28741 (lrint_test_tonearest): Likewise.
28742 (lrint_test_towardzero): Likewise.
28743 (lrint_test_downward): Likewise.
28744 (lrint_test_upward): Likewise.
28745 (llrint_test): Likewise.
28746 (llrint_test_tonearest): Likewise.
28747 (llrint_test_towardzero): Likewise.
28748 (llrint_test_downward): Likewise.
28749 (llrint_test_upward): Likewise.
28750 (log_test): Likewise.
28751 (log10_test): Likewise.
28752 (log1p_test): Likewise.
28753 (log2_test): Likewise.
28754 (logb_test): Likewise.
28755 (logb_test_downward): Likewise.
28756 (lround_test): Likewise.
28757 (llround_test): Likewise.
28758 (modf_test): Likewise.
28759 (nearbyint_test): Likewise.
28760 (nextafter_test): Likewise.
28761 (nexttoward_test): Likewise.
28762 (pow_test): Likewise.
28763 (pow_test_tonearest): Likewise.
28764 (pow_test_towardzero): Likewise.
28765 (pow_test_downward): Likewise.
28766 (pow_test_upward): Likewise.
28767 (remainder_test): Likewise.
28768 (remainder_test_tonearest): Likewise.
28769 (remainder_test_towardzero): Likewise.
28770 (remainder_test_downward): Likewise.
28771 (remainder_test_upward): Likewise.
28772 (remquo_test): Likewise.
28773 (rint_test): Likewise.
28774 (rint_test_tonearest): Likewise.
28775 (rint_test_towardzero): Likewise.
28776 (rint_test_downward): Likewise.
28777 (rint_test_upward): Likewise.
28778 (round_test): Likewise.
28779 (scalb_test): Likewise.
28780 (scalbn_test): Likewise.
28781 (scalbln_test): Likewise.
28782 (signbit_test): Likewise.
28783 (sin_test): Likewise.
28784 (sin_test_tonearest): Likewise.
28785 (sin_test_towardzero): Likewise.
28786 (sin_test_downward): Likewise.
28787 (sin_test_upward): Likewise.
28788 (sincos_test): Likewise.
28789 (sinh_test): Likewise.
28790 (sinh_test_tonearest): Likewise.
28791 (sinh_test_towardzero): Likewise.
28792 (sinh_test_downward): Likewise.
28793 (sinh_test_upward): Likewise.
28794 (sqrt_test): Likewise.
28795 (tan_test): Likewise.
28796 (tan_test_tonearest): Likewise.
28797 (tan_test_towardzero): Likewise.
28798 (tan_test_downward): Likewise.
28799 (tan_test_upward): Likewise.
28800 (tanh_test): Likewise.
28801 (tgamma_test): Likewise.
28802 (trunc_test): Likewise.
28803 (y0_test): Likewise.
28804 (y1_test): Likewise.
28805 (yn_test): Likewise.
28806 (significand_test): Likewise.
28808 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
28811 * libio/genops.c (_IO_no_init): Initialize wide struct info.
28813 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
28816 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
28817 __ppc_mdoio and __ppc_mdoom.
28818 * manual/platform.texi: Document new functions __ppc_yield,
28819 __ppc_mdoio and __ppc_mdoom.
28821 2013-05-22 Carlos O'Donell <carlos@redhat.com>
28823 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
28824 (main): Mention "tls" pseudo-hwcap is legacy.
28825 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
28827 2013-05-22 Joseph Myers <joseph@codesourcery.com>
28829 * math/gen-libm-test.pl (parse_args): Output only string of
28830 arguments as text for test name, not full call or descriptions of
28831 tests for extra outputs.
28832 (generate_testfile): Do not pass function name to parse_args.
28833 Generate this_func variable from START.
28834 * math/libm-test.inc (struct test_f_f_data): Rename test_name
28836 (struct test_ff_f_data): Likewise.
28837 (test_ff_f_data_nexttoward): Likewise.
28838 (struct test_fi_f_data): Likewise.
28839 (struct test_fl_f_data): Likewise.
28840 (struct test_if_f_data): Likewise.
28841 (struct test_fff_f_data): Likewise.
28842 (struct test_c_f_data): Likewise.
28843 (struct test_f_f1_data): Likewise. Remove field extra_name.
28844 (struct test_fF_f1_data): Likewise.
28845 (struct test_ffI_f1_data): Likewise.
28846 (struct test_c_c_data): Rename test_name field to arg_str.
28847 (struct test_cc_c_data): Likewise.
28848 (struct test_f_i_data): Likewise.
28849 (struct test_ff_i_data): Likewise.
28850 (struct test_f_l_data): Likewise.
28851 (struct test_f_L_data): Likewise.
28852 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
28854 (COMMON_TEST_SETUP): New macro.
28855 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
28856 (COMMON_TEST_CLEANUP): Likewise.
28857 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28858 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
28860 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28861 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
28863 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28864 (RUN_TEST_fff_f): Take argument string. Call new setup and
28866 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28867 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
28869 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28870 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
28872 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28873 (RUN_TEST_fF_f1): Take argument string. Call new setup and
28875 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28876 (RUN_TEST_fI_f1): Take argument string. Call new setup and
28878 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28879 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
28881 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28882 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
28884 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28885 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
28887 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28888 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
28890 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28891 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
28893 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28894 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
28896 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28897 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
28899 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28900 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
28902 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28903 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
28905 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28906 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
28908 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28909 (RUN_TEST_fFF_11): Take argument string. Call new setup and
28911 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28913 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
28915 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28916 to _sifields.sigfault.
28917 (si_addr_lsb): Define new macro.
28918 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28919 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28920 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28922 2013-05-03 Carlos O'Donell <carlos at redhat.com>
28925 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28927 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28929 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28930 loading the domain.
28932 2013-05-22 Joseph Myers <joseph@codesourcery.com>
28934 * math/gen-libm-test.pl (parse_args): Do not include expected
28935 result in test name.
28936 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28937 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28938 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28939 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28940 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28943 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28945 * benchtests/Makefile: Sort function entries.
28947 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28948 tanh, asinh, acosh, atanh.
28949 * benchtests/acos-inputs: New file.
28950 * benchtests/acosh-inputs: New file.
28951 * benchtests/asin-inputs: New file.
28952 * benchtests/asinh-inputs: New file.
28953 * benchtests/atanh-inputs: New file.
28954 * benchtests/cosh-inputs: New file.
28955 * benchtests/log-inputs: New file.
28956 * benchtests/sinh-inputs: New file.
28957 * benchtests/tanh-inputs: New file.
28959 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
28962 * posix/tst-getaddrinfo4.c: New test.
28963 * posix/Makefile (tests): Add it.
28965 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28968 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28969 when no services were used.
28970 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28971 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28973 2013-05-21 Andreas Schwab <schwab@suse.de>
28976 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28977 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28979 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28980 redundant variable declarations and reallocation of buffer when
28981 parsing as IPv6 address. Always set NSS status when called from
28982 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
28983 buffer too small. Correct computation of needed size.
28984 * nss/Makefile (tests): Add test-digits-dots.
28985 * nss/test-digits-dots.c: New test.
28987 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28989 * benchtests/Makefile: Remove instructions for adding
28991 * benchtests/README: New file to explain how to execute and
28992 enhance the benchmark tests.
28994 2013-05-21 Andreas Schwab <schwab@suse.de>
28997 * setjmp/Makefile (tests): Add tst-sigsetjmp.
28998 * setjmp/tst-sigsetjmp.c: New test.
29000 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
29002 * sysdeps/x86_64/memset.S (memset): New implementation.
29003 (__bzero): Likewise.
29004 (__memset_tail): New function.
29006 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
29008 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
29009 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
29010 __memcpy_sse2_unaligned ifunc selection.
29011 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29012 Add memcpy-sse2-unaligned.S.
29013 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29014 Add: __memcpy_sse2_unaligned.
29016 2013-05-19 Joseph Myers <joseph@codesourcery.com>
29019 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29020 math_force_eval before restoring floating-point envrionment.
29021 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
29022 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29024 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
29026 (__nearbyintl): Use math_force_eval before restoring
29027 floating-point environment.
29028 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
29030 * math/gen-libm-test.pl (special_functions): Remove.
29031 (parse_args): Don't handle TEST_extra. Handle functions with no
29033 * math/libm-test.inc (struct test_sincos_data): Replace with
29034 struct test_fFF_11_data.
29035 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
29036 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
29037 (sincos_test_data): Change element type to struct
29038 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
29039 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
29040 RUN_TEST_LOOP_sincos.
29041 * math/README.libm-test: Don't mention special handling of
29042 individual functions.
29043 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
29044 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29045 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29046 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29047 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29050 * math/gen-libm-test.pl (get_variable): Remove function.
29051 (parse_args): Don't show pointer parameters to call in test
29052 names. Use "extra output N" in test names for extra outputs
29053 rather than naming variables.
29055 2013-05-18 Joseph Myers <joseph@codesourcery.com>
29058 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
29059 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
29060 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
29062 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
29064 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
29067 * math/gen-libm-test.pl (@tests): Remove variable.
29068 ($count): Likewise.
29069 (new_test): Remove function.
29070 (show_exceptions): New function.
29071 (special_functions): Use show_exceptions instead of new_test.
29072 (parse_args): Likewise.
29073 (generate_testfile): Pass only function name in generated call to
29074 print_max_error or print_complex_max_error.
29075 (get_ulps): Do not handle complex tests specially.
29076 (output_test): Rename to ...
29077 (get_all_ulps_for_test): ... this. Return a string rather than
29078 printing to a file. Require ulps to be present.
29079 (output_ulps): Generate arrays rather than #defines.
29080 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
29081 (struct ulp_data): New type.
29082 (BUILD_COMPLEX_ULP): Remove macro.
29083 (compare_ulp_data): New function.
29084 (find_ulps): Likewise.
29085 (find_test_ulps): Likewise.
29086 (find_function_ulps): Likewise.
29087 (find_complex_function_ulps): Likewise.
29088 (print_max_error): Determine allowed ulps using
29089 find_function_ulps.
29090 (print_complex_max_error): Determine allowed ulps using
29091 find_complex_function_ulps.
29092 (check_float_internal): Determine max ulps using find_test_ulps.
29093 (check_float): Do not take max_ulp parameter. Update call to
29094 check_float_internal.
29095 (check_complex): Likewise.
29096 (check_int): Do not take max_ulp parameter.
29097 (check_long): Likewise.
29098 (check_bool): Likewise.
29099 (check_longlong): Likewise.
29100 (struct test_f_f_data): Remove max_ulp field.
29101 (struct test_ff_f_data): Likewise.
29102 (struct test_ff_f_data_nexttoward): Likewise.
29103 (struct test_fi_f_data): Likewise.
29104 (struct test_fl_f_data): Likewise.
29105 (struct test_if_f_data): Likewise.
29106 (struct test_fff_f_data): Likewise.
29107 (struct test_c_f_data): Likewise.
29108 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
29109 (struct test_fF_f1_data): Likewise.
29110 (struct test_ffI_f1_data): Likewise.
29111 (struct test_c_c_data): Remove max_ulp field.
29112 (struct test_cc_c_data): Likewise.
29113 (struct test_f_i_data): Likewise.
29114 (struct test_ff_i_data): Likewise.
29115 (struct test_f_l_data): Likewise.
29116 (struct test_f_L_data): Likewise.
29117 (struct test_sincos_data): Likewise.
29118 (RUN_TEST_f_f): Do not handle ulps.
29119 (RUN_TEST_LOOP_f_f): Likewise.
29120 (RUN_TEST_2_f): Likewise.
29121 (RUN_TEST_LOOP_2_f): Likewise.
29122 (RUN_TEST_fff_f): Likewise.
29123 (RUN_TEST_LOOP_fff_f): Likewise.
29124 (RUN_TEST_c_f): Likewise.
29125 (RUN_TEST_LOOP_c_f): Likewise.
29126 (RUN_TEST_f_f1): Likewise.
29127 (RUN_TEST_LOOP_f_f1): Likewise.
29128 (RUN_TEST_fF_f1): Likewise.
29129 (RUN_TEST_LOOP_fF_f1): Likewise.
29130 (RUN_TEST_fI_f1): Likewise.
29131 (RUN_TEST_LOOP_fI_f1): Likewise.
29132 (RUN_TEST_ffI_f1): Likewise.
29133 (RUN_TEST_LOOP_ffI_f1): Likewise.
29134 (RUN_TEST_c_c): Likewise.
29135 (RUN_TEST_LOOP_c_c): Likewise.
29136 (RUN_TEST_cc_c): Likewise.
29137 (RUN_TEST_LOOP_cc_c): Likewise.
29138 (RUN_TEST_f_i): Likewise.
29139 (RUN_TEST_LOOP_f_i): Likewise.
29140 (RUN_TEST_f_i_tg): Likewise.
29141 (RUN_TEST_LOOP_f_i_tg): Likewise.
29142 (RUN_TEST_ff_i_tg): Likewise.
29143 (RUN_TEST_LOOP_ff_i_tg): Likewise.
29144 (RUN_TEST_f_b): Likewise.
29145 (RUN_TEST_LOOP_f_b): Likewise.
29146 (RUN_TEST_f_b_tg): Likewise.
29147 (RUN_TEST_LOOP_f_b_tg): Likewise.
29148 (RUN_TEST_f_l): Likewise.
29149 (RUN_TEST_LOOP_f_l): Likewise.
29150 (RUN_TEST_f_L): Likewise.
29151 (RUN_TEST_LOOP_f_L): Likewise.
29152 (RUN_TEST_sincos): Likewise.
29153 (RUN_TEST_LOOP_sincos): Likewise.
29155 2013-05-17 Joseph Myers <joseph@codesourcery.com>
29159 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
29160 main case of finite arguments, set rounding mode to FE_TONEAREST
29161 and discard exceptions.
29162 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
29164 (remainder_tonearest_test_data): New variable.
29165 (remainder_test_tonearest): New function.
29166 (remainder_towardzero_test_data): New variable.
29167 (remainder_test_towardzero): New function.
29168 (remainder_downward_test_data): New variable.
29169 (remainder_test_downward): New function.
29170 (remainder_upward_test_data): New variable.
29171 (remainder_test_upward): New function.
29172 (main): Call the new test functions.
29174 * math/libm-test.inc (struct test_f_f1_data): Remove field
29176 (struct test_fF_f1_data): Likewise.
29177 (struct test_ffI_f1_data): Likewise.
29178 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
29179 based on value of EXTRA_EXPECTED.
29180 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
29181 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
29182 EXTRA_VAR based on value of EXTRA_EXPECTED.
29183 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
29184 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
29185 EXTRA_VAR based on value of EXTRA_EXPECTED.
29186 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
29187 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
29188 EXTRA_VAR based on value of EXTRA_EXPECTED.
29189 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
29190 * math/gen-libm-test.pl (parse_args): Don't output initializers
29191 for extra output values.
29193 * math/libm-test.inc (check_int): Expect result to be exactly
29194 equal to expected value and do not handle ulps.
29195 (check_long): Likewise.
29196 (check_longlong): Likewise.
29198 * math/libm-test.inc (ceil_test_data): Test for "inexact"
29200 (cimag_test_data): Likewise.
29201 (conj_test_data): Likewise.
29202 (copysign_test_data): Likewise.
29203 (cproj_test_data): Likewise.
29204 (creal_test_data): Likewise.
29205 (fabs_test_data): Likewise.
29206 (fdim_test_data): Likewise.
29207 (finite_test_data): Likewise.
29208 (floor_test_data): Likewise.
29209 (fmax_test_data): Likewise.
29210 (fmin_test_data): Likewise.
29211 (fmod_test_data): Likewise.
29212 (fpclassify_test_data): Likewise.
29213 (frexp_test_data): Likewise.
29214 (ilogb_test_data): Likewise.
29215 (isfinite_test_data): Likewise.
29216 (isgreater_test_data): Likewise.
29217 (isgreaterequal_test_data): Likewise.
29218 (isinf_test_data): Likewise.
29219 (isless_test_data): Likewise.
29220 (islessequal_test_data): Likewise.
29221 (islessgreater_test_data): Likewise.
29222 (isnan_test_data): Likewise.
29223 (isnormal_test_data): Likewise.
29224 (issignaling_test_data): Likewise.
29225 (isunordered_test_data): Likewise.
29226 (ldexp_test_data): Likewise.
29227 (lrint_test_data): Likewise.
29228 (lrint_test_data) [TEST_FLOAT]: Disable one test.
29229 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
29230 (lrint_tonearest_test_data): Test for "inexact" exceptions.
29231 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
29232 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
29233 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
29235 (lrint_towardzero_test_data): Test for "inexact" exceptions.
29236 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
29237 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
29238 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
29240 (lrint_downward_test_data): Test for "inexact" exceptions.
29241 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
29242 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
29243 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
29245 (lrint_upward_test_data): Test for "inexact" exceptions.
29246 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
29248 (llrint_test_data): Test for "inexact" exceptions.
29249 (llrint_test_data) [TEST_FLOAT]: Disable one test.
29250 (llrint_tonearest_test_data): Test for "inexact" exceptions.
29251 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
29252 (llrint_towardzero_test_data): Test for "inexact" exceptions.
29253 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
29254 (llrint_downward_test_data): Test for "inexact" exceptions.
29255 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
29256 (llrint_upward_test_data): Test for "inexact" exceptions.
29257 (logb_test_data): Likewise.
29258 (logb_downward_test_data): Likewise.
29259 (nextafter_test_data): Likewise.
29260 (nexttoward_test_data): Likewise.
29261 (remainder_test_data): Likewise.
29262 (remquo_test_data): Likewise.
29263 (scalbn_test_data): Likewise.
29264 (scalbln_test_data): Likewise.
29265 (signbit_test_data): Likewise.
29266 (sqrt_test_data): Likewise.
29267 (significand_test_data): Likewise.
29269 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29272 * benchtests/bench-modf.c (struct args): Mark arg0 as
29274 * scripts/bench.pl: Mark members of struct args as volatile.
29276 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29279 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
29280 negative infinity on POWER6 or lower.
29281 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
29283 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
29286 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
29287 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
29288 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
29289 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
29290 (_FP_SETQNAN): New macro.
29291 (_FP_SETQNAN_SEMIRAW): Likewise.
29292 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
29293 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
29294 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
29295 (FP_EXTEND): Use _FP_FRAC_SNANP.
29296 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
29297 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
29299 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
29301 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
29304 2013-05-16 Joseph Myers <joseph@codesourcery.com>
29306 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
29307 with DIVIDE_BY_ZERO_EXCEPTION.
29308 (gamma_test_data): Likewise.
29309 (lgamma_test_data): Likewise.
29310 (log_test_data): Likewise.
29311 (log10_test_data): Likewise.
29312 (log2_test_data): Likewise.
29313 (tgamma_test_data): Likewise.
29315 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
29316 (acos_test_tonearest): Likewise.
29317 (acos_test_towardzero): Likewise.
29318 (acos_test_downward): Likewise.
29319 (acos_test_upward): Likewise.
29320 (acosh_test): Likewise.
29321 (asin_test): Likewise.
29322 (asin_test_tonearest): Likewise.
29323 (asin_test_towardzero): Likewise.
29324 (asin_test_downward): Likewise.
29325 (asin_test_upward): Likewise.
29326 (asinh_test): Likewise.
29327 (atan_test): Likewise.
29328 (atanh_test): Likewise.
29329 (atan2_test): Likewise.
29330 (cabs_test): Likewise.
29331 (cacos_test): Likewise.
29332 (cacosh_test): Likewise.
29333 (casin_test): Likewise.
29334 (casinh_test): Likewise.
29335 (catan_test): Likewise.
29336 (catanh_test): Likewise.
29337 (cbrt_test): Likewise.
29338 (ccos_test): Likewise.
29339 (ccosh_test): Likewise.
29340 (cexp_test): Likewise.
29341 (clog_test): Likewise.
29342 (clog10_test): Likewise.
29343 (cos_test): Likewise.
29344 (cos_test_tonearest): Likewise.
29345 (cos_test_towardzero): Likewise.
29346 (cos_test_downward): Likewise.
29347 (cos_test_upward): Likewise.
29348 (cosh_test): Likewise.
29349 (cosh_test_tonearest): Likewise.
29350 (cosh_test_towardzero): Likewise.
29351 (cosh_test_downward): Likewise.
29352 (cosh_test_upward): Likewise.
29353 (cpow_test): Likewise.
29354 (csin_test): Likewise.
29355 (csinh_test): Likewise.
29356 (csqrt_test): Likewise.
29357 (ctan_test): Likewise.
29358 (ctan_test_tonearest): Likewise.
29359 (ctan_test_towardzero): Likewise.
29360 (ctan_test_downward): Likewise.
29361 (ctan_test_upward): Likewise.
29362 (ctanh_test): Likewise.
29363 (ctanh_test_tonearest): Likewise.
29364 (ctanh_test_towardzero): Likewise.
29365 (ctanh_test_downward): Likewise.
29366 (ctanh_test_upward): Likewise.
29367 (erf_test): Likewise.
29368 (erfc_test): Likewise.
29369 (exp_test): Likewise.
29370 (exp_test_tonearest): Likewise.
29371 (exp_test_towardzero): Likewise.
29372 (exp_test_downward): Likewise.
29373 (exp_test_upward): Likewise.
29374 (exp10_test): Likewise.
29375 (exp2_test): Likewise.
29376 (expm1_test): Likewise.
29377 (fmod_test): Likewise.
29378 (gamma_test): Likewise.
29379 (hypot_test): Likewise.
29380 (j0_test): Likewise.
29381 (j1_test): Likewise.
29382 (jn_test): Likewise.
29383 (lgamma_test): Likewise.
29384 (log_test): Likewise.
29385 (log10_test): Likewise.
29386 (log1p_test): Likewise.
29387 (log2_test): Likewise.
29388 (logb_test_downward): Likewise.
29389 (pow_test): Likewise.
29390 (pow_test_tonearest): Likewise.
29391 (pow_test_towardzero): Likewise.
29392 (pow_test_downward): Likewise.
29393 (pow_test_upward): Likewise.
29394 (remainder_test): Likewise.
29395 (remquo_test): Likewise.
29396 (sin_test): Likewise.
29397 (sin_test_tonearest): Likewise.
29398 (sin_test_towardzero): Likewise.
29399 (sin_test_downward): Likewise.
29400 (sin_test_upward): Likewise.
29401 (sincos_test): Likewise.
29402 (sinh_test): Likewise.
29403 (sinh_test_tonearest): Likewise.
29404 (sinh_test_towardzero): Likewise.
29405 (sinh_test_downward): Likewise.
29406 (sinh_test_upward): Likewise.
29407 (sqrt_test): Likewise.
29408 (tan_test): Likewise.
29409 (tan_test_tonearest): Likewise.
29410 (tan_test_towardzero): Likewise.
29411 (tan_test_downward): Likewise.
29412 (tan_test_upward): Likewise.
29413 (tanh_test): Likewise.
29414 (tgamma_test): Likewise.
29415 (y0_test): Likewise.
29416 (y1_test): Likewise.
29417 (yn_test): Likewise.
29419 * math/gen-libm-test.pl (adjust_arg): Remove function.
29420 (special_function): Remove argument $in_func. Only handle
29421 generating output for tables of tests, not inside functions.
29422 (parse_args): Likewise.
29423 (generate_testfile): Remove variable $in_func. Update call to
29425 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
29426 (MINUS_ZERO_INIT): Rename macro to minus_zero.
29427 (PLUS_INFTY_INIT): Rename macro to plus_infty.
29428 (MINUS_INFTY_INIT): Rename macro to minus_infty.
29429 (QNAN_VALUE_INIT): Rename macro to qnan_value.
29430 (MAX_VALUE_INIT): Rename macro to max_value.
29431 (MIN_VALUE_INIT): Rename macro to min_value.
29432 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
29433 (plus_zero): Remove variable.
29434 (minus_zero): Likewise.
29435 (plus_infty): Likewise.
29436 (minus_infty): Likewise.
29437 (qnan_value): Likewise.
29438 (max_value): Likewise.
29439 (min_value): Likewise.
29440 (min_subnorm_value): Likewise.
29442 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29444 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
29445 uint64_t or uint32_t usage.
29446 * crypt/sha256-block.c: Likewise.
29447 * crypt/sha256-crypt.c: Likewise.
29448 * crypt/sha256.c: Likewise.
29449 * crypt/sha512-block.c: Likewise.
29450 * crypt/sha512-crypt.c: Likewise.
29451 * crypt/sha512.c: Likewise.
29452 * debug/backtrace-tst.c: Likewise.
29453 * debug/pcprofiledump.c: Likewise.
29454 * elf/cache.c: Likewise.
29455 * elf/dl-cache.c: Likewise.
29456 * elf/dl-misc.c: Likewise.
29457 * elf/dl-profile.c: Likewise.
29458 * elf/dl-support.c: Likewise.
29459 * elf/ldconfig.c: Likewise.
29460 * elf/sprof.c: Likewise.
29461 * iconv/dummy-repertoire.c: Likewise.
29462 * iconv/iconv_charmap.c: Likewise.
29463 * iconv/skeleton.c: Likewise.
29464 * iconvdata/8bit-generic.c: Likewise.
29465 * iconvdata/cp737.h: Likewise.
29466 * iconvdata/cp775.h: Likewise.
29467 * iconvdata/ibm1008.h: Likewise.
29468 * iconvdata/ibm1025.h: Likewise.
29469 * iconvdata/ibm1046.h: Likewise.
29470 * iconvdata/ibm1097.h: Likewise.
29471 * iconvdata/ibm1112.h: Likewise.
29472 * iconvdata/ibm1122.h: Likewise.
29473 * iconvdata/ibm1123.h: Likewise.
29474 * iconvdata/ibm1124.h: Likewise.
29475 * iconvdata/ibm1129.h: Likewise.
29476 * iconvdata/ibm1130.h: Likewise.
29477 * iconvdata/ibm1132.h: Likewise.
29478 * iconvdata/ibm1133.h: Likewise.
29479 * iconvdata/ibm1137.h: Likewise.
29480 * iconvdata/ibm1140.h: Likewise.
29481 * iconvdata/ibm1141.h: Likewise.
29482 * iconvdata/ibm1142.h: Likewise.
29483 * iconvdata/ibm1143.h: Likewise.
29484 * iconvdata/ibm1144.h: Likewise.
29485 * iconvdata/ibm1145.h: Likewise.
29486 * iconvdata/ibm1146.h: Likewise.
29487 * iconvdata/ibm1147.h: Likewise.
29488 * iconvdata/ibm1148.h: Likewise.
29489 * iconvdata/ibm1149.h: Likewise.
29490 * iconvdata/ibm1153.h: Likewise.
29491 * iconvdata/ibm1154.h: Likewise.
29492 * iconvdata/ibm1155.h: Likewise.
29493 * iconvdata/ibm1156.h: Likewise.
29494 * iconvdata/ibm1157.h: Likewise.
29495 * iconvdata/ibm1158.h: Likewise.
29496 * iconvdata/ibm1160.h: Likewise.
29497 * iconvdata/ibm1161.h: Likewise.
29498 * iconvdata/ibm1162.h: Likewise.
29499 * iconvdata/ibm1163.h: Likewise.
29500 * iconvdata/ibm1164.h: Likewise.
29501 * iconvdata/ibm1166.h: Likewise.
29502 * iconvdata/ibm1167.h: Likewise.
29503 * iconvdata/ibm12712.h: Likewise.
29504 * iconvdata/ibm1390.h: Likewise.
29505 * iconvdata/ibm1399.h: Likewise.
29506 * iconvdata/ibm16804.h: Likewise.
29507 * iconvdata/ibm4517.h: Likewise.
29508 * iconvdata/ibm4899.h: Likewise.
29509 * iconvdata/ibm4909.h: Likewise.
29510 * iconvdata/ibm4971.h: Likewise.
29511 * iconvdata/ibm5347.h: Likewise.
29512 * iconvdata/ibm803.h: Likewise.
29513 * iconvdata/ibm856.h: Likewise.
29514 * iconvdata/ibm901.h: Likewise.
29515 * iconvdata/ibm902.h: Likewise.
29516 * iconvdata/ibm9030.h: Likewise.
29517 * iconvdata/ibm9066.h: Likewise.
29518 * iconvdata/ibm921.h: Likewise.
29519 * iconvdata/ibm922.h: Likewise.
29520 * iconvdata/ibm9448.h: Likewise.
29521 * iconvdata/isiri-3342.h: Likewise.
29522 * iconvdata/jis0201.h: Likewise.
29523 * include/link.h: Likewise.
29524 * include/netdb.h: Likewise.
29525 * inet/check_native.c: Likewise.
29526 * inet/check_pf.c: Likewise.
29527 * inet/getipv4sourcefilter.c: Likewise.
29528 * inet/getnameinfo.c: Likewise.
29529 * inet/getsourcefilter.c: Likewise.
29530 * inet/htonl.c: Likewise.
29531 * inet/setipv4sourcefilter.c: Likewise.
29532 * inet/setsourcefilter.c: Likewise.
29533 * inet/test-inet6_opt.c: Likewise.
29534 * inet/tst-network.c: Likewise.
29535 * locale/C-collate.c: Likewise.
29536 * locale/C-ctype.c: Likewise.
29537 * locale/C-time.c: Likewise.
29538 * locale/C-translit.h: Likewise.
29539 * locale/loadarchive.c: Likewise.
29540 * locale/programs/3level.h: Likewise.
29541 * locale/programs/charmap.c: Likewise.
29542 * locale/programs/charmap.h: Likewise.
29543 * locale/programs/ld-address.c: Likewise.
29544 * locale/programs/ld-collate.c: Likewise.
29545 * locale/programs/ld-ctype.c: Likewise.
29546 * locale/programs/ld-identification.c: Likewise.
29547 * locale/programs/ld-measurement.c: Likewise.
29548 * locale/programs/ld-messages.c: Likewise.
29549 * locale/programs/ld-monetary.c: Likewise.
29550 * locale/programs/ld-name.c: Likewise.
29551 * locale/programs/ld-numeric.c: Likewise.
29552 * locale/programs/ld-paper.c: Likewise.
29553 * locale/programs/ld-telephone.c: Likewise.
29554 * locale/programs/ld-time.c: Likewise.
29555 * locale/programs/linereader.c: Likewise.
29556 * locale/programs/locale.c: Likewise.
29557 * locale/programs/locarchive.c: Likewise.
29558 * locale/programs/locfile.h: Likewise.
29559 * locale/programs/repertoire.c: Likewise.
29560 * locale/programs/simple-hash.c: Likewise.
29561 * locale/programs/simple-hash.h: Likewise.
29562 * malloc/memusage.c: Likewise.
29563 * malloc/memusagestat.c: Likewise.
29564 * nis/nis_defaults.c: Likewise.
29565 * nis/nis_hash.c: Likewise.
29566 * nis/nis_print.c: Likewise.
29567 * nis/nis_xdr.c: Likewise.
29568 * nscd/connections.c: Likewise.
29569 * nscd/hstcache.c: Likewise.
29570 * nscd/nscd_gethst_r.c: Likewise.
29571 * nscd/nscd_getserv_r.c: Likewise.
29572 * nscd/nscd_helper.c: Likewise.
29573 * nscd/servicescache.c: Likewise.
29574 * nss/makedb.c: Likewise.
29575 * nss/nss_db/db-XXX.c: Likewise.
29576 * nss/nss_db/db-initgroups.c: Likewise.
29577 * nss/nss_db/db-netgrp.c: Likewise.
29578 * nss/nss_files/files-network.c: Likewise.
29579 * nss/nss_files/files-parse.c: Likewise.
29580 * posix/bug-regex5.c: Likewise.
29581 * posix/fnmatch_loop.c: Likewise.
29582 * posix/regcomp.c: Likewise.
29583 * posix/regexec.c: Likewise.
29584 * posix/tst-rfc3484-2.c: Likewise.
29585 * posix/tst-rfc3484-3.c: Likewise.
29586 * posix/tst-rfc3484.c: Likewise.
29587 * resolv/nss_dns/dns-canon.c: Likewise.
29588 * resolv/nss_dns/dns-network.c: Likewise.
29589 * resolv/res_init.c: Likewise.
29590 * resolv/res_mkquery.c: Likewise.
29591 * resolv/tst-aton.c: Likewise.
29592 * stdlib/cxa_atexit.c: Likewise.
29593 * stdlib/cxa_finalize.c: Likewise.
29594 * stdlib/gen-fpioconst.c: Likewise.
29595 * stdlib/strtol_l.c: Likewise.
29596 * string/tst-endian.c: Likewise.
29597 * sunrpc/auth_des.c: Likewise.
29598 * sunrpc/clnt_udp.c: Likewise.
29599 * sunrpc/rtime.c: Likewise.
29600 * sunrpc/svcauth_des.c: Likewise.
29601 * sunrpc/xdr.c: Likewise.
29602 * sunrpc/xdr_intXX_t.c: Likewise.
29603 * sunrpc/xdr_rec.c: Likewise.
29604 * sysdeps/generic/ldconfig.h: Likewise.
29605 * sysdeps/generic/ldsodefs.h: Likewise.
29606 * sysdeps/generic/memusage.h: Likewise.
29607 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29608 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
29609 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
29610 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29611 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29612 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29613 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29614 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29615 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29616 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29617 * sysdeps/posix/getaddrinfo.c: Likewise.
29618 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29619 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29620 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29621 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29622 * sysdeps/powerpc/test-gettimebase.c: Likewise.
29623 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29624 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
29625 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
29626 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29627 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
29628 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29629 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29630 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
29631 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
29632 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
29633 * sysdeps/x86_64/dl-tls.h: Likewise.
29634 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
29635 * time/alt_digit.c: Likewise.
29636 * time/era.c: Likewise.
29637 * wcsmbs/tst-c16c32-1.c: Likewise.
29639 2013-05-16 Joseph Myers <joseph@codesourcery.com>
29641 * math/libm-test.inc (struct test_sincos_data): New type.
29642 (RUN_TEST_LOOP_sincos): New macro.
29643 (sincos_test_data): New variable.
29644 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
29646 2013-05-16 Richard Henderson <rth@redhat.com>
29648 * math/atest-exp2.c (LIMB64): New macro.
29649 (CONSTSZ): New macro.
29650 (mp_exp1, mp_exp_m1, mp_log2): New variables.
29652 (print_mpn_fp): ... to function scope.
29653 (read_mpn_hex): Remove.
29654 (get_log2): Remove.
29655 (exp2_mpn): Use mp_log2.
29656 (main): Use mp_exp1.
29658 2013-05-16 Joseph Myers <joseph@codesourcery.com>
29660 * math/libm-test.inc: Remove comment about not testing "inexact"
29662 (INEXACT_EXCEPTION): New macro.
29663 (NO_INEXACT_EXCEPTION): Likewise.
29664 (INVALID_EXCEPTION_OK): Update value.
29665 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29666 (OVERFLOW_EXCEPTION_OK): Likewise.
29667 (UNDERFLOW_EXCEPTION_OK): Likewise.
29668 (IGNORE_ZERO_INF_SIGN): Likewise.
29669 (ERRNO_UNCHANGED): Likewise.
29670 (ERRNO_EDOM): Likewise.
29671 (ERRNO_ERANGE): Likewise.
29672 (test_exceptions): Handle testing "inexact" exceptions.
29673 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
29674 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
29675 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
29676 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
29678 (rint_towardzero_test_data): Likewise.
29679 (rint_downward_test_data): Likewise.
29680 (rint_upward_test_data): Likewise.
29682 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
29683 with OVERFLOW_EXCEPTION.
29684 (exp10_test_data): Likewise.
29685 (exp2_test_data): Likewise.
29686 (expm1_test_data): Likewise.
29687 (lgamma_test_data): Likewise.
29688 (pow_test_data): Likewise.
29689 (tgamma_test_data): Likewise.
29690 (yn_test_data): Remove duplicate test of overflow.
29692 * math/libm-test.inc (struct test_cc_c_data): New type.
29693 (RUN_TEST_LOOP_cc_c): New macro.
29694 (cpow_test_data): New variable.
29695 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
29697 * math/libm-test.inc (struct test_f_L_data): New type.
29698 (RUN_TEST_LOOP_f_L): New macro.
29699 (llrint_test_data): New variable.
29700 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
29701 (llrint_tonearest_test_data): New variable.
29702 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
29703 (llrint_towardzero_test_data): New variable.
29704 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
29705 (llrint_downward_test_data): New variable.
29706 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
29707 (llrint_upward_test_data): New variable.
29708 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
29709 (llround_test_data): New variable.
29710 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
29712 2013-05-13 Peter Collingbourne <pcc@google.com>
29714 * math/atest-exp2.c (get_log2): Remove const attribute.
29716 2013-05-15 Joseph Myers <joseph@codesourcery.com>
29718 * math/libm-test.inc (struct test_f_l_data): New type.
29719 (RUN_TEST_LOOP_f_l): New macro.
29720 (lrint_test_data): New variable.
29721 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
29722 (lrint_tonearest_test_data): New variable.
29723 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
29724 (lrint_towardzero_test_data): New variable.
29725 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
29726 (lrint_downward_test_data): New variable.
29727 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
29728 (lrint_upward_test_data): New variable.
29729 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
29730 (lround_test_data): New variable.
29731 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
29733 2013-05-15 Peter Collingbourne <pcc@google.com>
29735 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
29736 (EXTRACT_WORDS64) Use where appropriate.
29737 (INSERT_WORDS64) Likewise.
29739 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
29740 constraints with x constraints.
29741 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
29743 * malloc/obstack.c (_obstack_compat): Add initializer.
29745 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
29747 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
29748 si_trapno and add si_addr_lsb to _sifields.sigfault.
29749 (si_trapno): Remove macro.
29750 (si_addr_lsb): Define new macro.
29751 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29753 2013-05-15 Joseph Myers <joseph@codesourcery.com>
29755 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
29756 instead of TEST_f_l.
29757 (llrint_test_tonearest): Likewise.
29758 (llrint_test_towardzero): Likewise.
29759 (llrint_test_downward): Likewise.
29760 (llrint_test_upward): Likewise.
29761 (llround_test): Likewise.
29763 * math/libm-test.inc (struct test_f_i_data): Add comment.
29764 (RUN_TEST_LOOP_f_b): New macro.
29765 (RUN_TEST_LOOP_f_b_tg): Likewise.
29766 (finite_test_data): New variable.
29767 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
29768 (isfinite_test_data): New variable.
29769 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29770 (isinf_test_data): New variable.
29771 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29772 (isnan_test_data): New variable.
29773 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29774 (isnormal_test_data): New variable.
29775 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29776 (issignaling_test_data): New variable.
29777 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29778 (signbit_test_data): New variable.
29779 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29781 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
29782 with INVALID_EXCEPTION.
29783 (acosh_test_data): Likewise.
29784 (asin_test_data): Likewise.
29785 (atanh_test_data): Likewise.
29786 (fmod_test_data): Likewise.
29787 (log_test_data): Likewise.
29788 (log10_test_data): Likewise.
29789 (log2_test_data): Likewise.
29790 (pow_test_data): Likewise.
29791 (sqrt_test_data): Likewise.
29792 (y0_test_data): Likewise.
29793 (y1_test_data): Likewise.
29794 (yn_test_data): Likewise.
29796 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
29799 * math/libm-test.inc (struct test_ff_i_data): New type.
29800 (RUN_TEST_LOOP_ff_i_tg): New macro.
29801 (isgreater_test_data): New variable.
29802 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29803 (isgreaterequal_test_data): New variable.
29804 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29805 (isless_test_data): New variable.
29806 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29807 (islessequal_test_data): New variable.
29808 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29809 (islessgreater_test_data): New variable.
29810 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29811 (isunordered_test_data): New variable.
29812 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29814 2013-05-14 David S. Miller <davem@davemloft.net>
29816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29818 2013-05-14 Joseph Myers <joseph@codesourcery.com>
29820 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
29822 * math/libm-test.inc (struct test_fF_f1_data): Change type of
29824 (struct test_f_i_data): Change type of max_ulp to int.
29826 * math/libm-test.inc (test_ffI_f1_data): New type.
29827 (RUN_TEST_LOOP_ffI_f1): New macro.
29828 (remquo_test_data): New variable.
29829 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
29831 * setjmp/tst-setjmp-fp.c: New file.
29832 * setjmp/Makefile (tests): Add tst-setjmp-fp.
29833 (link-libm): New variable.
29834 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
29836 * math/libm-test.inc (struct test_f_i_data): New type.
29837 (RUN_TEST_LOOP_f_i): New macro.
29838 (RUN_TEST_LOOP_f_i_tg): Likewise.
29839 (fpclassify_test_data): New variable.
29840 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
29841 (ilogb_test_data): New variable.
29842 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
29844 * math/libm-test.inc (scalbln_test): Correct function name in END
29847 * math/libm-test.inc (struct test_f_f1_data): Add comment.
29848 (RUN_TEST_LOOP_fI_f1): New macro.
29849 (frexp_test_data): New variable.
29850 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29852 * math/libm-test.inc (struct test_fF_f1_data): New type.
29853 (RUN_TEST_LOOP_fF_f1): New macro.
29854 (modf_test_data): New variable.
29855 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29857 * math/libm-test.inc (struct test_f_f1_data): New type.
29858 (RUN_TEST_LOOP_f_f1): New macro.
29859 (gamma_test_data): New variable.
29860 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29861 (lgamma_test_data): New variable.
29862 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29864 2013-05-13 Carlos O'Donell <carlos@redhat.com>
29866 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29867 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29868 (main): Comment "tls" pseudo-hwcap.
29870 2013-05-13 Joseph Myers <joseph@codesourcery.com>
29872 * math/libm-test.inc (struct test_fl_f_data): New type.
29873 (RUN_TEST_LOOP_fl_f): New variable.
29874 (scalbln_test_data): New variable.
29875 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29877 * math/libm-test.inc (struct test_fi_f_data): New type.
29878 (RUN_TEST_LOOP_fi_f): New macro.
29879 (ldexp_test_data): New variable.
29880 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29881 (scalbn_test_data): New variable.
29882 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29884 * math/libm-test.inc (struct test_c_f_data): New type.
29885 (RUN_TEST_LOOP_c_f): New macro.
29886 (cabs_test_data): New variable.
29887 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29888 (carg_test_data): New variable.
29889 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29890 (cimag_test_data): New variable.
29891 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29892 (creal_test_data): New variable.
29893 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29895 * math/libm-test.inc (struct test_if_f_data): New type.
29896 (RUN_TEST_LOOP_if_f): New macro.
29897 (jn_test_data): New variable.
29898 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29899 (yn_test_data): New variable.
29900 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29902 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29904 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29906 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29907 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29909 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29911 * benchtests/Makefile (CPPFLAGS-nonlib): Add
29912 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29913 (bench-deps): Add bench-timing.h.
29914 * benchtests-bench-skeleton.c: Include bench-timing.h.
29915 (main): Use TIMING_* macros instead of clock_gettime.
29916 * benchtests/bench-timing.h: New file.
29919 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29920 Renamed from _LIB_VERSION.
29921 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29923 2013-05-12 Joseph Myers <joseph@codesourcery.com>
29925 * math/libm-test.inc (struct test_fff_f_data): New type.
29926 (RUN_TEST_LOOP_fff_f): New macro.
29927 (fma_test_data): New variable.
29928 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29929 (fma_towardzero_test_data): New variable.
29930 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29931 (fma_downward_test_data): New variable.
29932 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29933 (fma_upward_test_data): New variable.
29934 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29936 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29937 (struct test_c_c_data): New type.
29938 (RUN_TEST_LOOP_c_c): New macro.
29939 (cacos_test_data): New variable.
29940 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29941 (cacosh_test_data): New variable.
29942 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29943 (casin_test_data): New variable.
29944 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29945 (casinh_test_data): New variable.
29946 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29947 (catan_test_data): New variable.
29948 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29949 (catanh_test_data): New variable.
29950 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29951 (ccos_test_data): New variable.
29952 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29953 (ccosh_test_data): New variable.
29954 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29955 (cexp_test_data): New variable.
29956 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29957 (clog_test_data): New variable.
29958 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29959 (clog10_test_data): New variable.
29960 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29961 (conj_test_data): New variable.
29962 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29963 (cproj_test_data): New variable.
29964 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29965 (csin_test_data): New variable.
29966 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29967 (csinh_test_data): New variable.
29968 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29969 (csqrt_test_data): New variable.
29970 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29971 (ctan_test_data): New variable.
29972 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29973 (ctan_tonearest_test_data): New variable.
29974 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29975 (ctan_towardzero_test_data): New variable.
29976 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29977 (ctan_downward_test_data): New variable.
29978 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29979 (ctan_upward_test_data): New variable.
29980 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29981 (ctanh_test_data): New variable.
29982 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29983 (ctanh_tonearest_test_data): New variable.
29984 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29985 (ctanh_towardzero_test_data): New variable.
29986 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29987 (ctanh_downward_test_data): New variable.
29988 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29989 (ctanh_upward_test_data): New variable.
29990 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29991 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29994 * math/libm-test.inc (struct test_ff_f_data): New type.
29995 (struct test_ff_f_data_nexttoward): Likewise.
29996 (RUN_TEST_LOOP_2_f): New macro.
29997 (RUN_TEST_LOOP_ff_f): Likewise.
29998 (atan2_test_data): New variable.
29999 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
30000 (copysign_test_data): New variable.
30001 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
30002 (fdim_test_data): New variable.
30003 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
30004 (fmax_test_data): New variable.
30005 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
30006 (fmin_test_data): New variable.
30007 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
30008 (fmod_test_data): New variable.
30009 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
30010 (hypot_test_data): New variable.
30011 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
30012 (nextafter_test_data): New variable.
30013 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
30014 (nexttoward_test_data): New variable.
30015 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
30016 (pow_test_data): New variable.
30017 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
30018 (pow_tonearest_test_data): New variable.
30019 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
30020 (pow_towardzero_test_data): New variable.
30021 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
30022 (pow_downward_test_data): New variable.
30023 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
30024 (pow_upward_test_data): New variable.
30025 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
30026 (remainder_test_data): New variable.
30027 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
30028 (scalb_test_data): New variable.
30029 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
30030 * sysdeps/i386/fpu/libm-test-ulps: Update.
30032 2013-05-11 Joseph Myers <joseph@codesourcery.com>
30034 * math/libm-test.inc (fma_test): Use max_value instead of local
30036 (nextafter_test): Likewise.
30038 * math/libm-test.inc (acos_towardzero_test_data): New variable.
30039 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30040 (acos_downward_test_data): New variable.
30041 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30042 (acos_upward_test_data): New variable.
30043 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30044 (acosh_test_data): New variable.
30045 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
30046 (asin_test_data): New variable.
30047 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
30048 (asin_tonearest_test_data): New variable.
30049 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30050 (asin_towardzero_test_data): New variable.
30051 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30052 (asin_downward_test_data): New variable.
30053 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30054 (asin_upward_test_data): New variable.
30055 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30056 (asinh_test_data): New variable.
30057 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
30058 (atan_test_data): New variable.
30059 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
30060 (atanh_test_data): New variable.
30061 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
30062 (cbrt_test_data): New variable.
30063 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
30064 (ceil_test_data): New variable.
30065 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
30066 (cos_test_data): New variable.
30067 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
30068 (cos_tonearest_test_data): New variable.
30069 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30070 (cos_towardzero_test_data): New variable.
30071 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30072 (cos_downward_test_data): New variable.
30073 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30074 (cos_upward_test_data): New variable.
30075 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30076 (cosh_test_data): New variable.
30077 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
30078 (cosh_tonearest_test_data): New variable.
30079 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30080 (cosh_towardzero_test_data): New variable.
30081 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30082 (cosh_downward_test_data): New variable.
30083 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30084 (cosh_upward_test_data): New variable.
30085 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30086 (erf_test_data): New variable.
30087 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
30088 (erfc_test_data): New variable.
30089 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
30090 (exp_test_data): New variable.
30091 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
30092 (exp_tonearest_test_data): New variable.
30093 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30094 (exp_towardzero_test_data): New variable.
30095 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30096 (exp_downward_test_data): New variable.
30097 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30098 (exp_upward_test_data): New variable.
30099 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30100 (exp10_test_data): New variable.
30101 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
30102 (exp2_test_data): New variable.
30103 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
30104 (expm1_test_data): New variable.
30105 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
30106 (fabs_test_data): New variable.
30107 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
30108 (floor_test_data): New variable.
30109 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
30110 (j0_test_data): New variable.
30111 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
30112 (j1_test_data): New variable.
30113 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
30114 (log_test_data): New variable.
30115 (log_test): Run tests with RUN_TEST_LOOP_f_f.
30116 (log10_test_data): New variable.
30117 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
30118 (log1p_test_data): New variable.
30119 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
30120 (log2_test_data): New variable.
30121 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
30122 (logb_test_data): New variable.
30123 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
30124 (logb_downward_test_data): New variable.
30125 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30126 (nearbyint_test_data): New variable.
30127 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
30128 (rint_test_data): New variable.
30129 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
30130 (rint_tonearest_test_data): New variable.
30131 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30132 (rint_towardzero_test_data): New variable.
30133 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30134 (rint_downward_test_data): New variable.
30135 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30136 (rint_upward_test_data): New variable.
30137 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30138 (round_test_data): New variable.
30139 (round_test): Run tests with RUN_TEST_LOOP_f_f.
30140 (sin_test_data): New variable.
30141 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
30142 (sin_tonearest_test_data): New variable.
30143 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30144 (sin_towardzero_test_data): New variable.
30145 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30146 (sin_downward_test_data): New variable.
30147 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30148 (sin_upward_test_data): New variable.
30149 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30150 (sinh_test_data): New variable.
30151 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
30152 (sinh_tonearest_test_data): New variable.
30153 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30154 (sinh_towardzero_test_data): New variable.
30155 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30156 (sinh_downward_test_data): New variable.
30157 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30158 (sinh_upward_test_data): New variable.
30159 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30160 (sqrt_test_data): New variable.
30161 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
30162 (tan_test_data): New variable.
30163 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
30164 (tan_tonearest_test_data): New variable.
30165 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30166 (tan_towardzero_test_data): New variable.
30167 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30168 (tan_downward_test_data): New variable.
30169 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30170 (tan_upward_test_data): New variable.
30171 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30172 (tanh_test_data): New variable.
30173 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
30174 (tgamma_test_data): New variable.
30175 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
30176 (trunc_test_data): New variable.
30177 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
30178 (y0_test_data): New variable.
30179 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
30180 (y1_test_data): New variable.
30181 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
30182 (significand_test_data): New variable.
30183 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
30185 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
30188 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
30190 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
30192 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
30194 2013-05-10 Andreas Jaeger <aj@suse.de>
30197 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
30198 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
30200 2013-05-10 Joseph Myers <joseph@codesourcery.com>
30202 * math/gen-libm-test.pl (adjust_arg): New function.
30203 (special_functions): Handle generating output in both functions
30205 (parse_args): Likewise.
30206 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
30207 $in_func argument to parse_args.
30208 * math/libm-test.inc (struct test_f_f_data): New type.
30209 (IF_ROUND_INIT_): New macro.
30210 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
30211 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30212 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30213 (IF_ROUND_INIT_FE_UPWARD): Likewise.
30214 (ROUND_RESTORE_): Likewise.
30215 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
30216 (ROUND_RESTORE_FE_TONEAREST): Likewise.
30217 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
30218 (ROUND_RESTORE_FE_UPWARD): Likewise.
30219 (RUN_TEST_LOOP_f_f): New macro.
30220 (acos_test_data): New variable.
30221 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
30222 (acos_tonearest_test_data): New variable.
30223 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30225 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30227 * benchtests/bench-skeleton.c (startup): Fix coding style.
30229 2013-05-10 Joseph Myers <joseph@codesourcery.com>
30232 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
30233 negative infinity argument.
30234 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
30235 negative infinity argument.
30236 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
30237 negative infinity argument.
30238 * math/libm-test.inc (tgamma_test): Expect errno to be set for
30241 2013-05-10 Florian Weimer <fweimer@redhat.com>
30243 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
30244 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
30245 * iconv/iconv_prog.c (main): Likewise.
30246 * locale/programs/charmap-dir.c (charmap_readdir)
30247 (fopen_uncompressed): Likewise.
30248 * locale/programs/locfile.c (siblings_uncached)
30249 (write_locale_data): Use lstat64 instead of lstat.
30250 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
30253 2013-05-10 Andreas Jaeger <aj@suse.de>
30256 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
30258 Include <locale.h>.
30260 2013-05-09 Carlos O'Donell <carlos@redhat.com>
30262 * elf/dl-close.c (_dl_close_worker): Add comments.
30264 2013-05-09 Joseph Myers <joseph@codesourcery.com>
30267 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
30269 (__ieee754_rem_pio2l): Update comments.
30272 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
30274 (__ieee754_rem_pio2l): Update comments.
30276 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
30277 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
30279 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
30282 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
30283 (M_PI_34_LOG10El): Likewise.
30284 (M_PI2_LOG10El): Likewise.
30285 (M_PI4_LOG10El): Likewise.
30286 (M_PI_LOG10El): Likewise.
30288 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30292 2013-05-08 Joseph Myers <joseph@codesourcery.com>
30294 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
30295 (MINUS_ZERO_INIT): Likewise.
30296 (PLUS_INFTY_INIT): Likewise.
30297 (MINUS_INFTY_INIT): Likewise.
30298 (QNAN_VALUE_INIT): Likewise.
30299 (MAX_VALUE_INIT): Likewise.
30300 (MIN_VALUE_INIT): Likewise.
30301 (MIN_SUBNORM_VALUE_INIT): Likewise.
30302 (plus_zero): Initialize with PLUS_ZERO_INIT.
30303 (minus_zero): Initialize with MINUS_ZERO_INIT.
30304 (plus_infty): Initialize with PLUS_INFTY_INIT.
30305 (minus_infty): Initialize with MINUS_INFTY_INIT.
30306 (qnan_value): Initialize with QNAN_VALUE_INIT.
30307 (max_value): Initialize with MAX_VALUE_INIT.
30308 (min_value): Initialize with MIN_VALUE_INIT.
30309 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
30311 * math/libm-test.inc (RUN_TEST_if_f): New macro.
30312 (jn_test): Use TEST_if_f instead of TEST_ff_f.
30313 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
30314 (yn_test): Use TEST_if_f instead of TEST_ff_f.
30316 * math/libm-test.inc (RUN_TEST_f_f): New macro.
30317 (RUN_TEST_2_f): Likewise.
30318 (RUN_TEST_ff_f): Likewise.
30319 (RUN_TEST_fi_f): Likewise.
30320 (RUN_TEST_fl_f): Likewise.
30321 (RUN_TEST_fff_f): Likewise.
30322 (RUN_TEST_c_f): Likewise.
30323 (RUN_TEST_f_f1): Likewise.
30324 (RUN_TEST_fF_f1): Likewise.
30325 (RUN_TEST_fI_f1): Likewise.
30326 (RUN_TEST_ffI_f1): Likewise.
30327 (RUN_TEST_c_c): Likewise.
30328 (RUN_TEST_cc_c): Likewise.
30329 (RUN_TEST_f_i): Likewise.
30330 (RUN_TEST_f_i_tg): Likewise.
30331 (RUN_TEST_ff_i_tg): Likewise.
30332 (RUN_TEST_f_b): Likewise.
30333 (RUN_TEST_f_b_tg): Likewise.
30334 (RUN_TEST_f_l): Likewise.
30335 (RUN_TEST_f_L): Likewise.
30336 (RUN_TEST_sincos): Likewise.
30337 * math/gen-libm-test.pl (new_test): Take new argument to indicate
30338 whether to show exceptions. Do not include ");\n" in return
30340 (special_functions): Output call to RUN_TEST_sincos instead of
30341 check_float calls. Update calls to new_test.
30342 (parse_args): Output call to single RUN_TEST_* macro instead of
30343 check_* calls and other assignments. Update calls to new_test.
30349 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
30350 input to result for tgamma overflow.
30351 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
30352 (gamma_coeff): New variable.
30353 (NCOEFF): New macro.
30354 (gamma_positive): New function.
30355 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
30356 underflow here. Use gamma_positive instead of exp (lgamma) for
30358 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
30359 (gamma_coeff): New variable.
30360 (NCOEFF): New macro.
30361 (gammaf_positive): New function.
30362 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
30363 underflow here. Use gamma_positive instead of exp (lgamma) for
30365 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
30366 (gamma_coeff): New variable.
30367 (NCOEFF): New macro.
30368 (gammal_positive): New function.
30369 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
30370 underflow here. Use gamma_positive instead of exp (lgamma) for
30372 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
30373 (gamma_coeff): New variable.
30374 (NCOEFF): New macro.
30375 (gammal_positive): New function.
30376 (__ieee754_gammal_r): Handle positive infinity, overflow and
30377 underflow here. Handle NaN the same as positive infinity. Remove
30378 check x < 0xffffffff for negative integers. Use gamma_positive
30379 instead of exp (lgamma) for other arguments.
30380 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
30381 (gamma_coeff): New variable.
30382 (NCOEFF): New macro.
30383 (gammal_positive): New function.
30384 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
30385 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
30386 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
30387 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
30388 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
30389 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
30390 * sysdeps/generic/math_private.h (__gamma_productf): New
30392 (__gamma_product): Likewise.
30393 (__gamma_productl): Likewise.
30394 * math/Makefile (libm-calls): Add gamma_product.
30395 * math/libm-test.inc (tgamma_test): Add more tests.
30396 * sysdeps/i386/fpu/libm-test-ulps: Update.
30397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30399 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
30401 * benchtests/bench-skeleton.c (main): Preheat CPU.
30403 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
30405 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
30407 2013-05-07 Roland McGrath <roland@hack.frob.com>
30409 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
30410 and _dl_skip_args_internal.
30412 2013-05-07 Carlos O'Donell <carlos@redhat.com>
30414 * manual/message.texi (Message Translation): Talk about users.
30415 Message to key mapping impacts design.
30417 2013-05-06 Roland McGrath <roland@hack.frob.com>
30419 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
30421 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
30423 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
30424 * sysdeps/wordsize-64/glob64.c: ... here.
30426 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
30427 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
30430 * debug/getlogin_r_chk.c: Moved to ...
30431 * login/getlogin_r_chk.c: ... here.
30432 * debug/Makefile (routines): Move getlogin_r_chk to ...
30433 * login/Makefile (routines): ... here.
30434 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
30435 * login/Versions (libc: GLIBC_2.4): ... here.
30437 * io/poll.c (__poll): Renamed from poll.
30438 Add libc_hidden_def.
30439 (poll): Define as weak alias.
30441 * debug/ptsname_r_chk.c: Moved to ...
30442 * login/ptsname_r_chk.c: ... here.
30443 * debug/Makefile (routines): Move ptsname_r_chk to ...
30444 * login/Makefile (routines): ... here.
30445 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
30446 * login/Versions (libc: GLIBC_2.4): ... here.
30448 * posix/getlogin.c: Moved to ...
30449 * login/getlogin.c: ... here.
30450 * posix/getlogin_r.c: Moved to ...
30451 * login/getlogin_r.c: ... here.
30452 * posix/getlogin_r.c: Moved to ...
30453 * login/getlogin_r.c: ... here.
30454 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
30455 * login/Makefile (routines): ... here.
30456 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
30457 * login/Versions (libc: GLIBC_2.0): ... here.
30459 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
30460 (setrlimit): Define as weak alias.
30462 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
30463 Call __ names for open, ftruncate, and close.
30464 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
30465 (truncate): Define as weak alias.
30467 2013-05-06 Joseph Myers <joseph@codesourcery.com>
30469 * math/gen-libm-test.pl (parse_args): Initialize x before each
30470 test of frexp, modf and remquo.
30472 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
30473 test signgam value.
30475 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30479 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
30481 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30483 2013-05-06 Roland McGrath <roland@hack.frob.com>
30485 * elf/dl-writev.h: New file.
30486 * elf/dl-misc.c: Include it.
30487 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
30488 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
30490 2013-05-04 Joseph Myers <joseph@codesourcery.com>
30492 * math/libm-test.inc (noXFails): Remove variable.
30493 (noXPasses): Likewise.
30494 (BUILD_COMPLEX_INT): Remove macro.
30495 (print_screen): Remove xfail argument.
30496 (print_screen_max_error): Likewise.
30497 (update_stats): Likewise.
30498 (print_max_error): Likewise. Update calls to other affected
30500 (print_complex_max_error): Likewise.
30501 (test_single_exception): Update calls to print_screen.
30502 (test_single_errno): Likewise.
30503 (check_float_internal): Remove xfail argument. Update calls to
30504 other affected functions.
30505 (check_float): Likewise.
30506 (check_complex): Likewise.
30507 (check_int): Likewise.
30508 (check_long): Likewise.
30509 (check_bool): Likewise.
30510 (check_longlong): Likewise.
30511 (main): Don't print noXFails and noXPasses.
30512 * math/gen-libm-test.pl (top level): Don't mention expected
30513 failure handling in comment.
30514 (new_test): Don't handle expected failures.
30515 (parse_args): Don't mention expected failure handling in comment.
30516 (generate_testfile): Don't handle expected failures.
30517 (parse_ulps): Likewise.
30518 (print_ulps_file): Likewise.
30519 (get_failure): Remove function.
30520 (output_test): Don't handle expected failures.
30521 * make/README.libm-test: Don't mention expected failure handling.
30523 * math/libm-test.inc (plus_zero): Make const. Add initializer.
30524 (minus_zero): Likewise.
30525 (plus_infty): Likewise.
30526 (minus_infty): Likewise.
30527 (qnan_value): Likewise.
30528 (max_value): Likewise.
30529 (min_value): Likewise.
30530 (min_subnorm_value): Likewise.
30531 (initialize): Do not initialize those variables dynamically.
30533 2013-05-03 Roland McGrath <roland@hack.frob.com>
30535 * io/open.c (__open_2): Moved to ...
30536 * io/open_2.c: ... this new file.
30537 * io/open64.c (__open64_2): Moved to ...
30538 * io/open64_2.c: ... this new file.
30539 * io/openat.c (__openat_2): Moved to ...
30540 * io/openat_2.c: ... this new file.
30541 * io/openat64.c (__openat64_2): Moved to ...
30542 * io/openat64_2.c: ... this new file.
30543 * io/Makefile (routines): Add them.
30544 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
30545 * sysdeps/unix/sysv/linux/open_2.c: File removed.
30546 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
30547 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
30548 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
30549 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
30550 (__openat64): Add hidden_ver.
30551 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
30552 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
30554 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
30555 Separately conditionalize setting of GLRO(dl_sysinfo) so
30556 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
30557 as well, but the actual setting is only under [NEED_DL_SYSINFO].
30559 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30561 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
30562 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
30564 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
30565 * sysdeps/unix/sysv/linux/powerpc/init-first.c
30566 (_libc_vdso_platform_setup): Add __vdso_time initialization.
30567 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
30568 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
30570 2013-05-03 Joseph Myers <joseph@codesourcery.com>
30572 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
30573 test signgam value.
30575 * math/libm-test.inc (hypot_test): Do not use
30576 IGNORE_ZERO_INF_SIGN.
30578 2013-05-03 Andreas Jaeger <aj@suse.de>
30580 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
30582 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
30583 (PF_MAX): Adjust for VSOCK change.
30585 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30589 2013-05-02 Carlos O'Donell <carlos@redhat.com>
30592 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
30593 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
30594 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
30596 2013-05-02 David S. Miller <davem@davemloft.net>
30598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30600 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
30602 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
30604 2013-05-01 Roland McGrath <roland@hack.frob.com>
30606 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
30608 2013-05-01 Richard Smith <richard@metafoo.co.uk>
30611 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
30612 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30613 Use __attribute__ ((__gnu_inline__)).
30614 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30615 Don't use __attribute__ ((__gnu_inline__)).
30617 2013-05-01 Joseph Myers <joseph@codesourcery.com>
30620 * math/s_catan.c (__catan): Handle small real or imaginary part of
30621 input specially to avoid spurious underflow.
30622 * math/s_catanf.c (__catanf): Likewise.
30623 * math/s_catanh.c (__catanh): Likewise.
30624 * math/s_catanhf.c (__catanhf): Likewise.
30625 * math/s_catanhl.c (__catanhl): Likewise.
30626 * math/s_catanl.c (__catanl): Likewise.
30627 * math/libm-test.inc (catan_test): Add more tests.
30628 (catanh_test): Likewise.
30629 * sysdeps/i386/fpu/libm-test-ulps: Update.
30630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30632 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30636 2013-04-30 Joseph Myers <joseph@codesourcery.com>
30639 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
30640 accurately for denominator in atan2.
30641 * math/s_catanf.c (__catanf): Likewise.
30642 * math/s_catanh.c (__catanh): Likewise.
30643 * math/s_catanhf.c (__catanhf): Likewise.
30644 * math/s_catanhl.c (__catanhl): Likewise.
30645 * math/s_catanl.c (__catanl): Likewise.
30646 * math/libm-test.inc (catan_test): Add more tests.
30647 (catanh_test): Likewise.
30648 * sysdeps/i386/fpu/libm-test-ulps: Update.
30649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30651 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30653 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
30655 * benchtests/Makefile (bench): Remove slow benchmarks.
30656 * benchtests/atan-inputs: Add slow benchmark inputs.
30657 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
30658 (BENCH_FUNC): Accept variant offset.
30660 * benchtests/bench-skeleton.c (main): Run benchmark for each
30662 * benchtests/cos-inputs: Add slow benchmark inputs.
30663 * benchtests/exp-inputs: Likewise.
30664 * benchtests/pow-inputs: Likewise.
30665 * benchtests/sin-inputs: Likewise.
30666 * benchtests/slowatan-inputs: Remove.
30667 * benchtests/slowatan.c: Remove.
30668 * benchtests/slowcos-inputs: Remove.
30669 * benchtests/slowcos.c: Remove.
30670 * benchtests/slowexp-inputs: Remove.
30671 * benchtests/slowexp.c: Remove.
30672 * benchtests/slowpow-inputs: Remove.
30673 * benchtests/slowpow.c: Remove.
30674 * benchtests/slowsin-inputs: Remove.
30675 * benchtests/slowsin.c: Remove.
30676 * benchtests/slowtan-inputs: Remove.
30677 * benchtests/slowtan.c: Remove.
30678 * benchtests/tan-inputs: Add slow benchmark inputs.
30679 * scripts/bench.pl: Parse comments and directives.
30681 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
30683 ($(objpfx)bench-%.c): Remove *-ITER.
30684 * benchtests/bench-modf.c: Remove definition of ITER.
30685 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
30686 (main): Loop for DURATION seconds instead of fixed number of
30688 * scripts/bench.pl: Don't expect iterations in parameters.
30690 2013-04-29 Roland McGrath <roland@hack.frob.com>
30692 * io/fchdir.c (__fchdir): Renamed from fchdir.
30693 (fchdir): Define as weak alias.
30695 2013-04-29 Joseph Myers <joseph@codesourcery.com>
30697 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
30698 (ERRNO_EDOM): Likewise.
30699 (ERRNO_ERANGE): Likewise.
30700 (noErrnoTests): New variable.
30701 (init_max_error): Set errno to 0.
30702 (test_single_errno): New function.
30703 (test_errno): Likewise.
30704 (check_float_internal): Call test_errno. Set errno to 0.
30705 (check_complex): Refer to errno tests in comment.
30706 (check_int): Call test_errno. Set errno to 0.
30707 (check_long): Likewise.
30708 (check_bool): Likewise.
30709 (check_longlong): Likewise.
30710 (cos_test): Use ERRNO_* flags for errno tests instead of
30712 (expm1_test): Likewise.
30713 (fmod_test): Likewise.
30714 (ilogb_test): Likewise.
30715 (lgamma_test): Likewise.
30716 (pow_test): Likewise.
30717 (remainder_test): Likewise.
30718 (sin_test): Likewise.
30719 (tan_test): Likewise.
30720 (yn_test): Likewise.
30721 (initialize): Set errno to 0.
30722 (main): Print number of errno tests.
30723 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
30725 2013-04-29 Andreas Jaeger <aj@suse.de>
30728 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
30732 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
30733 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
30737 * stdlib/random.c (__initstate): Return NULL if
30741 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
30742 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
30745 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30749 2013-04-29 Joseph Myers <joseph@codesourcery.com>
30751 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
30752 of individual tests.
30753 (casin_test): Likewise.
30754 (casinh_test): Likewise.
30756 2013-04-27 Joseph Myers <joseph@codesourcery.com>
30759 * math/s_catan.c (__catan): Handle arguments with large real or
30760 imaginary part separately without squaring.
30761 * math/s_catanf.c (__catanf): Likewise.
30762 * math/s_catanh.c (__catanh): Likewise.
30763 * math/s_catanhf.c (__catanhf): Likewise.
30764 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30766 (__catanhl): Handle arguments with large real or imaginary part
30767 separately without squaring.
30768 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30770 (__catanl): Handle arguments with large real or imaginary part
30771 separately without squaring.
30772 * math/libm-test.inc (catan_test): Add more tests.
30773 (catanh_test): Likewise.
30774 * sysdeps/i386/fpu/libm-test-ulps: Update.
30775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30777 2013-04-27 Andreas Jaeger <aj@suse.de>
30780 * stdlib/stdlib.h: Update guards for qecvt.
30781 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
30784 2013-04-27 Allan McRae <allan@archlinux.org>
30786 * sysdeps/i386/fpu/libm-test-ulps: Update.
30788 2013-04-26 Joseph Myers <joseph@codesourcery.com>
30791 * math/s_catan.c: Include <float.h>.
30792 (__catan): Ensure underflow exception occurs for underflowed
30794 * math/s_catanf.c: Include <float.h>.
30795 (__catanf): Ensure underflow exception occurs for underflowed
30797 * math/s_catanh.c: Include <float.h>.
30798 (__catanh): Ensure underflow exception occurs for underflowed
30800 * math/s_catanhf.c: Include <float.h>.
30801 (__catanhf): Ensure underflow exception occurs for underflowed
30803 * math/s_catanhl.c: Include <float.h>.
30804 (__catanhl): Ensure underflow exception occurs for underflowed
30806 * math/s_catanl.c: Include <float.h>.
30807 (__catanl): Ensure underflow exception occurs for underflowed
30809 * math/libm-test.inc (catan_test): Add more tests.
30810 (catanh_test): Likewise.
30813 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
30814 underflowed result.
30815 * math/s_ccoshf.c (__ccoshf): Likewise.
30816 * math/s_ccoshl.c (__ccoshl): Likewise.
30817 * math/s_csin.c (__csin): Likewise.
30818 * math/s_csinf.c (__csinf): Likewise.
30819 * math/s_csinh.c (__csinh): Likewise.
30820 * math/s_csinhf.c (__csinhf): Likewise.
30821 * math/s_csinhl.c (__csinhl): Likewise.
30822 * math/s_csinl.c (__csinl): Likewise.
30823 * math/libm-test.inc (ccos_test): Add more tests.
30824 (ccosh_test): Likewise.
30825 (csin_test): Likewise.
30826 (csinh_test): Likewise.
30828 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30830 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
30831 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
30832 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
30833 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
30834 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
30835 powerpc/power5+/fpu folders.
30836 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
30839 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30841 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30843 2013-04-25 Joseph Myers <joseph@codesourcery.com>
30845 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
30846 additions to variable.
30847 [$(config-machine) = x86_64] (modules-names): Likewise.
30848 ($(objpfx)tst-audit3): Remove dependency.
30849 ($(objpfx)tst-audit3.out): Likewise.
30850 ($(objpfx)tst-audit4): Likewise.
30851 ($(objpfx)tst-audit4.out): Likewise.
30852 ($(objpfx)tst-audit5): Likewise.
30853 ($(objpfx)tst-audit5.out): Likewise.
30854 ($(objpfx)tst-audit6): Likewise.
30855 ($(objpfx)tst-audit6.out): Likewise.
30856 ($(objpfx)tst-audit7): Likewise.
30857 ($(objpfx)tst-audit7.out): Likewise.
30858 (tst-audit3-ENV): Remove variable.
30859 (tst-audit4-ENV): Likewise.
30860 (tst-audit5-ENV): Likewise.
30861 (tst-audit6-ENV): Likewise.
30862 (tst-audit7-ENV): Likewise.
30863 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30864 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30865 addition to variable.
30866 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30867 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30868 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30869 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30870 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30871 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30872 tst-audit3, tst-audit4 and tst-audit5.
30873 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30874 tst-audit6 and tst-audit7.
30875 [$(subdir) = elf] (modules-names): Add audit modules for those
30877 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30878 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30879 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30880 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30881 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30882 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30883 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30884 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30885 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30886 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30887 [$(subdir) = elf] (tst-audit3-ENV): New variable.
30888 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30889 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30890 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30891 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30892 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30894 [$(subdir) = elf && $(config-cflags-avx) = yes]
30895 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30896 [$(subdir) = elf && $(config-cflags-avx) = yes]
30897 (CFLAGS-tst-auditmod4a.c): Likewise.
30898 [$(subdir) = elf && $(config-cflags-avx) = yes]
30899 (CFLAGS-tst-auditmod4b.c): Likewise.
30900 [$(subdir) = elf && $(config-cflags-avx) = yes]
30901 (CFLAGS-tst-auditmod6b.c): Likewise.
30902 [$(subdir) = elf && $(config-cflags-avx) = yes]
30903 (CFLAGS-tst-auditmod6c.c): Likewise.
30904 [$(subdir) = elf && $(config-cflags-avx) = yes]
30905 (CFLAGS-tst-auditmod7b.c): Likewise.
30906 * elf/tst-audit3.c: Move to ...
30907 * sysdeps/x86_64/tst-audit3.c: ... here.
30908 * elf/tst-audit4.c: Move to ...
30909 * sysdeps/x86_64/tst-audit4.c: ... here.
30910 * elf/tst-audit5.c: Move to ...
30911 * sysdeps/x86_64/tst-audit5.c: ... here.
30912 * elf/tst-audit6.c: Move to ...
30913 * sysdeps/x86_64/tst-audit6.c: ... here.
30914 * elf/tst-audit7.c: Move to ...
30915 * sysdeps/x86_64/tst-audit7.c: ... here.
30916 * elf/tst-auditmod3a.c: Move to ...
30917 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30918 * elf/tst-auditmod3b.c: Move to ...
30919 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30920 * elf/tst-auditmod4a.c: Move to ...
30921 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30922 * elf/tst-auditmod4b.c: Move to ...
30923 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30924 * elf/tst-auditmod5a.c: Move to ...
30925 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30926 * elf/tst-auditmod5b.c: Move to ...
30927 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30928 * elf/tst-auditmod6a.c: Move to ...
30929 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30930 * elf/tst-auditmod6b.c: Move to ...
30931 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30932 * elf/tst-auditmod6c.c: Move to ...
30933 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30934 * elf/tst-auditmod7a.c: Move to ...
30935 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30936 * elf/tst-auditmod7b.c: Move to ...
30937 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30939 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30942 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30943 define unconditionally.
30944 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30945 define unconditionally.
30946 (INT8_C, INT16_C, etc.): Likewise.
30948 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
30950 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30951 __ehdr_start with hidden visibility.
30953 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30955 2013-04-24 Carlos O'Donell <carlos@redhat.com>
30957 * math/libm-test.inc (cos_test): Use accurate hex constants.
30958 (sincost_test): Likewise.
30960 2013-04-24 Joseph Myers <joseph@codesourcery.com>
30962 * math/libm-test.inc (catan_test): Add more tests.
30963 (catanh_test): Likewise.
30965 * math/s_catanf.c (__catanf): Use suffixed floating-point
30967 * math/s_catanhf.c (__catanhf): Likewise.
30968 * math/s_catanhl.c (__catanhl): Likewise.
30969 * math/s_catanl.c (__catanl): Likewise.
30972 * math/s_catan.c (__catan): Calculate imaginary part of result
30973 with log1p not log unless computing log of number close to 0.
30974 * math/s_catanf.c (__catanf): Likewise.
30975 * math/s_catanl.c (__catanl): Likewise.
30976 * math/s_catanh.c (__catanh): Calculate real part of result with
30977 log1p not log unless computing log of number close to 0.
30978 * math/s_catanhf.c (__catanhf): Likewise.
30979 * math/s_catanhl.c (__catanhl): Likewise.
30980 * math/libm-test.inc (catan_test): Add more tests.
30981 (catanh_test): Likewise.
30982 * sysdeps/i386/fpu/libm-test-ulps: Update.
30983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30985 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30987 * benchtests/Makefile: Mention files in which fast and slow
30988 paths of math functions are implemented.
30990 2013-04-23 Roland McGrath <roland@hack.frob.com>
30992 * sysdeps/posix/timespec_get.c: New file.
30994 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30996 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30998 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
31000 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
31001 powerpc/power5/fpu folders.
31002 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
31003 * benchtests/Makefile: Add modf testcase.
31004 * benchtests/bench-modf.c: New file: Benchmark test for mo
31006 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
31009 * time/Makefile (tests): Add tst-strptime-whitespace.
31010 * time/strptime_l.c (get_number): Use ISSPACE.
31011 (__strptime_internal): Likewise.
31012 * time/tst-strptime-whitespace.c: New test case.
31014 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
31016 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
31018 (_nss_files_init): Set it here.
31020 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
31022 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
31023 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
31026 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
31028 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
31030 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31032 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
31035 2013-04-21 David S. Miller <davem@davemloft.net>
31037 * po/ru.po: Update Russion translation from translation project.
31039 2013-04-17 Adam Conrad <adconrad@0c3.net>
31041 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
31044 2013-04-17 Carlos O'Donell <carlos@redhat.com>
31046 * configure.in: Remove i386 configure warning. Remove i386 case.
31047 * configure: Regenerate.
31048 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
31049 Add example to error message.
31050 * sysdeps/i386/configure: Regenerate.
31052 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31054 * benchtests/Makefile (bench): Add cos, tan, slowcos and
31056 * benchtests/cos-inputs: New file.
31057 * benchtests/slowcos-inputs: New file.
31058 * benchtests/slowcos.c: New file.
31059 * benchtests/slowtan-inputs: New file.
31060 * benchtests/slowtan.c: New file.
31061 * benchtests/tan-inputs: New file.
31063 2013-04-16 Roland McGrath <roland@hack.frob.com>
31065 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
31068 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31070 * benchtests/Makefile: Include cppflags-iterator.mk to add
31071 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
31073 * Makefile.in (bench-clean): New target.
31074 * benchtests/Makefile (bench-clean): Likewise.
31076 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
31078 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
31080 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
31082 * stdio-common/tstdiomisc.c: Fix coding-style violation.
31084 2013-04-15 Andreas Schwab <schwab@suse.de>
31086 * nscd/grpcache.c (cache_addgr): Properly check for short write.
31087 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31088 * nscd/pwdcache.c (cache_addpw): Likewise.
31089 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
31092 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31094 * benchtests/Makefile (bench): Write all output to
31095 bench-out.tmp together.
31097 2013-04-15 Andreas Schwab <schwab@suse.de>
31099 * nscd/nscd.c (main): Don't fork again after closing files.
31101 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31103 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
31105 * benchtests/Rules (bench-deps): Collect dependencies into a
31106 single variable. Add Makefile to dependencies.
31107 ($(objpfx)bench-%.c): Depend on bench-deps.
31109 2013-04-12 Roland McGrath <roland@hack.frob.com>
31110 Xavier Roche <roche+kml2@exalead.com>
31113 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
31114 just that it's a file descriptor.
31115 * manual/llio.texi (Synchronizing AIO Operations): Update description
31116 for EBADF error from aio_fsync.
31118 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
31120 * Rules (bench): Move target definition...
31121 * benchtests/Makefile: ... here.
31123 2013-04-11 Carlos O'Donell <carlos@redhat.com>
31125 * math/libm-test.inc (cos_test): Fix PI/2 test.
31126 (sincos_test): Likewise.
31127 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
31128 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
31130 2013-04-11 Andreas Schwab <schwab@suse.de>
31133 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
31134 accept exponent character only when digits were seen.
31135 * stdio-common/Makefile (tests): Add bug26.
31136 * stdio-common/bug26.c: New file.
31139 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
31142 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31144 * Makeconfig (rtld-prefix): Define built linker prefix.
31145 * Rules (run-bench): Use it.
31146 * math/Makefile (run-regen-ulps): Likewise.
31148 * Rules (bench): Remove eval.
31150 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31151 Roland McGrath <roland@hack.frob.com>
31152 Ondrej Bilka <neleai@seznam.cz>
31155 * time/getdate.c: Include ctype.h and alloca.h.
31156 (__getdate_r): Trim leading and trailing spaces of input.
31157 * time/tst-getdate.c (tests): Add tests with leading and
31160 2013-04-08 Roland McGrath <roland@hack.frob.com>
31163 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
31164 when computing value.
31166 2013-04-06 Carlos O'Donell <carlos@redhat.com>
31168 * math/README.libm-test (How can I generate "libm-test-ulps"?):
31169 Use testrun.sh to run libm tests.
31172 * elf/dl-open.c (dl_open_worker): memset all of seen array.
31174 2013-04-06 Marko Myllynen <myllynen@redhat.com>
31177 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
31179 2013-04-06 Carlos O'Donell <carlos@redhat.com>
31181 * Makefile.in (regen-ulps): New target.
31182 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
31183 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
31184 [ifneq (no,$(PERL)] (regen-ulps): New target.
31185 [ifeq (no,$(PERL)] (regen-ulps): New target.
31186 * math/libm-test.inc (ulps_file_name): Define.
31187 (output_dir): New variable.
31188 (options): Add "output-dir" option.
31189 (parse_opt): Handle 'o' case.
31190 (main): If output_dir is non-NULL use it as a prefix
31192 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
31194 2013-04-06 Carlos O'Donell <carlos@redhat.com>
31196 [BZ #10060, #10062]
31197 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
31198 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
31199 fail configure if __sync_val_compare_and_swap is not inlined.
31200 * sysdeps/i386/configure: Regenerate.
31201 * configure.in: Build for i686 when configured for i386.
31202 * configure: Regenerate.
31203 * README: Remove i386 reference.
31205 2013-04-06 Carlos O'Donell <carlos@redhat.com>
31207 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
31208 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31210 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
31212 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
31213 (lmsnanval): New variables.
31214 (F): Add conversion tests.
31215 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
31216 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
31218 * stdio-common/tstdiomisc.c (F): Properly collect individual
31221 [BZ #14686, #15336]
31222 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
31223 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
31224 Instead, use input NaN values or generate a qNaN by arithmetic
31225 operation. Also fix bugs to comply with the standard.
31226 * math/libm-test.inc (remainder_test): Add more tests.
31228 [BZ #15335, #15342]
31229 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
31230 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
31231 input NaN values or generate a qNaN by arithmetic operation.
31233 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
31236 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
31239 2013-04-03 Joseph Myers <joseph@codesourcery.com>
31242 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
31243 underflowed result.
31244 * math/s_cexpf.c (__cexpf): Likewise.
31245 * math/s_cexpl.c (__cexpl): Likewise.
31246 * math/libm-test.inc (cexp_test): Add more tests.
31248 2013-04-03 Andreas Schwab <schwab@suse.de>
31251 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
31252 order arrays from heap if bigger than alloca cutoff.
31254 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
31256 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
31257 (SNAN_TESTS_double): Refer to GCC PR56831.
31258 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
31261 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
31263 * Rules (bench): Move bench.out after the run is complete.
31265 * Rules (bench): Echo currently running benchmark.
31267 * benchtests/Makefile (bench): Add atan and slowatan.
31268 * benchtests/atan-inputs: New file.
31269 * benchtests/slowatan-inputs: New file.
31270 * benchtests/slowatan.c: New file.
31272 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
31273 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
31277 * sysdeps/unix/sysv/linux/kernel-features.h
31278 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
31279 __ASSUME_XFS_RESTRICTED_CHOWN.
31280 * sysdeps/unix/sysv/linux/pathconf.c
31281 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
31282 Save and restore errno.
31284 2013-04-02 Joseph Myers <joseph@codesourcery.com>
31287 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
31288 arguments using __kernel_casinh.
31289 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
31290 arguments using __kernel_casinhf.
31291 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
31292 arguments using __kernel_casinhl.
31293 * math/libm-test.inc (cacosh_test): Add more tests.
31294 * sysdeps/i386/fpu/libm-test-ulps: Update.
31295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31297 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31299 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
31300 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
31302 * bench/Makefile (bench): Add sin and slowsin.
31303 * benchtests/sin-inputs: New file.
31304 * benchtests/slowsin-inputs: New file.
31305 * benchtests/slowsin.c: New file.
31307 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
31308 (bench): Add slowexp and slowpow.
31309 (exp-ITER): Increase iterations.
31310 (pow-ITER): Likewise.
31311 * benchtests/exp-inputs: Change input.
31312 * benchtests/pow-inputs: Likewise.
31313 * benchtests/slowexp-inputs: New file.
31314 * benchtests/slowexp.c: New file.
31315 * benchtests/slowpow-inputs: New file.
31316 * benchtests/slowpow.c: New file.
31318 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31320 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
31322 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31323 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
31324 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
31325 * benchtests/Makefile: Add rint benchtest.
31326 * benchtests/rint-inputs: Input for rint benchtest.
31328 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
31330 * Versions.def (libm): Add GLIBC_2.18.
31331 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
31332 hidden libm prototypes.
31333 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
31334 * math/Makefile (libm-calls): Add s_issignaling.
31335 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
31336 __issignalingf, __issignalingl. Adjust all libm.abilist files.
31337 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
31339 * math/math.h [__USE_GNU] (issignaling): New macro.
31340 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
31341 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
31342 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
31343 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
31344 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
31345 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
31346 * manual/arith.texi (issignaling): New section.
31347 * manual/libm-err-tab.pl (@all_functions): Update comment.
31348 * math/gen-libm-test.pl (parse_args): Apply special handling for
31350 * math/libm-test.inc (print_float, issignaling_test): New
31352 (check_float_internal): Add issignaling checks.
31353 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
31354 default definition.
31355 * sysdeps/powerpc/math-tests.h: New file.
31356 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
31358 * math/test-snan.c (TEST_FUNC): Likewise.
31360 2013-03-30 David S. Miller <davem@davemloft.net>
31362 * po/de.po: Update from translation team.
31364 2013-03-30 Joseph Myers <joseph@codesourcery.com>
31367 * math/k_casinh.c (__kernel_casinh): Handle arguments with
31368 imaginary part less than 1.0 and real part less than 0.5
31370 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31371 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31372 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
31373 (cacos_test): Add more tests.
31374 (casin_test): Likewise.
31375 (casinh_test): Likewise.
31376 * sysdeps/i386/fpu/libm-test-ulps: Update.
31377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31379 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31381 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
31382 ONE with its value.
31384 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
31385 (__pow_mp): Replace ONE and MONE with their values.
31386 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31387 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
31388 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31389 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
31390 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31391 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31393 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
31395 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
31396 (__pow_mp): Replace ZERO and MZERO with their values.
31397 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
31398 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31399 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31400 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31401 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31402 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
31405 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
31407 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
31409 2013-03-28 Roland McGrath <roland@hack.frob.com>
31411 * include/stdlib.h [!SHARED] (__call_tls_dtors):
31412 Declare with __attribute__ ((weak)).
31413 * stdlib/exit.c (__libc_atexit) [!SHARED]:
31414 Call __call_tls_dtors only if it's not NULL.
31416 2013-03-28 Roland McGrath <roland@hack.frob.com>
31418 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
31419 didn't do it already, then set _dl_phdr and _dl_phnum based on the
31420 magic __ehdr_start linker symbol if it's defined.
31421 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
31422 them up here if it was already done.
31424 * elf/dl-support.c (_dl_phdr): Make pointer to const.
31425 (_dl_aux_init): Use const in cast when setting it.
31426 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
31427 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
31428 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
31430 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
31432 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
31433 * csu/libc-tls.c: Nor here.
31434 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
31436 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
31437 (__libc_message): Never call vsyslog.
31439 2013-03-28 Alan Modra <amodra@gmail.com>
31441 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
31443 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
31446 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31449 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
31451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31453 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31456 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
31457 Don't add gid passed as argument.
31459 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
31461 2013-03-27 Joseph Myers <joseph@codesourcery.com>
31464 * math/k_casinh.c (__kernel_casinh): Handle arguments with
31465 imaginary part between 1.0 and 1.5 and real part less than 0.5
31467 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31468 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31469 * math/libm-test.inc (cacos_test): Add more tests.
31470 (casin_test): Likewise.
31471 (casinh_test): Likewise.
31472 * sysdeps/i386/fpu/libm-test-ulps: Update.
31473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31475 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31477 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
31480 (denorm): Likewise.
31481 (__dbl_mp): Likewise.
31482 (add_magnitudes): Likewise.
31483 (sub_magnitudes): Likewise.
31491 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
31493 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
31494 (__dubcos): Likewise.
31495 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
31496 (__ieee754_acos): Likewise.
31497 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
31498 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
31499 (__exp1): Likewise.
31500 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31501 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31503 (my_log2): Likewise.
31504 (checkint): Likewise.
31505 * sysdeps/ieee754/dbl-64/e_remainder.c
31506 (__ieee754_remainder): Likewise.
31507 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31508 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
31509 (bsloww): Likewise.
31510 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31512 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31513 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
31514 MANTISSA_STORE_T to store computations on mantissa. Use
31515 macros for rounding and division.
31516 (denorm): Likewise.
31517 (__dbl_mp): Likewise.
31518 (add_magnitudes): Likewise.
31519 (sub_magnitudes): Likewise.
31522 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31523 powers of two in terms of TWOPOW macro.
31524 (mp_no): Make type of mantissa as MANTISSA_T.
31525 [!RADIXI]: Define RADIXI.
31526 [!TWO52]: Define TWO52.
31527 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31529 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31531 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
31532 llroundl symbol when building for PPC32.
31534 2013-03-24 Mark H Weaver <mhw@netris.org>
31536 * manual/arith.texi (Normalization Functions): Fix prototypes for
31537 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
31539 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31542 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
31543 high value to check if expl overflow.
31544 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
31545 to check for underflow and overflow.
31546 * math/libm-test.inc: Add exp test.
31548 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
31551 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
31554 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31556 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
31559 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
31561 * math/gen-libm-test.pl (parse_args, special_functions): Properly
31562 wrap blocks consisting of several statements.
31564 * sysdeps/generic/math-tests.h: New file.
31565 * sysdeps/i386/fpu/math-tests.h: Likewise.
31566 * math/test-snan.c: Include it.
31567 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
31569 2013-03-21 Joseph Myers <joseph@codesourcery.com>
31572 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
31573 (__ieee754_j0l): Do not improve calculations using cos of twice
31574 input for inputs above LDBL_MAX / 2.0L.
31575 (__ieee754_y0l): Likewise.
31576 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
31577 (__ieee754_j1l): Do not improve calculations using cos of twice
31578 input for inputs above LDBL_MAX / 2.0L.
31579 (__ieee754_y1l): Likewise.
31580 * math/libm-test.inc (j0_test): Add another test.
31581 (j1_test): Likewise.
31582 (y0_test): Likewise.
31583 (y1_test): Likewise.
31584 * sysdeps/i386/fpu/libm-test-ulps: Update.
31586 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31588 * Rules ($(objpfx)bench-%.c): Include code from a C source
31591 2013-03-21 Joseph Myers <joseph@codesourcery.com>
31594 * math/k_casinh.c (__kernel_casinh): Handle arguments with
31595 imaginary part 1.0 and real part less than 0.5 specially.
31596 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31597 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31598 * math/libm-test.inc (cacos_test): Add more tests.
31599 (casin_test): Likewise.
31600 (casinh_test): Likewise.
31601 * sysdeps/i386/fpu/libm-test-ulps: Update.
31602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31604 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31606 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
31607 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
31609 2013-03-20 Joseph Myers <joseph@codesourcery.com>
31611 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
31612 * config.make.in (config-cflags-sse4): Remove variable.
31613 (config-cflags-avx): Likewise.
31614 (config-cflags-sse2avx): Likewise.
31615 (config-cflags-novzeroupper): Likewise.
31616 (config-asflags-i686): Likewise.
31617 (have-mfma4): Likewise.
31618 (have-as-vis3): Likewise.
31620 * configure.in (MIG): Do not AC_SUBST.
31621 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
31622 (libc_cv_cc_sse4): Do not AC_SUBST.
31623 (libc_cv_cc_avx): Likewise.
31624 (libc_cv_cc_sse2avx): Likewise.
31625 (libc_cv_cc_novzeroupper): Likewise.
31626 (libc_cv_cc_fma4): Likewise.
31627 (libc_cv_as_i686): Likewise.
31628 (libc_cv_sparc_as_vis3): Likewise.
31629 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
31631 (config-asflags-i686): Likewise.
31632 (config-cflags-avx): Likewise.
31633 (config-cflags-sse2avx): Likewise.
31634 (have-mfma4): Likewise.
31635 (config-cflags-novzeroupper): Likewise.
31636 * sysdeps/mach/configure.in (MIG): Likewise.
31637 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
31638 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
31640 (config-cflags-avx): Likewise.
31641 (config-cflags-sse2avx): Likewise.
31642 (have-mfma4): Likewise.
31643 (config-cflags-novzeroupper): Likewise.
31644 * configure: Regenerated.
31645 * sysdeps/i386/configure: Likewise.
31646 * sysdeps/mach/configure: Likewise.
31647 * sysdeps/sparc/configure: Likewise.
31648 * sysdeps/x86_64/configure: Likewise.
31650 2013-03-20 Roland McGrath <roland@hack.frob.com>
31653 * locale/programs/localedef.c (options): Put N_ translation marker
31654 on argument names, not just descriptions.
31656 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31658 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
31660 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
31663 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
31665 2013-03-19 Roland McGrath <roland@hack.frob.com>
31667 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
31668 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
31669 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
31670 [!BEFORE_ABORT] (before_abort): New function.
31671 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
31672 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
31673 (writev_for_fatal): New function.
31674 (WRITEV_FOR_FATAL): New macro; call that.
31675 (backtrace_and_maps): New function.
31676 (BEFORE_ABORT): New macro; call that.
31677 (struct str_list): Type removed.
31678 (__libc_message, __libc_fatal): Functions removed.
31679 Include <sysdeps/posix/libc_fatal.c> instead.
31681 2013-03-19 Joseph Myers <joseph@codesourcery.com>
31683 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
31685 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
31688 2013-03-19 Andreas Schwab <schwab@suse.de>
31690 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
31691 * sysdeps/gnu/configure: Regenerate.
31693 * configure.in: Substitute libc_cv_rtlddir.
31694 * configure: Regenerate.
31695 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
31696 * Makeconfig (rtlddir, inst_rtlddir): New variables.
31697 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
31698 * elf/Makefile (install-others, CFLAGS-interp.c)
31699 (ldso_install, common-ldd-rewrite): Likewise.
31700 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
31701 $(inst_slibdir)/$(rtld-installed-name).
31702 * scripts/rellns-sh: Add -p option.
31703 * Makerules (make-shlib-link): Use rellns-sh to get relative name
31706 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31708 * manual/nptl.texi: Renamed to ...
31709 * manual/threads.texi: ... this.
31710 * manual/Makefile (chapters): Update.
31712 2013-03-18 Roland McGrath <roland@hack.frob.com>
31715 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
31716 on argument names, not just descriptions.
31717 * malloc/memusagestat.c (options): Likewise.
31718 * nss/getent.c (options): Likewise.
31720 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
31723 * iconv/iconv_prog.c (options): Put N_ translation marker
31724 on argument names, not just descriptions.
31725 * iconv/iconvconfig.c (options): Likewise.
31727 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
31729 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
31730 implementation which is faster on all x86_64 architectures.
31731 Tested on AMD, Intel Nehalem, SNB, IVB.
31732 * sysdeps/x86_64/strnlen.S: Likewise.
31734 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31735 Remove all multiarch strlen and strnlen versions.
31736 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31737 Remove strlen and strnlen related parts.
31739 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
31740 Inline strlen part.
31741 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
31743 * sysdeps/x86_64/multiarch/strlen.S: Remove.
31744 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
31745 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
31746 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
31747 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31748 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
31750 2013-03-17 Carlos O'Donell <carlos@redhat.com>
31752 * manual/memory.texi (Malloc Tunable Parameters):
31753 Sort parameters alphabetically. Add comments for missing entries.
31755 2013-03-17 David S. Miller <davem@davemloft.net>
31757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31759 2013-03-16 Joseph Myers <joseph@codesourcery.com>
31762 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
31763 for arguments at most half maximum finite value.
31764 * math/libm-test.inc (j0_test): Add more tests.
31765 (j1_test): Likewise.
31766 (y0_test): Likewise.
31767 (y1_test): Likewise.
31768 * sysdeps/i386/fpu/libm-test-ulps: Update.
31769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31772 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
31773 1 / x and functions P and Q for arguments above 0x1p256L.
31774 (__ieee754_y0l): Likewise.
31775 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
31776 (__ieee754_y1l): Likewise.
31777 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
31778 (j1_test): Likewise.
31779 (y0_test): Likewise.
31780 (y1_test): Likewise.
31782 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
31784 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
31787 2013-03-15 Roland McGrath <roland@hack.frob.com>
31789 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
31790 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
31791 zero since it's initialized to EXEC_PAGESIZE.
31793 * sysdeps/unix/sysv/linux/ldsodefs.h
31794 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
31795 * sysdeps/generic/ldsodefs.h: ... here.
31797 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
31799 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
31801 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
31803 * math/test-snan.c: Renamed from
31804 sysdeps/powerpc/fpu/test-powerpc-snan.c.
31805 * math/Makefile (tests): Add test-snan.
31806 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
31809 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
31810 SUFFIX. Initialize qNaN_var with __builtin_nan family of
31812 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
31813 __builtin_nan family of functions.
31814 * math/libm-test.inc (initialize): Initialize qnan_value with
31815 __builtin_nan family of functions.
31816 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
31818 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
31820 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
31821 storage class. Initialize qNaN_var and sNaN_var with
31822 __builtin_nan and __builtin_nans families of functions,
31825 * math/libm-test.inc (acosh_test): Also test with qNaN input.
31826 (sqrt_test): Remove duplicate test with qNaN input.
31827 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
31828 (round_test, signbit_test, significand_test): Note missing +/-Inf
31829 as well as qNaN tests.
31831 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
31832 qNaN_var. Fix a few strings, too.
31833 * math/libm-test.inc (nan_value): Rename to qnan_value.
31834 * math/gen-libm-test.pl (%beautify): Adjust to that.
31835 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
31836 * math/test-misc.c (main): Likewise.
31837 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
31838 to __qnan_bytes, and __qnan_union, respectively.
31839 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
31841 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
31842 and lqnanval, respectively.
31843 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
31844 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
31845 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
31846 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
31848 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
31849 * math/test-misc.c (main) [__x86_64__]: Enable test for long
31852 * math/test-misc.c (main): Fix copy'n'pastos.
31853 * misc/tst-efgcvt.c (special): Likewise.
31855 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
31856 Remove declarations.
31858 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31860 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31861 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31862 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31863 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31865 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31867 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31868 macro to return vdso values correctly in IFUNC implementations.
31869 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31870 Optimization by using IFUNC.
31872 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31873 Richard Henderson <rth@redhat.com>
31874 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31876 * Makefile.in (bench): New target.
31877 * NEWS: Mention the benchmark framework.
31878 * Rules (bench): Likewise.
31879 (binaries-bench): Generate binaries for functions to
31881 * benchtests/Makefile: New makefile for benchmark tests.
31882 * benchtests/bench-skeleton.c: New skeleton file for benchmark
31884 * benchtests/exp-inputs: New input file for EXP function.
31885 * benchtests/pow-inputs: New input file for POW function.
31886 * scripts/bench.pl: New script to generate source files for
31887 benchmark programs.
31889 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31891 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31892 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31893 computations on mantissa. Use macros for rounding and
31895 (denorm): Likewise.
31896 (__dbl_mp): Likewise.
31897 (add_magnitudes): Likewise.
31898 (sub_magnitudes): Likewise.
31901 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31902 powers of two in terms of TWOPOW macro.
31903 (mp_no): Make type of mantissa as MANTISSA_T.
31904 [!RADIXI]: Define RADIXI.
31905 [!TWO52]: Define TWO52.
31906 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31908 * manual/nptl.texi (cindex): Modify threads to pthreads.
31910 2013-03-15 Joseph Myers <joseph@codesourcery.com>
31912 * sysdeps/x86_64/preconfigure: Regenerated.
31914 2013-03-14 Joseph Myers <joseph@codesourcery.com>
31917 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31919 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31920 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31922 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31923 * math/libm-test.inc (j0_test): Do not allow one spurious
31924 underflow exception.
31925 (y1_test): Likewise.
31927 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31929 * manual/Makefile (chapters): Add nptl.
31930 * manual/debug.texi (Debugging Support): Add link to Threads
31932 * manual/nptl.texi: New file.
31934 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31936 2013-03-14 Petr Baudis <pasky@ucw.cz>
31938 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31939 for non-NULL pointer before the memory validity test. Pointed
31940 out by Holger Brunck <holger.brunck@keymile.com>.
31942 2013-03-13 Andreas Schwab <schwab@suse.de>
31944 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31947 2013-03-13 Joseph Myers <joseph@codesourcery.com>
31949 * timezone/zic.c: Update from tzcode 2013b.
31951 2013-03-12 Carlos O'Donell <carlos@redhat.com>
31953 * manual/install.texi (Configuring and compiling):
31954 Mention i686 and i586.
31955 * INSTALL: Regenerate.
31957 2013-03-12 Roland McGrath <roland@hack.frob.com>
31959 * sysdeps/init_array/elf-init.c: New file.
31961 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31962 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31964 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31965 __gmon_start__ as global, but as static with a .preinit_array pointer.
31966 * sysdeps/init_array/gmon-start.c: New file. Use that.
31967 * sysdeps/init_array/crti.S: New file, empty except for comments.
31968 * sysdeps/init_array/crtn.S: Likewise.
31970 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
31972 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31974 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31975 Remove Prefer_SSE_for_memop.
31976 * sysdeps/x86_64/multiarch/init-arch.h: Remove
31977 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31978 HAS_PREFER_SSE_FOR_MEMOP.
31979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31981 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31982 Remove bzero, memset ifunc support.
31983 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31984 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31985 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31986 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31988 2013-03-11 Andreas Schwab <schwab@suse.de>
31991 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31994 (GLIBC_2.16): Remove pthread_atfork.
31996 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31998 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31999 (ptestcases.h): Likewise.
32001 2013-03-08 Roland McGrath <roland@hack.frob.com>
32003 * Makeconfig ($(common-objpfx)config.status): Depend on
32004 sysdeps/*/preconfigure{,.in} too.
32006 2013-03-08 Joseph Myers <joseph@codesourcery.com>
32008 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
32009 (__free_hook): Use void * instead of __malloc_ptr_t.
32010 (__malloc_hook): Likewise.
32011 (__realloc_hook): Likewise.
32012 (__memalign_hook): Likewise.
32013 (__after_morecore_hook): Likewise.
32014 * malloc/arena.c (save_malloc_hook): Likewise.
32015 (save_free_hook): Likewise.
32016 * malloc/hooks.c (malloc_hook_ini): Likewise.
32017 (realloc_hook_ini): Likewise.
32018 (memalign_hook_ini): Likewise.
32019 * malloc/malloc.c (malloc_hook_ini): Likewise.
32020 (realloc_hook_ini): Likewise.
32021 (memalign_hook_ini): Likewise.
32022 (__free_hook): Likewise.
32023 (__malloc_hook): Likewise.
32024 (__realloc_hook): Likewise.
32025 (__memalign_hook): Likewise.
32026 (__libc_malloc): Likewise.
32027 (__libc_free): Likewise.
32028 (__libc_realloc): Likewise.
32029 (__libc_memalign): Likewise.
32030 (__libc_valloc): Likewise.
32031 (__libc_pvalloc): Likewise.
32032 (__libc_calloc): Likewise.
32033 (__posix_memalign): Likewise.
32034 * malloc/morecore.c (__sbrk): Likewise.
32035 (__default_morecore): Likewise.
32037 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
32039 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
32040 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
32041 __malloc_ptrdiff_t.
32043 * malloc/malloc.h (__malloc_size_t): Remove macro.
32044 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
32046 (old_memalign_hook): Likewise.
32047 (old_realloc_hook): Likewise.
32048 (struct hdr): Likewise.
32050 (mallochook): Likewise.
32051 (memalignhook): Likewise.
32052 (reallochook): Likewise.
32053 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
32054 (tr_old_realloc_hook): Likewise.
32055 (tr_old_memalign_hook): Likewise.
32056 (tr_mallochook): Likewise.
32057 (tr_reallochook): Likewise.
32058 (tr_memalignhook): Likewise.
32060 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32062 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
32063 default_ldbl_pack and using as default implementation.
32064 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
32066 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
32067 redundant definition.
32068 (ldbl_insert_mantissa): Likewise.
32069 (ldbl_canonicalize): Likewise.
32070 (ldbl_nearbyint): Likewise.
32071 (ldbl_pack): Rename to ldbl_pack_ppc.
32072 (ldbl_unpack): Rename to ldbl_unpack_ppc.
32073 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
32074 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
32076 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32078 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
32079 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
32080 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
32081 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
32082 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
32083 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
32084 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
32085 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
32087 2013-03-07 Andreas Jaeger <aj@suse.de>
32089 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32092 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32094 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
32095 Include mpa.h and declare __MPEXP.
32096 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
32097 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
32098 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
32099 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
32100 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
32101 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
32102 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
32104 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
32105 (__slowpow): Use long double EXPL and LOGL functions to
32107 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
32108 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
32109 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
32110 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
32111 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
32112 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
32114 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
32115 intermediate variable to calculate exponent.
32117 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32121 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
32122 [!NO__SQR]: Define __sqr.
32123 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
32124 and NO__SQR. Remove all code except __mul and __sqr. Include
32125 sysdeps/ieee754/dbl-64/mpa.c.
32126 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32129 * posix/Makefile (tests): Add tst-pathconf.
32130 * posix/tst-pathconf.c: New test case.
32131 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
32133 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
32135 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
32137 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
32139 2013-03-06 Andreas Jaeger <aj@suse.de>
32141 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
32142 definition via __MAP_ANONYMOUS.
32144 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
32145 it's not part of Linux headers.
32147 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
32148 (MAP_HUGE_MASK): Define.
32150 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32152 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32153 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32155 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32156 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32158 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32159 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
32161 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32163 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
32164 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
32165 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
32166 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
32167 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
32168 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
32170 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32173 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32174 Handle f2fs and efivarfs.
32176 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
32179 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
32180 (EFIVARFS_MAGIC): Add.
32181 (F2FS_LINK_MAX): Add.
32183 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32185 * stdio-common/vfprintf.c: Replace __builtin_expect with
32188 2013-03-06 Joseph Myers <joseph@codesourcery.com>
32191 * sysdeps/generic/bp-sym.h: Remove file.
32192 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
32193 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
32194 <bp-sym.h> and <bp-asm.h>.
32195 (__longjmp): Don't use BP_SYM.
32196 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
32198 (memcpy): Don't use BP_SYM.
32199 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
32200 <bp-sym.h> and <bp-asm.h>.
32201 (memcpy): Don't use BP_SYM.
32202 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
32204 (memcpy): Don't use BP_SYM.
32205 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
32207 (memset): Don't use BP_SYM.
32208 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32209 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32210 (__bzero): Don't use BP_SYM.
32211 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32212 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32213 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
32214 <bp-sym.h> and <bp-asm.h>.
32215 (memcmp): Don't use BP_SYM. Remove comment about bounded
32217 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
32218 <bp-sym.h> and <bp-asm.h>.
32219 (memcpy): Don't use BP_SYM.
32220 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
32221 <bp-sym.h> and <bp-asm.h>.
32222 (memset): Don't use BP_SYM.
32223 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32224 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32225 (__bzero): Don't use BP_SYM.
32226 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32227 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32228 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
32229 <bp-sym.h> and <bp-asm.h>.
32230 (strncmp): Don't use BP_SYM. Remove comment about bounded
32232 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
32233 <bp-sym.h> and <bp-asm.h>.
32234 (memcpy): Don't use BP_SYM.
32235 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
32236 <bp-sym.h> and <bp-asm.h>.
32237 (memset): Don't use BP_SYM.
32238 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32239 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32240 (__bzero): Don't use BP_SYM.
32241 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32242 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32243 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
32244 <bp-sym.h> and <bp-asm.h>.
32245 (__memchr): Don't use BP_SYM.
32246 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
32247 <bp-sym.h> and <bp-asm.h>.
32248 (memcmp): Don't use BP_SYM. Remove comment about bounded
32250 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
32251 <bp-sym.h> and <bp-asm.h>.
32252 (memcpy): Don't use BP_SYM.
32253 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
32254 <bp-sym.h> and <bp-asm.h>.
32255 (__mempcpy): Don't use BP_SYM.
32256 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
32257 <bp-sym.h> and <bp-asm.h>.
32258 (__memrchr): Don't use BP_SYM.
32259 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
32260 <bp-sym.h> and <bp-asm.h>.
32261 (memset): Don't use BP_SYM.
32262 (__bzero): Likewise.
32263 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
32264 <bp-sym.h> and <bp-asm.h>.
32265 (__rawmemchr): Don't use BP_SYM.
32266 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
32267 <bp-sym.h> and <bp-asm.h>.
32268 (__STRCMP): Don't use BP_SYM.
32269 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
32270 <bp-sym.h> and <bp-asm.h>.
32271 (strchr): Don't use BP_SYM.
32272 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
32273 <bp-sym.h> and <bp-asm.h>.
32274 (__strchrnul): Don't use BP_SYM.
32275 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
32276 <bp-sym.h> and <bp-asm.h>.
32277 (strlen): Don't use BP_SYM.
32278 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
32279 <bp-sym.h> and <bp-asm.h>.
32280 (strncmp): Don't use BP_SYM. Remove comment about bounded
32282 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
32283 <bp-sym.h> and <bp-asm.h>.
32284 (__strnlen): Don't use BP_SYM.
32285 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
32286 <bp-sym.h> and <bp-asm.h>.
32287 (__GI__setjmp): Don't use BP_SYM.
32288 (_setjmp): Likewise.
32289 (__sigsetjmp): Likewise.
32290 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
32291 (L(start_addresses)): Don't use BP_SYM.
32292 (_start): Likewise.
32293 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
32295 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
32296 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
32297 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32298 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32299 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
32301 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
32302 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
32303 about bounded pointers.
32304 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32305 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32306 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
32308 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
32309 about bounded pointers. Remove GKM FIXME comments.
32310 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32311 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
32313 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
32314 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
32315 Remove GKM FIXME comments.
32316 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32317 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32318 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
32320 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
32321 about bounded pointers. Remove GKM FIXME comment.
32322 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
32324 (strncmp): Don't use BP_SYM. Remove comment about bounded
32326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
32327 <bp-sym.h> and <bp-asm.h>.
32328 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
32329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
32330 <bp-sym.h> and <bp-asm.h>.
32331 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
32334 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32336 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
32339 2013-03-05 David S. Miller <davem@davemloft.net>
32341 * po/es.po: Update from translation team.
32343 2013-03-05 Andreas Jaeger <aj@suse.de>
32345 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
32346 <bits/mman-linux.h>.
32347 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32349 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
32350 <bits/mman-linux.h> to end of file.
32351 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32353 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
32354 <bits/mman-linux.h> to end of file.
32355 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32357 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
32358 <bits/mman-linux.h> to end of file.
32360 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
32361 (MCL_CURRENT, MCL_FUTURE): Define here.
32363 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32366 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
32368 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32370 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32372 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
32373 fourth parameter needed for rt_sigprocmask syscall.
32374 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
32375 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32376 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
32377 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32378 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32379 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
32381 2013-03-04 Joseph Myers <joseph@codesourcery.com>
32384 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
32385 comment about bounded pointers.
32386 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
32387 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
32389 2013-03-04 Andreas Jaeger <aj@suse.de>
32391 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
32392 common definitions.
32394 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
32395 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
32396 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
32397 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32398 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32399 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32401 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32404 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
32405 __ieee754_sqrl instead of __sqrl.
32407 2013-03-01 Joseph Myers <joseph@codesourcery.com>
32409 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
32410 * sysdeps/powerpc/fpu_control.h: ... here.
32411 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
32412 * sysdeps/powerpc/bits/fenvinline.h: ... here.
32413 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
32414 * sysdeps/powerpc/bits/mathinline.h: ... here.
32416 2013-03-01 Roland McGrath <roland@hack.frob.com>
32418 * elf/dl-hwcaps.c (_dl_important_hwcaps):
32419 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
32420 to just [NEED_DL_SYSINFO_DSO].
32421 * elf/dl-support.c: Likewise.
32422 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
32423 * elf/rtld.c (dl_main): Likewise.
32424 * elf/setup-vdso.h (setup_vdso): Likewise.
32425 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
32426 * sysdeps/unix/sysv/linux/dl-sysdep.c
32427 (_dl_discover_osversion): Likewise.
32429 2013-03-01 Carlos O'Donell <carlos@redhat.com>
32431 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
32432 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
32434 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
32436 * NEWS: Mention libm performance improvements and non-x86 PI
32439 * csu/libc-start.c (__pthread_initialize_minimal): Change
32440 function arguments.
32441 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
32443 2013-02-28 Joseph Myers <joseph@codesourcery.com>
32446 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
32447 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
32448 <bp-sym.h> and <bp-asm.h>.
32449 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32450 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
32452 (memcpy): Don't use BP_SYM.
32453 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
32455 (__mpn_add_n): Don't use BP_SYM.
32456 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
32457 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
32459 (__mpn_addmul_1): Don't use BP_SYM.
32460 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32461 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
32463 (_setjmp): Don't use BP_SYM.
32464 (__novmx_setjmp): Likewise.
32465 (__GI__setjmp): Likewise.
32466 (__vmx_setjmp): Likewise.
32467 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
32469 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
32470 (__bzero): Don't use BP_SYM.
32471 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32472 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32473 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
32474 <bp-sym.h> and <bp-asm.h>.
32475 (memcpy): Don't use BP_SYM.
32476 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
32477 <bp-sym.h> and <bp-asm.h>.
32478 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32479 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
32480 <bp-sym.h> and <bp-asm.h>.
32481 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32482 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
32484 (__mpn_lshift): Don't use BP_SYM.
32485 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32486 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
32488 (memset): Don't use BP_SYM.
32489 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32490 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32491 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
32493 (__mpn_mul_1): Don't use BP_SYM.
32494 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32495 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
32496 <bp-sym.h> and <bp-asm.h>.
32497 (memcmp): Don't use BP_SYM.
32498 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
32499 <bp-sym.h> and <bp-asm.h>.
32500 (memcpy): Don't use BP_SYM.
32501 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
32502 <bp-sym.h> and <bp-asm.h>.
32503 (memset): Don't use BP_SYM.
32504 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
32505 <bp-sym.h> and <bp-asm.h>.
32506 (strncmp): Don't use BP_SYM.
32507 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
32508 <bp-sym.h> and <bp-asm.h>.
32509 (memcpy): Don't use BP_SYM.
32510 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
32511 <bp-sym.h> and <bp-asm.h>.
32512 (memset): Don't use BP_SYM.
32513 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
32514 <bp-sym.h> and <bp-asm.h>.
32515 (__memchr): Don't use BP_SYM.
32516 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
32517 <bp-sym.h> and <bp-asm.h>.
32518 (memcmp): Don't use BP_SYM.
32519 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
32520 <bp-sym.h> and <bp-asm.h>.
32521 (memcpy): Don't use BP_SYM.
32522 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
32523 <bp-sym.h> and <bp-asm.h>.
32524 (__mempcpy): Don't use BP_SYM.
32525 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
32526 <bp-sym.h> and <bp-asm.h>.
32527 (__memrchr): Don't use BP_SYM.
32528 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
32529 <bp-sym.h> and <bp-asm.h>.
32530 (memset): Don't use BP_SYM.
32531 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
32532 <bp-sym.h> and <bp-asm.h>.
32533 (__rawmemchr): Don't use BP_SYM.
32534 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
32535 <bp-sym.h> and <bp-asm.h>.
32536 (__STRCMP): Don't use BP_SYM.
32537 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
32538 <bp-sym.h> and <bp-asm.h>.
32539 (strchr): Don't use BP_SYM.
32540 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
32541 <bp-sym.h> and <bp-asm.h>.
32542 (__strchrnul): Don't use BP_SYM.
32543 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
32544 <bp-sym.h> and <bp-asm.h>.
32545 (strlen): Don't use BP_SYM.
32546 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
32547 <bp-sym.h> and <bp-asm.h>.
32548 (strncmp): Don't use BP_SYM.
32549 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
32550 <bp-sym.h> and <bp-asm.h>.
32551 (__strnlen): Don't use BP_SYM.
32552 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
32554 (__mpn_rshift): Don't use BP_SYM.
32555 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32556 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
32557 <bp-sym.h> and <bp-asm.h>.
32558 (__sigsetjmp): Don't use BP_SYM.
32559 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
32560 (L(start_addresses)): Don't use BP_SYM.
32561 (_start): Likewise.
32562 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
32564 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
32565 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32566 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32567 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
32569 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
32570 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32571 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32572 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
32574 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
32576 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32577 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
32579 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
32581 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32582 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32583 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
32585 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
32587 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
32589 (strncmp): Don't use BP_SYM,
32590 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
32592 (__mpn_sub_n): Don't use BP_SYM.
32593 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32594 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
32596 (__mpn_submul_1): Don't use BP_SYM.
32597 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
32599 <bp-sym.h> and <bp-asm.h>.
32600 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
32601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
32602 <bp-sym.h> and <bp-asm.h>.
32603 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
32606 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32608 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
32609 Use ZK to minimize writes to Z.
32610 (sub_magnitudes): Simplify code a bit.
32611 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
32612 Use ZK to minimize writes to Z.
32613 (sub_magnitudes): Simplify code a bit.
32615 2013-02-27 Roland McGrath <roland@hack.frob.com>
32617 * csu/gmon-start.c: Add special exception to license text.
32619 2013-02-27 Richard Henderson <rth@redhat.com>
32621 * scripts/config.guess: Update from config.git.
32622 * scripts/config.sub: Likewise.
32624 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32626 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
32628 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
32630 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
32632 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
32634 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
32636 2013-02-26 Roland McGrath <roland@hack.frob.com>
32638 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
32639 [$(build-shared = yes].
32641 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32643 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
32644 (__mul): Reduce iterations for calculating mantissa.
32646 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
32648 (__mpranred): Likewise.
32651 * malloc/memusagestat.c (main): Draw graphs for heap and stack
32652 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
32654 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
32656 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
32657 Define __attribute__.
32659 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32661 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
32663 * posix/regex_internal.h (__attribute): Remove.
32664 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
32665 (re_string_context_at): Likewise.
32666 (bitset_not): Use __attribute__ and mark function as possibly
32668 (bitset_merge): Likewise.
32669 (bitset_mask): Likewise.
32670 (re_string_char_size_at): Likewise.
32671 (re_string_wchar_at): Likewise.
32672 (re_string_elem_size_at): Likewise.
32674 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32676 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
32680 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
32684 (denorm): Likewise.
32685 (__dbl_mp): Likewise.
32686 (add_magnitudes): Likewise.
32687 (sub_magnitudes): Likewise.
32691 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
32694 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
32697 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
32700 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
32701 up changes with default code.
32702 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
32705 2013-02-24 Allan McRae <allan@archlinux.org>
32707 * manual/socket.texi (The Internet Namespace): Order menu items
32708 to match that in the file.
32710 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
32711 node listing of the info page menu.
32713 2013-02-21 Joseph Myers <joseph@codesourcery.com>
32716 * sysdeps/i386/bp-asm.h: Remove file.
32717 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32718 (PARMS): Do not use macros from bp-asm.h.
32722 (__mpn_add_n): Do not use BP_SYM
32723 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
32725 (PARMS): Do not use macros from bp-asm.h.
32728 (__mpn_addmul_1): Do not use BP_SYM
32729 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
32731 (PARMS): Do not use macros from bp-asm.h.
32732 (SIGMSK): Likewise.
32733 (_setjmp): Likewise. Do not use BP_SYM.
32734 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
32736 (PARMS): Do not use macros from bp-asm.h.
32737 (SIGMSK): Likewise.
32738 (setjmp): Likewise. Do not use BP_SYM.
32739 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
32741 (PARMS): Do not use macros from bp-asm.h.
32742 (__frexp): Do not use BP_SYM.
32744 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
32746 (PARMS): Do not use macros from bp-asm.h.
32747 (__frexpf): Do not use BP_SYM.
32748 (frexpf): Likewise.
32749 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
32751 (PARMS): Do not use macros from bp-asm.h.
32752 (__frexpl): Do not use BP_SYM.
32753 (frexpl): Likewise.
32754 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
32756 (PARMS): Do not use macros from bp-asm.h.
32757 (__remquo): Do not use BP_SYM.
32758 (remquo): Likewise.
32759 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
32761 (PARMS): Do not use macros from bp-asm.h.
32762 (__remquof): Do not use BP_SYM.
32763 (remquof): Likewise.
32764 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
32766 (PARMS): Do not use macros from bp-asm.h.
32767 (__remquol): Do not use BP_SYM.
32768 (remquol): Likewise.
32769 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
32771 (PARMS): Do not use macros from bp-asm.h.
32774 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
32775 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
32777 (PARMS): Do not use macros from bp-asm.h.
32778 (strlen): Do not use BP_SYM.
32779 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
32781 (PARMS): Do not use macros from bp-asm.h.
32785 (__mpn_add_n): Do not use BP_SYM.
32786 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
32788 (PARMS): Do not use macros from bp-asm.h.
32791 (__mpn_addmul_1): Do not use BP_SYM.
32792 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
32795 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
32797 (PARMS): Do not use macros from bp-asm.h.
32800 (__mpn_lshift): Do not use BP_SYM.
32801 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
32803 (PARMS): Do not use macros from bp-asm.h.
32807 (memcpy): Likewise. Do not use BP_SYM.
32808 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
32809 libc_hidden_def and weak_alias.
32810 (mempcpy): Do not use BP_SYM in weak_alias.
32811 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
32813 (PARMS): Do not use macros from bp-asm.h.
32816 [!BZERO_P] (CHR): Likewise.
32817 (memset): Likewise. Do not use BP_SYM.
32818 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
32820 (PARMS): Do not use macros from bp-asm.h.
32823 (__mpn_mul_1): Do not use BP_SYM.
32824 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
32826 (PARMS): Do not use macros from bp-asm.h.
32829 (__mpn_rshift): Do not use BP_SYM.
32830 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
32832 (PARMS): Do not use macros from bp-asm.h.
32835 (strchr): Likewise. Do not use BP_SYM.
32836 (index): Do not use BP_SYM in weak_alias.
32837 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
32839 (PARMS): Do not use macros from bp-asm.h.
32842 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
32843 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
32845 (PARMS): Do not use macros from bp-asm.h.
32846 (strlen): Do not use BP_SYM.
32847 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
32849 (PARMS): Do not use macros from bp-asm.h.
32853 (__mpn_sub_n): Do not use BP_SYM.
32854 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
32856 (PARMS): Do not use macros from bp-asm.h.
32859 (__mpn_submul_1): Do not use BP_SYM.
32860 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
32862 (PARMS): Do not use macros from bp-asm.h.
32866 (__mpn_add_n): Do not use BP_SYM.
32867 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32870 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32872 (PARMS): Do not use macros from bp-asm.h.
32875 (memcmp): Do not use BP_SYM.
32876 (bcmp): Do not use BP_SYM in weak_alias.
32877 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32879 (PARMS): Do not use macros from bp-asm.h.
32883 (memcpy): Likewise. Do not use BP_SYM.
32884 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32886 (PARMS): Do not use macros from bp-asm.h.
32890 (memmove): Likewise. Do not use BP_SYM.
32891 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32893 (PARMS): Do not use macros from bp-asm.h.
32897 (__mempcpy): Likewise. Do not use BP_SYM.
32898 (mempcpy): Do not use BP_SYM in weak_alias.
32899 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32901 (PARMS): Do not use macros from bp-asm.h.
32904 [!BZERO_P] (CHR): Likewise.
32905 (memset): Likewise. Do not use BP_SYM.
32906 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32908 (PARMS): Do not use macros from bp-asm.h.
32910 (strcmp): Do not use BP_SYM.
32911 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32913 (PARMS): Do not use macros from bp-asm.h.
32916 [USE_AS_STRTOK_R] (SAVE): Likewise.
32917 (FUNCTION): Likewise. Do not use BP_SYM.
32918 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32920 (strtok_r): Likewise.
32921 (__GI___strtok_r): Likewise.
32922 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32923 (PARMS): Do not use macros from bp-asm.h.
32926 (__mpn_lshift): Do not use BP_SYM.
32927 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32928 (PARMS): Do not use macros from bp-asm.h.
32931 (__memchr): Do not use BP_SYM.
32932 (memchr): Do not use BP_SYM in weak_alias.
32933 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32934 (PARMS): Do not use macros from bp-asm.h.
32937 (memcmp): Do not use BP_SYM.
32938 (bcmp): Do not use BP_SYM in weak_alias.
32939 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32940 (PARMS): Do not use macros from bp-asm.h.
32943 (__mpn_mul_1): Do not use BP_SYM.
32944 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32946 (PARMS): Do not use macros from bp-asm.h.
32949 (__rawmemchr): Do not use BP_SYM.
32950 (rawmemchr): Do not use BP_SYM in weak_alias.
32951 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32952 (PARMS): Do not use macros from bp-asm.h.
32955 (__mpn_rshift): Do not use BP_SYM.
32956 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32957 (PARMS): Do not use macros from bp-asm.h.
32958 (SIGMSK): Likewise.
32959 (__sigsetjmp): Likewise. Do not use BP_SYM.
32960 * sysdeps/i386/start.S: Do not include "bp-sym.h".
32961 (_start): Do not use BP_SYM.
32962 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32963 (PARMS): Do not use macros from bp-asm.h.
32966 (__stpcpy): Likewise. Do not use BP_SYM.
32967 (stpcpy): Do not use BP_SYM in weak_alias.
32968 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32970 (PARMS): Do not use macros from bp-asm.h.
32974 (__stpncpy): Likewise. Do not use BP_SYM.
32975 (stpncpy): Do not use BP_SYM in weak_alias.
32976 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32977 (PARMS): Do not use macros from bp-asm.h.
32980 (strchr): Likewise. Do not use BP_SYM.
32981 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32983 (PARMS): Do not use macros from bp-asm.h.
32986 (__strchrnul): Likewise. Do not use BP_SYM.
32987 (strchrnul): Do not use BP_SYM in weak_alias.
32988 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32990 (PARMS): Do not use macros from bp-asm.h.
32992 (strcspn): Do not use BP_SYM.
32993 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32995 (PARMS): Do not use macros from bp-asm.h.
32998 (strpbrk): Likewise. Do not use BP_SYM.
32999 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
33001 (PARMS): Do not use macros from bp-asm.h.
33004 (strrchr): Likewise. Do not use BP_SYM.
33005 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
33006 (PARMS): Do not use macros from bp-asm.h.
33008 (strspn): Do not use BP_SYM.
33009 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
33010 (PARMS): Do not use macros from bp-asm.h.
33014 (FUNCTION): Likewise. Do not use BP_SYM.
33015 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
33017 (strtok_r): Likewise.
33018 (__GI___strtok_r): Likewise.
33019 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
33020 (PARMS): Do not use macros from bp-asm.h.
33024 (__mpn_sub_n): Do not use BP_SYM.
33025 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
33027 (PARMS): Do not use macros from bp-asm.h.
33030 (__mpn_submul_1): Do not use BP_SYM.
33031 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
33033 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
33035 (PARMS): Do not use macros from bp-asm.h.
33040 (__clone): Do not use BP_SYM.
33041 (clone): Do not use BP_SYM in weak_alias.
33042 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
33044 (PARMS): Do not use macros from bp-asm.h.
33046 (__mmap64): Do not use BP_SYM.
33047 (mmap64): Do not use BP_SYM in weak_alias.
33048 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33049 <bp-sym.h> and <bp-asm.h>.
33050 (PARMS): Do not use macros from bp-asm.h.
33051 (__posix_fadvise64_l64): Do not use BP_SYM.
33052 * sysdeps/unix/sysv/linux/i386/semtimedop.S
33053 (PARMS): Do not use macros from bp-asm.h.
33055 (semtimedop): Do not use BP_SYM.
33056 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
33059 2013-02-21 Allan McRae <allan@archlinux.org>
33061 * manual/message.texi (Charset conversion in gettext):
33062 Move @end statement to beginning of line.
33064 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33066 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
33068 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33071 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
33072 (denorm): Likewise.
33073 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
33074 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
33076 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33078 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
33079 tail-call to the resolved function if pltexit isn't needed.
33081 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33083 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
33084 or Y being zero as being unlikely.
33085 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
33088 2013-02-20 Carlos O'Donell <carlos@redhat.com>
33090 * manual/nss.texi (System Databases and Name Service Switch):
33091 Remove frobnicate @pxref.
33093 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
33095 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
33096 __attribute__ ((unused)) to __attribute__ ((__unused__)).
33098 2013-02-20 Petr Machata <pmachata@redhat.com>
33100 * elf/elf.h (R_ARM_TARGET1): New macro.
33101 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
33102 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
33103 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
33104 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
33105 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
33106 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
33107 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
33108 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
33109 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
33110 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
33111 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
33112 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
33113 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
33114 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
33115 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
33116 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
33117 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
33118 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
33119 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
33120 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
33121 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
33122 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
33123 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
33124 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
33125 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
33126 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
33127 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
33128 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
33129 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
33130 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
33131 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
33132 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
33133 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
33134 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
33135 (R_ARM_THM_GOT_BREL12): Likewise.
33136 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
33137 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
33138 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
33139 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
33140 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
33141 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
33142 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
33143 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
33144 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
33146 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
33148 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
33149 __attribute_used__ to __attribute__ ((unused)).
33151 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33153 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
33155 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
33156 comment formatting.
33157 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
33159 2013-02-19 Joseph Myers <joseph@codesourcery.com>
33162 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
33164 (ENTER): Remove both macro definitions.
33166 (CHECK_BOUNDS_LOW): Likewise.
33167 (CHECK_BOUNDS_HIGH): Likewise.
33168 (CHECK_BOUNDS_BOTH): Likewise.
33169 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
33170 (RETURN_BOUNDED_POINTER): Likewise.
33171 (RETURN_NULL_BOUNDED_POINTER): Likewise.
33172 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
33173 (POP_ERRNO_LOCATION_RETURN): Likewise.
33174 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
33175 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33176 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
33178 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33179 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
33180 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
33181 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
33182 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
33183 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
33184 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
33185 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
33186 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
33187 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
33188 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
33189 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
33190 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33191 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
33193 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33194 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
33196 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33197 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
33198 * sysdeps/i386/i586/memset.S (memset): Likewise.
33199 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
33200 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33201 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
33203 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33204 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
33205 Change uses of L(2) to L(out).
33206 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
33207 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
33208 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
33209 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33210 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
33212 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33213 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
33215 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33216 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
33217 (RETURN): Do not use macro LEAVE.
33218 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
33219 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
33220 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
33221 * sysdeps/i386/i686/memset.S (memset): Likewise.
33222 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
33223 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
33224 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33225 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
33227 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33228 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
33229 L(1_2) and L(1_3) into L(1).
33230 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
33231 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
33232 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33233 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
33234 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33235 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
33236 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
33237 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33238 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
33240 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
33241 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33242 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
33243 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
33244 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
33245 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33246 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
33247 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
33248 * sysdeps/i386/strcspn.S (strcspn): Likewise.
33249 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
33250 * sysdeps/i386/strrchr.S (strrchr): Likewise.
33251 * sysdeps/i386/strspn.S (strspn): Likewise.
33252 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
33254 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33255 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
33256 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
33257 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
33258 L(1_3) into L(1_1).
33259 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
33260 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33261 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
33263 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33265 2013-02-19 Jakub Jelinek <jakub@redhat.com>
33267 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
33270 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33272 * math/atest-exp.c (exp_mpn): Remove ROUND.
33273 * math/atest-exp2.c (exp_mpn): Likewise.
33274 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
33276 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
33277 * stdlib/tst-tls-atexit-lib.c: Likewise.
33278 * stdlib/tst-tls-atexit.c: Likewise.
33280 2013-02-18 Mike Frysinger <vapier@gentoo.org>
33282 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
33283 and __attribute_alloc_size__.
33285 2013-02-18 Mike Frysinger <vapier@gentoo.org>
33287 * include/programs/xmalloc.h: Change __attribute_alloc_size to
33288 __attribute_alloc_size__.
33289 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
33290 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
33292 2013-02-18 Mike Frysinger <vapier@gentoo.org>
33294 * include/programs/xmalloc.h: New file.
33295 * catgets/gencat.c: Include it.
33296 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
33297 * elf/pldd.c: Likewise.
33298 * iconv/iconv_charmap.c: Likewise.
33299 * iconv/iconvconfig.c: Likewise.
33300 * iconv/strtab.c: Likewise.
33301 * locale/programs/locale.c: Likewise.
33302 * locale/programs/localedef.h: Likewise.
33303 * locale/programs/simple-hash.c: Likewise.
33304 * nscd/nscd.h: Likewise.
33305 * nss/makedb.c: Likewise.
33306 * sysdeps/generic/ldconfig.h: Likewise.
33308 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33310 * Versions.def: Add GLIBC_2.18.
33311 * include/link.h (struct link_map): New member l_tls_dtor_count.
33312 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
33313 (__call_tls_dtors): Likewise.
33314 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
33315 __cxa_thread_atexit_impl.
33316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33324 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
33327 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
33329 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33330 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33332 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
33333 (tests): Add test case tst-tls-atexit.
33334 (modules-names): Add shared library for tst-tls-atexit.
33335 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
33336 (GLIBC_PRIVATE): Add __call_tls_dtors.
33337 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
33339 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
33340 * stdlib/tst-tls-atexit.c: New test case.
33341 * stdlib/tst-tls-atexit-lib.c: New test case.
33343 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
33345 * elf/Versions (ld): Add _dl_find_dso_for_object.
33346 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
33347 * elf/dl-open.c (_dl_find_dso_for_object): New function.
33348 (dl_open_worker): Use _dl_find_dso_for_object.
33349 * elf/dl-sym.c (do_sym): Likewise.
33350 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
33352 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33354 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
33355 Syntactic changes only.
33356 (_dl_runtime_profile): Do a tail-call to the resolved function.
33358 2013-02-17 Joseph Myers <joseph@codesourcery.com>
33361 * sysdeps/x86_64/bp-asm.h: Remove file.
33362 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
33363 <bp-sym.h> and <bp-asm.h>.
33364 (__clone): Do not use BP_SYM.
33365 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
33366 <bp-sym.h> and <bp-asm.h>.
33367 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33368 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
33370 (_setjmp): Do not use BP_SYM.
33371 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
33373 (setjmp): Do not use BP_SYM.
33374 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
33376 (mempcpy): Do not use BP_SYM in weak_alias.
33377 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
33379 (strchr): Do not use BP_SYM.
33380 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
33382 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
33383 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
33384 (_start): Do not use BP_SYM.
33385 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
33387 (strcat): Do not use BP_SYM.
33388 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
33390 (STRCMP): Do not use BP_SYM.
33391 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
33393 (STRCPY): Do not use BP_SYM.
33394 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
33396 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
33398 (FUNCTION): Do not use BP_SYM.
33399 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
33401 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
33403 2013-02-17 Andreas Jaeger <aj@suse.de>
33405 * time/Versions: Sort entries.
33406 * string/Versions: Likewise.
33407 * resolv/Versions: Likewise.
33408 * posix/Versions: Likewise.
33409 * iconv/Versions: Likewise.
33410 * elf/Versions: Likewise.
33411 * wcsmbs/Versions: Likewise.
33413 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33415 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
33416 loop termination condition.
33418 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
33419 variable to calculate EZ.
33422 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
33423 the lower precision input.
33425 2013-02-15 Joseph Myers <joseph@codesourcery.com>
33428 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
33429 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
33430 (run-via-rtld-prefix): Do not handle %-bp tests.
33431 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
33432 (all-object-suffixes): Remove .ob.
33433 (bppfx): Remove variable.
33434 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
33435 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
33436 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
33437 [$(build-bounded) = yes] (libtype.ob): Likewise.
33438 * Makerules (elide-routines.ob): Remove variable.
33439 (do-tests-clean): Do not handle *-bp.out.
33440 (common-mostlyclean): Do not handle *-bp and *-bp.out.
33441 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
33442 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
33443 (tests): Do not include $(tests-bp.out).
33444 (xtests): Do not include $(xtests-bp.out).
33445 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
33446 [$(build-bounded) = yes] ($(addprefix
33447 $(objpfx),$(binaries-bounded))): Remove rule.
33448 ($(objpfx)%-bp.out): Remove rule.
33449 * config.make.in (build-bounded): Remove variable.
33450 * crypt/Makefile [$(build-bounded) = yes]
33451 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
33452 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
33453 append to variable.
33454 [$(build-bounded) = yes] (install-lib): Likewise.
33455 [$(build-bounded) = yes] (generated): Likewise.
33456 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
33458 * intl/Makefile [$(build-bounded) = yes]
33459 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
33460 * math/Makefile [$(build-bounded) = yes]
33461 ($(tests:%=$(objpfx)%-bp): Likewise.
33462 * misc/Makefile [$(build-bounded) = yes]
33463 ($(objpfx)tst-tsearch-bp): Likewise.
33464 * nptl/Makeconfig (bounded-thread-library): Remove variable.
33465 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
33467 * string/Makefile (o-objects.ob): Remove variable.
33468 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
33469 (CFLAGS-.ob): Remove variable.
33470 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
33471 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
33472 both definitions of variable.
33473 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
33474 (ASFLAGS-.ob): Remove variable.
33476 2013-02-14 Joseph Myers <joseph@codesourcery.com>
33479 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
33480 Remove __BOUNDED_POINTERS__ from condition.
33481 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
33482 * string/bits/string2.h [!__NO_STRING_INLINES &&
33483 !__BOUNDED_POINTERS__]: Likewise.
33484 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
33486 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
33487 Remove conditional code.
33488 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
33489 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
33490 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
33494 * csu/libc-start.c: Do not include <bp-sym.h>.
33495 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
33496 * elf/dl-open.c: Do not include <bp-sym.h>.
33497 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
33498 * math/fegetenv.c: Do not include <bp-sym.h>.
33499 (fegetenv): Do not use BP_SYM in versioned symbols.
33500 * nptl/sysdeps/pthread/bits/libc-lockP.h
33501 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
33503 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33504 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
33505 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33506 (__pthread_mutex_destroy): Likewise.
33507 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33508 (__pthread_mutex_lock): Likewise.
33509 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33510 (__pthread_mutex_trylock): Likewise.
33511 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33512 (__pthread_mutex_unlock): Likewise.
33513 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33514 (__pthread_mutexattr_init): Likewise.
33515 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33516 (__pthread_mutexattr_destroy): Likewise.
33517 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33518 (__pthread_mutexattr_settype): Likewise.
33519 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33520 (__pthread_rwlock_init): Likewise.
33521 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33522 (__pthread_rwlock_destroy): Likewise.
33523 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33524 (__pthread_rwlock_rdlock): Likewise.
33525 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33526 (__pthread_rwlock_tryrdlock): Likewise.
33527 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33528 (__pthread_rwlock_wrlock): Likewise.
33529 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33530 (__pthread_rwlock_trywrlock): Likewise.
33531 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33532 (__pthread_rwlock_unlock): Likewise.
33533 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33534 (__pthread_key_create): Likewise.
33535 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33536 (__pthread_setspecific): Likewise.
33537 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33538 (__pthread_getspecific): Likewise.
33539 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
33541 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33542 (_pthread_cleanup_push_defer): Likewise.
33543 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33544 (_pthread_cleanup_pop_restore): Likewise.
33545 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33546 (pthread_setcancelstate): Likewise.
33547 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
33549 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
33550 (memchr): Do not use BP_SYM in weak_alias.
33551 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
33552 (fegetenv): Do not use BP_SYM in versioned symbols.
33553 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
33554 (fesetenv): Do not use BP_SYM in versioned symbols.
33555 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33556 (feupdateenv): Do not use BP_SYM in versioned symbols.
33557 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33558 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33559 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
33560 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
33561 (open64): Do not use BP_SYM in weak_alias.
33562 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
33563 (fegetenv): Do not use BP_SYM in versioned symbols.
33564 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
33565 (fesetenv): Do not use BP_SYM in versioned symbols.
33566 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33567 (feupdateenv): Do not use BP_SYM in versioned symbols.
33568 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
33569 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
33570 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
33571 (feraiseexcept): Do not use BP_SYM in versioned symbols.
33572 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33573 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33574 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
33576 (__libc_start_main): Do not use BP_SYM.
33578 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33580 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
33581 redundant return line.
33583 (denorm): Likewise.
33584 (dbl_mp): Likewise.
33585 (sub_magnitudes): Likewise.
33591 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
33593 (denorm): Likewise.
33594 (dbl_mp): Likewise.
33595 (sub_magnitudes): Likewise.
33602 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
33604 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33605 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
33608 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
33609 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
33610 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
33611 of __mul for squares.
33612 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
33614 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
33616 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
33617 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33619 2013-02-13 Joseph Myers <joseph@codesourcery.com>
33622 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
33624 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
33625 prototype or function definition. Rename ubp_* variables and
33626 parameters. Remove argv definitions conditional on
33627 [__BOUNDED_POINTERS__].
33628 * debug/backtrace.c (__backtrace): Do not use __unbounded.
33629 * elf/dl-runtime.c (_dl_fixup): Likewise.
33630 * include/set-hooks.h (RUN_HOOK): Likewise.
33631 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
33633 * string/strcpy.c (strcpy): Do not use __unbounded.
33634 * sysdeps/generic/frame.h (struct layout): Likewise.
33635 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
33636 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
33637 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
33638 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
33639 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
33640 (__backtrace): Likewise.
33641 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
33643 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
33644 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33645 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33647 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
33648 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
33649 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33650 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33651 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
33652 Do not use __unbounded.
33653 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
33654 Rename __unboundedrlimits parameter to rlimits in prototype.
33655 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
33656 Do not use __unbounded.
33657 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
33658 not use __ptrvalue.
33659 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33660 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
33661 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33662 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
33663 __ptrvalue or __unbounded.
33664 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
33665 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
33667 (__new_msgctl): Do not use __ptrvalue.
33668 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
33670 (__libc_msgrcv): Do not use __ptrvalue.
33671 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
33672 startup_info): Do not use __unbounded.
33673 (__libc_start_main): Likewise. Rename ubp_* variables and
33674 parameters. Remove argv definitions conditional on
33675 [__BOUNDED_POINTERS__].
33676 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
33678 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
33680 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
33682 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
33684 (__new_shmctl): Do not use __ptrvalue.
33685 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
33686 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
33688 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
33689 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
33690 (__libc_sigaction): Likewise.
33691 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
33692 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
33694 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33696 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
33698 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
33700 * string/mempcpy.c: Implement by calling memcpy.
33702 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33704 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
33706 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
33709 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
33710 values in the mantissa.
33712 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
33713 minimize writes to Z.
33714 (sub_magnitudes): Simplify code a bit.
33716 2013-02-12 Roland McGrath <roland@hack.frob.com>
33718 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
33719 from the message. The linker prefixes all warnings with that already.
33721 2013-02-12 Andreas Schwab <schwab@suse.de>
33724 * posix/regexec.c (extend_buffers): Add parameter min_len.
33725 (check_matching): Pass minimum needed length.
33726 (clean_state_log_if_needed): Likewise.
33727 (get_subexp): Likewise.
33728 * posix/Makefile (tests): Add bug-regex34.
33729 (bug-regex34-ENV): Define.
33730 * posix/bug-regex34.c: New file.
33733 * posix/regcomp.c (parse_bracket_exp): When looking up collating
33734 elements compare against the byte sequence of it, not its name.
33735 * posix/Makefile (tests): Add bug-regex35.
33736 (bug-regex35-ENV): Define.
33737 * posix/bug-regex35.c: New file.
33739 2013-02-11 Tom de Vries <tom@codesourcery.com>
33741 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
33743 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
33744 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
33745 (CHECK_EOL): Add undef.
33747 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
33749 * bits/stdlib-bsearch.h: New file.
33750 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
33751 * stdlib/stdlib.h: Likewise.
33753 2013-02-11 Roland McGrath <roland@hack.frob.com>
33755 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
33756 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
33758 * manual/search.texi (Array Search Function): Add missing const in
33760 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
33761 declaration to use rlim_t.
33762 (Basic Scheduling Functions): Remove erroneous const from
33763 sched_getparam prototype. Remove erroneous * from
33764 sched_get_priority_max and sched_get_priority_min prototypes.
33765 (Resource Usage): Fix summary @comment on vtimes to refer to
33766 sys/vtimes.h rather than vtimes.h.
33767 Add missing *s in vtimes prototype.
33768 (Limits on Resources): Fix ulimit prototype to return long int.
33769 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
33770 prototypes to use long int rather than double.
33771 (BSD Random): Fix initstate and setstate to use char *, not void *.
33772 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
33773 prototype to make second argument 'struct aiocb64 *const[]'.
33774 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
33775 (Status of AIO Operations): Remove erroneous const in aio_return and
33776 aio_return64 prototypes.
33777 (Synchronizing I/O): Fix sync prototype to return void.
33778 * manual/startup.texi (Suboptions): Remove an erroneous const in
33779 getsubopt prototype.
33780 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
33781 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
33782 use size_t rather than int.
33783 (Scanning All Users): Likewise for getpwent_r.
33784 (Setting Groups): Add missing const to setgroups prototype.
33785 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
33786 * manual/socket.texi (Host Names): Fix gethostbyaddr and
33787 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
33788 'const void *' rather than 'const char *'.
33789 (Host Address Functions): Likewise for inet_ntop.
33790 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
33791 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
33792 ssize_t for return value.
33793 (Sending Data): Likewise for send, sendto, sendmsg.
33794 (Socket Option Functions): Add a missing const in setsockopt prototype.
33795 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
33796 use wchar_t for the argument.
33797 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
33798 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
33800 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
33801 double/float/long double for second argument.
33802 Fix return types of significand, significandf, significandl.
33803 * manual/filesys.texi (Setting Permissions): Use mode_t for second
33804 argument in fchmod prototype.
33805 (File Owner): Use uid_t and gid_t in fchown prototype.
33806 (File Times): Add const to utimes, futimes, and lutimes prototypes.
33807 (Making Special Files): Use mode_t and dev_t in mknod prototype.
33808 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
33809 use 'const struct dirent **' as argument types to CMP function pointer
33811 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
33812 (File Times): Fix summary magic @comment for struct utimbuf and utime
33813 to refer to utime.h, not time.h.
33814 * manual/string.texi (Argz Functions): Add missing const in
33815 argz_extract and argz_next prototypes.
33816 (Finding Tokens in a String): Likewise for basename.
33817 (String/Array Comparison): Fix typo in wcscasecmp prototype.
33818 (Copying and Concatenation): Fix typo in wmemmove prototype.
33819 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
33820 (Signal Stack): Remove erroneous const in sigstack prototype.
33821 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
33823 (Simple Calendar Time): Likewise for stime.
33824 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
33826 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
33827 say sys/sysctl.h instead.
33828 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
33829 and vsyslog prototypes.
33831 2013-02-11 Tom de Vries <tom@codesourcery.com>
33833 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
33836 2013-02-11 Roland McGrath <roland@hack.frob.com>
33838 * misc/sys/mman.h: Fix typo in mremap comment.
33840 2013-02-08 Roland McGrath <roland@hack.frob.com>
33842 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
33843 the '\0' terminator.
33845 2013-02-08 Joseph Myers <joseph@codesourcery.com>
33848 * debug/segfault.c: Don't include <bp-checks.h>.
33849 * sysdeps/generic/bp-checks.h: Remove file.
33850 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
33851 (__GETDENTS): Don't use CHECK_N.
33852 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
33853 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33854 (__getgroups): Don't use CHECK_N.
33855 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
33856 (setgroups): Don't use CHECK_N.
33857 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33858 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33859 (__libc_msgrcv): Don't use CHECK_N.
33860 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33861 (__libc_msgsnd): Don't use CHECK_N.
33862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33864 (__libc_pread): Don't use CHECK_N.
33865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33866 include <bp-checks.h>.
33867 (__libc_pread64): Don't use CHECK_N.
33868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33869 include <bp-checks.h>.
33870 (__libc_pwrite): Don't use CHECK_N.
33871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33872 include <bp-checks.h>.
33873 (__libc_pwrite64): Don't use CHECK_N.
33874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33876 (__libc_pread): Don't use CHECK_N.
33877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33878 include <bp-checks.h>.
33879 (__libc_pread64): Don't use CHECK_N.
33880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33881 include <bp-checks.h>.
33882 (__libc_pwrite): Don't use CHECK_N.
33883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33884 include <bp-checks.h>.
33885 (__libc_pwrite64): Don't use CHECK_N.
33886 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33887 (do_pread): Don't use CHECK_N.
33888 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33889 (do_pread64): Don't use CHECK_N.
33890 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33891 (do_pwrite): Don't use CHECK_N.
33892 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33893 (do_pwrite64): Don't use CHECK_N.
33894 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33895 (__libc_readv): Don't use CHECK_N.
33896 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33897 (semop): Don't use CHECK_N.
33898 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33900 (semtimedop): Don't use CHECK_N.
33901 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33902 (__libc_pread): Don't use CHECK_N.
33903 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33905 (__libc_pread64): Don't use CHECK_N.
33906 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33908 (__libc_pwrite): Don't use CHECK_N.
33909 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33911 (__libc_pwrite64): Don't use CHECK_N.
33912 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33914 (__libc_msgrcv): Don't use CHECK_N.
33915 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33916 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
33917 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33918 (__libc_writev): Don't use CHECK_N.
33920 2013-02-08 Roland McGrath <roland@hack.frob.com>
33922 * string/strcpy.c: Removed unused variable.
33924 * Makeconfig (+sysdep-includes): Define with := rather than =.
33925 Use an existing include/ subdir of each sysdeps dir before it.
33927 2013-02-08 Carlos O'Donell <carlos@redhat.com>
33929 * nscd/connection.c (register_traced_file): Comment function.
33930 [HAVE_INOTIFY] (union __inev): Define.
33931 [HAVE_INOTIFY] (inotify_check_files): New function.
33932 [HAVE_INOTIFY] (clear_db_cache): Likewise.
33933 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33935 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33937 2013-02-08 Carlos O'Donell <carlos@redhat.com>
33939 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33940 loaded if not already and that a failure is permanent.
33942 2013-02-08 Carlos O'Donell <carlos@redhat.com>
33945 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33946 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33948 2013-02-08 Joseph Myers <joseph@codesourcery.com>
33951 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33952 (CHECK_1_NULL_OK): Likewise.
33953 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33954 (__fxstat): Do not use CHECK_1.
33955 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33957 (___fxstat64): Do not use CHECK_1.
33958 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33960 (__fxstatat): Do not use CHECK_1.
33961 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33963 (__fxstatat64): Do not use CHECK_1.
33964 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33966 (__fxstat): Do not use CHECK_1.
33967 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33969 (__fxstatat): Do not use CHECK_1.
33970 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33972 (__getresgid): Do not use CHECK_1.
33973 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33975 (__getresuid): Do not use CHECK_1.
33976 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33978 (__lxstat): Do not use CHECK_1.
33979 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33981 (__old_msgctl): Do not use CHECK_1.
33982 (__new_msgctl): Likewise.
33983 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33985 (__new_setrlimit): Do not use CHECK_1.
33986 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33988 (__old_shmctl): Do not use CHECK_1.
33989 (__new_shmctl): Likewise.
33990 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33992 (__xstat): Do not use CHECK_1.
33993 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33994 (__lxstat): Do not use CHECK_1.
33995 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33997 (___lxstat64): Do not use CHECK_1.
33998 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33999 (__old_msgctl): Do not use CHECK_1.
34000 (__new_msgctl): Likewise.
34001 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
34003 (__gettimeofday): Do not use CHECK_1.
34004 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
34005 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
34006 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
34008 (__gettimeofday): Do not use CHECK_1.
34009 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
34010 (__old_shmctl): Do not use CHECK_1_NULL_OK.
34011 (__new_shmctl): Do not use CHECK_1.
34012 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
34014 (do_sigtimedwait): Do not use CHECK_1.
34015 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
34017 (do_sigwaitinfo): Do not use CHECK_1.
34018 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
34020 (msgctl): Do not use CHECK_1.
34021 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
34023 (shmctl): Do not use CHECK_1.
34024 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
34025 (ustat): Do not use CHECK_1.
34026 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
34028 (__fxstat): Do not use CHECK_1.
34029 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34031 (__fxstatat): Do not use CHECK_1.
34032 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
34034 (__lxstat): Do not use CHECK_1.
34035 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
34037 (__xstat): Do not use CHECK_1.
34038 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
34039 (__xstat): Do not use CHECK_1.
34040 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
34041 (___xstat64): Do not use CHECK_1.
34044 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
34046 (CHECK_BOUNDS_HIGH): Likewise.
34047 * string/strcpy.c: Do not include <bp-checks.h>.
34048 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
34050 2013-02-07 Roland McGrath <roland@hack.frob.com>
34052 * nscd/nscd-client.h (__nscd_drop_map_ref):
34053 Add __attribute__ ((unused)).
34054 * nis/nss-nisplus.h (niserr2nss): Likewise.
34056 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
34057 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
34059 * csu/libc-tls.c (init_static_tls, init_slotinfo):
34060 Remove inline keyword.
34061 * include/rounding-mode.h (round_away): Likewise.
34062 * libio/wfileops.c (adjust_wide_data): Likewise.
34063 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
34064 (__m128i_strloadu_tolower): Likewise.
34065 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
34066 (__m128i_strloadu_tolower): Likewise.
34067 * time/mktime.c (ydhms_diff): Likewise.
34068 * locale/elem-hash.h (elem_hash): Likewise.
34069 * locale/setlocale.c (setdata): Likewise.
34070 * posix/regex_internal.h (re_string_char_size_at): Likewise.
34071 (re_string_wchar_at): Likewise.
34072 (bitset_not, bitset_merge, bitset_mask): Likewise.
34073 [!(__GNUC__ > 3)] (inline): Remove macro.
34074 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
34075 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
34076 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
34077 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
34078 * string/memcmp.c (memcmp_bytes): Likewise.
34079 * locale/programs/locarchive.c (compute_hashval): Likewise.
34080 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
34081 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
34082 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
34083 * nss/getent.c (print_rpc, print_protocols): Likewise.
34084 (print_passwd, print_group, print_aliases): Likewise.
34085 * nis/nss-nisplus.h (niserr2nss): Likewise.
34086 * nscd/connections.c (restart_p): Likewise.
34087 Change return type to bool.
34089 2013-02-05 Roland McGrath <roland@hack.frob.com>
34091 * Makeconfig (all-Depend-files): Add existing
34092 $(sorted-subdirs:=/Depend) files.
34093 (all-subdirs): Remove nss.
34094 * sysdeps/unix/inet/Subdirs: Add it here instead.
34095 * hesiod/Depend: New file.
34097 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
34098 instead of calling alloca.
34100 * io/lseek.c (__lseek): Rename to __libc_lseek.
34101 Define __lseek as an alias.
34103 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
34105 2013-02-04 Carlos O'Donell <carlos@redhat.com>
34107 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
34108 else clause and remove check for non-standard endianness.
34110 2013-02-04 David S. Miller <davem@davemloft.net>
34112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34114 2013-02-04 Joseph Myers <joseph@codesourcery.com>
34117 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
34118 (__ubp_memchr): Remove prototype.
34119 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
34120 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
34121 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
34122 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
34123 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
34125 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
34126 (__ubp_memchr): Likewise.
34127 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
34128 (__ubp_memchr): Likewise.
34129 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
34130 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
34131 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
34132 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
34134 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
34135 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
34136 (__getcwd): Do not use CHECK_STRING.
34137 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34139 (__real_chown): Do not use CHECK_STRING.
34140 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
34142 (fchownat): Do not use CHECK_STRING.
34143 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
34145 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34147 (__lchown): Do not use CHECK_STRING.
34148 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
34149 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
34150 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
34151 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
34152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34153 include <bp-checks.h>.
34154 (truncate64): Do not use CHECK_STRING.
34155 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34157 (__real_chown): Do not use CHECK_STRING.
34158 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34160 (__lchown): Do not use CHECK_STRING.
34161 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34163 (__chown): Do not use CHECK_STRING.
34164 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
34166 (truncate64): Do not use CHECK_STRING.
34167 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
34169 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
34170 (__xmknod): Do not use CHECK_STRING.
34171 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34173 (__xmknodat): Do not use CHECK_STRING.
34174 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
34175 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
34177 2013-02-04 Andreas Schwab <schwab@suse.de>
34180 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
34181 * include/netdb.h: Likewise for h_errno.
34182 * elf/tst-stackguard1.c: Include <tls.h>.
34184 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
34186 * elf/link.h (struct link_map): Extend the l_addr comment.
34187 * include/link.h (struct link_map): Likewise.
34189 2013-02-01 Joseph Myers <joseph@codesourcery.com>
34192 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
34193 (BOUNDED_1): Remove macro.
34194 * debug/backtrace.c: Don't include <bp-checks.h>.
34195 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
34196 (__backtrace): Likewise.
34197 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
34199 (__backtrace): Don't use BOUNDED_1.
34200 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
34202 (__backtrace): Don't use BOUNDED_1.
34203 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
34204 (__backtrace): Don't use BOUNDED_1.
34205 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
34206 (shmat): Don't use BOUNDED_N.
34208 2013-01-31 Joseph Myers <joseph@codesourcery.com>
34211 * sysdeps/generic/bp-start.h: Remove file.
34212 * csu/libc-start.c: Don't include <bp-start.h>.
34213 (LIBC_START_MAIN): Set up __environ directly instead of using
34214 INIT_ARGV_and_ENVIRON.
34215 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
34219 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
34221 (CHECK_FCNTL): Likewise.
34222 (CHECK_N_PAGES): Likewise.
34225 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
34227 (CHECK_SIGSET_NULL_OK): Likewise.
34228 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
34230 (sigpending): Don't use CHECK_SIGSET.
34231 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
34233 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34234 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
34236 (do_sigsuspend): Don't use CHECK_SIGSET.
34237 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
34239 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
34240 (do_sigwait): Don't use CHECK_SIGSET.
34241 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
34243 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
34244 include <bp-checks.h>.
34245 (sigpending): Don't use CHECK_SIGSET.
34246 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
34247 include <bp-checks.h>.
34248 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34249 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
34251 (sigpending): Don't use CHECK_SIGSET.
34252 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
34254 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34257 * sysdeps/generic/bp-semctl.h: Remove file.
34258 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
34259 <bp-checks.h> and <bp-semctl.h>.
34260 (__old_semctl): Don't use CHECK_SEMCTL.
34261 (__new_semctl): Likewise.
34262 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
34264 (__old_semctl): Don't use CHECK_SEMCTL.
34265 (__new_semctl): Likewise.
34266 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
34267 <bp-checks.h> and <bp-semctl.h>.
34268 (__old_semctl): Don't use CHECK_SEMCTL.
34269 (__new_semctl): Likewise.
34270 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
34271 <bp-checks.h> and <bp-semctl.h>.
34272 (semctl): Don't use CHECK_SEMCTL.
34275 * Makerules (elide-bp-thunks): Remove variable.
34276 (elide-routines.oS): Don't use $(elide-bp-thunks).
34277 (elide-routines.os): Likewise.
34278 (elide-routines.o): Likewise.
34279 (elide-routines.op): Likewise.
34280 (elide-routines.og): Likewise.
34281 (objects): Don't use $(bp-thunks).
34282 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
34284 (common-generated): Do not add s-proto-bp.d.
34285 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
34288 Do not generate makefile rules for bounded-pointer thunks.
34289 * sysdeps/generic/bp-thunks.h: Remove file.
34290 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
34291 * sysdeps/unix/s-proto-bp.S: Likewise.
34294 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
34295 parts of result separately when argument is not close to line from
34296 -i to i and one part of argument is small.
34297 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34298 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34299 * math/libm-test.inc (cacos_test): Add more tests.
34300 (casin_test): Likewise.
34301 (casinh_test): Likewise.
34302 * sysdeps/i386/fpu/libm-test-ulps: Update.
34303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34305 2013-01-31 David S. Miller <davem@davemloft.net>
34307 * po/de.po: Update from translation team.
34309 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
34311 * time/tzfile.c: Include stdint.h for SIZE_MAX.
34313 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
34315 * configure.in (_AC_PROG_CC_C89): New definition.
34316 * configure: Regenerate.
34318 * configure.in (AC_PROG_CPP): New definition.
34319 * configure: Regenerate.
34321 2013-01-23 Joseph Myers <joseph@codesourcery.com>
34323 * debug/tst-backtrace.h: New file.
34324 * debug/tst-backtrace2.c: Include tst-backtrace.h.
34325 (ret): Remove variable.
34327 (FAIL): Remove macro.
34328 (NO_INLINE): Likewise.
34329 (fn1): Use match function instead of strstr.
34330 * debug/tst-backtrace3.c: Include tst-backtrace.h.
34331 (ret): Remove variable.
34333 (FAIL): Remove macro.
34334 (NO_INLINE): Likewise.
34335 (fn): Use match function instead of strstr.
34336 * debug/tst-backtrace4.c: Include tst-backtrace.h.
34337 (ret): Remove variable.
34339 (FAIL): Remove macro.
34340 (NO_INLINE): Likewise.
34341 (handle_signal): Use match function instead of strstr.
34342 * debug/tst-backtrace5.c: Include tst-backtrace.h.
34343 (ret): Remove variable.
34345 (FAIL): Remove macro.
34346 (NO_INLINE): Likewise.
34347 (handle_signal): Use match function instead of strstr.
34349 2013-01-23 Roland McGrath <roland@hack.frob.com>
34351 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
34353 2013-01-23 David S. Miller <davem@davemloft.net>
34355 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
34356 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
34357 argument of CAS if possible.
34358 * sysdeps/sparc/sparc64/bits/atomic.h
34359 (__arch_compare_and_exchange_val_32_acq): Likewise.
34360 (__arch_compare_and_exchange_val_64_acq): Likewise.
34362 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
34364 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
34365 * sysdeps/posix/ulimit.c: ... this.
34366 Include <limits.h>.
34367 * sysdeps/unix/bsd/ulimit.c: Remove file.
34369 2013-01-23 Adam Conrad <adconrad@0c3.net>
34371 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
34372 (LDFLAGS-tst-array5): Likewise.
34374 2013-01-23 Joseph Myers <joseph@codesourcery.com>
34377 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
34378 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
34379 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
34380 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
34382 2013-01-21 David S. Miller <davem@davemloft.net>
34384 * sysdeps/sparc/backtrace.c: New file.
34385 * sysdeps/sparc/sparc32/backtrace.h: New file.
34386 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
34387 * sysdeps/sparc/sparc64/backtrace.h: New file.
34388 * sysdeps/sparc/sparc64/backtrace.c: Delete.
34389 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
34392 2013-01-21 Andreas Schwab <schwab@suse.de>
34395 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
34398 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
34400 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
34402 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34404 2013-01-18 Joseph Myers <joseph@codesourcery.com>
34405 Mark Mitchell <mark@codesourcery.com>
34406 Tom de Vries <tom@codesourcery.com>
34407 Paul Pluzhnikov <ppluzhnikov@google.com>
34409 * debug/tst-backtrace2.c: New file.
34410 * debug/tst-backtrace3.c: Likewise.
34411 * debug/tst-backtrace4.c: Likewise.
34412 * debug/tst-backtrace5.c: Likewise.
34413 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
34414 (CFLAGS-tst-backtrace3.c): Likewise.
34415 (CFLAGS-tst-backtrace4.c): Likewise.
34416 (CFLAGS-tst-backtrace5.c): Likewise.
34417 (LDFLAGS-tst-backtrace2): Likewise.
34418 (LDFLAGS-tst-backtrace3): Likewise.
34419 (LDFLAGS-tst-backtrace4): Likewise.
34420 (LDFLAGS-tst-backtrace5): Likewise.
34421 (tests): Add new tests tst-backtrace2, tst-backtrace3,
34422 tst-backtrace4 and tst-backtrace5.
34424 2013-01-18 Anton Blanchard <anton@samba.org>
34425 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34427 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
34428 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
34429 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
34430 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
34431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34432 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
34433 "+r" and remove output regs list as redundant. Add explicit inline
34434 asm to specify register of return val to work around compiler codegen
34435 bug. Remove (int) cast on return value. Add return type parameter to
34436 use in macro so that this macro does not truncate return value for
34438 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
34439 pass to INTERNAL_VSYSCALL_NCS.
34440 (INLINE_VSYSCALL): Add 'long int' as return type to
34441 INTERNAL_VSYSCALL_NCS macro invocation.
34442 (INTERNAL_VSYSCALL): Add 'long int' as return type to
34443 INTERNAL_VSYSCALL_NCS macro invocation.
34444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34446 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34449 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
34450 Fix application of SIMD FP exception mask.
34452 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
34453 mp_no from a power of two.
34454 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
34455 __mpexp_twomm1. Use __pow_mp.
34457 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
34460 2013-01-17 David S. Miller <davem@davemloft.net>
34462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34464 2013-01-17 Joseph Myers <joseph@codesourcery.com>
34467 * include/complex.h: Condition contents on [!_COMPLEX_H].
34468 (__kernel_casinhf): New prototype.
34469 (__kernel_casinh): Likewise.
34470 (__kernel_casinhl): Likewise.
34471 * math/Makefile (libm_calls): Add k_casinh.
34472 * math/k_casinh.c: New file.
34473 * math/k_casinhf.c: Likewise.
34474 * math/k_casinhl.c: Likewise.
34475 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
34476 finite nonzero arguments.
34477 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
34478 finite nonzero arguments.
34479 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
34480 finite nonzero arguments.
34481 * math/s_casinh.c: Do not include <float.h>.
34482 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
34483 * math/s_casinhf.c: Do not include <float.h>.
34484 (__casinhf): Move code for finite nonzero arguments to
34486 * math/s_casinhl.c: Do not include <float.h>.
34487 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
34489 (__casinhl): Move code for finite nonzero arguments to
34491 * math/libm-test.inc (cacos_test): Add more tests.
34492 * sysdeps/i386/fpu/libm-test-ulps: Update.
34493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34495 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
34497 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
34498 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
34499 [!HAVE_MREMAP]: Remove [defined linux] case.
34500 * malloc/arena.c: Do not include <malloc-sysdep.h>.
34502 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34504 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
34506 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
34508 * elf/elf.h (R_386_SIZE32): New relocation.
34509 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
34511 (elf_machine_rela): Likewise.
34512 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34513 R_X86_64_SIZE64 and R_X86_64_SIZE32.
34515 2013-01-17 Joseph Myers <joseph@codesourcery.com>
34517 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
34518 (FP_FAST_FMA): Do not define.
34519 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
34520 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
34521 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
34522 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
34523 !_SOFT_FLOAT]: Likewise.
34524 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
34525 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
34527 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
34528 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
34529 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
34530 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
34531 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
34532 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
34535 2013-01-16 Andreas Schwab <schwab@suse.de>
34538 * include/stdlib.h (__mktemp): Add declaration.
34539 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
34540 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
34542 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34544 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
34546 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34547 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
34548 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
34550 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
34551 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
34553 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
34555 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
34556 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
34557 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
34559 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
34560 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
34562 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34564 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
34566 2013-01-15 David S. Miller <davem@davemloft.net>
34568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34569 trunc{,f} to libm-sysdep_routes.
34570 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
34573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
34574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
34576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
34578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
34579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
34580 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
34581 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
34582 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
34583 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
34584 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
34585 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
34587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34588 nearbyint{,f} to libm-sysdep_routes.
34589 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
34592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
34594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
34596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
34598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
34599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
34600 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
34602 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
34603 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
34605 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
34606 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
34607 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
34609 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34610 libc_feholdexcept and libc_fesetenv.
34612 2013-01-15 Mike Frysinger <vapier@gentoo.org>
34614 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
34616 2013-01-14 David S. Miller <davem@davemloft.net>
34618 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
34619 (SPARC_ASM_VIS2_IFUNC): Likewise.
34620 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
34621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
34622 use of 'siam' instruction.
34623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
34625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
34627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
34629 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
34630 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
34631 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
34632 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
34633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
34635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
34637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
34639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
34641 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
34642 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
34643 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
34644 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
34645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
34647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34651 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34652 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34653 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34654 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
34656 routines to libm-sysdep_routines.
34657 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34660 fdim/fdimf to libm-sysdep_routines.
34661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
34663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
34664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
34666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
34667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
34668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
34669 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
34670 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
34671 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
34672 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
34674 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34676 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
34677 to optimize copies.
34679 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
34680 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34681 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34683 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
34684 local variable MPTWO.
34685 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34688 2013-01-13 Mike Frysinger <vapier@gentoo.org>
34690 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
34693 2013-01-13 Mike Frysinger <vapier@gentoo.org>
34695 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
34697 2013-01-13 Mike Frysinger <vapier@gentoo.org>
34699 * manual/pattern.texi (glob_t): Document gl_flags.
34700 (glob64_t): Likewise.
34702 2013-01-11 David S. Miller <davem@davemloft.net>
34704 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
34705 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
34706 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
34707 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
34708 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
34709 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
34710 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
34711 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
34712 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
34713 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
34714 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
34715 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
34716 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
34718 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34719 sparc V9 rather than using V8 code.
34720 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34721 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34723 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34725 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
34728 2013-01-11 Roland McGrath <roland@hack.frob.com>
34730 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
34731 not in the main loop.
34732 * configure: Regenerated.
34734 2013-01-11 Joseph Myers <joseph@codesourcery.com>
34736 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
34737 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
34739 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
34740 [!__GLIBC_HAVE_LONG_LONG] case.
34741 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
34742 condition to just #else.
34743 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
34744 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
34745 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
34746 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
34748 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
34749 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34750 #elif condition to just #else.
34751 * sysdeps/unix/sysv/linux/sys/sysmacros.h
34752 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
34753 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34754 #elif condition to just #else.
34756 2013-01-11 Steve Ellcey <sellcey@mips.com>
34758 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
34759 (EF_MIPS_ARCH_64): Fix value.
34760 (EF_MIPS_ARCH_32R2): New.
34761 (EF_MIPS_ARCH_64R2): New.
34763 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
34765 * Makeconfig (+link-pie-before-libc): New.
34766 (+link-pie-after-libc): Likewise.
34767 (+link-pie-tests): Likewise.
34768 (+link-pie): Rewritten.
34769 (link-before-libc): Remove $(config-LDFLAGS).
34770 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
34771 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
34772 (config-LDFLAGS): Renamed to ...
34773 (rtld-LDFLAGS): This.
34774 (rtld-tests-LDFLAGS): New macro.
34775 (link-libc-rpath-link): Likewise.
34776 (link-libc-tests-rpath-link): Likewise.
34777 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
34778 (link-libc): Prepand $(link-libc-rpath-link).
34779 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
34780 (test-program-prefix): New macro.
34781 (test-via-rtld-prefix): Likewise.
34782 (test-program-cmd): Likewise.
34783 (host-test-program-cmd): Likewise.
34784 * Makefile ($(common-objpfx)testrun.sh): Replace
34785 $(run-program-prefix) with $(test-program-prefix).
34786 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
34788 ($(common-objpfx)shlib.lds): Likewise.
34789 (build-module-helper): Likewise.
34790 ($(common-objpfx)format.lds): Likewise.
34791 * Rules (binaries-pie-tests): New.
34792 (binaries-pie-notests): Likewise.
34793 (binaries-pie): Rewritten.
34794 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
34795 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
34796 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
34797 (make-test-out): Replace $(host-built-program-cmd) with
34798 $(host-test-program-cmd).
34799 * config.make.in (build-hardcoded-path-in-tests): New variable.
34800 * configure.in (--enable-hardcoded-path-in-tests): New configure
34802 (hardcoded_path_in_tests): New AC_SUBST.
34803 * configure: Regenerated.
34804 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
34805 $(built-program-cmd) with $(test-program-cmd).
34806 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
34807 (test_program_cmd): This.
34808 * elf/Makefile ($(objpfx)order.out): Run test with
34809 $(test-program-prefix).
34810 ($(objpfx)order2.out): Likewise.
34811 ($(objpfx)tst-initorder.out): Likewise.
34812 ($(objpfx)tst-initorder2.out): Likewise.
34813 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
34814 $(test-program-cmd).
34815 ($(objpfx)tst-array1-static.out): Likewise.
34816 ($(objpfx)tst-array2.out): Likewise.
34817 ($(objpfx)tst-array3.out): Likewise.
34818 ($(objpfx)tst-array4.out): Likewise.
34819 ($(objpfx)tst-array5.out): Likewise.
34820 ($(objpfx)tst-array5-static.out): Likewise.
34821 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
34822 $(test-program-cmd).
34823 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
34824 $(run-program-prefix) with $(test-program-prefix).
34825 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
34826 (test_program_prefix): This.
34827 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
34828 $(run-program-prefix) with $(test-program-prefix).
34829 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
34830 (test_program_prefix): This.
34831 * iconvdata/tst-tables.sh: Likewise.
34832 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
34833 $(run-program-prefix) with $(test-program-prefix).
34834 ($(objpfx)tst-translit.out): Likewise.
34835 ($(objpfx)tst-gettext2.out): Likewise.
34836 ($(objpfx)tst-gettext4.out): Likewise.
34837 ($(objpfx)tst-gettext6.out): Likewise.
34838 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
34839 (test_program_prefix): This.
34840 * intl/tst-gettext2.sh: Likewise.
34841 * intl/tst-gettext4.sh Likewise.
34842 * intl/tst-gettext6.sh: Likewise.
34843 * intl/tst-translit.sh: Likewise.
34844 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
34845 with $(test-program-cmd).
34846 * libio/Makefile ($(objpfx)test-freopen.out): Replace
34847 $(run-program-prefix) with $(test-program-prefix).
34848 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
34849 (test_program_prefix): This.
34850 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
34851 $(run-program-prefix) with $(test-program-prefix).
34852 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
34853 (test_program_prefix): This.
34854 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
34855 * posix/Makefile ($(objpfx)globtest.out): Replace
34856 $(run-via-rtld-prefix) and $(test-wrapper) with
34857 $(test-program-prefix) and $(test-via-rtld-prefix).
34858 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34859 $(test-program-prefix).
34860 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34861 $(host-test-program-cmd).
34862 (tst-spawn-ARGS): Likewise.
34863 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34864 $(test-program-prefix).
34865 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34866 (test_via_rtld_prefix): This.
34867 (test_wrapper): Renamed to ...
34868 (test_program_prefix): This.
34869 (run_program_prefix): Replaced by test_program_prefix.
34870 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34871 (test_program_prefix): This.
34872 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34873 with $(host-test-program-cmd).
34874 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34875 $(run-program-prefix) with $(test-program-prefix).
34876 ($(objpfx)tst-printf.out): Likewise.
34877 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34878 $(test-program-cmd).
34879 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34880 (test_program_prefix): This.
34881 * stdio-common/tst-unbputc.sh: Likewise.
34882 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34883 $(run-program-prefix) with $(test-program-prefix).
34884 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34885 (test_program_prefix): This.
34886 * string/Makefile ($(objpfx)tst-svc.out): Replace
34887 $(built-program-cmd) with $(test-program-cmd).
34889 2013-01-11 Andreas Jaeger <aj@suse.de>
34892 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34893 value. Sync with Linux 3.7.
34895 2013-01-10 David S. Miller <davem@davemloft.net>
34897 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34898 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34899 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34901 2013-01-10 Roland McGrath <roland@hack.frob.com>
34903 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34905 * configure: Regenerated.
34907 2013-01-10 David S. Miller <davem@davemloft.net>
34909 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34910 sparc V9 rather than using V8 code.
34911 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34912 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34914 2013-01-10 Roland McGrath <roland@hack.frob.com>
34916 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34917 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34918 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34919 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34920 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34921 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34922 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34923 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34924 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34925 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34926 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34927 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34928 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34929 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34930 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34931 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34932 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34933 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34934 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34935 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34936 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34937 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34938 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34939 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34940 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34941 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34942 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34944 2013-01-10 David S. Miller <davem@davemloft.net>
34946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34948 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34950 * posix/Makefile (tests-static): New variable.
34951 (tests): Add $(tests-static).
34952 (tst-exec-static-ARGS): New variable.
34953 (tst-spawn-static-ARGS): Likewise.
34954 * posix/tst-exec-static.c: New file.
34955 * posix/tst-spawn-static.c: Likewise.
34956 * posix/tst-exec.c: Support run directly.
34957 * posix/tst-spawn.c: Likewise.
34959 2013-01-10 Joseph Myers <joseph@codesourcery.com>
34961 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34963 * math/bits/mathcalls.h (llrint): Likewise.
34964 (llround): Likewise.
34965 * stdlib/stdlib.h (struct drand48_data): Likewise.
34966 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34967 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34968 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34970 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34972 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34973 (elf_greg_t): Likewise.
34974 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34975 (__jmp_buf): Likewise.
34976 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34978 (llrint): Likewise, for all definitions.
34979 (llrintl): Likewise.
34981 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34982 Remove [__GNUC__] condition.
34983 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34984 condition to just [__USE_ISOC99].
34985 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34987 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34990 * sysdeps/unix/sysv/linux/x86/bits/environments.h
34991 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34993 (_POSIX_V6_ILP32_OFF32): Likewise.
34994 (_XBS5_ILP32_OFF32): Likewise.
34995 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34996 (__ILP32_OFFBIG_LDFLAGS): Likewise.
34998 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35000 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
35002 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
35003 doubles __mpexp_twomm1. Adjust usage.
35004 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
35007 2013-01-10 Andreas Schwab <schwab@suse.de>
35010 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
35011 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
35013 2013-01-09 David S. Miller <davem@davemloft.net>
35016 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
35017 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
35018 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
35019 (TCP_FASTOPEN): Define.
35020 (tcp_repair_opt): New structure.
35021 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
35023 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
35024 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
35025 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
35026 (tcp_cookie_transactions): New structure.
35028 2013-01-09 Anton Blanchard <anton@samba.org>
35030 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
35031 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
35032 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
35033 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
35035 2013-01-09 Joseph Myers <joseph@codesourcery.com>
35037 * include/features.h (__USE_ANSI): Remove.
35039 2013-01-09 Roland McGrath <roland@hack.frob.com>
35041 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
35043 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
35045 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
35047 * sysdeps/s390/fpu/libm-test-ulps: Update.
35049 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35051 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
35055 (denorm): Likewise.
35056 (__mp_dbl): Likewise.
35057 (__dbl_mp): Likewise.
35058 (add_magnitudes): Likewise.
35059 (sub_magnitudes): Likewise.
35065 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
35069 (denorm): Likewise.
35070 (__mp_dbl): Likewise.
35071 (__dbl_mp): Likewise.
35072 (add_magnitudes): Likewise.
35073 (sub_magnitudes): Likewise.
35079 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
35083 (denorm): Likewise.
35084 (__mp_dbl): Likewise.
35085 (__dbl_mp): Likewise.
35086 (add_magnitudes): Likewise.
35087 (sub_magnitudes): Likewise.
35094 2013-01-08 Joseph Myers <joseph@codesourcery.com>
35096 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
35097 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
35098 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
35099 2 && __USE_EXTERN_INLINES]: Likewise.
35101 2013-01-08 Andreas Jaeger <aj@suse.de>
35104 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
35106 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
35107 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
35109 2013-01-07 Anton Blanchard <anton@samba.org>
35111 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
35112 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
35113 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
35114 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
35115 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
35116 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35117 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
35118 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
35119 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35120 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35121 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35122 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35123 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35124 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35125 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
35126 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35127 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35128 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35129 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
35130 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
35131 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
35132 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
35133 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35134 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
35135 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
35136 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
35137 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35138 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
35139 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
35140 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35141 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
35142 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35143 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35144 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35145 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35146 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35147 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35148 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35149 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
35150 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
35151 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
35152 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35153 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35155 2013-01-07 Joseph Myers <joseph@codesourcery.com>
35157 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
35158 (__MALLOC_PMT): Likewise.
35159 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
35160 [__GNUC__], only on [_LIBC].
35161 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
35162 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
35163 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
35164 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
35165 forward declaration.
35166 (realloc_hook_ini): Likewise.
35167 (memalign_hook_ini): Likewise.
35168 (__libc_memalign): Do not use __MALLOC_PMT in variable
35170 (__libc_valloc): Likewise.
35171 (__libc_pvalloc): Likewise.
35172 (__libc_calloc): Likewise.
35173 (__posix_memalign): Likewise.
35176 * math/s_casinh.c: Include <float.h>.
35177 (__casinh): Do not do computation with squaring and square root
35178 for large arguments.
35179 * math/s_casinhf.c: Include <float.h>.
35180 (__casinhf): Do not do computation with squaring and square root
35181 for large arguments.
35182 * math/s_casinhl.c: Include <float.h>.
35183 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
35184 (__casinhl): Do not do computation with squaring and square root
35185 for large arguments.
35186 * math/libm-test.inc (casin_test): Add more tests.
35187 (casinh_test): Likewise.
35188 * sysdeps/i386/fpu/libm-test-ulps: Update.
35189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35191 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
35193 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
35194 (__x86_64_raw_data_cache_size): Likewise.
35195 (__x86_64_data_cache_size_half): Likewise.
35196 (__x86_64_raw_data_cache_size_half): Likewise.
35197 (__x86_64_shared_cache_size): Likewise.
35198 (__x86_64_raw_shared_cache_size): Likewise.
35199 (__x86_64_shared_cache_size_half): Likewise.
35200 (__x86_64_raw_shared_cache_size_half): Likewise.
35201 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
35203 (__x86_data_cache_size): This.
35204 (__x86_64_raw_data_cache_size): Renamed to ...
35205 (__x86_raw_data_cache_size): This.
35206 (__x86_64_data_cache_size_half): Renamed to ...
35207 (__x86_data_cache_size_half): This.
35208 (__x86_64_raw_data_cache_size_half): Renamed to ...
35209 (__x86_raw_data_cache_size_half): This.
35210 (__x86_64_shared_cache_size): Renamed to ...
35211 (__x86_shared_cache_size): This.
35212 (__x86_64_raw_shared_cache_size): Renamed to ...
35213 (__x86_raw_shared_cache_size): This.
35214 (__x86_64_shared_cache_size_half): Renamed to ...
35215 (__x86_shared_cache_size_half): This.
35216 (__x86_64_raw_shared_cache_size_half): Renamed to ...
35217 (__x86_raw_shared_cache_size_half): This.
35218 * sysdeps/x86_64/memcpy.S: Updated.
35219 * sysdeps/x86_64/memset.S: Likewise.
35220 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
35221 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35222 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35224 2013-01-04 David S. Miller <davem@davemloft.net>
35226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35228 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
35230 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
35231 1 to avoid redefinition warning.
35232 (__USE_GNU): Don't define.
35233 (init_signaling_nan): Protoize.
35235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35237 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35239 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
35240 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
35241 (__cpymn): Likewise.
35242 (norm): Remove commented code.
35243 (denorm): Likewise.
35244 (__mp_dbl): Likewise.
35246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
35247 (__cpymn): Likewise.
35248 (norm): Remove commented code.
35249 (denorm): Likewise.
35250 (__mp_dbl): Likewise.
35253 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
35254 mp_no value for 1.0 and 2.0.
35255 (norm): Use RADIXI instead of radixi.d.
35256 (denorm): Likewise.
35257 (__mul): Use 0.0 instead of zero.d.
35258 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
35259 mp_no value for 1.0 and 2.0.
35260 (norm): Use RADIXI instead of radixi.d.
35261 (denorm): Likewise.
35262 (__mul): Use 0.0 instead of zero.d.
35264 2013-01-04 Joseph Myers <joseph@codesourcery.com>
35267 * math/s_casinh.c (__casinh): Reduce finite argument to first
35268 quadrant then set signs of results at the end.
35269 * math/s_casinhf.c (__casinhf): Likewise.
35270 * math/s_casinhl.c (__casinhl): Likewise.
35271 * math/libm-test.inc (casin_test): Add more tests.
35272 (casinh_test): Likewise.
35273 * sysdeps/i386/fpu/libm-test-ulps: Update.
35274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35276 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35278 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
35280 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
35282 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
35284 (denorm): Likewise.
35285 (__mp_dbl): Likewise.
35288 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
35289 and adjust the header comment.
35291 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
35292 variable name from declaration.
35294 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
35296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35297 Initialize COMMON_CPUID_INDEX_7 element.
35298 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
35299 (CPUID_RTM): Likewise.
35300 (HAS_RTM): Likewise.
35301 (COMMON_CPUID_INDEX_7): New enum.
35303 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
35306 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
35307 size is zero, record memory as freed.
35309 2013-01-03 Andreas Jaeger <aj@suse.de>
35311 * po/ia.po: Add new Interlingua translation.
35313 2012-01-03 Allan McRae <allan@archlinux.org>
35315 * locale/programs/localedef.c: Fix description of '--posix' flag.
35317 2013-01-02 Joseph Myers <joseph@codesourcery.com>
35319 * NEWS: Update dates in second copyright notice.
35320 * README: Update copyright dates in example.
35321 * manual/libc.texinfo: Update copyright dates.
35322 * scripts/test-installation.pl: Update copyright date in --version
35325 * hurd/ctty-input.c: Fix copyright notice formatting.
35326 * hurd/ctty-output.c: Likewise.
35327 * hurd/dtable.c: Likewise.
35328 * hurd/hurd-raise.c: Likewise.
35329 * hurd/hurdprio.c: Likewise.
35330 * hurd/msgportdemux.c: Likewise.
35331 * misc/sys/file.h: Likewise.
35332 * misc/sys/ioctl.h: Likewise.
35333 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
35334 * sysdeps/mach/hurd/chdir.c: Likewise.
35335 * sysdeps/mach/hurd/fchdir.c: Likewise.
35336 * sysdeps/mach/hurd/rename.c: Likewise.
35337 * sysdeps/mach/hurd/rmdir.c: Likewise.
35338 * sysdeps/mach/hurd/seekdir.c: Likewise.
35339 * sysdeps/mach/hurd/setsid.c: Likewise.
35340 * sysdeps/posix/wait3.c: Likewise.
35342 * All files with FSF copyright notices: Update copyright dates
35343 using scripts/update-copyrights.
35344 * intl/plural.c: Regenerated.
35345 * locale/programs/charmap-kw.h: Likewise.
35346 * locale/programs/locfile-kw.h: Likewise.
35348 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
35350 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
35353 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
35354 calculation loop and add branch prediction.
35356 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
35357 check access beyond bounds of m1np.
35359 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
35361 (__inv): Remove local variable MPTWO to use the global
35363 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
35364 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
35366 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
35367 MP3HALFS static const.
35369 2013-01-01 David S. Miller <davem@davemloft.net>
35371 * po/ca.po: Update from translation team.
35373 2013-01-01 Joseph Myers <joseph@codesourcery.com>
35375 * scripts/update-copyrights: New file.
35376 * Makeconfig: Reformat copyright notice.
35377 * ctype/ctype.h: Likewise.
35378 * debug/swprintf_chk.c: Likewise.
35379 * elf/dl-cache.c: Likewise.
35380 * elf/dl-debug.c: Likewise.
35381 * elf/dl-object.c: Likewise.
35382 * grp/initgroups.c: Likewise.
35383 * hurd/Makefile: Likewise.
35384 * hurd/hurd/signal.h: Likewise.
35385 * hurd/hurdfault.c: Likewise.
35386 * hurd/hurdioctl.c: Likewise.
35387 * hurd/hurdlookup.c: Likewise.
35388 * hurd/intr-msg.c: Likewise.
35389 * iconv/gconv_open.c: Likewise.
35390 * libio/swprintf.c: Likewise.
35391 * locale/lc-ctype.c: Likewise.
35392 * locale/nl_langinfo.c: Likewise.
35393 * mach/Machrules: Likewise.
35394 * mach/Makefile: Likewise.
35395 * malloc/obstack.h: Likewise.
35396 * manual/Makefile: Likewise.
35397 * manual/tsort.awk: Likewise.
35398 * misc/bits/stab.def: Likewise.
35399 * nis/nis_print_group_entry.c: Likewise.
35400 * nis/nis_table.c: Likewise.
35401 * nis/nss_compat/compat-pwd.c: Likewise.
35402 * nis/nss_compat/compat-spwd.c: Likewise.
35403 * po/Makefile: Likewise.
35404 * posix/fnmatch.c: Likewise.
35405 * posix/regex.h: Likewise.
35406 * resolv/Makefile: Likewise.
35407 * resolv/nss_dns/dns-network.c: Likewise.
35408 * resolv/res_hconf.c: Likewise.
35409 * scripts/gen-sorted.awk: Likewise.
35410 * soft-fp/soft-fp.h: Likewise.
35411 * stdio-common/printf.h: Likewise.
35412 * stdlib/monetary.h: Likewise.
35413 * stdlib/random.c: Likewise.
35414 * stdlib/random_r.c: Likewise.
35415 * sysdeps/generic/Makefile: Likewise.
35416 * sysdeps/gnu/Makefile: Likewise.
35417 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35418 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35419 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35420 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35421 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35422 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35423 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35424 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35425 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35426 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35427 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
35428 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
35429 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
35430 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
35431 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
35432 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
35433 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
35434 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35435 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35436 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35437 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35438 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35439 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35440 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35441 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
35442 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35443 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
35444 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
35445 * sysdeps/mach/hurd/errnos.awk: Likewise.
35446 * sysdeps/mach/hurd/fork.c: Likewise.
35447 * sysdeps/mach/hurd/getcwd.c: Likewise.
35448 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
35449 * sysdeps/mach/hurd/mmap.c: Likewise.
35450 * sysdeps/mach/hurd/utimes.c: Likewise.
35451 * sysdeps/mach/hurd/xmknod.c: Likewise.
35452 * sysdeps/posix/profil.c: Likewise.
35453 * sysdeps/posix/readdir_r.c: Likewise.
35454 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35455 * sysdeps/powerpc/bits/setjmp.h: Likewise.
35456 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
35457 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
35458 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35459 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35460 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35461 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35462 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35463 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35464 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35465 * sysdeps/pthread/lio_listio.c: Likewise.
35466 * sysdeps/sparc/dl-procinfo.h: Likewise.
35467 * sysdeps/unix/i386/sysdep.S: Likewise.
35468 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
35469 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
35470 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
35471 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
35472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35473 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
35474 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
35475 * sysdeps/unix/sysv/linux/speed.c: Likewise.
35476 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35477 * sysdeps/wordsize-32/divdi3.c: Likewise.
35478 * time/sys/time.h: Likewise.
35479 * wcsmbs/Makefile: Likewise.
35481 2013-01-01 David S. Miller <davem@davemloft.net>
35483 * po/fr.po: Update from translation team.
35485 * catgets/gencat.c: Update copyright year.
35486 * csu/version.c: Likewise.
35487 * debug/catchsegv.sh: Likewise.
35488 * debug/pcprofiledump.c: Likewise.
35489 * debug/xtrace.sh: Likewise.
35490 * elf/ldconfig.c: Likewise.
35491 * elf/ldd.bash.in: Likewise.
35492 * elf/pldd.c: Likewise.
35493 * elf/sotruss.ksh: Likewise.
35494 * elf/sprof.c: Likewise.
35495 * iconv/iconv_prog.c: Likewise.
35496 * iconv/iconvconfig.c: Likewise.
35497 * locale/programs/locale.c: Likewise.
35498 * locale/programs/localedef.c: Likewise.
35499 * login/programs/pt_chown.c: Likewise.
35500 * malloc/memusage.sh: Likewise.
35501 * malloc/memusagestat.c: Likewise.
35502 * malloc/mtrace.pl: Likewise.
35503 * nscd/nscd.c: Likewise.
35504 * nss/getent.c: Likewise.
35505 * nss/makedb.c: Likewise.
35506 * posix/getconf.c: Likewise.
35508 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35510 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
35513 2012-12-30 Mike Frysinger <vapier@gentoo.org>
35515 * math/bits/mathcalls.h (modf): Use __nonnull.
35517 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35519 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
35520 (split): Use macro CN instead of the bare value.
35521 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
35523 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
35524 instead of the bare value.
35525 (power1): Likewise.
35527 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35529 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
35531 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35533 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
35535 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35536 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35537 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
35538 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
35540 2012-12-28 Andreas Jaeger <aj@suse.de>
35542 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
35543 values are from Linux 3.7.
35545 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
35546 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
35548 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35550 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
35553 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
35555 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
35556 variables with preprocessor constants.
35557 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35558 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
35559 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
35561 2012-12-27 Bruno Haible <bruno@clisp.org>
35564 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
35567 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35569 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
35570 and use variable directly.
35571 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
35573 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
35575 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
35576 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
35578 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35579 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35580 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
35581 include directive. Remove local variable MPONE.
35582 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
35583 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
35584 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35586 2012-12-25 David S. Miller <davem@davemloft.net>
35588 * version.h (RELEASE): Set to "development".
35589 (VERSION): Set to "2.17.90".
35590 * NEWS: Add 2.18 section.
35592 2012-12-21 David S. Miller <davem@davemloft.net>
35594 * po/hr.po: Update from translation team.
35596 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35598 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
35600 2012-12-19 Steve Ellcey <sellcey@mips.com>
35602 * NEWS: Mention new memcpy for MIPS.
35604 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35606 * manual/contrib.texi (Contributors): Spelling correction.
35608 2012-12-15 David S. Miller <davem@davemloft.net>
35610 * po/ru.po: Update from translation team.
35612 2012-12-13 David S. Miller <davem@davemloft.net>
35614 * NEWS: Mention IFUNC testsuite enhancements.
35616 * po/pl.po: Update from translation team.
35617 * po/bg.po: Likewise.
35619 * manual/contrib.texi (Contributors): Update entries for Hongjiu
35620 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
35622 2012-12-11 David S. Miller <davem@davemloft.net>
35624 * po/sv.po: Update from translation team.
35626 * po/vi.po: Update from translation team.
35628 * po/cs.po: Update from translation team.
35630 * po/de.po: Update from translation team.
35631 * po/eo.po: Likewise.
35632 * po/nl.po: Likewise.
35634 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35637 * manual/argp.texi (Argp Helper Functions): Move node to follow
35638 Argp Parsing State.
35641 * manual/conf.texi (Limits on File System Capacity): Mention if
35642 terminating null is included in the max size.
35644 2012-12-10 Andreas Jaeger <aj@suse.de>
35646 * po/cs.po: Update from translation team.
35648 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
35650 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
35651 void pointer and cast to uintptr_t.
35652 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
35654 * sysdeps/s390/s390-64/memcpy.S: Likewise.
35655 * sysdeps/s390/s390-64/memset.S: Likewise.
35657 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
35660 * menual/message.texi (Message Translation): Fix typos.
35661 (Helper programs for gettext): Likewise.
35663 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
35666 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
35669 2012-12-07 David S. Miller <davem@davemloft.net>
35671 * po/libc.pot: Update.
35673 2012-12-07 Richard Henderson <rth@redhat.com>
35676 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
35677 normal/normal case to before the switch.
35678 (_FP_DIV): Likewise.
35680 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
35681 Mike Frysinger <vapier@gentoo.org>
35683 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
35684 check for __NR_fadvise64_64.
35686 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
35688 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
35689 0, not just to plain "0" as a statement.
35690 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
35693 2012-12-06 Joseph Myers <joseph@codesourcery.com>
35695 * NEWS: Use sourceware.org in Bugzilla URL.
35697 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35700 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35702 * stdio-common/tst-put-error.c (do_test): Add newline to the
35703 padded test to ensure flush.
35705 2012-12-05 Jeff Law <law@redhat.com>
35707 * sunrpc/etc.rpc (fedfs_admin): Add entry.
35709 2012-12-05 Joseph Myers <joseph@codesourcery.com>
35711 * README: Don't refer to ports add-on as distributed separately.
35712 Mention AArch64 in list of systems supported in the ports add-on.
35714 * LICENSES: Add more non-FSF copyright and license notices.
35716 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
35719 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
35721 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
35722 10000 as width of padded output.
35724 2012-12-04 Joseph Myers <joseph@codesourcery.com>
35726 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
35728 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
35729 variable LX with __attribute__ ((unused)).
35730 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35732 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35733 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35734 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
35735 with __attribute__ ((unused)).
35737 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
35739 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
35741 2012-12-04 Joseph Myers <joseph@codesourcery.com>
35743 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
35744 (CFLAGS-nldbl-acos.c): New variable.
35745 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
35746 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
35747 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
35748 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
35749 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
35750 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
35751 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
35752 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
35753 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
35754 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
35755 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
35756 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
35757 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
35758 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
35759 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
35760 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
35761 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
35762 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
35763 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
35764 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
35765 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
35766 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
35767 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
35768 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
35769 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
35770 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
35771 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
35772 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
35773 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
35774 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
35775 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
35776 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
35777 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
35778 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
35779 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
35780 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
35781 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
35782 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
35783 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
35784 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
35785 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
35786 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
35787 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
35788 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
35789 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
35790 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
35791 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
35792 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
35793 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
35794 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
35795 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
35796 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
35797 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
35798 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
35799 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
35800 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
35801 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
35802 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
35803 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
35804 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
35805 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
35806 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
35807 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
35808 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
35809 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
35810 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
35811 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
35812 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
35813 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
35814 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
35815 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
35816 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
35817 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
35818 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
35819 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
35820 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
35821 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
35822 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
35823 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
35824 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
35825 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
35826 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
35827 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
35828 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
35829 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
35830 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
35831 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
35832 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
35833 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
35834 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
35835 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
35836 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
35837 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
35838 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
35839 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
35840 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
35841 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
35843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35844 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35847 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
35848 whole low double instead of just low 47 bits when splitting values
35851 2012-12-03 Allan McRae <allan@archlinux.org>
35853 * manual/stdio.texi (Predefined Printf Handlers): Remove
35854 @hsep and @vsep usage.
35856 2012-12-03 Mike Frysinger <vapier@gentoo.org>
35858 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35859 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35861 2012-12-03 Jeff Law <law@redhat.com>
35863 * time/sys/time.h (settimeofday): Do not mark TV argument
35866 2012-12-01 Mike Frysinger <vapier@gentoo.org>
35868 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35869 when currently writing and seek to current position when not.
35870 * libio/Makefile (tests): Remove bug-fclose1.
35871 * libio/bug-fclose1.c: Delete.
35873 2012-12-01 Joseph Myers <joseph@codesourcery.com>
35875 * manual/arith.texi (feenableexcept): Fix typo.
35876 (fedisableexcept): Likewise.
35878 2012-11-30 Roland McGrath <roland@hack.frob.com>
35880 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35881 second, differently-typed declaration, rather than a cast.
35883 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35885 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35886 * include/rpc/svc.h: ... here.
35888 2012-11-30 Aurelien Jarno <aurel32@debian.org>
35891 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35892 depending n and resplen2 to catch cases where answer
35895 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
35897 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35898 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35900 2012-11-29 Mike Frysinger <vapier@gentoo.org>
35902 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35904 2012-11-29 Roland McGrath <roland@hack.frob.com>
35906 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35908 2012-11-28 Jeff Law <law@redhat.com>
35911 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35912 dataset_temporary. Track alloca usage into alloca_used.
35913 If dataset is large allocate and release it via malloc/free.
35915 2012-06-04 Florian Weimer <fweimer@redhat.com>
35918 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35920 2012-11-28 David S. Miller <davem@davemloft.net>
35922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35924 2012-11-28 Joseph Myers <joseph@codesourcery.com>
35927 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35928 of pi/2 rounded to nearest to 64 bits.
35929 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35930 nearest to 64 bits.
35931 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35934 2012-11-28 Jeff Law <law@redhat.com>
35935 Martin Osvald <mosvald@redhat.com>
35938 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35939 * sunrpc/svc.c: Include time.h.
35940 (__svc_accept_failed): New function.
35941 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35942 any reason other than EINTR, call __svc_accept_failed.
35943 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35944 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35946 2012-11-28 Andreas Schwab <schwab@suse.de>
35948 * scripts/abilist.awk: Also handle indirect functions in .opd
35951 2012-11-28 Joseph Myers <joseph@codesourcery.com>
35954 * sysdeps/x86/fpu/powl_helper.c: New file.
35955 * sysdeps/x86/fpu/Makefile: Likewise.
35956 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35958 (__ieee754_powl): Use __powl_helper for finite arguments except
35959 integer exponents below 8.
35960 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35962 (__ieee754_powl): Use __powl_helper for finite arguments except
35963 integer exponents below 8.
35964 * math/libm-test.inc (pow_test): Add more tests and enable some
35965 previously disabled tests.
35966 * sysdeps/i386/fpu/libm-test-ulps: Update.
35967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35969 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35970 Carlos O'Donell <carlos_odonell@mentor.com>
35972 * nss/makedb.c (is_prime): Assert that input is odd and greater
35973 than 4. Note that fact in a comment too.
35974 (next_prime): Add 4 to input.
35976 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35979 * libio/Makefile (tests): Add test case tst-fwrite-error.
35980 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35981 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35982 * libio/tst-fwrite-error.c: New test case.
35984 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
35986 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35987 before casting to void *.
35988 * include/libc-internal.h (__pointer_type): New macro.
35989 (__integer_if_pointer_type_sub): Likewise.
35990 (__integer_if_pointer_type): Likewise.
35991 (cast_to_integer): Likewise.
35992 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35993 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35994 before casting to atomic64_t.
35995 (atomic_exchange_acq): Likewise.
35996 (__arch_exchange_and_add_body): Likewise.
35997 (__arch_add_body): Likewise.
35998 (atomic_add_negative): Likewise.
35999 (atomic_add_zero): Likewise.
36001 2012-11-26 Joseph Myers <joseph@codesourcery.com>
36003 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
36004 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
36005 (add_fdes): Likewise.
36006 (linear_search_fdes): Likewise.
36007 (binary_search_unencoded_fdes): Likewise.
36009 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
36011 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
36013 2012-11-24 Adam Conrad <adconrad@0c3.net>
36015 * configure.in: Autodetect C++ header directories.
36016 * configure: Regenerated.
36018 2012-11-23 Mike Frysinger <vapier@gentoo.org>
36020 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
36022 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
36024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36026 2012-11-22 Joseph Myers <joseph@codesourcery.com>
36028 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
36029 LDBL_MANT_DIG == 106]: Disable some tests.
36030 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
36032 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
36036 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
36037 input for small inputs. Return +/- pi/2 for large inputs.
36038 * math/libm-test.inc (atan_test): Add more tests.
36040 * sysdeps/generic/unwind-dw2-fde-glibc.c
36041 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
36042 __attribute__ ((unused)).
36045 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
36046 x * y if x and y are nonzero and z is zero.
36049 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
36050 nonzero exponents with absolute value below 0x1p-117 to +/-
36054 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
36055 up arguments below 2**-450, not just those below 2**-500.
36056 * math/libm-test.inc (hypot_test): Add another test.
36059 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
36060 Return a+b for ratio over 2**120, not 2**60.
36061 * math/libm-test.inc (hypot_test): Add another test.
36063 * math/libm-test.inc (clog_test): Use
36064 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
36065 (clog10_test): Likewise.
36068 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
36070 2012-11-22 Andreas Schwab <schwab@suse.de>
36072 * sysdeps/i386/fpu/libm-test-ulps: Update.
36074 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
36076 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
36077 printf output with newline.
36079 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
36082 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
36083 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
36084 -z nodlopen, -z initfirst and -z execstack support.
36085 * configure: Regenerated.
36087 * elf/elf.h (DF_1_NODIRECT): New macro.
36088 (DF_1_IGNMULDEF): Likewise.
36089 (DF_1_NOKSYMS): Likewise.
36090 (DF_1_NOHDR): Likewise.
36091 (DF_1_EDITED): Likewise.
36092 (DF_1_NORELOC): Likewise.
36093 (DF_1_SYMINTPOSE): Likewise.
36094 (DF_1_GLOBAUDIT): Likewise.
36095 (DF_1_SINGLETON): Likewise.
36096 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
36097 DT_1_SUPPORTED_MASK bits.
36098 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
36100 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
36102 * sysdeps/unix/make-syscalls.sh: Document prefixes.
36104 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
36106 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
36109 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
36110 (sendmmsg): Move declarations...
36111 * socket/sys/socket.h: ... here.
36112 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
36113 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
36115 * socket/recvmmsg.c: ... this new file.
36116 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
36117 (sendmmsg): Rename to __sendmmsg, create weak alias and make
36118 definition of __sendmmsg hidden.
36119 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36120 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
36121 Move ENOSYS stub into and include it from...
36122 * socket/sendmmsg.c: ... this new file.
36123 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
36124 (sysdep_routines): Move recvmmsg and sendmmsg...
36125 * socket/Makefile (routines): ... here.
36126 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
36127 (GLIBC_PRIVATE): Add __sendmmsg.
36128 * include/sys/socket.h (__sendmmsg): Add declarations.
36129 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
36132 2012-11-20 Joseph Myers <joseph@codesourcery.com>
36134 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
36135 variable I1 with __attribute__ ((unused)).
36136 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36138 2012-11-19 Joseph Myers <joseph@codesourcery.com>
36140 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
36141 DUMMY variables with __attribute__ ((unused)).
36143 * bits/byteswap.h: Include <bits/types.h>.
36144 (__bswap_64): Use __uint64_t instead of unsigned long long int.
36146 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
36148 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
36149 string_t. Do not manually set errno.
36150 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
36151 length with __strnlen. Make sure to both set errno and return it on
36154 2012-11-19 David S. Miller <davem@davemloft.net>
36156 With help from Joseph Myers.
36157 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
36158 very large arguments properly.
36159 * math/libm-test.inc (atan_test): New tests.
36160 (atan2_test): New tests.
36161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36162 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36164 2012-11-19 Joseph Myers <joseph@codesourcery.com>
36167 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
36170 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
36171 [POSIX] (EADDRNOTAVAIL): Likewise.
36172 [POSIX] (EAFNOSUPPORT): Likewise.
36173 [POSIX] (EALREADY): Likewise.
36174 [POSIX] (ECONNABORTED): Likewise.
36175 [POSIX] (ECONNREFUSED): Likewise.
36176 [POSIX] (ECONNRESET): Likewise.
36177 [POSIX] (EDESTADDRREQ): Likewise.
36178 [POSIX] (EDQUOT): Likewise.
36179 [POSIX] (EHOSTUNREACH): Likewise.
36180 [POSIX] (EIDRM): Likewise.
36181 [POSIX] (EISCONN): Likewise.
36182 [POSIX] (ELOOP): Likewise.
36183 [POSIX] (EMULTIHOP): Likewise.
36184 [POSIX] (ENETDOWN): Likewise.
36185 [POSIX] (ENETUNREACH): Likewise.
36186 [POSIX] (ENOBUFS): Likewise.
36187 [POSIX] (ENODATA): Likewise.
36188 [POSIX] (ENOLINK): Likewise.
36189 [POSIX] (ENOMSG): Likewise.
36190 [POSIX] (ENOPROTOOPT): Likewise.
36191 [POSIX] (ENOSR): Likewise.
36192 [POSIX] (ENOSTR): Likewise.
36193 [POSIX] (ENOTCONN): Likewise.
36194 [POSIX] (ENOTSOCK): Likewise.
36195 [POSIX] (EOPNOTSUPP): Likewise.
36196 [POSIX] (EOVERFLOW): Likewise.
36197 [POSIX] (EPROTO): Likewise.
36198 [POSIX] (EPROTONOSUPPORT): Likewise.
36199 [POSIX] (EPROTOTYPE): Likewise.
36200 [POSIX] (ESTALE): Likewise.
36201 [POSIX] (ETIME): Likewise.
36202 [POSIX] (ETXTBSY): Likewise.
36203 [POSIX] (EWOULDBLOCK): Likewise.
36204 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
36205 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
36206 [POSIX] (SEEK_CUR): Likewise.
36207 [POSIX] (SEEK_END): Likewise.
36208 [POSIX || UNIX98] (mode_t): Do not require.
36209 [POSIX] (off_t): Likewise.
36210 [POSIX] (pid_t): Likewise.
36211 [POSIX] (sys/stat.h): Do not allow header.
36212 [POSIX] (unistd.h): Likewise.
36213 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
36214 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
36215 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
36216 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
36218 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
36219 sigevent): Specify elements.
36220 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
36222 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
36223 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
36225 * conform/data/cpio.h-data [POSIX]: Disable whole file.
36226 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
36227 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
36228 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
36229 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
36230 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
36231 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
36232 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
36233 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
36234 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
36235 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
36236 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
36237 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
36238 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
36240 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
36242 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
36244 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
36246 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
36247 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
36248 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
36249 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
36250 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
36251 Specify lower bound on value.
36252 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
36253 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
36254 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
36255 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
36256 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
36257 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
36258 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
36259 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
36261 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
36263 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
36264 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
36265 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
36266 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
36267 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
36268 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
36269 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
36270 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
36271 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
36272 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
36273 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
36274 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
36275 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
36276 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
36277 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
36278 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
36280 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
36282 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
36283 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
36284 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
36285 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
36286 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
36287 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
36289 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
36290 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
36291 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
36292 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
36293 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
36294 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
36295 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
36297 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
36298 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
36299 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
36300 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
36301 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
36302 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
36303 specify as optional.
36304 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
36305 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
36306 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
36307 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
36308 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
36309 [XPG3] (NL_LANGMAX): Likewise.
36310 [POSIX || XPG3] (NL_MSGMAX): Likewise.
36311 [POSIX || XPG3] (NL_NMAX): Likewise.
36312 [POSIX || XPG3] (NL_SETMAX): Likewise.
36313 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
36314 [XPG3] (NZERO): Likewise.
36315 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
36316 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
36317 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
36318 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
36319 (REG_ERANGE): Expect.
36320 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
36322 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
36323 Use (void) in prototype.
36324 [POSIX] (*_t): Allow.
36325 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
36326 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
36327 (WRDE_BADVAL): Expect.
36329 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
36331 [XPG3 || XPG4] (O_RSYNC): Likewise.
36332 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
36334 [XPG3 || XPG4] (pthread_sigmask): Likewise.
36335 [XPG3 || XPG4] (sigqueue): Likewise.
36336 [XPG3 || XPG4] (sigtimedwait): Likewise.
36337 [XPG3 || XPG4] (sigwaitinfo): Likewise.
36338 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
36339 [XPG3 || XPG4] (vsnprintf): Likewise.
36340 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
36342 [XPG3 || XPG4] (blksize_t): Likewise.
36343 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
36345 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
36346 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
36347 [XPG3 || XPG4] (struct itimerspec): Likewise.
36348 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
36349 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
36350 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
36351 [XPG3 || XPG4] (clockid_t): Likewise.
36352 [XPG3 || XPG4] (timer_t): Likewise.
36353 [XPG3 || XPG4] (clock_getres): Likewise.
36354 [XPG3 || XPG4] (clock_gettime): Likewise.
36355 [XPG3 || XPG4] (clock_settime): Likewise.
36356 [XPG3 || XPG4] (nanosleep): Likewise.
36357 [XPG3 || XPG4] (timer_create): Likewise.
36358 [XPG3 || XPG4] (timer_delete): Likewise.
36359 [XPG3 || XPG4] (timer_gettime): Likewise.
36360 [XPG3 || XPG4] (timer_getoverrun): Likewise.
36361 [XPG3 || XPG4] (timer_settime): Likewise.
36362 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
36363 [XPG3 || XPG4] (getlogin_r): Likewise.
36364 [XPG3 || XPG4] (pread): Likewise.
36365 [XPG3 || XPG4] (pthread_atfork): Likewise.
36366 [XPG3 || XPG4] (pwrite): Likewise.
36369 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
36372 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
36374 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
36375 finalizing MALLSTREAM.
36377 * sysdeps/mach/hurd/syncfs.c: New file.
36379 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36382 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
36383 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
36384 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
36385 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
36386 (_nss_dns_gethostbyname4_r): Likewise.
36387 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
36388 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
36390 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
36393 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
36395 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
36397 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
36398 * elf/cache.c (print_entry): Print ",AArch64" for
36401 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
36402 * elf/cache.c (print_entry): Print ",hard-float" for
36405 2012-11-18 David S. Miller <davem@davemloft.net>
36407 With help from Joseph Myers.
36408 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
36410 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
36412 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
36413 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
36415 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
36416 * math/libm-test.inc (y0_test): New tests.
36417 (y1_test): New tests.
36418 * sysdeps/i386/fpu/libm-test-ulps: Update.
36419 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36422 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
36424 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
36426 * configure: Regenerated.
36428 2012-11-17 David S. Miller <davem@davemloft.net>
36431 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
36432 nonzero exponents with absolute value below 0x1p-128 to +/-
36435 2012-11-17 Joseph Myers <joseph@codesourcery.com>
36437 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
36439 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
36441 * posix/getconf-speclist.c: New file.
36442 * posix/posix-envs.def: Likewise.
36443 * posix/confstr.c (START_ENV_GROUP): New macro.
36444 (END_ENV_GROUP): Likewise.
36445 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
36446 (KNOWN_PRESENT_ENV_STRING): Likewise.
36447 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
36448 (UNKNOWN_ENVIRONMENT): Likewise.
36449 (confstr): Include posix-envs.def instead of handling
36450 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
36451 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
36452 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
36453 (END_ENV_GROUP): Likewise.
36454 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
36455 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
36456 (UNKNOWN_ENVIRONMENT): Likewise.
36457 (__sysconf): Include posix-envs.def instead of handling associated
36458 cases directly here.
36459 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
36460 preprocessing getconf-speclist.c rather than running getconf or
36461 generating empty file.
36463 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
36465 * scripts/check-local-headers.sh: Ignore 'mach' headers.
36467 2012-11-16 Andrej Lajovic <natrij@gmail.com>
36470 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
36472 2012-11-16 David S. Miller <davem@davemloft.net>
36474 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
36475 smaller than LDBL_EPSILON/2.0L, just return xm1.
36477 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
36479 * elf/tst-array1.c (init): Set constructor priority to 1000.
36480 (fini): Set destructor priority to 1000.
36481 * elf/tst-array2dep.c: Likewise.
36483 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36486 * libio/fileops.c (_IO_new_file_write): Correctly return error.
36487 (_IO_new_file_xsputn): Also return EOF if none of the input
36488 data was written when overflow failed.
36489 * libio/iopadn.c (_IO_padn): Likewise.
36490 * libio/iowpadn.c (_IO_wpadn): Likewise.
36491 * stdio-common/tst-put-error.c: Add copyright notice.
36492 (do_test): Add case for printing padded string.
36493 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
36494 _IO_padn returned error.
36495 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
36496 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
36499 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36501 * libio/libioP.h: Add comment note that the references to C++
36502 bits are now obsolete.
36504 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36506 * math/libm-test.inc (check_complex): Use asprintf.
36508 2012-11-14 Joseph Myers <joseph@codesourcery.com>
36510 * debug/pcprofiledump.c (print_version): Update copyright year.
36511 * malloc/memusagestat.c (print_version): Likewise.
36513 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
36516 * elf/Makefile (tests): Add tst-audit8.
36517 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
36518 ($(objpfx)tst-audit8.out): New target.
36519 (tst-audit8-ENV): New variable.
36520 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
36521 audit if l_reloc_result is NULL.
36522 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
36523 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
36524 * elf/tst-audit8.c: New file.
36526 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36528 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
36529 * misc/Makefile (CFLAGS-select.c): Define.
36530 * posix/Makefile (CFLAGS-pause.c): Define.
36532 2012-11-13 David S. Miller <davem@davemloft.net>
36534 * crypt/Makefile: Move test targets after toplevel Rules
36535 inclusion. Grab any necessary sysdep routines when linking.
36536 * crypt/md5.c (md5_process_block): Remove define, we will always
36537 name it __md5_process_block.
36538 (md5_finish_ctx): Update md5_process_block call.
36539 (md5_stream): Likewise.
36540 (md5_process_bytes): Likewise.
36541 (md5_process_block): Rename to __md5_process_block and move to ...
36542 * crypt/md5-block.c: ... here.
36543 * crypt/sha256.c (sha256_process_block): Move to ...
36544 * crypt/sha256-block.c: ... here.
36545 * crypt/sha512.c (sha512_process_block): Move to ...
36546 * crypt/sha512-block.c: ... here.
36547 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
36549 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
36550 * sysdeps/sparc/sparc64/multiarch/Makefile
36551 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
36553 (localedef-aux): Add md5 crypto assembler when in locale subdir.
36554 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
36556 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
36557 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
36558 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
36559 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
36560 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
36561 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
36562 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
36563 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
36564 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
36566 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
36567 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
36569 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
36571 2012-11-13 Joseph Myers <joseph@codesourcery.com>
36573 * timezone/tzselect.ksh: Update from tzcode git revision
36574 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
36575 * timezone/zdump.c: Likewise.
36576 * timezone/zic.c: Likewise.
36577 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
36578 in TZVERSION setting, not $(PKGVERSION).
36579 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
36580 REPORT_BUGS_TO settings.
36583 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
36586 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36588 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
36589 detection to immediately after _FP_ROUND().
36590 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
36593 2012-11-11 David S. Miller <davem@davemloft.net>
36595 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
36597 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
36598 __close rather than their public counterparts.
36600 2012-11-10 Joseph Myers <joseph@codesourcery.com>
36602 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
36604 [UNIX98] (sem_timedwait): Do not expect.
36605 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
36606 [XPG4 || UNIX98] (sockatmark): Do not expect.
36607 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
36608 (clock_getcpuclockid): Do not expect.
36609 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
36610 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
36612 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
36613 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
36614 [UNIX98] (vwscanf): Likewise.
36615 [UNIX98] (vswscanf): Likewise.
36617 2012-11-09 Joseph Myers <joseph@codesourcery.com>
36619 * timezone/version.h: Remove file.
36620 * timezone/README: Do not refer to version.h.
36621 * timezone/Makefile ($(objpfx)zic.o): New dependency on
36622 $(objpfx)version.h.
36623 ($(objpfx)zdump.o): Likewise.
36624 ($(objpfx)version.h): New target.
36626 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
36628 * timezone/README: Don't mention modification to tzselect.ksh.
36629 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
36630 work on unmodified tzselect.ksh. Substitute version numbers in
36633 * Makefile (format-me): Remove.
36634 (INSTALL): Adjust indentation. Use commands directly instead of
36635 using $(format-me).
36637 * aclocal.m4 (ACX_PKGVERSION): New macro.
36638 (ACX_BUGURL): Likewise.
36639 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
36640 (PKGVERSION): New AC_DEFINE_UNQUOTED.
36641 (REPORT_BUGS_TO): Likewise.
36642 * configure: Regenerated.
36643 * config.h.in (PKGVERSION): New macro.
36644 (REPORT_BUGS_TO): Likewise.
36645 * config.make.in (PKGVERSION): New variable.
36646 (PKGVERSION_TEXI): Likewise.
36647 (REPORT_BUGS_TO): Likewise.
36648 (REPORT_BUGS_TEXI): Likewise.
36649 * Makefile (format-me): Use -I$(common-objpfx)manual.
36650 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
36651 ($(common-objpfx)manual/%): New target.
36652 (manual/%): Remove target.
36653 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
36654 (print_version): Use PKGVERSION.
36655 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
36656 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
36657 and REPORT_BUGS_TO.
36658 ($(objpfx)xtrace): Likewise.
36659 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
36660 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
36661 (print_version): Use PKGVERSION.
36662 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
36663 (do_version): Use PKGVERSION.
36664 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
36666 (common-ldd-rewrite): Likewise.
36667 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
36668 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
36669 (print_version): Use PKGVERSION.
36670 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
36671 * elf/pldd.c (argp_program_bug_address): Remove variable.
36672 (more_help): New function.
36673 (argp): Use more_help.
36674 (print_version): Use PKGVERSION.
36675 * elf/sln.c (main): Use PKGVERSION.
36676 (usage): Use REPORT_BUGS_TO.
36677 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
36678 (top level): Use PKGVERSION.
36679 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
36680 (print_version): Use PKGVERSION.
36681 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
36682 (print_version): Use PKGVERSION.
36683 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
36684 (print_version): Use PKGVERSION.
36685 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
36686 (print_version): Use PKGVERSION.
36687 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
36688 (print_version): Use PKGVERSION.
36689 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
36690 (print_version): Use PKGVERSION.
36691 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
36693 ($(objpfx)memusage): Likewise.
36694 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
36695 (do_version): Use PKGVERSION.
36696 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
36697 (print_version): Use PKGVERSION.
36698 * malloc/mtrace.pl ($PACKAGE): Remove variable.
36699 ($PKGVERSION): New variable.
36700 ($REPORT_BUGS_TO): Likewise.
36701 (usage): Use $REPORT_BUGS_TO.
36702 (top level): Use $PKGVERSION.
36703 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
36704 ($(objpfx)pkgvers.texi): New rule.
36705 ($(objpfx)stamp-pkgvers): Likewise.
36706 * manual/install.texi: Include pkgvers.texi.
36707 (--with-pkgversion): Document new configure option.
36708 (--with-bugurl): Likewise.
36709 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
36710 than necessarily for this particular distribution. Use
36711 REPORT_BUGS_TO for where to report bugs.
36712 * INSTALL: Regenerated.
36713 * manual/libc.texinfo: Include pkgvers.texi.
36714 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
36715 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
36716 (print_version): Use PKGVERSION.
36717 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
36718 (print_version): Use PKGVERSION.
36719 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
36720 (print_version): Use PKGVERSION.
36721 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
36722 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
36724 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
36725 (print_version): Use PKGVERSION.
36726 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
36727 (print_version): Use PKGVERSION.
36728 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
36731 * timezone/checktab.awk: Update from tzcode 2012i.
36732 * timezone/ialloc.c: Likewise.
36733 * timezone/private.h: Likewise.
36734 * timezone/scheck.c: Likewise.
36735 * timezone/tzfile.h: Likewise.
36736 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
36737 (TZVERSION): Hardcode tzcode version number.
36738 * timezone/zdump.c: Update from tzcode 2012i.
36739 * timezone/zic.c: Likewise.
36740 * timezone/version.h: New file.
36741 * timezone/README: Describe version.h. Update upstream location.
36744 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
36745 (mktemp): Enable declaration.
36746 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
36747 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
36748 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
36749 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
36751 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
36753 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
36755 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
36757 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
36759 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
36763 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
36764 offset in buffer as u_int32_t not u_long. Consistently use memcpy
36765 for copies of such integer values.
36766 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36767 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36769 2012-11-09 Andreas Jaeger <aj@suse.de>
36771 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
36772 definitions and declarations that are provided by
36773 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36775 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36777 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
36778 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
36779 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
36782 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36784 * elf/elf.h: Update comment before AArch64 relocations.
36786 2012-11-07 David S. Miller <davem@davemloft.net>
36788 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
36789 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36790 (__start_context): Declare.
36791 (__makecontext_ret): Delete.
36792 (__makecontext): Hook up __start_context instead of
36794 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
36795 (sysdep_routines): Add __start_context when in stdlib.
36797 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36799 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
36800 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
36801 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
36803 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
36804 (READELF): New variable. Use it instead of hardcoded "readelf".
36806 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
36808 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
36809 * sysdeps/x86/Makefile: Here.
36810 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
36811 * sysdeps/x86/tst-xmmymm.sh: This.
36813 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36815 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
36817 [UNIX98] (pthread_barrier_t): Do not expect.
36818 [UNIX98] (pthread_barrierattr_t): Likewise.
36819 [UNIX98] (pthread_spinlock_t): Likewise.
36820 [UNIX98] (pthread_barrier_destroy): Likewise.
36821 [UNIX98] (pthread_barrier_init): Likewise.
36822 [UNIX98] (pthread_barrier_wait): Likewise.
36823 [UNIX98] (pthread_barrierattr_destroy): Likewise.
36824 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
36825 [UNIX98] (pthread_barrierattr_init): Likewise.
36826 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
36827 [UNIX98] (pthread_getcpuclockid): Likewise.
36828 [UNIX98] (pthread_mutex_timedlock): Likewise.
36829 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
36830 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
36831 [UNIX98] (pthread_sigmask): Likewise.
36832 [UNIX98] (pthread_spin_destroy): Likewise.
36833 [UNIX98] (pthread_spin_init): Likewise.
36834 [UNIX98] (pthread_spin_lock): Likewise.
36835 [UNIX98] (pthread_spin_trylock): Likewise.
36836 [UNIX98] (pthread_spin_unlock): Likewise.
36837 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
36839 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
36840 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
36841 [XPG3 || XPG4] (pthread_cond_t): Likewise.
36842 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
36843 [XPG3 || XPG4] (pthread_key_t): Likewise.
36844 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
36845 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
36846 [XPG3 || XPG4] (pthread_once_t): Likewise.
36847 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
36848 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
36849 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
36850 [XPG3 || XPG4] (pthread_t): Likewise.
36852 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
36854 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
36856 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36857 Change function return type to int.
36859 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36860 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36861 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36862 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36863 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36864 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36865 [!POSIX] (posix_madvise): Likewise.
36866 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36868 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36869 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36870 (mode_t): Likewise.
36871 (posix_mem_offset): Likewise.
36872 (posix_typed_mem_get_info): Likewise.
36873 (posix_typed_mem_open): Likewise.
36875 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36876 Change condition to [XOPEN2K8].
36878 * conform/conformtest.pl: Preprocess allow-header data with -x c
36879 instead of from stdin.
36880 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36881 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36882 [C99-based standards] (cerfc): Likewise.
36883 [C99-based standards] (cexp2): Likewise.
36884 [C99-based standards] (cexpm1): Likewise.
36885 [C99-based standards] (clog10): Likewise.
36886 [C99-based standards] (clog1p): Likewise.
36887 [C99-based standards] (clog2): Likewise.
36888 [C99-based standards] (clgamma): Likewise.
36889 [C99-based standards] (ctgamma): Likewise.
36890 [C99-based standards] (cerff): Likewise.
36891 [C99-based standards] (cerfcf): Likewise.
36892 [C99-based standards] (cexp2f): Likewise.
36893 [C99-based standards] (cexpm1f): Likewise.
36894 [C99-based standards] (clog10f): Likewise.
36895 [C99-based standards] (clog1pf): Likewise.
36896 [C99-based standards] (clog2f): Likewise.
36897 [C99-based standards] (clgammaf): Likewise.
36898 [C99-based standards] (ctgammaf): Likewise.
36899 [C99-based standards] (cerfl): Likewise.
36900 [C99-based standards] (cerfcl): Likewise.
36901 [C99-based standards] (cexp2l): Likewise.
36902 [C99-based standards] (cexpm1l): Likewise.
36903 [C99-based standards] (clog10l): Likewise.
36904 [C99-based standards] (clog1pl): Likewise.
36905 [C99-based standards] (clog2l): Likewise.
36906 [C99-based standards] (clgammal): Likewise.
36907 [C99-based standards] (ctgammal): Likewise.
36908 * conform/data/inttypes.h-data [C99-based standards]: Include
36909 stdint.h-data. Remove all expectations for stdint.h contents.
36910 [C99-based standards] (PRI*): Do not allow.
36911 [C99-based standards] (SCN*): Likewise.
36912 [C99-based standards] (*_t): Likewise.
36913 [C99-based-standards] (PRId8): Expect macro.
36914 [C99-based-standards] (PRIi8): Likewise.
36915 [C99-based-standards] (PRIo8): Likewise.
36916 [C99-based-standards] (PRIu8): Likewise.
36917 [C99-based-standards] (PRIx8): Likewise.
36918 [C99-based-standards] (PRIX8): Likewise.
36919 [C99-based-standards] (SCNd8): Likewise.
36920 [C99-based-standards] (SCNi8): Likewise.
36921 [C99-based-standards] (SCNo8): Likewise.
36922 [C99-based-standards] (SCNu8): Likewise.
36923 [C99-based-standards] (SCNx8): Likewise.
36924 [C99-based-standards] (PRIdLEAST8): Likewise.
36925 [C99-based-standards] (PRIiLEAST8): Likewise.
36926 [C99-based-standards] (PRIoLEAST8): Likewise.
36927 [C99-based-standards] (PRIuLEAST8): Likewise.
36928 [C99-based-standards] (PRIxLEAST8): Likewise.
36929 [C99-based-standards] (PRIXLEAST8): Likewise.
36930 [C99-based-standards] (SCNdLEAST8): Likewise.
36931 [C99-based-standards] (SCNiLEAST8): Likewise.
36932 [C99-based-standards] (SCNoLEAST8): Likewise.
36933 [C99-based-standards] (SCNuLEAST8): Likewise.
36934 [C99-based-standards] (SCNxLEAST8): Likewise.
36935 [C99-based-standards] (PRIdFAST8): Likewise.
36936 [C99-based-standards] (PRIiFAST8): Likewise.
36937 [C99-based-standards] (PRIoFAST8): Likewise.
36938 [C99-based-standards] (PRIuFAST8): Likewise.
36939 [C99-based-standards] (PRIxFAST8): Likewise.
36940 [C99-based-standards] (PRIXFAST8): Likewise.
36941 [C99-based-standards] (SCNdFAST8): Likewise.
36942 [C99-based-standards] (SCNiFAST8): Likewise.
36943 [C99-based-standards] (SCNoFAST8): Likewise.
36944 [C99-based-standards] (SCNuFAST8): Likewise.
36945 [C99-based-standards] (SCNxFAST8): Likewise.
36946 [C99-based-standards] (PRId16): Likewise.
36947 [C99-based-standards] (PRIi16): Likewise.
36948 [C99-based-standards] (PRIo16): Likewise.
36949 [C99-based-standards] (PRIu16): Likewise.
36950 [C99-based-standards] (PRIx16): Likewise.
36951 [C99-based-standards] (PRIX16): Likewise.
36952 [C99-based-standards] (SCNd16): Likewise.
36953 [C99-based-standards] (SCNi16): Likewise.
36954 [C99-based-standards] (SCNo16): Likewise.
36955 [C99-based-standards] (SCNu16): Likewise.
36956 [C99-based-standards] (SCNx16): Likewise.
36957 [C99-based-standards] (PRIdLEAST16): Likewise.
36958 [C99-based-standards] (PRIiLEAST16): Likewise.
36959 [C99-based-standards] (PRIoLEAST16): Likewise.
36960 [C99-based-standards] (PRIuLEAST16): Likewise.
36961 [C99-based-standards] (PRIxLEAST16): Likewise.
36962 [C99-based-standards] (PRIXLEAST16): Likewise.
36963 [C99-based-standards] (SCNdLEAST16): Likewise.
36964 [C99-based-standards] (SCNiLEAST16): Likewise.
36965 [C99-based-standards] (SCNoLEAST16): Likewise.
36966 [C99-based-standards] (SCNuLEAST16): Likewise.
36967 [C99-based-standards] (SCNxLEAST16): Likewise.
36968 [C99-based-standards] (PRIdFAST16): Likewise.
36969 [C99-based-standards] (PRIiFAST16): Likewise.
36970 [C99-based-standards] (PRIoFAST16): Likewise.
36971 [C99-based-standards] (PRIuFAST16): Likewise.
36972 [C99-based-standards] (PRIxFAST16): Likewise.
36973 [C99-based-standards] (PRIXFAST16): Likewise.
36974 [C99-based-standards] (SCNdFAST16): Likewise.
36975 [C99-based-standards] (SCNiFAST16): Likewise.
36976 [C99-based-standards] (SCNoFAST16): Likewise.
36977 [C99-based-standards] (SCNuFAST16): Likewise.
36978 [C99-based-standards] (SCNxFAST16): Likewise.
36979 [C99-based-standards] (PRId32): Likewise.
36980 [C99-based-standards] (PRIi32): Likewise.
36981 [C99-based-standards] (PRIo32): Likewise.
36982 [C99-based-standards] (PRIu32): Likewise.
36983 [C99-based-standards] (PRIx32): Likewise.
36984 [C99-based-standards] (PRIX32): Likewise.
36985 [C99-based-standards] (SCNd32): Likewise.
36986 [C99-based-standards] (SCNi32): Likewise.
36987 [C99-based-standards] (SCNo32): Likewise.
36988 [C99-based-standards] (SCNu32): Likewise.
36989 [C99-based-standards] (SCNx32): Likewise.
36990 [C99-based-standards] (PRIdLEAST32): Likewise.
36991 [C99-based-standards] (PRIiLEAST32): Likewise.
36992 [C99-based-standards] (PRIoLEAST32): Likewise.
36993 [C99-based-standards] (PRIuLEAST32): Likewise.
36994 [C99-based-standards] (PRIxLEAST32): Likewise.
36995 [C99-based-standards] (PRIXLEAST32): Likewise.
36996 [C99-based-standards] (SCNdLEAST32): Likewise.
36997 [C99-based-standards] (SCNiLEAST32): Likewise.
36998 [C99-based-standards] (SCNoLEAST32): Likewise.
36999 [C99-based-standards] (SCNuLEAST32): Likewise.
37000 [C99-based-standards] (SCNxLEAST32): Likewise.
37001 [C99-based-standards] (PRIdFAST32): Likewise.
37002 [C99-based-standards] (PRIiFAST32): Likewise.
37003 [C99-based-standards] (PRIoFAST32): Likewise.
37004 [C99-based-standards] (PRIuFAST32): Likewise.
37005 [C99-based-standards] (PRIxFAST32): Likewise.
37006 [C99-based-standards] (PRIXFAST32): Likewise.
37007 [C99-based-standards] (SCNdFAST32): Likewise.
37008 [C99-based-standards] (SCNiFAST32): Likewise.
37009 [C99-based-standards] (SCNoFAST32): Likewise.
37010 [C99-based-standards] (SCNuFAST32): Likewise.
37011 [C99-based-standards] (SCNxFAST32): Likewise.
37012 [C99-based-standards] (PRId64): Likewise.
37013 [C99-based-standards] (PRIi64): Likewise.
37014 [C99-based-standards] (PRIo64): Likewise.
37015 [C99-based-standards] (PRIu64): Likewise.
37016 [C99-based-standards] (PRIx64): Likewise.
37017 [C99-based-standards] (PRIX64): Likewise.
37018 [C99-based-standards] (SCNd64): Likewise.
37019 [C99-based-standards] (SCNi64): Likewise.
37020 [C99-based-standards] (SCNo64): Likewise.
37021 [C99-based-standards] (SCNu64): Likewise.
37022 [C99-based-standards] (SCNx64): Likewise.
37023 [C99-based-standards] (PRIdLEAST64): Likewise.
37024 [C99-based-standards] (PRIiLEAST64): Likewise.
37025 [C99-based-standards] (PRIoLEAST64): Likewise.
37026 [C99-based-standards] (PRIuLEAST64): Likewise.
37027 [C99-based-standards] (PRIxLEAST64): Likewise.
37028 [C99-based-standards] (PRIXLEAST64): Likewise.
37029 [C99-based-standards] (SCNdLEAST64): Likewise.
37030 [C99-based-standards] (SCNiLEAST64): Likewise.
37031 [C99-based-standards] (SCNoLEAST64): Likewise.
37032 [C99-based-standards] (SCNuLEAST64): Likewise.
37033 [C99-based-standards] (SCNxLEAST64): Likewise.
37034 [C99-based-standards] (PRIdFAST64): Likewise.
37035 [C99-based-standards] (PRIiFAST64): Likewise.
37036 [C99-based-standards] (PRIoFAST64): Likewise.
37037 [C99-based-standards] (PRIuFAST64): Likewise.
37038 [C99-based-standards] (PRIxFAST64): Likewise.
37039 [C99-based-standards] (PRIXFAST64): Likewise.
37040 [C99-based-standards] (SCNdFAST64): Likewise.
37041 [C99-based-standards] (SCNiFAST64): Likewise.
37042 [C99-based-standards] (SCNoFAST64): Likewise.
37043 [C99-based-standards] (SCNuFAST64): Likewise.
37044 [C99-based-standards] (SCNxFAST64): Likewise.
37045 [C99-based-standards] (PRIdMAX): Likewise.
37046 [C99-based-standards] (PRIiMAX): Likewise.
37047 [C99-based-standards] (PRIoMAX): Likewise.
37048 [C99-based-standards] (PRIuMAX): Likewise.
37049 [C99-based-standards] (PRIxMAX): Likewise.
37050 [C99-based-standards] (PRIXMAX): Likewise.
37051 [C99-based-standards] (SCNdMAX): Likewise.
37052 [C99-based-standards] (SCNiMAX): Likewise.
37053 [C99-based-standards] (SCNoMAX): Likewise.
37054 [C99-based-standards] (SCNuMAX): Likewise.
37055 [C99-based-standards] (SCNxMAX): Likewise.
37056 [C99-based-standards] (PRIdPTR): Likewise.
37057 [C99-based-standards] (PRIiPTR): Likewise.
37058 [C99-based-standards] (PRIoPTR): Likewise.
37059 [C99-based-standards] (PRIuPTR): Likewise.
37060 [C99-based-standards] (PRIxPTR): Likewise.
37061 [C99-based-standards] (PRIXPTR): Likewise.
37062 [C99-based-standards] (SCNdPTR): Likewise.
37063 [C99-based-standards] (SCNiPTR): Likewise.
37064 [C99-based-standards] (SCNoPTR): Likewise.
37065 [C99-based-standards] (SCNuPTR): Likewise.
37066 [C99-based-standards] (SCNxPTR): Likewise.
37067 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
37069 * conform/data/stdint.h-data: Update comments to clarify
37071 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
37073 [C99-based standards] (INT8_MAX): Likewise.
37074 [C99-based standards] (INT16_MIN): Likewise.
37075 [C99-based standards] (INT16_MAX): Likewise.
37076 [C99-based standards] (INT32_MIN): Likewise.
37077 [C99-based standards] (INT32_MAX): Likewise.
37078 [C99-based standards] (INT64_MIN): Likewise.
37079 [C99-based standards] (INT64_MAX): Likewise.
37080 [C99-based standards] (UINT8_MAX): Likewise.
37081 [C99-based standards] (UINT16_MAX): Likewise.
37082 [C99-based standards] (UINT32_MAX): Likewise.
37083 [C99-based standards] (UINT64_MAX): Likewise.
37084 [C99-based standards] (INT_LEAST8_MIN): Likewise.
37085 [C99-based standards] (INT_LEAST8_MAX): Likewise.
37086 [C99-based standards] (INT_LEAST16_MIN): Likewise.
37087 [C99-based standards] (INT_LEAST16_MAX): Likewise.
37088 [C99-based standards] (INT_LEAST32_MIN): Likewise.
37089 [C99-based standards] (INT_LEAST32_MAX): Likewise.
37090 [C99-based standards] (INT_LEAST64_MIN): Likewise.
37091 [C99-based standards] (INT_LEAST64_MAX): Likewise.
37092 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
37093 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
37094 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
37095 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
37096 [C99-based standards] (INT_FAST8_MIN): Likewise.
37097 [C99-based standards] (INT_FAST8_MAX): Likewise.
37098 [C99-based standards] (INT_FAST16_MIN): Likewise.
37099 [C99-based standards] (INT_FAST16_MAX): Likewise.
37100 [C99-based standards] (INT_FAST32_MIN): Likewise.
37101 [C99-based standards] (INT_FAST32_MAX): Likewise.
37102 [C99-based standards] (INT_FAST64_MIN): Likewise.
37103 [C99-based standards] (INT_FAST64_MAX): Likewise.
37104 [C99-based standards] (UINT_FAST8_MAX): Likewise.
37105 [C99-based standards] (UINT_FAST16_MAX): Likewise.
37106 [C99-based standards] (UINT_FAST32_MAX): Likewise.
37107 [C99-based standards] (UINT_FAST64_MAX): Likewise.
37108 [C99-based standards] (INTPTR_MIN): Likewise.
37109 [C99-based standards] (INTPTR_MAX): Likewise.
37110 [C99-based standards] (UINTPTR_MAX): Likewise.
37111 [C99-based standards] (INTMAX_MIN): Likewise.
37112 [C99-based standards] (INTMAX_MAX): Likewise.
37113 [C99-based standards] (UINTMAX_MAX): Likewise.
37114 [C99-based standards] (PTRDIFF_MIN): Likewise.
37115 [C99-based standards] (PTRDIFF_MAX): Likewise.
37116 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
37117 [C99-based standards] (SIZE_MAX): Likewise.
37118 [C99-based standards] (WCHAR_MAX): Likewise.
37119 [C99-based standards] (WINT_MAX): Likewise.
37120 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
37121 constraint on value.
37122 [C99-based standards] (WCHAR_MIN): Likewise.
37123 [C99-based standards] (WINT_MIN): Likewise.
37124 [C99-based standards] (*_t): Allow.
37125 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
37126 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
37127 Include math.h-data and complex.h-data. Remove all expectations
37128 of math.h and complex.h contents.
37129 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
37131 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
37132 (struct tm): Expect tag.
37133 [C99-based-standards] (wcstof): Expect function.
37134 [C99-based-standards] (wcstold): Likewise.
37135 [C99-based-standards] (wcstoll): Likewise.
37136 [C99-based-standards] (wcstoull): Likewise.
37137 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
37138 macro-int-constant. Specify type.
37139 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
37140 constraint on value.
37141 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
37143 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
37145 [ISO C standards]: Do not allow headers.
37146 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
37147 wcs[abcdefghijklmnopqrstuvwxyz]*.
37148 [ISO C standards] (*_t): Do not allow.
37149 * conform/data/wctype.h-data [C99-based standards] (iswblank):
37151 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
37152 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
37154 [ISO C standards]: Do not allow headers.
37155 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
37156 is[abcdefghijklmnopqrstuvwxyz]*.
37157 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
37158 to[abcdefghijklmnopqrstuvwxyz]*.
37159 [ISO C standards] (*_t): Do not allow.
37160 * conform/data/stdalign.h-data: New file.
37161 * conform/data/stdbool.h-data: Likewise.
37162 * conform/data/stdnoreturn.h-data: Likewise.
37164 2012-11-07 Roland McGrath <roland@hack.frob.com>
37167 * manual/filesys.texi (Directory Entries): Typo fix.
37168 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
37170 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37172 * elf/elf.h (EM_AARCH64): New macro.
37173 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
37174 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
37175 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
37176 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
37177 (R_AARCH64_TLSDESC): Likewise.
37178 (NT_ARM_TLS): Likewise.
37179 (NT_ARM_HW_BREAK): Likewise.
37180 (NT_ARM_HW_WATCH): Likewise.
37182 2012-11-07 Joseph Myers <joseph@codesourcery.com>
37185 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
37186 (__ieee754_powl): Saturate nonzero exponents with absolute value
37187 below 0x1p-79 to +/- 0x1p-79.
37188 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
37189 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
37190 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
37191 nonzero exponents with absolute value below 0x1p-32 to +/-
37193 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
37194 (__ieee754_powl): Saturate nonzero exponents with absolute value
37195 below 0x1p-79 to +/- 0x1p-79.
37196 * math/libm-test.inc (pow_test): Add more tests.
37198 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37200 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
37201 _dl_s390_cap_flags with kernel. Increase string length.
37202 (_dl_s390_platforms): Add z196 and zEC12.
37204 2012-11-07 Joseph Myers <joseph@codesourcery.com>
37206 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
37207 Change XOPEN21K to XOPEN2K.
37209 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
37211 * string/memmove.c: Use memcpy when possible.
37213 2012-11-06 Andreas Jaeger <aj@suse.de>
37215 * po/eo.po: Update from translation team.
37217 2012-11-06 Joseph Myers <joseph@codesourcery.com>
37220 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
37221 exponent and small x and y exponents, scale x or y up. Increase
37222 by 2 the exponent used in scaling up.
37223 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37224 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37225 * math/libm-test.inc (fma_test): Add more tests.
37226 (fma_test_towardzero): Likewise.
37227 (fma_test_downward): Likewise.
37228 (fma_test_upward): Likewise.
37230 2012-11-05 Joseph Myers <joseph@codesourcery.com>
37233 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
37237 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
37238 namespace for names of struct fields.
37239 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
37241 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
37242 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
37244 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
37247 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
37249 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
37251 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
37255 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
37258 2012-11-04 Joseph Myers <joseph@codesourcery.com>
37261 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
37262 definitely overflow as x * y not x * y + z.
37263 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37264 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37265 * math/libm-test.inc (fma_test): Add more tests.
37266 (fma_test_towardzero): Likewise.
37267 (fma_test_downward): Likewise.
37268 (fma_test_upward): Likewise.
37270 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
37274 * include/stub-tag.h: Remove file.
37275 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
37277 * manual/maint.texi (Porting): Don't reference it.
37278 * Makerules ($(objpfx)stubs): Likewise.
37279 * dirent/closedir.c: Don't include <stub-tag.h>.
37280 * dirent/dirfd.c: Likewise.
37281 * dirent/fdopendir.c: Likewise.
37282 * dirent/getdents.c: Likewise.
37283 * dirent/getdents64.c: Likewise.
37284 * dirent/opendir.c: Likewise.
37285 * dirent/readdir.c: Likewise.
37286 * dirent/readdir64.c: Likewise.
37287 * dirent/readdir64_r.c: Likewise.
37288 * dirent/readdir_r.c: Likewise.
37289 * dirent/rewinddir.c: Likewise.
37290 * dirent/seekdir.c: Likewise.
37291 * dirent/telldir.c: Likewise.
37292 * gmon/profil.c: Likewise.
37293 * grp/setgroups.c: Likewise.
37294 * inet/if_index.c: Likewise.
37295 * io/access.c: Likewise.
37296 * io/chdir.c: Likewise.
37297 * io/chmod.c: Likewise.
37298 * io/chown.c: Likewise.
37299 * io/close.c: Likewise.
37300 * io/dup.c: Likewise.
37301 * io/dup2.c: Likewise.
37302 * io/dup3.c: Likewise.
37303 * io/euidaccess.c: Likewise.
37304 * io/faccessat.c: Likewise.
37305 * io/fchdir.c: Likewise.
37306 * io/fchmod.c: Likewise.
37307 * io/fchmodat.c: Likewise.
37308 * io/fchown.c: Likewise.
37309 * io/fchownat.c: Likewise.
37310 * io/fcntl.c: Likewise.
37311 * io/flock.c: Likewise.
37312 * io/fstatfs.c: Likewise.
37313 * io/fstatfs64.c: Likewise.
37314 * io/fstatvfs.c: Likewise.
37315 * io/fstatvfs64.c: Likewise.
37316 * io/futimens.c: Likewise.
37317 * io/fxstat.c: Likewise.
37318 * io/fxstat64.c: Likewise.
37319 * io/fxstatat.c: Likewise.
37320 * io/fxstatat64.c: Likewise.
37321 * io/getcwd.c: Likewise.
37322 * io/isatty.c: Likewise.
37323 * io/lchmod.c: Likewise.
37324 * io/lchown.c: Likewise.
37325 * io/link.c: Likewise.
37326 * io/linkat.c: Likewise.
37327 * io/lseek.c: Likewise.
37328 * io/lseek64.c: Likewise.
37329 * io/lxstat64.c: Likewise.
37330 * io/mkdir.c: Likewise.
37331 * io/mkdirat.c: Likewise.
37332 * io/mkfifo.c: Likewise.
37333 * io/mkfifoat.c: Likewise.
37334 * io/open.c: Likewise.
37335 * io/open64.c: Likewise.
37336 * io/openat.c: Likewise.
37337 * io/openat64.c: Likewise.
37338 * io/pipe.c: Likewise.
37339 * io/pipe2.c: Likewise.
37340 * io/poll.c: Likewise.
37341 * io/posix_fadvise.c: Likewise.
37342 * io/posix_fadvise64.c: Likewise.
37343 * io/posix_fallocate.c: Likewise.
37344 * io/posix_fallocate64.c: Likewise.
37345 * io/read.c: Likewise.
37346 * io/readlink.c: Likewise.
37347 * io/readlinkat.c: Likewise.
37348 * io/rmdir.c: Likewise.
37349 * io/sendfile.c: Likewise.
37350 * io/sendfile64.c: Likewise.
37351 * io/statfs.c: Likewise.
37352 * io/statfs64.c: Likewise.
37353 * io/statvfs.c: Likewise.
37354 * io/statvfs64.c: Likewise.
37355 * io/symlink.c: Likewise.
37356 * io/symlinkat.c: Likewise.
37357 * io/ttyname.c: Likewise.
37358 * io/ttyname_r.c: Likewise.
37359 * io/umask.c: Likewise.
37360 * io/unlink.c: Likewise.
37361 * io/unlinkat.c: Likewise.
37362 * io/utime.c: Likewise.
37363 * io/utimensat.c: Likewise.
37364 * io/write.c: Likewise.
37365 * io/xmknod.c: Likewise.
37366 * io/xmknodat.c: Likewise.
37367 * io/xstat.c: Likewise.
37368 * io/xstat64.c: Likewise.
37369 * login/getpt.c: Likewise.
37370 * login/grantpt.c: Likewise.
37371 * login/unlockpt.c: Likewise.
37372 * math/e_acoshl.c: Likewise.
37373 * math/e_acosl.c: Likewise.
37374 * math/e_asinl.c: Likewise.
37375 * math/e_atan2l.c: Likewise.
37376 * math/e_atanhl.c: Likewise.
37377 * math/e_coshl.c: Likewise.
37378 * math/e_expl.c: Likewise.
37379 * math/e_fmodl.c: Likewise.
37380 * math/e_gammal_r.c: Likewise.
37381 * math/e_hypotl.c: Likewise.
37382 * math/e_j0l.c: Likewise.
37383 * math/e_j1l.c: Likewise.
37384 * math/e_jnl.c: Likewise.
37385 * math/e_lgammal_r.c: Likewise.
37386 * math/e_log10l.c: Likewise.
37387 * math/e_log2l.c: Likewise.
37388 * math/e_logl.c: Likewise.
37389 * math/e_powl.c: Likewise.
37390 * math/e_rem_pio2l.c: Likewise.
37391 * math/e_sinhl.c: Likewise.
37392 * math/e_sqrtl.c: Likewise.
37393 * math/fclrexcpt.c: Likewise.
37394 * math/fedisblxcpt.c: Likewise.
37395 * math/feenablxcpt.c: Likewise.
37396 * math/fegetenv.c: Likewise.
37397 * math/fegetexcept.c: Likewise.
37398 * math/fegetround.c: Likewise.
37399 * math/feholdexcpt.c: Likewise.
37400 * math/fesetenv.c: Likewise.
37401 * math/fesetround.c: Likewise.
37402 * math/feupdateenv.c: Likewise.
37403 * math/fgetexcptflg.c: Likewise.
37404 * math/fraiseexcpt.c: Likewise.
37405 * math/fsetexcptflg.c: Likewise.
37406 * math/ftestexcept.c: Likewise.
37407 * math/k_cosl.c: Likewise.
37408 * math/k_rem_pio2l.c: Likewise.
37409 * math/k_sinl.c: Likewise.
37410 * math/k_tanl.c: Likewise.
37411 * math/s_asinhl.c: Likewise.
37412 * math/s_atanl.c: Likewise.
37413 * math/s_cbrtl.c: Likewise.
37414 * math/s_erfl.c: Likewise.
37415 * math/s_expm1l.c: Likewise.
37416 * math/s_log1pl.c: Likewise.
37417 * math/s_tanhl.c: Likewise.
37418 * misc/acct.c: Likewise.
37419 * misc/brk.c: Likewise.
37420 * misc/chflags.c: Likewise.
37421 * misc/chroot.c: Likewise.
37422 * misc/fchflags.c: Likewise.
37423 * misc/fgetxattr.c: Likewise.
37424 * misc/flistxattr.c: Likewise.
37425 * misc/fremovexattr.c: Likewise.
37426 * misc/fsetxattr.c: Likewise.
37427 * misc/fsync.c: Likewise.
37428 * misc/ftruncate.c: Likewise.
37429 * misc/futimes.c: Likewise.
37430 * misc/futimesat.c: Likewise.
37431 * misc/getdomain.c: Likewise.
37432 * misc/getdtsz.c: Likewise.
37433 * misc/gethostid.c: Likewise.
37434 * misc/gethostname.c: Likewise.
37435 * misc/getloadavg.c: Likewise.
37436 * misc/getpagesize.c: Likewise.
37437 * misc/getsysstats.c: Likewise.
37438 * misc/getxattr.c: Likewise.
37439 * misc/gtty.c: Likewise.
37440 * misc/ioctl.c: Likewise.
37441 * misc/lgetxattr.c: Likewise.
37442 * misc/listxattr.c: Likewise.
37443 * misc/llistxattr.c: Likewise.
37444 * misc/lremovexattr.c: Likewise.
37445 * misc/lsetxattr.c: Likewise.
37446 * misc/lutimes.c: Likewise.
37447 * misc/madvise.c: Likewise.
37448 * misc/mincore.c: Likewise.
37449 * misc/mlock.c: Likewise.
37450 * misc/mlockall.c: Likewise.
37451 * misc/mmap.c: Likewise.
37452 * misc/mprotect.c: Likewise.
37453 * misc/msync.c: Likewise.
37454 * misc/munlock.c: Likewise.
37455 * misc/munlockall.c: Likewise.
37456 * misc/munmap.c: Likewise.
37457 * misc/preadv.c: Likewise.
37458 * misc/preadv64.c: Likewise.
37459 * misc/ptrace.c: Likewise.
37460 * misc/pwritev.c: Likewise.
37461 * misc/pwritev64.c: Likewise.
37462 * misc/readv.c: Likewise.
37463 * misc/reboot.c: Likewise.
37464 * misc/remap_file_pages.c: Likewise.
37465 * misc/removexattr.c: Likewise.
37466 * misc/revoke.c: Likewise.
37467 * misc/select.c: Likewise.
37468 * misc/setdomain.c: Likewise.
37469 * misc/setegid.c: Likewise.
37470 * misc/seteuid.c: Likewise.
37471 * misc/sethostid.c: Likewise.
37472 * misc/sethostname.c: Likewise.
37473 * misc/setregid.c: Likewise.
37474 * misc/setreuid.c: Likewise.
37475 * misc/setxattr.c: Likewise.
37476 * misc/sstk.c: Likewise.
37477 * misc/stty.c: Likewise.
37478 * misc/swapoff.c: Likewise.
37479 * misc/swapon.c: Likewise.
37480 * misc/sync.c: Likewise.
37481 * misc/syncfs.c: Likewise.
37482 * misc/syscall.c: Likewise.
37483 * misc/truncate.c: Likewise.
37484 * misc/ualarm.c: Likewise.
37485 * misc/usleep.c: Likewise.
37486 * misc/ustat.c: Likewise.
37487 * misc/utimes.c: Likewise.
37488 * misc/vhangup.c: Likewise.
37489 * misc/writev.c: Likewise.
37490 * posix/_exit.c: Likewise.
37491 * posix/alarm.c: Likewise.
37492 * posix/execve.c: Likewise.
37493 * posix/fexecve.c: Likewise.
37494 * posix/fork.c: Likewise.
37495 * posix/fpathconf.c: Likewise.
37496 * posix/getaddrinfo.c: Likewise.
37497 * posix/getegid.c: Likewise.
37498 * posix/geteuid.c: Likewise.
37499 * posix/getgid.c: Likewise.
37500 * posix/getgroups.c: Likewise.
37501 * posix/getlogin.c: Likewise.
37502 * posix/getlogin_r.c: Likewise.
37503 * posix/getpgid.c: Likewise.
37504 * posix/getpid.c: Likewise.
37505 * posix/getppid.c: Likewise.
37506 * posix/getresgid.c: Likewise.
37507 * posix/getresuid.c: Likewise.
37508 * posix/getsid.c: Likewise.
37509 * posix/getuid.c: Likewise.
37510 * posix/glob64.c: Likewise.
37511 * posix/nanosleep.c: Likewise.
37512 * posix/pathconf.c: Likewise.
37513 * posix/pause.c: Likewise.
37514 * posix/posix_madvise.c: Likewise.
37515 * posix/pread.c: Likewise.
37516 * posix/pread64.c: Likewise.
37517 * posix/pwrite.c: Likewise.
37518 * posix/pwrite64.c: Likewise.
37519 * posix/sched_getaffinity.c: Likewise.
37520 * posix/sched_getp.c: Likewise.
37521 * posix/sched_gets.c: Likewise.
37522 * posix/sched_primax.c: Likewise.
37523 * posix/sched_primin.c: Likewise.
37524 * posix/sched_rr_gi.c: Likewise.
37525 * posix/sched_setaffinity.c: Likewise.
37526 * posix/sched_setp.c: Likewise.
37527 * posix/sched_sets.c: Likewise.
37528 * posix/sched_yield.c: Likewise.
37529 * posix/setgid.c: Likewise.
37530 * posix/setlogin.c: Likewise.
37531 * posix/setpgid.c: Likewise.
37532 * posix/setresgid.c: Likewise.
37533 * posix/setresuid.c: Likewise.
37534 * posix/setsid.c: Likewise.
37535 * posix/setuid.c: Likewise.
37536 * posix/sleep.c: Likewise.
37537 * posix/spawni.c: Likewise.
37538 * posix/sysconf.c: Likewise.
37539 * posix/times.c: Likewise.
37540 * posix/wait.c: Likewise.
37541 * posix/wait3.c: Likewise.
37542 * posix/wait4.c: Likewise.
37543 * posix/waitpid.c: Likewise.
37544 * resolv/gai_sigqueue.c: Likewise.
37545 * resource/getpriority.c: Likewise.
37546 * resource/getrlimit.c: Likewise.
37547 * resource/getrusage.c: Likewise.
37548 * resource/nice.c: Likewise.
37549 * resource/setpriority.c: Likewise.
37550 * resource/setrlimit.c: Likewise.
37551 * resource/ulimit.c: Likewise.
37552 * rt/aio_cancel.c: Likewise.
37553 * rt/aio_fsync.c: Likewise.
37554 * rt/aio_read.c: Likewise.
37555 * rt/aio_sigqueue.c: Likewise.
37556 * rt/aio_suspend.c: Likewise.
37557 * rt/aio_write.c: Likewise.
37558 * rt/clock_getres.c: Likewise.
37559 * rt/clock_gettime.c: Likewise.
37560 * rt/clock_nanosleep.c: Likewise.
37561 * rt/clock_settime.c: Likewise.
37562 * rt/lio_listio.c: Likewise.
37563 * rt/mq_close.c: Likewise.
37564 * rt/mq_getattr.c: Likewise.
37565 * rt/mq_notify.c: Likewise.
37566 * rt/mq_open.c: Likewise.
37567 * rt/mq_receive.c: Likewise.
37568 * rt/mq_send.c: Likewise.
37569 * rt/mq_setattr.c: Likewise.
37570 * rt/mq_timedreceive.c: Likewise.
37571 * rt/mq_timedsend.c: Likewise.
37572 * rt/mq_unlink.c: Likewise.
37573 * rt/shm_open.c: Likewise.
37574 * rt/shm_unlink.c: Likewise.
37575 * rt/timer_create.c: Likewise.
37576 * rt/timer_delete.c: Likewise.
37577 * rt/timer_getoverr.c: Likewise.
37578 * rt/timer_gettime.c: Likewise.
37579 * rt/timer_settime.c: Likewise.
37580 * setjmp/__longjmp.c: Likewise.
37581 * setjmp/setjmp.c: Likewise.
37582 * signal/kill.c: Likewise.
37583 * signal/killpg.c: Likewise.
37584 * signal/raise.c: Likewise.
37585 * signal/sigaction.c: Likewise.
37586 * signal/sigaltstack.c: Likewise.
37587 * signal/sigblock.c: Likewise.
37588 * signal/sigignore.c: Likewise.
37589 * signal/sigintr.c: Likewise.
37590 * signal/signal.c: Likewise.
37591 * signal/sigpause.c: Likewise.
37592 * signal/sigpending.c: Likewise.
37593 * signal/sigqueue.c: Likewise.
37594 * signal/sigreturn.c: Likewise.
37595 * signal/sigset.c: Likewise.
37596 * signal/sigsetmask.c: Likewise.
37597 * signal/sigstack.c: Likewise.
37598 * signal/sigsuspend.c: Likewise.
37599 * signal/sigtimedwait.c: Likewise.
37600 * signal/sigvec.c: Likewise.
37601 * signal/sigwait.c: Likewise.
37602 * signal/sigwaitinfo.c: Likewise.
37603 * signal/sysv_signal.c: Likewise.
37604 * socket/accept.c: Likewise.
37605 * socket/accept4.c: Likewise.
37606 * socket/bind.c: Likewise.
37607 * socket/connect.c: Likewise.
37608 * socket/getpeername.c: Likewise.
37609 * socket/getsockname.c: Likewise.
37610 * socket/getsockopt.c: Likewise.
37611 * socket/isfdtype.c: Likewise.
37612 * socket/listen.c: Likewise.
37613 * socket/recv.c: Likewise.
37614 * socket/recvfrom.c: Likewise.
37615 * socket/recvmsg.c: Likewise.
37616 * socket/send.c: Likewise.
37617 * socket/sendmsg.c: Likewise.
37618 * socket/sendto.c: Likewise.
37619 * socket/setsockopt.c: Likewise.
37620 * socket/shutdown.c: Likewise.
37621 * socket/sockatmark.c: Likewise.
37622 * socket/socket.c: Likewise.
37623 * socket/socketpair.c: Likewise.
37624 * stdio-common/ctermid.c: Likewise.
37625 * stdio-common/cuserid.c: Likewise.
37626 * stdio-common/remove.c: Likewise.
37627 * stdio-common/rename.c: Likewise.
37628 * stdio-common/renameat.c: Likewise.
37629 * stdio-common/tempname.c: Likewise.
37630 * stdlib/getcontext.c: Likewise.
37631 * stdlib/makecontext.c: Likewise.
37632 * stdlib/setcontext.c: Likewise.
37633 * stdlib/swapcontext.c: Likewise.
37634 * stdlib/system.c: Likewise.
37635 * streams/fattach.c: Likewise.
37636 * streams/fdetach.c: Likewise.
37637 * streams/getmsg.c: Likewise.
37638 * streams/getpmsg.c: Likewise.
37639 * streams/putmsg.c: Likewise.
37640 * streams/putpmsg.c: Likewise.
37641 * sysdeps/unix/bsd/getpt.c: Likewise.
37642 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
37643 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
37644 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37647 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
37648 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37649 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37650 * sysvipc/msgctl.c: Likewise.
37651 * sysvipc/msgget.c: Likewise.
37652 * sysvipc/msgrcv.c: Likewise.
37653 * sysvipc/msgsnd.c: Likewise.
37654 * sysvipc/semctl.c: Likewise.
37655 * sysvipc/semget.c: Likewise.
37656 * sysvipc/semop.c: Likewise.
37657 * sysvipc/semtimedop.c: Likewise.
37658 * sysvipc/shmat.c: Likewise.
37659 * sysvipc/shmctl.c: Likewise.
37660 * sysvipc/shmdt.c: Likewise.
37661 * sysvipc/shmget.c: Likewise.
37662 * termios/tcdrain.c: Likewise.
37663 * termios/tcflow.c: Likewise.
37664 * termios/tcflush.c: Likewise.
37665 * termios/tcgetattr.c: Likewise.
37666 * termios/tcgetpgrp.c: Likewise.
37667 * termios/tcsendbrk.c: Likewise.
37668 * termios/tcsetattr.c: Likewise.
37669 * termios/tcsetpgrp.c: Likewise.
37670 * time/adjtime.c: Likewise.
37671 * time/clock.c: Likewise.
37672 * time/getitimer.c: Likewise.
37673 * time/gettimeofday.c: Likewise.
37674 * time/setitimer.c: Likewise.
37675 * time/settimeofday.c: Likewise.
37676 * time/stime.c: Likewise.
37677 * time/time.c: Likewise.
37679 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
37681 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
37684 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
37686 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
37688 2012-11-03 Joseph Myers <joseph@codesourcery.com>
37691 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
37692 FE_TONEAREST before applying Dekker multiplication and Knuth
37693 addition. Clear inexact exceptions and check for exact zero
37694 results afterwards.
37695 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37696 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37697 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37698 * math/libm-test.inc (fma_test): Add more tests.
37699 (fma_test_towardzero): Likewise.
37700 (fma_test_downward): Likewise.
37701 (fma_test_upward): Likewise.
37702 * sysdeps/generic/math_private.h (default_libc_fesetround): New
37704 (libc_fesetround): New macro.
37705 (libc_fesetroundf): Likewise.
37706 (libc_fesetroundl): Likewise.
37707 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
37709 (libc_fesetround_387): Likewise.
37710 (libc_fesetroundf): New macro.
37711 (libc_fesetround): Likewise.
37712 (libc_fesetroundl): Likewise.
37713 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
37715 (libc_fesetroundf): New macro.
37716 (libc_fesetround): Likewise.
37717 (libc_fesetroundl): Likewise.
37718 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
37719 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
37720 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
37722 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
37723 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
37725 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
37726 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
37728 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
37732 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
37733 integer constant usable in #if and use that to give value to enum
37735 (FE_DIVBYZERO): Likewise.
37736 (FE_UNDERFLOW): Likewise.
37737 (FE_OVERFLOW): Likewise.
37738 (FE_INVALID): Likewise.
37739 (FE_INVALID_SNAN): Likewise.
37740 (FE_INVALID_ISI): Likewise.
37741 (FE_INVALID_IDI): Likewise.
37742 (FE_INVALID_ZDZ): Likewise.
37743 (FE_INVALID_IMZ): Likewise.
37744 (FE_INVALID_COMPARE): Likewise.
37745 (FE_INVALID_SOFTWARE): Likewise.
37746 (FE_INVALID_SQRT): Likewise.
37747 (FE_INVALID_INTEGER_CONVERSION): Likewise.
37748 (FE_TONEAREST): Likewise.
37749 (FE_TOWARDZERO): Likewise.
37750 (FE_UPWARD): Likewise.
37751 (FE_DOWNWARD): Likewise.
37752 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
37753 (FE_DIVBYZERO): Likewise.
37754 (FE_OVERFLOW): Likewise.
37755 (FE_UNDERFLOW): Likewise.
37756 (FE_INEXACT): Likewise.
37757 (FE_TONEAREST): Likewise.
37758 (FE_DOWNWARD): Likewise.
37759 (FE_UPWARD): Likewise.
37760 (FE_TOWARDZERO): Likewise.
37761 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
37762 (FE_UNDERFLOW): Likewise.
37763 (FE_OVERFLOW): Likewise.
37764 (FE_DIVBYZERO): Likewise.
37765 (FE_INVALID): Likewise.
37766 (FE_TONEAREST): Likewise.
37767 (FE_TOWARDZERO): Likewise.
37768 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
37769 (FE_OVERFLOW): Likewise.
37770 (FE_UNDERFLOW): Likewise.
37771 (FE_DIVBYZERO): Likewise.
37772 (FE_INEXACT): Likewise.
37773 (FE_TONEAREST): Likewise.
37774 (FE_TOWARDZERO): Likewise.
37775 (FE_UPWARD): Likewise.
37776 (FE_DOWNWARD): Likewise.
37777 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
37778 (FE_DIVBYZERO): Likewise.
37779 (FE_OVERFLOW): Likewise.
37780 (FE_UNDERFLOW): Likewise.
37781 (FE_INEXACT): Likewise.
37782 (FE_TONEAREST): Likewise.
37783 (FE_DOWNWARD): Likewise.
37784 (FE_UPWARD): Likewise.
37785 (FE_TOWARDZERO): Likewise.
37787 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
37789 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
37791 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
37793 * scripts/cross-test-ssh.sh (command): Use newlines to separate
37794 commands. Quote $PWD.
37795 (blacklist_exports): Don't use remove_newlines. Replace "declare
37797 (remove_newlines): Remove.
37799 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
37801 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
37802 * stdlib/stdlib.h (atof): Moved to ...
37803 * include/bits/stdlib-float.h: Here. New file.
37804 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
37805 * stdlib/bits/stdlib-float.h: New file.
37806 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
37808 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
37811 2012-11-02 Joseph Myers <joseph@codesourcery.com>
37813 * conform/conformtest.pl (@headers): Add fenv.h.
37814 * conform/data/fenv.h-data: New file.
37815 * include/fenv.h [_ISOMAC]: Disable all contents of file except
37816 include of <math/fenv.h>.
37818 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
37819 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
37820 && !UNIX98]. Enables tests for XOPEN2K8.
37821 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
37822 POSIX2008]: Likewise.
37824 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
37825 (struct rusage): Do not expect type or its members.
37828 * math/math.h (FP_NAN): Define macro to integer constant usable in
37829 #if and use that to give value to enum constant.
37830 (FP_INFINITE): Likewise.
37831 (FP_ZERO): Likewise.
37832 (FP_SUBNORMAL): Likewise.
37833 (FP_NORMAL): Likewise.
37835 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
37837 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
37838 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
37841 2012-11-02 Roland McGrath <roland@hack.frob.com>
37843 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
37844 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
37845 autoconf-time if not.
37846 * configure.in: Remove AC_PREREQ.
37848 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37850 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
37851 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
37852 of the internal implementation.
37854 2012-11-02 Joseph Myers <joseph@codesourcery.com>
37856 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37857 except include of <misc/sys/syslog.h>.
37859 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37862 function returns with a NULL context exit with zero.
37864 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37866 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37868 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
37870 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37871 (run_program_cmd): This.
37872 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37873 (tst_langinfo): New variable. Use it.
37875 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
37877 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37878 floating point opcodes.
37880 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37882 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37885 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37887 * sysdeps/mach/hurd/powerpc: Remove directory.
37888 * sysdeps/mach/powerpc: Likewise.
37890 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37892 * scripts/check-local-headers.sh: Ignore c++ headers.
37894 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37896 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37897 __libc_cleanup_region_start argument.
37899 2012-11-01 Joseph Myers <joseph@codesourcery.com>
37903 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37904 x * y using scaling, not as x * y + z.
37905 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37906 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37907 * math/libm-test.inc (fma_test): Add more tests.
37908 (fma_test_towardzero): Likewise.
37909 (fma_test_downward): Likewise.
37910 (fma_test_upward): Likewise.
37912 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37914 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37916 2012-10-31 Joseph Myers <joseph@codesourcery.com>
37918 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37921 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
37923 * rt/tst-shm.c (worker): Correct checking for mmap failure.
37925 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37932 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37935 Fix the order of the list for glibc 2.17.
37936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37939 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37943 2012-10-31 Joseph Myers <joseph@codesourcery.com>
37946 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37947 for low part of x being zero before using __atanl (y).
37948 * math/libm-test.inc (atan2_test): Add another test.
37950 * manual/install.texi (Configuring and compiling): Document
37951 general use of test-wrapper and test-wrapper-env.
37952 * INSTALL: Regenerated.
37954 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37955 (__fma): Do not extract and scale down low bits on after-rounding
37956 systems when result rounded to normal precision would have normal
37958 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37959 (__fmal): Do not extract and scale down low bits on after-rounding
37960 systems when result rounded to normal precision would have normal
37962 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37963 (__fmal): Do not extract and scale down low bits on after-rounding
37964 systems when result rounded to normal precision would have normal
37966 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37968 (fma_test): Add more tests.
37969 (fma_test_towardzero): Likewise.
37970 (fma_test_downward): Likewise.
37971 (fma_test_upward): Likewise.
37973 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
37975 * sysdeps/i386/tininess.h: Renamed to ...
37976 * sysdeps/x86/tininess.h: This.
37977 * sysdeps/x86_64/tininess.h: Removed.
37979 2012-10-30 Joseph Myers <joseph@codesourcery.com>
37981 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37982 input. Use $(build-program-cmd).
37983 ($(objpfx)tst-array1-static.out): Likewise.
37984 ($(objpfx)tst-array2.out): Likewise.
37985 ($(objpfx)tst-array3.out): Likewise.
37986 ($(objpfx)tst-array4.out): Likewise.
37987 ($(objpfx)tst-array5.out): Likewise.
37988 ($(objpfx)tst-array5-static.out): Likewise.
37990 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
37992 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37995 * nss/nsswitch.h (nss_interface_function): Provide new
37996 macro for use with NSS functions.
37997 * grp/initgroups.c: Use new macro.
37998 * nss/getXXbyYY.c: Likewise.
37999 * nss/getXXbyYY_r.c: Likewise.
38000 * nss/getXXent.c: Likewise.
38001 * nss/getXXent_r.c: Likewise.
38002 * sysdeps/posix/getaddrinfo.c: Likewise.
38004 2012-10-30 Andreas Jaeger <aj@suse.de>
38006 * po/ru.po: Update Russion translation from translation project.
38008 2012-10-30 Joseph Myers <joseph@codesourcery.com>
38012 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
38013 result and shift together with sticky bit instead of replicating
38014 round-to-nearest rounding.
38015 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38016 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38017 * math/libm-test.inc (fma_test): Add more tests. Do not permit
38018 missing underflow exceptions.
38019 (fma_test_towardzero): Add more tests.
38020 (fma_test_downward): Likewise.
38021 (fma_test_upward): Likewise.
38024 * sysdeps/generic/tininess.h: New file.
38025 * sysdeps/i386/tininess.h: Likewise.
38026 * sysdeps/sh/tininess.h: Likewise.
38027 * sysdeps/x86_64/tininess.h: Likewise.
38028 * stdlib/tst-strtod-underflow.c: Likewise.
38029 * stdlib/tst-tininess.c: Likewise.
38030 * stdlib/strtod_l.c: Include <tininess.h>.
38031 (round_and_return): Do not set errno for exact underflow cases.
38032 Force an underflow exception when setting errno for underflow.
38033 Determine underflow based on rounding to normal precision if
38034 TININESS_AFTER_ROUNDING.
38035 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
38036 ERANGE for exact underflow cases.
38037 * stdlib/Makefile (tests): Add tst-tininess and
38038 tst-strtod-underflow.
38039 ($(objpfx)tst-tininess): Use $(link-libm).
38040 ($(objpfx)tst-strtod-underflow): Likewise.
38042 2012-10-30 Andreas Jaeger <aj@suse.de>
38045 * elf/Makefile (tests): Remove conditional for have-initfini-array
38046 since this is now always required and the variable does not exist
38048 (tests-static): Likewise.
38049 (modules-names): Likewise.
38051 * po/eo.po: Add Esperanto translation from translation project.
38053 * elf/tst-array1.c (fini_array): Make writeable so that it can be
38054 merged with constructor/destructor.
38055 (init_array): Likewise.
38056 * elf/tst-array2dep.c (fini_array): Likewise.
38057 (init_array): Likewise.
38059 2012-10-29 Mike Frysinger <vapier@gentoo.org>
38061 * manual/message.texi: Delete @cartouche tags.
38063 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
38065 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
38067 * sysdeps/mach/hurd/fsync.c: Likewise.
38069 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
38070 [_POSIX_REALTIME_SIGNALS]: Change condition to
38071 [_POSIX_REALTIME_SIGNALS > 0].
38073 2012-10-27 Andreas Jaeger <aj@suse.de>
38075 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
38076 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
38077 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
38078 [__WORDSIZE != 64]: Likewise.
38080 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
38082 * iconvdata/tst-table.sh: Remove ${SHELL}.
38083 * iconvdata/tst-tables.sh: Likewise.
38085 2012-10-25 David S. Miller <davem@davemloft.net>
38087 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38088 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
38091 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
38093 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38094 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
38095 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
38098 2012-10-25 Roland McGrath <roland@hack.frob.com>
38100 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38101 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
38104 2012-10-25 Joseph Myers <joseph@codesourcery.com>
38105 Jim Blandy <jimb@codesourcery.com>
38107 * scripts/cross-test-ssh.sh: New file.
38108 * manual/install.texi (Configuring and compiling): Document use of
38110 * INSTALL: Regenerated.
38112 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
38114 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
38117 2012-10-25 Joseph Myers <joseph@codesourcery.com>
38119 * Makeconfig (run-program-prefix): Fix comment.
38121 2012-10-24 Joseph Myers <joseph@codesourcery.com>
38122 Jim Blandy <jimb@codesourcery.com>
38124 * Makeconfig (test-wrapper): New variable,
38125 (test-wrapper-env): Likewise.
38126 [$(cross-compiling) = yes && $(test-wrapper) != ""]
38127 (run-built-tests): Define to yes.
38128 (run-program-prefix): Use $(test-wrapper).
38129 (built-program-cmd): Likewise.
38130 * Rules (make-test-out): Use $(test-wrapper-env) and
38131 $(host-built-program-cmd).
38132 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
38133 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
38135 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
38136 $(test-wrapper-env) to tst-rtld-load-self.sh.
38137 ($(objpfx)order2.out): Use $(test-wrapper).
38138 ($(objpfx)tst-initorder.out): Likewise.
38139 ($(objpfx)tst-initorder2.out): Likewise.
38140 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
38141 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
38142 (test_wrapper_env): New variable. Use it to run ld.so.
38143 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
38144 Use it to run ld.so.
38145 (test_wrapper_env): Likewise.
38146 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
38147 $(test-wrapper) to run-iconv-test.sh.
38148 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
38149 (ICONV): Use $test_wrapper.
38150 * posix/Makefile ($(objpfx)globtest.out): Pass
38151 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
38152 globtest.sh, not $(run-program-prefix).
38153 * posix/globtest.sh (run_via_rtld_prefix): New variable.
38154 (test_wrapper): Likewise.
38155 (test_wrapper_env): Likewise. Use it to run globtest with HOME
38156 set together with run_via_rtld_prefix.
38157 (run_program_prefix): Define in terms of test_wrapper and
38158 run_via_rtld_prefix.
38160 2012-10-24 Roland McGrath <roland@hack.frob.com>
38162 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
38163 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
38167 * include/time.h: Remove librt_hidden_proto (clock_gettime).
38168 Declare __clock_getres, __clock_gettime, __clock_settime,
38169 __clock_nanosleep, and __clock_getcpuclockid.
38170 * rt/clock_gettime.c: Define __clock_gettime as an alias.
38171 Remove librt_hidden_def (clock_gettime).
38172 * sysdeps/unix/clock_gettime.c: Likewise.
38173 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
38174 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
38175 * rt/clock_getres.c: Define __clock_getres as an alias.
38176 * sysdeps/posix/clock_getres.c: Likewise.
38177 * rt/clock_settime.c: Define __clock_settime as an alias.
38178 * sysdeps/unix/clock_settime.c: Likewise.
38179 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
38180 * sysdeps/unix/clock_nanosleep.c: Likewise.
38181 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
38182 * rt/clock-compat.c: New file.
38183 * rt/Makefile (librt-routines): Add clock-compat and move
38184 $(clock-routines) to ...
38185 (routines): ... here, new variable.
38186 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
38187 Don't add get_clockfreq here.
38188 * rt/Versions (libc: GLIBC_2.17): New version set.
38189 Add clock_* symbols here.
38190 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
38191 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
38192 (GLIBC_2.17): Add clock_* symbols.
38193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38195 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38204 * NEWS: Mention the move.
38206 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38207 Use __open, __read, __close rather than their public counterparts.
38208 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38209 (__get_clockfreq_via_cpuinfo): Likewise.
38210 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
38211 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
38213 * config.h.in (HAVE_IFUNC): New #undef.
38214 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
38216 * configure: Regenerated.
38218 2012-10-24 Mike Frysinger <vapier@gentoo.org>
38220 * configure.in: Move READELF check to start of file.
38221 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
38222 libc_cv_asm_gnu_indirect_function in the process.
38223 * configure: Regenerated.
38225 2012-10-24 Mike Frysinger <vapier@gentoo.org>
38227 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
38228 send the output to /dev/null.
38229 (libc_cv_cc_with_libunwind): Likewise.
38230 (libc_cv_as_noexecstack): Likewise.
38231 * configure: Regenerate.
38233 2012-10-24 Joseph Myers <joseph@codesourcery.com>
38235 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
38237 * posix/globtest.sh (TMPDIR): Do not set.
38238 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
38239 (testout): Likewise.
38241 2012-10-24 Andreas Jaeger <aj@suse.de>
38243 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
38244 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
38245 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
38246 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
38247 posix_fadvise64, posix_fallocate64.
38249 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
38250 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
38251 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
38253 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
38255 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
38257 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
38258 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
38259 <bits/fcntl-linux.h>.
38260 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
38262 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
38263 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
38264 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
38265 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
38266 [__WORDSIZE != 64]: Likewise.
38268 2012-10-23 Joseph Myers <joseph@codesourcery.com>
38270 * Makeconfig (run-built-tests): New variable.
38271 * Rules [$(cross-compiling) = yes]: Change condition to
38272 [$(run-built-tests) = no].
38273 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
38274 to [$(run-built-tests) = yes].
38275 * elf/Makefile [$(cross-compiling) = no]: Likewise
38276 * grp/Makefile [$(cross-compiling) = no]: Likewise.
38277 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
38278 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
38279 * intl/Makefile [$(cross-compiling) = no]: Likewise.
38280 * io/Makefile [$(cross-compiling) = no]: Likewise.
38281 * libio/Makefile [$(cross-compiling) = no]: Likewise.
38282 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
38283 * misc/Makefile [$(cross-compiling) = no]: Likewise.
38284 * posix/Makefile [$(cross-compiling) = no]: Likewise.
38285 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
38286 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
38287 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
38288 * string/Makefile [$(cross-compiling) = no]: Likewise.
38290 * posix/Makefile ($(objpfx)globtest.out): Pass
38291 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
38292 $(rtld-installed-name).
38293 * posix/globtest.sh (elf_objpfx): Remove variable.
38294 (rtld_installed_name): Likewise.
38295 (library_path): Likewise.
38296 (run_program_prefix): New variable. Use for running globtest
38299 2012-10-23 Jim Blandy <jimb@codesourcery.com>
38300 Joseph Myers <joseph@codesourcery.com>
38302 * Makeconfig (host-built-program-cmd): New variable.
38303 * elf/Makefile (tst-stackguard1-ARGS): Use
38304 $(host-built-program-cmd).
38305 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
38306 (tst-spawn-ARGS): Likewise.
38307 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
38309 2012-10-23 Joseph Myers <joseph@codesourcery.com>
38310 Jim Blandy <jimb@codesourcery.com>
38312 * Makeconfig (run-via-rtld-prefix): New variable.
38313 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
38314 (built-program-cmd): Likewise.
38316 2012-10-22 Andreas Jaeger <aj@suse.de>
38318 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
38319 __O_RSYNC if it exists, otherwise to O_SYNC.
38321 2012-10-22 Jim Blandy <jimb@codesourcery.com>
38322 Joseph Myers <joseph@codesourcery.com>
38324 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
38326 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
38328 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
38331 2012-10-22 Andreas Jaeger <aj@suse.de>
38333 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
38335 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
38337 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38338 bits/fcntl-linux.h.
38340 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
38341 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
38343 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
38345 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
38348 2012-10-21 Jim Blandy <jimb@codesourcery.com>
38349 Joseph Myers <joseph@codesourcery.com>
38351 * config.make.in (NM): New variable.
38353 2012-10-21 Andreas Jaeger <aj@suse.de>
38355 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
38356 definitions and declarations that are provided by
38357 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38359 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
38362 * elf/Makefile (tests-static): Add tst-leaks1-static.
38363 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
38364 ($(objpfx)tst-leaks1-static): New rule.
38365 ($(objpfx)tst-leaks1-static-mem): Likewise.
38366 (tst-leaks1-static-ENV): New macro.
38367 * elf/dl-open.c (dl_open_worker): Check the main application
38368 only if SHARED is defined.
38369 * elf/tst-leaks1-static.c: New file.
38371 2012-10-20 Andreas Jaeger <aj@suse.de>
38373 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
38374 generic values for Linux.
38375 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
38376 and declarations that are provided by <bits/fcntl-linux.h> and
38377 include <bits/fcntl-linux.h>.
38378 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38379 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38381 2012-10-20 Roland McGrath <roland@hack.frob.com>
38383 * io/fcntl.h: Move include of <bits/types.h> to the top and
38384 include it unconditionally.
38386 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
38388 * wcsmbs/Makefile (tests-ifunc): New variable.
38389 (tests): Add $(tests-ifunc).
38390 * wcsmbs/test-wcschr-ifunc.c: New file.
38391 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
38392 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
38393 * wcsmbs/test-wcslen-ifunc.c: Likewise.
38394 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
38395 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
38397 * string/Makefile (tests-ifunc): New variable.
38398 (tests): Add $(tests-ifunc).
38399 * string/test-memccpy.c (TEST_NAME): New macro.
38400 * string/test-memchr.c (TEST_NAME): Likewise.
38401 * string/test-memcmp.c (TEST_NAME): Likewise.
38402 * string/test-memcpy.c (TEST_NAME): Likewise.
38403 * string/test-memmem.c (TEST_NAME): Likewise.
38404 * string/test-memmove.c (TEST_NAME): Likewise.
38405 * string/test-memset.c (TEST_NAME): Likewise.
38406 * string/test-rawmemchr.c (TEST_NAME): Likewise.
38407 * string/test-stpcpy.c (TEST_NAME): Likewise.
38408 * string/test-stpncpy.c (TEST_NAME): Likewise.
38409 * string/test-strcasecmp.c (TEST_NAME): Likewise.
38410 * string/test-strcasestr.c (TEST_NAME): Likewise.
38411 * string/test-strcat.c (TEST_NAME): Likewise.
38412 * string/test-strchr.c (TEST_NAME): Likewise.
38413 * string/test-strcmp.c(TEST_NAME): Likewise.
38414 * string/test-strcpy.c (TEST_NAME): Likewise.
38415 * string/test-strcspn.c (TEST_NAME): Likewise.
38416 * string/test-strlen.c (TEST_NAME): Likewise.
38417 * string/test-strncasecmp.c (TEST_NAME): Likewise.
38418 * string/test-strncmp.c (TEST_NAME): Likewise.
38419 * string/test-strncpy.c (TEST_NAME): Likewise.
38420 * string/test-strnlen.c (TEST_NAME): Likewise.
38421 * string/test-strpbrk.c (TEST_NAME): Likewise.
38422 * string/test-strrchr.c (TEST_NAME): Likewise.
38423 * string/test-strspn.c (TEST_NAME): Likewise.
38424 * string/test-strstr.c (TEST_NAME): Likewise.
38425 * string/test-bcopy-ifunc.c: New file.
38426 * string/test-bzero-ifunc.c: Likewise.
38427 * string/test-memccpy-ifunc.c: Likewise.
38428 * string/test-memchr-ifunc.c: Likewise.
38429 * string/test-memcmp-ifunc.c: Likewise.
38430 * string/test-memcpy-ifunc.c: Likewise.
38431 * string/test-memmem-ifunc.c: Likewise.
38432 * string/test-memmove-ifunc.c: Likewise.
38433 * string/test-mempcpy-ifunc.c: Likewise.
38434 * string/test-memset-ifunc.c: Likewise.
38435 * string/test-rawmemchr-ifunc.c: Likewise.
38436 * string/test-stpcpy-ifunc.c: Likewise.
38437 * string/test-stpncpy-ifunc.c: Likewise.
38438 * string/test-strcasecmp-ifunc.c: Likewise.
38439 * string/test-strcasestr-ifunc.c: Likewise.
38440 * string/test-strcat-ifunc.c: Likewise.
38441 * string/test-strchr-ifunc.c: Likewise.
38442 * string/test-strchrnul-ifunc.c: Likewise.
38443 * string/test-strcmp-ifunc.c: Likewise.
38444 * string/test-strcpy-ifunc.c: Likewise.
38445 * string/test-strcspn-ifunc.c: Likewise.
38446 * string/test-strlen-ifunc.c: Likewise.
38447 * string/test-strncasecmp-ifunc.c: Likewise.
38448 * string/test-strncat-ifunc.c: Likewise.
38449 * string/test-strncmp-ifunc.c: Likewise.
38450 * string/test-strncpy-ifunc.c: Likewise.
38451 * string/test-strnlen-ifunc.c: Likewise.
38452 * string/test-strpbrk-ifunc.c: Likewise.
38453 * string/test-strrchr-ifunc.c: Likewise.
38454 * string/test-strspn-ifunc.c: Likewise.
38455 * string/test-strstr-ifunc.c: Likewise.
38457 * debug/Makefile (tests-ifunc): New variable.
38458 (tests): Add $(tests-ifunc).
38459 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
38460 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
38461 * debug/test-stpcpy_chk-ifunc.c: New file.
38462 * debug/test-strcpy_chk-ifunc.c: Likewise.
38464 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
38467 * elf/dl-load.c (open_verify): Retry read if the entire ELF
38468 header is not read in.
38470 2012-10-19 Joseph Myers <joseph@codesourcery.com>
38472 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
38473 script to $(SHELL) as $<. Pass $(common-objpfx) to script
38474 directly. Pass built executable to script as
38475 $(built-program-cmd).
38476 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
38477 $testprogram without using LD_LIBRARY_PATH and $ldso.
38479 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
38480 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
38481 $(rtld-installed-name).
38482 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
38483 (rtld_installed_name): Likewise.
38484 (library_path): Likewise.
38485 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
38486 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
38487 $(run-program-prefix) to tst-tables.sh.
38488 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
38489 it to run tst-table-from and tst-table-to.
38490 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
38491 Pass it to tst-table.sh.
38492 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
38493 $(run-program-prefix) to tst-gettext.sh.
38494 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
38496 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
38498 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
38499 to run tst-gettext.
38500 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
38501 to run tst-gettext2.
38502 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
38503 to run tst-translit.
38504 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
38505 $(run-program-prefix) to tst-mtrace.sh.
38506 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
38508 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
38509 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
38510 $(rtld-installed-name).
38511 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
38512 (rtld_installed_name): Likewise.
38513 (run_program_prefix): New variable. Use it to run wordexp-test.
38515 * Makeconfig (ARCH): Remove all definitions.
38516 (machine): Likewise.
38517 [ARCH]: Remove conditional code.
38518 [!objdir]: Give error.
38519 [!objdir] (objpfx): Remove.
38520 [!objdir] (common-objpfx): Likewise.
38521 [!objdir] (common-objdir): Likewise.
38522 * configure.in (config_makefile): Remove. Hardcode Makefile in
38523 AC_CONFIG_FILES call.
38524 * configure: Regenerated.
38527 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
38529 (testout): Likewise.
38531 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
38532 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
38533 $(rtld-installed-name).
38534 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
38535 (rtld_installed_name): Likwise.
38536 (runit): Remove function.
38537 (run_getconf): New variable, Use it for running getconf binary.
38539 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
38542 * string/test-memmem.c (check_result): New function.
38543 (do_one_test): Use it.
38544 (check1): New function.
38545 (test_main): Use it.
38547 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
38549 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
38551 2012-10-18 Joseph Myers <joseph@codesourcery.com>
38553 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
38554 (_G_LSEEK64): Likewise.
38555 (_G_MMAP64): Likewise.
38556 (_G_FSTAT64): Likewise.
38557 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
38558 (_G_LSEEK64): Likewise.
38559 (_G_MMAP64): Likewise.
38560 (_G_FSTAT64): Likewise.
38561 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
38562 unconditional. Call __mmap64 directly.
38563 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
38564 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
38565 __lseek64 directly.
38566 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
38567 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
38569 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
38570 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
38571 __lseek64 directly.
38572 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
38573 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
38574 __lseek64 directly.
38575 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
38576 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
38577 __lseek64 directly.
38578 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
38579 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
38580 __fxstat64 directly.
38581 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
38582 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
38584 (freopen64) [!_G_OPEN64]: Remove conditional code.
38585 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
38587 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
38588 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
38590 (ftello64) [!_G_LSEEK64]: Remove conditional code.
38591 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
38593 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38594 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
38596 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
38597 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
38599 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38600 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
38602 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38603 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
38605 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38607 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38610 * manual/memory.texi (Malloc Tunable Parameters): Add note
38611 about free list pointers overwriting some perturb bytes.
38612 Wording suggested by Roland McGrath.
38614 2012-10-17 Joseph Myers <joseph@codesourcery.com>
38616 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
38617 (lgamma_test): Likewise.
38618 (tgamma_test): Likewise.
38620 2012-10-16 Florian Weimer <fweimer@redhat.com>
38623 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
38624 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
38626 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
38628 * NEWS: Mention BZ #14716.
38629 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
38630 when removing AVAILABLE1_USES_J macro.
38632 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
38634 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
38635 (__bswap_64): __uint64_t for unsigned 64-bit int.
38637 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
38639 * include/string.h (memmem): Declare libc hidden alias.
38640 * string/memmem.c (memmem): Define libc hidden alias.
38641 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
38642 __read, __close instead of open, read, close.
38644 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
38646 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
38647 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
38649 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
38650 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
38651 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
38653 (__rawmemchr_sse2): Likewise.
38654 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
38655 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
38656 (__strchr_sse2): Likewise.
38657 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
38658 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
38659 (__strcasecmp_sse2): Likewise.
38660 (__strncasecmp_sse2): Likewise.
38661 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
38662 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
38663 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
38664 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
38665 (__strrchr_sse2): Likewise.
38666 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
38668 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
38669 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
38670 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
38671 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38672 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
38673 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
38674 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38675 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38676 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
38677 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
38678 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
38679 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
38680 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
38681 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
38682 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
38683 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38684 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
38685 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
38686 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
38687 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
38688 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
38689 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
38690 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
38691 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38692 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
38693 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38694 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38695 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38696 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
38697 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
38699 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
38701 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
38702 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
38703 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
38704 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
38706 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
38708 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
38709 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
38710 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
38711 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
38713 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38714 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38715 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38716 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38717 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38718 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38719 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38720 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38721 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38722 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38723 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38724 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38725 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38726 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38727 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38728 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38729 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38730 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
38731 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38732 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38733 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38734 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38735 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38736 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38737 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38738 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38739 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38740 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38741 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38742 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38743 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38744 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38745 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38746 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
38747 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38748 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38749 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38750 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38751 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38752 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38753 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
38755 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
38756 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
38757 * include/ifunc-impl-list.h: New file.
38758 * misc/ifunc-impl-list.c: Likewise.
38759 * misc/Makefile (routines): Add ifunc-impl-list.
38760 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
38761 * string/test-string.h: Include <ifunc-impl-list.h>.
38762 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
38763 TEST_NAME]: New variables.
38764 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
38766 (test_init): Call __libc_ifunc_impl_list to initialize
38767 func_list if TEST_IFUNC and TEST_NAME are defined.
38769 * string/Makefile (strop-tests): Add bcopy and bzero.
38770 * string/test-bcopy.c: New file.
38771 * string/test-bzero.c: Likewise.
38772 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
38774 * string/test-memset.c: Support bzero test if TEST_BZERO is
38776 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
38778 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
38780 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
38783 2012-10-10 Joseph Myers <joseph@codesourcery.com>
38785 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
38786 * configure: Regenerated.
38788 * Makeconfig (+link-static-before-libc): Don't include
38789 $(link-static-libc).
38791 * libio/libio.h (_IO_pos_t): Remove.
38793 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
38795 * NEWS: Add note about FIPS mode. Wording suggested by Roland
38798 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
38800 * crypt/crypt-entry.c: Include fips-private.h.
38801 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
38802 * crypt/md5c-test.c (main): Tolerate disabled MD5.
38803 * sysdeps/unix/sysv/linux/fips-private.h: New file.
38804 * sysdeps/generic/fips-private.h: New file, dummy fallback.
38806 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
38808 * crypt/crypt-private.h: Include stdbool.h.
38809 (_ufc_setup_salt_r): Return bool.
38810 * crypt/crypt-entry.c: Include errno.h.
38811 (__crypt_r): Return NULL with EINVAL for bad salt.
38812 * crypt/crypt_util.c (bad_for_salt): New.
38813 (_ufc_setup_salt_r): Check that salt is long enough and within
38814 the specified alphabet.
38815 * crypt/badsalttest.c: New file.
38816 * crypt/Makefile (tests): Add it.
38817 ($(objpfx)badsalttest): New.
38819 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
38821 * NEWS: Add entry for BZ #14602.
38823 2012-10-09 Joseph Myers <joseph@codesourcery.com>
38825 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
38827 * math/libm-test.inc: Update comment listing what functions and
38829 (isgreater_test): New function.
38830 (isgreaterequal_test): Likewise.
38831 (isless_test): Likewise.
38832 (islessequal_test): Likewise.
38833 (islessgreater_test): Likewise.
38834 (isunordered_test): Likewise.
38835 (main): Call the new functions.
38837 2012-10-09 Roland McGrath <roland@hack.frob.com>
38839 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
38840 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
38841 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
38842 * sysdeps/i386/configure: Regenerated.
38843 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
38844 * sysdeps/mach/configure: Regenerated.
38845 * sysdeps/mach/hurd/configure: Regenerated.
38846 * sysdeps/powerpc/configure: Regenerated.
38847 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38848 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38849 * sysdeps/s390/s390-32/configure: Regenerated.
38850 * sysdeps/s390/s390-64/configure: Regenerated.
38851 * sysdeps/sh/configure: Regenerated.
38852 * sysdeps/sparc/configure: Regenerated.
38853 * sysdeps/unix/sysv/linux/configure: Regenerated.
38854 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38855 * sysdeps/x86_64/configure: Regenerated.
38857 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38858 defined. Don't check if MAP is NULL.
38860 2012-10-09 Joseph Myers <joseph@codesourcery.com>
38862 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38863 (_G_stat64): Likewise.
38864 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38865 (_G_stat64): Likewise.
38866 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38867 instead of struct _G_stat64.
38868 * libio/fileops.c (mmap_remap_check): Likewise.
38869 (decide_maybe_mmap): Likewise.
38870 (_IO_new_file_seekoff): Likewise.
38871 (_IO_file_stat): Likewise.
38872 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38874 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38875 instead of struct _G_stat64.
38876 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38878 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
38881 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38883 (CHECK_EOL): New macro.
38884 (two_way_short_needle): Check beginning of haystack for EOL. Use
38886 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38887 Replace with CHECK_EOL.
38888 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38889 Replace with CHECK_EOL.
38891 2012-10-08 Joseph Myers <joseph@codesourcery.com>
38893 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38895 * math/libm-test.inc: Update comment listing what functions and
38897 (finite_test): New function.
38898 (isinf_test): Likewise.
38899 (isnan_test): Likewise.
38900 (fpclassify_test): Test subnormal input.
38901 (isfinite_test): Likewise.
38902 (isnormal_test): Likewise.
38903 (main): Call the new functions.
38905 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
38908 * Makerules (%.dynsym): Force C locale when running
38909 $(OBJDUMP) --dynamic-syms.
38911 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
38913 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38916 2012-10-06 David S. Miller <davem@davemloft.net>
38918 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38919 upper 32-bits of the length value in %o2 since we use branch-on-register
38920 tests which consider the entire 64-bit register.
38922 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
38924 * string/test-strstr.c (check2): Add a test for page boundary.
38926 2012-10-05 David S. Miller <davem@davemloft.net>
38928 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38929 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38931 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38933 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38934 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38935 and bzero when HWCAP_SPARC_CRYPTO is present.
38937 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
38940 * string/test-strstr.c (check2): New function.
38941 (test_main): Call check2.
38943 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38945 * string/bug-strcasestr1.c (do_test): Moved to ...
38946 * string/test-strcasestr.c (check1): Here. New function.
38947 (do_one_test): Break out result checking code into ...
38948 (check_result): This. New function.
38949 (do_one_test): Call check_result.
38950 (test_main): Call check1.
38951 * string/bug-strchr1.c (do_test): Moved to ...
38952 * string/test-strchr.c (check1): Here. New function.
38953 (do_one_test): Break out result checking code into ...
38954 (check_result): This. New function.
38955 (do_one_test): Call check_result.
38956 (test_main): Call check1.
38957 * string/bug-strstr1.c (main): Moved to ...
38958 * string/test-strstr.c (check1): Here. New function.
38959 (do_one_test): Break out result checking code into ...
38960 (check_result): This. New function.
38961 (do_one_test): Call check_result.
38962 (test_main): Call check1.
38963 * string/bug-strcasestr1.c: Removed.
38964 * string/bug-strchr1.c: Likewise.
38965 * string/bug-strstr1.c: Likewise.
38967 * elf/Makefile (dl-routines): Add hwcaps.
38968 * elf/dl-support.c (_dl_important_hwcaps): Removed.
38969 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38970 (_dl_important_hwcaps): Moved to ...
38971 * elf/dl-hwcaps.c: Here. New file.
38972 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38975 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38976 if IS_IN_rtld isn't defined.
38978 * elf/dl-support.c (_dl_sysinfo_map): New.
38979 Include "get-dynamic-info.h" and "setup-vdso.h".
38980 (_dl_non_dynamic_init): Call setup_vdso.
38981 * elf/dynamic-link.h: Don't include <assert.h>.
38982 (elf_get_dynamic_info): Moved to ...
38983 * elf/get-dynamic-info.h: Here. New file.
38984 * elf/dynamic-link.h: Include "get-dynamic-info.h".
38985 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38986 * elf/setup-vdso.h: Here. New file.
38987 * elf/rtld.c: Include "setup-vdso.h".
38988 (dl_main): Call setup_vdso.
38990 2012-10-05 Joseph Myers <joseph@codesourcery.com>
38992 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38993 creal in comment listing functions tested. List finite, isinf,
38994 isnan, isless, islessequal, isgreater, isgreaterequal,
38995 islessgreater, isunordered, lgamma_r and pow10 as functions and
38996 macros not tested. Mention which functions not tested are aliases
38997 for other functions. Fix typo. Note that signs of NaNs are not
39000 * scripts/config.guess: Update from config.git.
39001 * scripts/config.sub: Likewise.
39003 2012-10-04 Roland McGrath <roland@hack.frob.com>
39005 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
39006 * misc/madvise.c (madvise): Renamed to __madvise.
39007 Make madvise a weak alias.
39008 * include/sys/mman.h: Declare __madvise.
39009 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
39010 * sysdeps/unix/syscalls.list
39011 (madvise): Make __madvise the strong name, and madvise a weak alias.
39012 * sysdeps/unix/sysv/linux/syscalls.list
39013 (madvise, mmap): Remove redundant entries.
39014 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
39015 * malloc/malloc.c (mtrim): Likewise.
39016 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
39018 2012-10-03 Roland McGrath <roland@hack.frob.com>
39020 * sysdeps/mach/hurd/dl-cache.c: File removed.
39021 * config.h.in (USE_LDCONFIG): New #undef.
39022 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
39023 * configure: Regenerated.
39024 * elf/Makefile (dl-routines): Add dl-cache only under
39025 [$(use-ldconfig) = yes].
39026 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
39027 cache on [USE_LDCONFIG].
39028 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
39030 * elf/rtld.c (dl_main): Likewise.
39032 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
39034 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
39035 _SC_LEVEL4_CACHE_LINESIZE.
39037 2012-10-03 Roland McGrath <roland@hack.frob.com>
39039 * sysdeps/unix/bsd/confstr.h: File removed.
39041 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
39043 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
39046 2012-10-02 Roland McGrath <roland@hack.frob.com>
39048 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
39049 Make 'mapoff' field ElfW(Off) rather than off_t.
39051 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
39053 * nscd/Makefile: Remove nscd-cflags and all its users.
39054 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
39055 (CFLAGS-nonlib): Add compiler flags for nscd modules.
39058 * malloc.c (malloc_printerr): Clarify error message.
39060 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
39063 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39064 Set bit_FMA_Usable if FMA is supported.
39065 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
39067 (bit_FMA4_Usable): Updated.
39068 (index_FMA_Usable): New macro.
39069 (CPUID_FMA): Likewise
39070 (HAS_FMA): Defined with bit_FMA_Usable.
39072 2012-10-01 Roland McGrath <roland@hack.frob.com>
39074 * bits/types.h (__swblk_t): Type removed.
39075 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
39076 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
39077 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39078 (__SWBLK_T_TYPE): Likewise.
39079 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39080 (__SWBLK_T_TYPE): Likewise.
39081 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39082 (__SWBLK_T_TYPE): Likewise.
39083 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39084 (__SWBLK_T_TYPE): Likewise.
39086 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
39087 Honza Horak <hhorak@redhat.com>
39089 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
39090 (xdr_mapname): Use YPMAXMAP as maxsize.
39091 (xdr_peername): Use YPMAXPEER as maxsize.
39092 (xdr_keydat): Use YPAXRECORD as maxsize.
39093 (xdr_valdat): Use YPMAXRECORD as maxsize.
39095 2012-10-01 Roland McGrath <roland@hack.frob.com>
39097 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
39099 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
39100 * csu/init-first.c: ... here.
39101 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
39102 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
39103 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
39104 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
39105 * sysdeps/i386/init-first.c: File removed.
39106 * sysdeps/sh/init-first.c: File removed.
39108 2012-10-01 Joseph Myers <joseph@codesourcery.com>
39111 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
39112 if x * y might underflow to zero and z is zero.
39113 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39114 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39115 * math/libm-test.inc (min_subnorm_value): New variable.
39116 (fma_test): Add more tests.
39117 (fma_test_towardzero): Likewise.
39118 (fma_test_downward): Likewise
39119 (fma_test_upward): Likewise.
39120 (initialize): Set min_subnorm_value.
39122 2012-09-29 Joseph Myers <joseph@codesourcery.com>
39125 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
39127 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
39128 mode for addition resulting in exact zero.
39129 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
39130 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
39132 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39133 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39134 * math/libm-test.inc (fma_test): Add more tests.
39135 (fma_test_towardzero): New function.
39136 (fma_test_downward): Likewise.
39137 (fma_test_upward): Likewise.
39138 (main): Call the new functions.
39140 2012-09-28 David S. Miller <davem@davemloft.net>
39142 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
39144 2012-09-28 Roland McGrath <roland@hack.frob.com>
39146 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
39147 instead of SIGALRM.
39149 * sysdeps/gnu/_G_config.h: Moved to ...
39150 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
39151 * sysdeps/mach/hurd/_G_config.h: Moved to ...
39152 * sysdeps/generic/_G_config.h: ... here.
39154 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
39156 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
39158 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
39159 Conditionalize target on [libnss_test1.so-version].
39161 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
39163 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
39164 (elfobjdir): Move out of conditionals.
39166 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
39167 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
39168 (__nss_lookup_function): Conditionalize label remove_from_tree on
39169 [!DO_STATIC_NSS || SHARED], matching its only use.
39171 2012-09-28 David S. Miller <davem@davemloft.net>
39173 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
39174 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
39176 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
39178 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
39179 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
39180 when HWCAP_SPARC_CRYPTO is present.
39182 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
39184 * io/tst-mknodat.c: Create a FIFO instead of a socket.
39186 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
39189 * stdio-common/vfprintf.c (process_string_arg): Revert
39192 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
39194 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
39196 * stdio-common/tst-sprintf.c: Include <locale.h>
39197 (main): Test sprintf's handling of incomplete multibyte
39200 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
39202 * elf/dl-runtime.c (VERSYMIDX): Removed.
39203 * elf/dl-version.c (VERSYMIDX): Likewise.
39204 * elf/do-rel.h (VERSYMIDX): Likewise.
39205 (VALIDX): Likewise.
39206 * elf/dynamic-link.h (VERSYMIDX): Likewise.
39207 * elf/rtld.c (VALIDX): Likewise.
39208 (ADDRIDX): Likewise.
39209 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
39210 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
39211 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
39212 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
39213 (VALIDX): Likewise.
39214 (ADDRIDX): Likewise.
39216 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
39218 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
39220 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
39223 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
39225 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
39226 addresses are in the same scope as 192.0.2/24.
39227 * posix/gai.conf: Document new scope table defaults.
39229 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39232 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
39233 for ftell. Compute offsets from write pointers instead.
39234 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
39236 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39239 * libio/Makefile (tests): New test case tst-fseek.
39240 * libio/tst-fseek.c: New test case to verify that fseek/ftell
39241 combination works in wide mode.
39242 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
39243 state when the external buffer state changes.
39245 2012-09-27 David S. Miller <davem@davemloft.net>
39248 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
39249 pass reloc->r_addend in as the 'high' argument to
39250 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
39252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39254 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
39256 * rt/tst-aio2.c: Include <pthread.h>.
39257 * rt/tst-aio3.c: Likewise.
39259 2012-09-27 Steve Ellcey <sellcey@mips.com>
39261 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
39263 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
39265 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
39266 contents on [SHARED].
39268 2012-09-26 Marek Polacek <polacek@redhat.com>
39272 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
39273 for C++ and GCC <4.3 as well as for non GCC compilers.
39275 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
39277 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39279 2012-09-25 Roland McGrath <roland@hack.frob.com>
39281 * Makefile.in (all, install): Declare with .PHONY.
39282 Reported by Michael Hope <michael.hope@linaro.org>.
39284 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39286 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
39287 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
39289 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
39291 (sydep_routines): Add the new and the internal functions.
39292 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
39293 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
39294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
39295 (GLIBC_2.17): Add the new function.
39296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39297 (GLIBC_2.17): Likewise.
39298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
39299 (GLIBC_2.17): Likewise.
39300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
39301 (GLIBC_2.17): Likewise.
39302 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
39304 2012-09-25 Alan Modra <amodra@gmail.com>
39306 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
39307 Add release barrier before setting once_control to say
39308 initialisation is done. Add hints on lwarx. Use macro in
39310 (clear_once_control): Add release barrier.
39312 2012-09-25 Joseph Myers <joseph@codesourcery.com>
39315 * math/s_clog.c (__clog): Handle more values close to |z| = 1
39317 * math/s_clog10.c (__clog10): Likewise.
39318 * math/s_clog10f.c (__clog10f): Likewise.
39319 * math/s_clog10l.c (__clog10l): Likewise.
39320 * math/s_clogf.c (__clogf): Likewise.
39321 * math/s_clogl.c (__clogl): Likewise.
39322 * math/Makefile (libm-calls): Add x2y2m1.
39323 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
39324 (__x2y2m1): Likewise.
39325 (__x2y2m1l): Likewise.
39326 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
39327 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
39328 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
39329 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
39330 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
39331 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
39332 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
39333 * sysdeps/i386/fpu/libm-test-ulps: Update.
39334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39337 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
39338 int as type of variable DEPTH.
39339 (glob): Use size_t instead of int as type of variables NEWCOUNT
39342 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39344 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39345 Add s_sincosf-sse2.
39346 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
39347 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
39348 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
39349 macros for using routine as __sincosf_ia32.
39350 Use macro for function declaration and weak_alias.
39351 * sysdeps/i386/fpu/libm-test-ulps: Update.
39353 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
39354 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39356 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
39357 subnormal argument.
39358 * math/s_cexpf.c (__cexpf): Likewise.
39359 * math/s_csinf.c (__csinf): Likewise.
39360 * math/s_csinhf.c (__csinhf): Likewise.
39361 * math/s_ctanf.c (__ctanf): Likewise.
39362 * math/s_ctanhf.c (__ctanhf): Likewise.
39363 * math/s_ccosh.c (__ccoshf): Likewise.
39364 * math/s_cexp.c (__cexpl): Likewise.
39365 * math/s_csin.c (__csin): Likewise.
39366 * math/s_csinh.c (__csinh): Likewise.
39367 * math/s_ctan.c (__ctan): Likewise.
39368 * math/s_ctanh.c (ctanh): Likewise.
39369 * math/s_ccoshl.c (__ccoshl): Likewise.
39370 * math/s_cexpl.c (__cexpl): Likewise.
39371 * math/s_csinl.c (__csinl): Likewise.
39372 * math/s_csinhl.c (__csinhl): Likewise.
39373 * math/s_ctanl.c (__ctanl): Likewise.
39374 * math/s_ctanhl.c (__ctanhl): Likewise.
39376 2012-09-25 Joseph Myers <joseph@codesourcery.com>
39378 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
39379 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
39380 (_IO_off_t): Define to __off_t, not _G_off_t.
39381 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
39382 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
39383 (_IO_wint_t): Define to wint_t, not _G_wint_t.
39384 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
39385 type of __dummy and __dummy2 fields.
39386 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
39387 (_G_ssize_t): Likewise.
39388 (_G_off_t): Likewise.
39389 (_G_pid_t): Likewise.
39390 (_G_uid_t): Likewise.
39391 (_G_wchar_t): Likewise.
39392 (_G_wint_t): Likewise.
39393 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
39394 (_G_ssize_t): Likewise.
39395 (_G_off_t): Likewise.
39396 (_G_pid_t): Likewise.
39397 (_G_uid_t): Likewise.
39398 (_G_wchar_t): Likewise.
39399 (_G_wint_t): Likewise.
39400 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
39401 (_G_ssize_t): Likewise.
39402 (_G_off_t): Likewise.
39403 (_G_pid_t): Likewise.
39404 (_G_uid_t): Likewise.
39405 (_G_wchar_t): Likewise.
39406 (_G_wint_t): Likewise.
39408 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39410 * malloc/arena.c: Include malloc-sysdep.h.
39411 (shrink_heap): Use check_may_shrink_heap to decide if madvise
39412 is sufficient to shrink the heap or an unmap is needed.
39413 * sysdeps/generic/malloc-sysdep.h: New file. Define
39414 new function check_may_shrink_heap.
39415 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
39416 new function check_may_shrink_heap.
39418 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39420 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
39423 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
39425 * catgets/test-gencat.sh: Add "set -e".
39426 * elf/tst-pathopt.sh: Likewise.
39427 * grp/tst_fgetgrent.sh: Likewise.
39428 * iconvdata/run-iconv-test.sh: Likewise.
39429 * intl/tst-gettext.sh: Likewise.
39430 * intl/tst-gettext2.sh: Likewise.
39431 * intl/tst-gettext4.sh: Likewise.
39432 * intl/tst-gettext6.sh: Likewise.
39433 * intl/tst-translit.sh: Likewise.
39434 * io/ftwtest-sh: Likewise.
39435 * libio/test-freopen.sh: Likewise.
39436 * malloc/tst-mtrace.sh: Likewise.
39437 * posix/globtest.sh: Likewise.
39438 * posix/tst-getconf.sh: Likewise.
39439 * posix/wordexp-tst.sh: Likewise.
39440 * stdio-common/tst-printf.sh: Likewise.
39441 * stdio-common/tst-unbputc.sh: Likewise.
39442 * stdlib/tst-fmtmsg.sh: Likewise.
39443 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
39444 * catgets/Makefile: Do not specify -e option when running
39445 testsuite shell scripts.
39446 * elf/Makefile: Likewise.
39447 * grp/Makefile: Likewise.
39448 * iconvdata/Makefile: Likewise.
39449 * intl/Makefile: Likewise.
39450 * io/Makefile: Likewise.
39451 * libio/Makefile: Likewise.
39452 * malloc/Makefile: Likewise.
39453 * posix/Makefile: Likewise.
39454 * stdio-common/Makefile: Likewise.
39455 * stdlib/Makefile: Likewise.
39456 * sysdeps/x86_64/Makefile: Likewise.
39458 * io/ftwtest-sh: Add copyright header.
39459 * posix/globtest.sh: Likewise.
39460 * posix/tst-getconf.sh: Likewise.
39461 * posix/wordexp-tst.sh: Likewise.
39462 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
39464 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
39467 * Makeconfig (+link): Defined as $(+link-static) if
39468 $(build-shared) isn't yes.
39469 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
39471 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
39473 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
39476 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
39477 new chunk size with MALLOC_ALIGN_MASK.
39479 2012-09-24 Joseph Myers <joseph@codesourcery.com>
39482 * stdio-common/printf_fphex.c: Include <stdbool.h> and
39484 (__printf_fphex): Determine rounding using get_rounding_mode and
39486 * stdio-common/tst-printf-round.c (struct hex_test): New
39488 (hex_tests): New variable.
39489 (test_hex_in_one_mode): New function.
39490 (do_test): Also run tests for hex float output.
39492 2012-09-21 Joseph Myers <joseph@codesourcery.com>
39494 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39495 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39496 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
39497 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39498 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39499 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
39500 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39501 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39503 2012-09-20 Joseph Myers <joseph@codesourcery.com>
39505 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
39506 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
39507 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
39508 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
39510 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
39513 * elf/rtld.c (dl_main): Limit the check for self loading to normal
39515 * elf/tst-rtld-load-self.sh: New test.
39516 * elf/Makefile: Run it.
39518 2012-09-18 Joseph Myers <joseph@codesourcery.com>
39520 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
39521 (tst-writev-ENV): Remove.
39522 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
39524 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
39526 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
39528 2012-09-17 Joseph Myers <joseph@codesourcery.com>
39530 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
39532 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
39534 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
39535 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
39536 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
39539 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
39542 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
39543 * config.make.in (have-cpp-asm-debuginfo): Removed.
39544 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
39545 * configure: Regenerated.
39547 2012-09-14 Joseph Myers <joseph@codesourcery.com>
39550 * stdio-common/printf_fp.c: Include <stdbool.h> and
39552 (___printf_fp): Determine rounding using get_rounding_mode and
39554 * stdio-common/tst-printf-round.c: New file.
39555 * stdio-common/Makefile (tests): Add tst-printf-round.
39556 (link-libm): New variable.
39557 ($(objpfx)tst-printf-round): Depend in $(link-libm).
39559 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
39562 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
39563 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
39565 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
39568 2012-09-13 Joseph Myers <joseph@codesourcery.com>
39570 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
39571 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39572 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39573 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39575 2012-09-12 Joseph Myers <joseph@codesourcery.com>
39578 * include/rounding-mode.h: New file.
39579 * sysdeps/generic/get-rounding-mode.h: Likewise.
39580 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
39581 * stdlib/strtod_l.c: Include <rounding-mode.h>.
39582 (MAX_VALUE): New macro.
39583 (MIN_VALUE): Likewise.
39584 (overflow_value): New function.
39585 (underflow_value): Likewise.
39586 (round_and_return): Use overflow_value and underflow_value to
39587 determine return values in overflow and underflow cases. Use
39588 round_away to determine rounding depending on rounding mode.
39589 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
39590 determine return values in overflow and underflow cases.
39591 * stdlib/tst-strtod-round.c: Include <fenv.h>.
39592 (struct test_results): New structure.
39593 (struct test): Use struct test_results to store expected results
39594 for all rounding modes.
39595 (TEST): Include expected results for all rounding modes.
39596 (test_in_one_mode): New function.
39597 (do_test): Use test_in_one_mode to compute and check results.
39598 Check results for all rounding modes.
39599 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
39602 2012-12-09 Allan McRae <allan@archlinux.org>
39604 * sysdeps/i386/fpu/libm-test-ulps: Update
39606 2012-09-11 Joseph Myers <joseph@codesourcery.com>
39608 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
39609 (_G_int32_t): Likewise.
39610 (_G_uint16_t): Likewise.
39611 (_G_uint32_t): Likewise.
39612 (_G_HAVE_BOOL): Likewise.
39613 (_G_HAVE_ATEXIT): Likewise.
39614 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39615 (_G_HAVE_IO_FILE_OPEN): Likewise.
39616 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
39617 (_G_int32_t): Likewise.
39618 (_G_uint16_t): Likewise.
39619 (_G_uint32_t): Likewise.
39620 (_G_HAVE_BOOL): Likewise.
39621 (_G_HAVE_ATEXIT): Likewise.
39622 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39623 (_G_HAVE_IO_FILE_OPEN): Likewise.
39624 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
39625 (_G_int32_t): Likewise.
39626 (_G_uint16_t): Likewise.
39627 (_G_uint32_t): Likewise.
39628 (_G_HAVE_BOOL): Likewise.
39629 (_G_HAVE_ATEXIT): Likewise.
39630 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39631 (_G_HAVE_IO_FILE_OPEN): Likewise.
39633 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
39635 * csu/libc-tls.c: Update copyright years.
39637 2012-09-10 Joseph Myers <joseph@codesourcery.com>
39639 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
39640 [!_G_USING_THUNKS]: Remove conditional code.
39641 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
39642 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
39644 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
39645 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
39646 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39647 (_G_VTABLE_LABEL_PREFIX): Likewise.
39648 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39649 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39650 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39651 (_G_VTABLE_LABEL_PREFIX): Likewise.
39652 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39653 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39654 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39655 (_G_VTABLE_LABEL_PREFIX): Likewise.
39656 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39658 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
39660 * libio/Makefile: Include ../Makeconfig before tests.
39661 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
39662 only if $(build-shared) is yes.
39664 * iconv/gconv_db.c: Update copyright years.
39666 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39668 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
39669 unwind info if defined PIC. Fix special cases description.
39670 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
39672 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
39674 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
39676 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
39678 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
39680 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
39683 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
39684 (LDLIBS-tst-chk4): This.
39685 (LDFLAGS-tst-chk5): Renamed to ...
39686 (LDLIBS-tst-chk5): This.
39687 (LDFLAGS-tst-chk6): Renamed to ...
39688 (LDLIBS-tst-chk6): This.
39689 (LDFLAGS-tst-lfschk4): Renamed to ...
39690 (LDLIBS-tst-lfschk4): This.
39691 (LDFLAGS-tst-lfschk5): Renamed to ...
39692 (LDLIBS-tst-lfschk5): This.
39693 (LDFLAGS-tst-lfschk6): Renamed to ...
39694 (LDLIBS-tst-lfschk6): This.
39696 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
39697 on $(common-objpfx)soversions.mk.
39699 2012-09-07 Joseph Myers <joseph@codesourcery.com>
39702 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
39705 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39707 * malloc/arena.c (arena_get_retry): New function that gets
39708 another arena for the caller to try its request on.
39709 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
39710 current arena cannot fulfill the request.
39711 (__libc_memalign): Likewise.
39712 (__libc_memalign): Likewise.
39713 (__libc_pvalloc): Likewise.
39714 (__libc_calloc): Likewise.
39716 2012-09-05 John Tobey <john.tobey@gmail.com>
39719 * manual/arith.texi (Operations on Complex): Fix description
39720 of carg branch cut.
39722 2012-09-06 Joseph Myers <joseph@codesourcery.com>
39725 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
39729 * manual/memory.texi (Memory): Make order of menu items match
39732 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39734 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
39735 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
39736 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
39738 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39740 * csu/libc-tls.c (static_dtv): Renamed to ...
39741 (_dl_static_dtv): This. Make it global.
39742 (_dl_initial_dtv): Removed.
39743 (__libc_setup_tls): Updated.
39744 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
39745 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
39748 2012-09-06 Petr Machata <pmachata@redhat.com>
39750 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
39751 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
39752 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
39753 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
39755 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39758 * csu/libc-tls.c (_dl_initial_dtv): New variable.
39759 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
39762 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39765 * Makeconfig (link-static-before-libc): Replace $(+prector)
39767 (link-static-after-libc): Replace $(+postctor) with
39769 (link-bounded): Replace $(+prector)/$(+postctor) with
39770 $(+prectorT)/$(+postctorT).
39771 (+prectorT): New macro.
39772 (+postctorT): Likewise.
39774 2012-09-06 Joseph Myers <joseph@codesourcery.com>
39776 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
39777 (round_str): Handle values above the maximum for IBM long double
39779 * stdlib/tst-strtod-round.c (tests): Regenerated.
39781 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39783 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
39785 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
39786 zarch_nohighgprs around the zarch optimized routines.
39787 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39788 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39789 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
39792 2012-09-05 David S. Miller <davem@davemloft.net>
39794 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39796 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
39797 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
39798 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
39799 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39802 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39804 * malloc/arena.c: Fold copyright years.
39805 * malloc/mcheck.c, malloc/memusage.c: Likewise.
39807 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39809 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
39811 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39813 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
39815 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39817 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
39818 change internal state upon failure.
39820 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39822 * malloc/mcheck.c (mcheck_check_all): Fix typo.
39823 * malloc/memusage.c (mmap): Likewise.
39824 (mmap64, mremap): Likewise. Adjust name in comment.
39826 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39828 * libio/fileops.c: Fix typos in comments.
39829 * libio/oldfileops.c: Likewise.
39830 * libio/wfileops.c: Likewise.
39832 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39835 * malloc/Makefile (tests): Add tst-malloc-usable test case.
39836 (tst-malloc-usable-ENV): Set environment for test case.
39837 * malloc/hooks.c (malloc_check_get_size): New function to get
39839 * malloc/malloc.c (musable): Use malloc_check_get_size.
39840 * malloc/tst-malloc-usable.c: New test case.
39842 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39844 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
39846 2012-09-05 Allan McRae <allan@archlinux.org>
39849 * configure.in (CXX_SYSINCLUDES): Use compiler output to
39850 determine header location.
39851 * configure: Regenerated.
39853 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39855 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
39857 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
39858 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39860 (test): Regenerate.
39862 2012-09-04 David S. Miller <davem@davemloft.net>
39864 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39865 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39866 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39868 2012-09-04 Florian Weimer <fweimer@redhat.com>
39870 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39873 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39875 2012-09-04 Joseph Myers <joseph@codesourcery.com>
39878 * libio/iogetdelim.c: Include <limits.h>.
39879 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39880 + len + 1 would overflow.
39882 2012-09-03 Andreas Jaeger <aj@suse.de>
39884 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39885 * sysdeps/i386/fpu/libm-test-ulps: Update.
39887 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39889 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39890 Add s_sinf-sse2, s_conf-sse2.
39892 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39893 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39894 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39895 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39897 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39898 for using routine as __sinf_ia32.
39899 Use macro for function declaration and weak_alias.
39900 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39901 for using routine as __cosf_ia32.
39902 Use macro for function declaration and weak_alias.
39904 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39905 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39907 * sysdeps/x86_64/fpu/s_sinf.S: New file.
39908 * sysdeps/x86_64/fpu/s_cosf.S: New file.
39909 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39911 * math/libm-test.inc (cos_test): Add more test cases.
39912 (sin_test): Likewise.
39913 (sincos_test): Likewise.
39915 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39917 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39918 (IFUNC_RESOLVE): Make pointers to the specialized implementations
39920 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39922 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
39925 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39926 first element of the GOT.
39927 (elf_machine_load_address): Return the difference between
39928 the runtime address of _DYNAMIC and elf_machine_dynamic ().
39930 2012-09-01 Allan McRae <allan@archlinux.org>
39933 * configure.in (AWK): Require gawk version 3.0 or later.
39934 * configure: Regenerated.
39936 2012-09-01 Joseph Myers <joseph@codesourcery.com>
39938 * sysdeps/unix/sysv/linux/kernel-features.h
39939 (__ASSUME_POSIX_CPU_TIMERS): Remove.
39940 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39941 [__NR_clock_getres]: Make code unconditional.
39942 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39943 (clock_getcpuclockid): Remove code left unreachable by removal of
39945 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39946 code unconditional.
39947 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39948 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39949 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39950 Make code unconditional.
39951 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39952 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39953 * sysdeps/unix/sysv/linux/clock_settime.c
39954 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39956 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39957 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39959 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
39962 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39963 scripts/test-installation.pl.
39965 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39966 and $ld_so_version if it is set.
39968 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39971 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39972 failure if reading from procfs failed.
39973 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39975 2012-08-27 Joseph Myers <joseph@codesourcery.com>
39977 * sysdeps/unix/sysv/linux/kernel-features.h
39978 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39979 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39980 Remove conditional code.
39981 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39982 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39983 Remove conditional code.
39984 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39985 * sysdeps/unix/sysv/linux/i386/fxstat.c
39986 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39987 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39988 * sysdeps/unix/sysv/linux/i386/fxstatat.c
39989 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39990 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39991 * sysdeps/unix/sysv/linux/i386/lxstat.c
39992 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39993 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39994 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39995 Remove conditional code.
39996 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39997 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39998 Remove conditional code.
39999 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40000 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
40001 <kernel-features.h>.
40002 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
40004 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
40005 Remove conditional code.
40006 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40007 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
40008 Remove conditional.
40010 2012-08-27 Mike Frysinger <vapier@gentoo.org>
40013 * NEWS: Add fixed bug number.
40015 2012-08-27 Joseph Myers <joseph@codesourcery.com>
40018 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
40019 underflowing exponent in case of negative sign.
40020 * stdlib/tst-strtod-round-data: Add more tests.
40021 * stdlib/tst-strtod-round.c (tests): Regenerated.
40024 * stdlib/strtod_l.c (NDIG): Remove.
40025 (HEXNDIG): Likewise.
40026 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
40027 smallest representable value.
40028 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
40029 lie within an exact representation of 1/2 ulp of the result.
40030 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
40032 (TENS_P9_IDX): Define unconditionally.
40033 (TENS_P9_SIZE): Likewise.
40034 (TENS_P10_IDX): Likewise.
40035 (TENS_P10_SIZE): Likewise.
40036 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
40037 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
40038 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
40039 entries for 10^2^13 and 10^2^14.
40040 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
40041 (TENS_P13_IDX): Define.
40042 (TENS_P13_SIZE): Likewise.
40043 (TENS_P14_IDX): Likewise.
40044 (TENS_P14_SIZE): Likewise.
40045 (_fpioconst_pow10): Change array size to
40046 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
40048 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
40049 1024]: Add entries for 10^2^13 and 10^2^14.
40050 [LAST_POW10 > _LAST_POW10]: Remove #error.
40051 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
40052 (_fpioconst_pow10): Change array size to
40053 FPIOCONST_POW10_ARRAY_SIZE.
40054 * stdlib/gen-fpioconst.c: New file.
40055 * stdlib/gen-tst-strtod-round.c: Likewise.
40056 * stdlib/tst-strtod-round-data: Likewise.
40057 * stdlib/tst-strtod-round.c: Likewise.
40058 * stdlib/Makefile (tests): Add tst-strtod-round.
40061 * stdlib/strtod_l.c: Include <stdint.h>.
40062 (NDEBUG): Do not define.
40063 (round_and_return): Change EXPONENT parameter to type intmax_t.
40064 Rearrange calculations to avoid internal overflow possibilities.
40065 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
40066 Rearrange calculations to avoid internal overflow possibilities.
40067 Assert that number fits inside MPNSIZE limbs.
40068 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
40069 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
40070 calculations and add assertions to avoid internal overflow
40071 possibilities. Add casts to avoid signed/unsigned operations.
40072 * stdlib/tst-strtod-overflow.c: New file.
40073 * stdlib/Makefile (tests): Add tst-strtod-overflow.
40075 2012-08-25 Marek Polacek <polacek@redhat.com>
40077 * time/time.h: Fix some typos in comments.
40079 2012-08-23 Roland McGrath <roland@hack.frob.com>
40081 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
40082 * posix/tst-rfc3484-2.c: Likewise.
40083 * posix/tst-rfc3484-3.c: Likewise.
40085 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
40087 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
40088 (EF_ARM_ABI_FLOAT_HARD): Likewise.
40090 2012-08-23 Joseph Myers <joseph@codesourcery.com>
40092 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
40093 #include of fxstatat64.c.
40095 2012-08-22 Roland McGrath <roland@hack.frob.com>
40097 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
40098 * shadow/getspent_r.c: Likewise.
40099 * shadow/getspnam.c: Likewise.
40100 * shadow/getspnam_r.c: Likewise.
40101 * gshadow/getsgent.c: Likewise.
40102 * gshadow/getsgent_r.c: Likewise.
40103 * gshadow/getsgnam.c: Likewise.
40104 * gshadow/getsgnam_r.c: Likewise.
40105 * inet/getnetbyad.c: Likewise.
40106 * inet/getnetbyad_r.c: Likewise.
40107 * inet/getnetbynm.c: Likewise.
40108 * inet/getnetbynm_r.c: Likewise.
40109 * inet/getnetent.c: Likewise.
40110 * inet/getnetent_r.c: Likewise.
40111 * inet/getproto.c: Likewise.
40112 * inet/getproto_r.c: Likewise.
40113 * inet/getprtent.c: Likewise.
40114 * inet/getprtent_r.c: Likewise.
40115 * inet/getprtname.c: Likewise.
40116 * inet/getprtname_r.c: Likewise.
40117 * inet/getrpcbyname.c: Likewise.
40118 * inet/getrpcbyname_r.c: Likewise.
40119 * inet/getrpcbynumber.c: Likewise.
40120 * inet/getrpcbynumber_r.c: Likewise.
40121 * inet/getrpcent.c: Likewise.
40122 * inet/getrpcent_r.c: Likewise.
40123 * inet/getaliasent.c: Likewise.
40124 * inet/getaliasent_r.c: Likewise.
40125 * inet/getaliasname.c: Likewise.
40126 * inet/getaliasname_r.c: Likewise.
40127 * nscd/getgrgid_r.c: Likewise.
40128 * nscd/getgrnam_r.c: Likewise.
40129 * nscd/gethstbyad_r.c: Likewise.
40130 * nscd/gethstbynm3_r.c: Likewise.
40131 * nscd/getpwnam_r.c: Likewise.
40132 * nscd/getpwuid_r.c: Likewise.
40133 * nscd/getsrvbynm_r.c: Likewise.
40134 * nscd/getsrvbypt_r.c: Likewise.
40135 * nscd/gai.c: Likewise.
40137 * configure.in (build_nscd): New substituted variable, set
40138 by --disable-build-nscd and defaults to $use_nscd.
40139 * configure: Regenerated.
40140 * config.make.in (build-nscd): New substituted variable.
40141 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
40142 Change conditional to require [$(build-nscd) = yes] as well.
40143 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
40146 * configure.in (use_nscd): New substituted variable, set by
40147 --disable-nscd. If enabled, define USE_NSCD.
40148 * configure: Regenerated.
40149 * config.h.in: Add USE_NSCD.
40150 * config.make.in (use-nscd): New substituted variable.
40151 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
40152 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
40153 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
40154 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
40155 (CFLAGS-getgrnam_r.c): Likewise.
40156 (CFLAGS-initgroups.c): Likewise.
40157 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
40158 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
40160 * inet/getnetgrent_r.c
40161 (nscd_setnetgrent): New function, broken out of ...
40162 (setnetgrent): ... here. Call it.
40163 (innetgr): Conditionalize nscd bits on [USE_NSCD].
40164 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
40165 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
40166 * nscd/Makefile (routines, aux): Move definitions after include of
40167 Makeconfig. Conditionalize on [$(use-nscd) != no].
40168 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
40169 Conditionalize on [USE_NSCD].
40170 (is_nscd, nscd_init_cb): Likewise.
40171 (nss_load_library): Conditionalize init callback on [USE_NSCD].
40172 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
40173 * nss/nss_db/db-init.c: Likewise.
40174 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
40176 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
40177 (make_request): Use it.
40178 (cache_valid_p): New function.
40179 (__check_pf): Use it.
40180 * NEWS: Add item for --disable-nscd.
40182 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
40184 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
40185 to support sed >= 4.2.1-20-ga9bf076.
40186 * configure: Regenerated.
40188 2012-08-22 Roland McGrath <roland@hack.frob.com>
40190 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
40191 Conditionalize whole body on [IREL].
40193 2012-08-22 Jeff Law <law@redhat.com>
40196 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
40197 if the family is PF_UNSPEC.
40199 2012-08-22 Mike Frysinger <vapier@gentoo.org>
40201 * Makerules (lib-version): Rename from V.
40202 (install-lib-nosubdir): Change V to lib-version.
40204 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
40207 * powerpc32/power6/wcschr.c: New file.
40208 * powerpc32/power6/wcscpy.c: New file.
40209 * powerpc32/power6/wcsrchr.c: New file.
40210 * powerpc64/power6/wcschr.c: New file.
40211 * powerpc64/power6/wcscpy.c: New file.
40212 * powerpc64/power6/wcsrchr.c: New file.
40214 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
40216 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
40217 (two_way_short_needle): Use it.
40218 * string/strstr.c (AVAILABLE1_USES_J): Define.
40219 * string/strcasestr.c: Likewise.
40221 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
40223 * string/strcasestr.c (TOLOWER): Make side-effect safe.
40226 * NEWS: Add an entry.
40227 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
40228 define their defaults.
40229 (two_way_short_needle): Detect end-of-string on-the-fly.
40230 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
40231 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
40232 * string/bug-strcasestr1.c: New test.
40233 * string/Makefile: Run it.
40235 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
40238 * string/str-two-way.h (two_way_short_needle): Optimize matching of
40239 the first character.
40241 2012-08-21 Roland McGrath <roland@hack.frob.com>
40243 * csu/elf-init.c (__libc_csu_irel): Function removed.
40244 * csu/libc-start.c (apply_irel): New function.
40245 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
40247 2012-08-21 Joseph Myers <joseph@codesourcery.com>
40249 * sysdeps/unix/sysv/linux/kernel-features.h
40250 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
40251 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
40252 <kernel-features.h>.
40253 [__NR_fadvise64_64]: Make code unconditional.
40254 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
40255 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
40256 !__NR_fadvise64_64)]: Likewise.
40257 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
40258 !__NR_fadvise64_64))]: Likewise.
40259 [__NR_fadvise64]: Make code unconditional.
40260 [!__NR_fadvise64]: Remove conditional code.
40261 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
40262 <kernel-features.h>.
40263 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40265 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
40268 not include <kernel-features.h>.
40269 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40271 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40273 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
40274 include <kernel-features.h>.
40275 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40277 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40280 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40282 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
40283 slight instruction rearrangements per scrollpipe analysis.
40284 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40286 2012-08-20 Roland McGrath <roland@hack.frob.com>
40288 * manual/syslog.texi (syslog; vsyslog, closelog):
40289 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
40290 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
40292 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
40293 DSOCAPS to match condition on defining it.
40295 2012-08-20 Joseph Myers <joseph@codesourcery.com>
40297 * sysdeps/unix/sysv/linux/kernel-features.h
40298 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
40299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
40300 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40301 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
40303 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40304 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
40306 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40307 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40309 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
40310 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
40312 * sysdeps/unix/sysv/linux/kernel-features.h
40313 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
40314 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
40316 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40317 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
40318 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
40319 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40320 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
40321 Make code unconditional.
40322 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40323 (__mmap64) [!__NR_mmap2]: Likewise.
40324 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
40325 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
40326 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40327 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
40328 [__NR_mmap2]: Make code unconditional.
40329 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40330 (__mmap64) [!__NR_mmap2]: Likewise.
40332 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40334 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
40336 2012-08-18 Andreas Jaeger <aj@suse.de>
40338 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
40340 2012-08-18 Mike Frysinger <vapier@gentoo.org>
40342 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
40343 * include/unistd.h (__have_sock_cloexec): Likewise.
40344 (__have_pipe2): Likewise.
40345 (__have_dup3): Likewise.
40347 2012-08-18 Mike Frysinger <vapier@gentoo.org>
40350 * include/unistd.h (__have_pipe2): Change define into an extern int.
40351 (__have_dup3): Likewise.
40352 * socket/have_sock_cloexec.c: Include fcntl.h.
40353 (__have_pipe2): New variable.
40354 (__have_dup3): Likewise.
40356 2012-08-17 Mike Frysinger <vapier@gentoo.org>
40358 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
40360 2012-08-17 Marek Polacek <polacek@redhat.com>
40362 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
40363 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
40365 2012-08-17 Roland McGrath <roland@hack.frob.com>
40367 * configure.in: Add AC_SUBST for sysheaders.
40368 * configure: Regenerated.
40369 * config.make.in (sysheaders): New substituted variable.
40371 * sysdeps/unix/mkfifo.c: Moved ...
40372 * sysdeps/posix/mkfifo.c: ... here.
40373 * sysdeps/unix/mkfifoat.c: Moved ...
40374 * sysdeps/posix/mkfifoat.c: ... here.
40376 * sysdeps/unix/utime.c: Moved ...
40377 * sysdeps/posix/utime.c: ... here.
40379 * sysdeps/unix/time.c: Moved ...
40380 * sysdeps/posix/time.c: ... here.
40381 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
40382 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
40384 * sysdeps/unix/nice.c: Moved ...
40385 * sysdeps/posix/nice.c: ... here.
40387 * sysdeps/unix/alarm.c: Moved ...
40388 * sysdeps/posix/alarm.c: ... here.
40390 * intl/Makefile ($(codeset_mo)): Depend on the input file.
40392 2012-08-17 Jeff Law <law@redhat.com>
40394 * intl/Makefile (codeset_mo): New variable.
40395 ($(codeset_mo)): New target.
40396 (tst-codeset.out): Depend on that. Remove explicit rule.
40397 (tst-gettext3.out, tst-gettext5.out): Likewise.
40398 (LOCPATH-ENV, tst-codeset-ENV): New variables.
40399 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
40400 * intl/tst-codeset.sh: Remove.
40401 * intl/tst-gettext3.sh: Likewise.
40402 * intl/tst-gettext5.sh: Likewise.
40404 2012-08-17 Roland McGrath <roland@hack.frob.com>
40406 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
40407 * sysdeps/unix/syscalls.list: ... here.
40409 * sysdeps/posix/getaddrinfo.c
40410 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
40411 (gaiconf_init, gaiconf_reload): Use them.
40412 [!_STATBUF_ST_NSEC]
40413 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
40414 Define using time_t rather than struct timespec.
40416 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
40417 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
40419 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
40421 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
40422 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
40425 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
40426 __libc_cleanup_push argument.
40428 * bits/param.h: New file.
40429 * misc/sys/param.h: New file.
40430 * include/sys/param.h: New file.
40431 * misc/Makefile (headers): Add bits/param.h.
40432 * sysdeps/generic/sys/param.h: File removed.
40433 * sysdeps/unix/sysv/linux/bits/param.h: New file.
40434 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
40435 * sysdeps/mach/hurd/bits/param.h: New file.
40436 * sysdeps/mach/hurd/sys/param.h: File removed.
40438 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
40441 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
40443 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
40444 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
40447 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
40448 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
40449 rather than -D_IO_MTSAFE_IO conditionally.
40450 * stdio-common/Makefile (CPPFLAGS): Likewise.
40451 * wcsmbs/Makefile (CPPFLAGS): Likewise.
40452 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
40453 Use $(libio-mtsafe).
40454 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
40455 of -D_IO_MTSAFE_IO.
40456 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
40457 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
40458 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
40459 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
40460 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
40461 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
40462 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
40463 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
40464 (CFLAGS-fread_u_chk.c): Likewise.
40465 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
40466 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
40467 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
40468 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
40469 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
40470 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
40471 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
40472 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
40473 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
40475 * libio/Makefile: Test [$(libc-reentrant) = yes]
40476 instead of [$(filter %REENTRANT, $(defines)) nonempty].
40479 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
40480 * sysdeps/pthread/configure: File removed.
40481 * sysdeps/pthread/Makeconfig: New file.
40482 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
40483 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
40485 2012-08-16 Gary Benson <gbenson@redhat.com>
40487 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
40488 unmapping the first object in a namespace.
40490 2012-08-16 Roland McGrath <roland@hack.frob.com>
40492 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
40493 (__internal_setnetgrent): ... this. Add internal_function to
40494 definition. Add libc_hidden_def.
40495 (setnetgrent): Update caller.
40496 (internal_endnetgrent): Renamed to ...
40497 (__internal_endnetgrent): ... this. Add internal_function to
40498 definition. Add libc_hidden_def.
40499 (endnetgrent): Update caller.
40500 (internal_getnetgrent_r): Renamed to ...
40501 (__internal_getnetgrent_r): ... this. Add internal_function to
40502 definition. Add libc_hidden_def.
40503 (__getnetgrent_r): Update caller.
40504 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
40506 2012-08-16 Joseph Myers <joseph@codesourcery.com>
40508 * stdlib/longlong.h: Update from GCC.
40510 2012-08-16 Roland McGrath <roland@hack.frob.com>
40512 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
40513 on _QL, which is set by umul_ppmm but never used.
40514 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
40515 variables, which are set by GMP macros but never used.
40516 * stdio-common/_itowa.c (_itowa): Likewise.
40517 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
40518 * stdlib/mod_1.c (mpn_mod_1): Likewise.
40520 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
40522 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
40523 struct La_sh_regs is not constant.
40524 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
40525 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
40526 and struct La_sparc64_regs are not constant.
40528 2012-08-16 Joseph Myers <joseph@codesourcery.com>
40530 * sysdeps/unix/sysv/linux/kernel-features.h
40531 (__ASSUME_POSIX_TIMERS): Remove.
40532 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40533 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40534 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
40535 Make code unconditional.
40536 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40537 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
40538 Make code unconditional.
40539 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40540 * sysdeps/unix/sysv/linux/clock_nanosleep.c
40541 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
40542 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40543 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
40544 Make code unconditional.
40545 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40546 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
40547 (__libc_missing_posix_timers): Remove.
40549 2012-08-15 Roland McGrath <roland@hack.frob.com>
40551 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
40552 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
40554 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
40556 * elf/dl-sym.c: Include <stdlib.h>.
40558 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
40559 constants, which avoids warnings in 32-bit builds.
40561 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
40562 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
40564 * misc/lseek.c: File moved to ...
40565 * io/lseek.c: ... here.
40567 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
40569 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
40570 shifting LEN more than 31 bits at once.
40572 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40575 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
40576 segmentation fault for a case of two empty input strings.
40577 * string/test-strncasecmp.c (check1): Renamed to...
40578 (bz12205): ...this.
40579 (bz14195): Add new testcase for two empty input strings and N > 0.
40580 (test_main): Call new testcase, adapt for renamed function.
40582 2012-08-15 Andreas Jaeger <aj@suse.de>
40585 * crypt/md5test2.c: New test, based on test supplied by Serge
40586 Belyshev <belyshev@depni.sinp.msu.ru>.
40587 * crypt/Makefile (xtests): Add md5test-giant..
40588 * crypt/Makefile ($(objpfx)md5test-giant): Add.
40590 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
40593 * crypt/md5.c (md5_process_block): Don't assume the buffer
40594 length is less than 2**32.
40595 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
40596 length is less than 2**64.
40598 2012-08-15 Roland McGrath <roland@hack.frob.com>
40600 * string/str-two-way.h: Include <sys/param.h>.
40601 (MAX): Macro removed.
40603 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
40604 Move #define and #undef of memmove to just before and after
40605 including <string.h>.
40607 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
40608 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
40609 and after including <string.h>. Move declarations of
40610 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
40611 to before #include "string/memmove.c".
40613 * include/dirent.h: Declare __getdirentries.
40615 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
40616 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
40618 2012-08-14 Mike Frysinger <vapier@gentoo.org>
40620 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
40621 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
40622 * sysdeps/i386/configure: Regenerated.
40623 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
40624 STABS_CURRENT_FILE, and STABS_FUN.
40625 (END): Remove call to STABS_FUN_END.
40626 (STABS_CURRENT_FILE1): Delete.
40627 (STABS_CURRENT_FILE): Likewise.
40628 (STABS_FUN): Likewise.
40629 (STABS_FUN_END): Likewise.
40630 (STABS_FUN2): Likewise.
40631 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
40632 * sysdeps/x86_64/configure: Regenerated.
40634 2012-08-14 Roland McGrath <roland@hack.frob.com>
40636 * elf/dl-open.c: Include <atomic.h>.
40637 * elf/dl-lookup.c: Likewise.
40639 2012-08-14 Joseph Myers <joseph@codesourcery.com>
40641 * sysdeps/unix/sysv/linux/kernel-features.h
40642 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
40643 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
40645 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
40647 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
40648 condition on __ASSUME_CLONE_THREAD_FLAGS.
40650 2012-08-14 Andreas Jaeger <aj@suse.de>
40652 * sysdeps/i386/fpu/libm-test-ulps: Update.
40654 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
40656 * include/atomic.h (atomic_exchange_and_add): Split into ...
40657 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
40660 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
40662 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40664 2012-08-13 Jeff Law <law@redhat.com>
40666 * manual/stdio.texi (snprintf): Clarify handling of the trailing
40667 null byte in the output string.
40669 2012-08-10 Joseph Myers <joseph@codesourcery.com>
40671 * sysdeps/unix/sysv/linux/kernel-features.h
40672 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
40673 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
40674 (__ASSUME_ARG_MAX_STACK_BASED): Define.
40675 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
40676 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
40677 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
40678 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
40680 2012-08-09 Jeff Law <law@redhat.com>
40683 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
40684 When avoid_arena is set, don't retry in the that arena. Pick the
40685 next one, whatever it might be.
40686 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
40687 (arena_lock): Pass in new parameter to arena_get2.
40688 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
40690 (__libc_malloc): Unify retrying after main arena failure with
40691 __libc_memalign version.
40692 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
40694 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
40697 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
40698 to __redirect_strstr.
40699 (__strstr_sse42): Use typeof __redirect_strstr.
40700 (__strstr_ia32): Likewise.
40701 (__libc_strstr): New prototype.
40702 (strstr): Renamed to ...
40703 (__libc_strstr): This.
40704 (strstr): New strong alias of __libc_strstr.
40705 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40706 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
40709 (__libc_time): New prototype.
40710 (time_ifunc): Replace time with __libc_time.
40711 (time): New strong alias and hidden definition of __libc_time.
40712 (__GI_time): Remove strong alias.
40713 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
40714 Include <stddef.h>.
40715 (memmove): Redefined to __redirect_memmove.
40716 (__memmove_sse2): Use typeof __redirect_memmove.
40717 (__memmove_ssse3): Likewise.
40718 (__memmove_ssse3_back): Likewise.
40719 (__libc_memmove): New prototype.
40720 (memmove): Renamed to ...
40721 (__libc_memmove): This.
40722 (memmove): New strong alias of __libc_memmove.
40724 2012-08-08 Mark Salter <msalter@redhat.com>
40727 (R_MN10300_TLS_GD): Define.
40728 (R_MN10300_TLS_LD): Likewise.
40729 (R_MN10300_TLS_LDO): Likewise.
40730 (R_MN10300_TLS_GOTIE): Likewise.
40731 (R_MN10300_TLS_IE): Likewise.
40732 (R_MN10300_TLS_LE): Likewise.
40733 (R_MN10300_TLS_DTPMOD): Likewise.
40734 (R_MN10300_TLS_DTPOFF): Likewise.
40735 (R_MN10300_TLS_TPOFF): Likewise.
40736 (R_MN10300_SYM_DIFF): Likewise.
40737 (R_MN10300_ALIGN): Likewise.
40738 (R_MN10300_NUM): Update.
40740 2012-08-08 Joseph Myers <joseph@codesourcery.com>
40742 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
40745 2012-08-08 Roland McGrath <roland@hack.frob.com>
40747 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
40749 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
40750 sysdeps/unix -> sysdeps/posix move.
40751 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40753 2012-08-07 Allan McRae <allan@archlinux.org>
40756 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
40757 (SUNOS_CPP): Likewise.
40758 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
40760 (open_input): Call CPP using execvp.
40762 2012-08-07 Joseph Myers <joseph@codesourcery.com>
40764 * sysdeps/unix/sysv/linux/kernel-features.h
40765 (__ASSUME_PROT_GROWSUPDOWN): Remove.
40766 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40767 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40768 (__ASSUME_WAITID_SYSCALL): Likewise.
40769 * sysdeps/unix/sysv/linux/dl-execstack.c
40770 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
40771 code unconditional.
40772 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
40774 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
40775 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
40776 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
40778 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
40780 [__ASSUME_WAITID_SYSCALL]: Likewise.
40781 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
40783 2012-08-07 Roland McGrath <roland@hack.frob.com>
40785 * sysdeps/unix/closedir.c: Renamed to ...
40786 * sysdeps/posix/closedir.c: ... here.
40787 * sysdeps/unix/dirfd.c: Renamed to ...
40788 * sysdeps/posix/dirfd.c: ... here.
40789 * sysdeps/unix/dirstream.h: Renamed to ...
40790 * sysdeps/posix/dirstream.h: ... here.
40791 * sysdeps/unix/fdopendir.c: Renamed to ...
40792 * sysdeps/posix/fdopendir.c: ... here.
40793 * sysdeps/unix/opendir.c: Renamed to ...
40794 * sysdeps/posix/opendir.c: ... here.
40795 * sysdeps/unix/readdir.c: Renamed to ...
40796 * sysdeps/posix/readdir.c: ... here.
40797 * sysdeps/unix/readdir_r.c: Renamed to ...
40798 * sysdeps/posix/readdir_r.c: ... here.
40799 * sysdeps/unix/rewinddir.c: Renamed to ...
40800 * sysdeps/posix/rewinddir.c: ... here.
40801 * sysdeps/unix/seekdir.c: Renamed to ...
40802 * sysdeps/posix/seekdir.c: ... here.
40803 * sysdeps/unix/telldir.c: Renamed to ...
40804 * sysdeps/posix/telldir.c: ... here.
40805 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
40806 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
40807 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
40808 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
40810 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
40811 * bits/fcntl.h: ... here.
40813 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
40815 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
40816 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
40817 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
40818 (struct flock): Move l_start, l_len to the beginning.
40819 Use __pid_t for l_pid.
40820 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
40821 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
40822 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
40823 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
40824 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
40825 [__USE_LARGEFILE64] (struct flock64): New type.
40826 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
40828 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
40829 * bits/dirent.h: ... here.
40831 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
40832 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
40834 2012-08-07 Joseph Myers <joseph@codesourcery.com>
40836 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40837 Change from 2.6.0 to 2.6.16.
40838 * sysdeps/unix/sysv/linux/configure: Regenerated.
40839 * sysdeps/unix/sysv/linux/kernel-features.h
40840 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
40841 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
40843 (__ASSUME_UTIMES): Likewise.
40844 (__ASSUME_CLONE_STOPPED): Remove.
40845 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
40846 architectures, not kernel version.
40847 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
40848 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40849 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40850 (__ASSUME_WAITID_SYSCALL): Likewise.
40851 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
40852 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
40853 * README: State 2.6.16 as minimum Linux kernel version. Do not
40854 refer to older versions.
40856 2012-08-06 Roland McGrath <roland@hack.frob.com>
40858 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40859 Define alphasort64 as an alias.
40860 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40861 Define versionsort64 as an alias.
40862 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40863 Define scandir64 as an alias.
40864 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40865 Define scandirat64 as an alias.
40866 * dirent/alphasort64.c (alphasort64):
40867 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40868 * dirent/versionsort64.c: Likewise.
40869 * dirent/scandir64.c: Likewise.
40870 * dirent/scandirat64.c: Likewise.
40871 * sysdeps/wordsize-64/alphasort.c: File removed.
40872 * sysdeps/wordsize-64/alphasort64.c: File removed.
40873 * sysdeps/wordsize-64/scandir.c: File removed.
40874 * sysdeps/wordsize-64/scandir64.c: File removed.
40875 * sysdeps/wordsize-64/scandirat.c: File removed.
40876 * sysdeps/wordsize-64/scandirat64.c: File removed.
40877 * sysdeps/wordsize-64/versionsort.c: File removed.
40878 * sysdeps/wordsize-64/versionsort64.c: File removed.
40879 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40880 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40881 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40882 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40883 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40884 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40885 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40886 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40888 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40889 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40890 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40891 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40892 [defined __arch64__ || defined __sparcv9]
40893 (__INO_T_MATCHES_INO64_T): New macro.
40894 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40895 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40896 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40897 * sysdeps/unix/sysv/linux/bits/dirent.h
40898 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40899 (_DIRENT_MATCHES_DIRENT64): New macro.
40901 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40902 Define lockf64 as an alias.
40903 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40904 Define fseeko64 as an alias.
40905 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40906 Define ftello64 as an alias.
40907 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40908 Define _IO_fgetpos64 and fgetpos64 as aliases.
40909 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40910 Define _IO_fsetpos64 and fsetpos64 as aliases.
40911 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40912 Conditionalize body on this.
40913 * libio/fseeko64.c: Likewise.
40914 * libio/ftello64.c: Likewise.
40915 * libio/iofgetpos64.c: Likewise.
40916 * libio/iofsetpos64.c: Likewise.
40917 * sysdeps/wordsize-64/lockf.c: File removed.
40918 * sysdeps/wordsize-64/lockf64.c: File removed.
40919 * sysdeps/wordsize-64/fseeko.c: File removed.
40920 * sysdeps/wordsize-64/fseeko64.c: File removed.
40921 * sysdeps/wordsize-64/ftello.c: File removed.
40922 * sysdeps/wordsize-64/ftello64.c: File removed.
40923 * sysdeps/wordsize-64/iofgetpos.c: File removed.
40924 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40925 * sysdeps/wordsize-64/iofsetpos.c: File removed.
40926 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40927 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40928 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40929 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40930 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40931 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40932 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40933 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40934 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40935 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40936 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40938 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40939 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40940 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40941 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40942 [defined __arch64__ || defined __sparcv9]
40943 (__OFF_T_MATCHES_OFF64_T): New macro.
40944 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40945 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40946 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40947 (__OFF_T_MATCHES_OFF64_T): New macro.
40949 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40951 * stdlib/secure-getenv.c (__secure_getenv): Replace
40952 GLIBC_2_16 with GLIBC_2_17.
40954 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40956 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40957 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40959 2012-08-03 David S. Miller <davem@davemloft.net>
40961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40963 2012-08-03 Joseph Myers <joseph@codesourcery.com>
40965 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40967 (__ASSUME_CORRECT_SI_PID): Likewise.
40968 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40969 (__ASSUME_TMPFS_NAME): Likewise.
40970 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40971 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40972 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40973 (HAVE_AUX_SECURE): Make definition unconditional.
40974 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40975 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40977 2012-08-03 Roland McGrath <roland@hack.frob.com>
40979 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40980 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40981 * sysdeps/mach/hurd/eloop-threshold.h: New file.
40982 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40983 __eloop_threshold instead of SYMLOOP_MAX.
40985 * sysdeps/generic/eloop-threshold.h: New file.
40986 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40988 * elf/chroot_canon.c (chroot_canon): Likewise.
40990 2012-08-03 Joseph Myers <joseph@codesourcery.com>
40993 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40994 Change to 2.6.0 everywhere.
40995 * sysdeps/unix/sysv/linux/configure: Regenerated.
40996 * sysdeps/unix/sysv/linux/kernel-features.h
40997 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40998 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
41000 (__ASSUME_POSIX_TIMERS): Define unconditionally.
41001 (__ASSUME_FUTEX_REQUEUE): Remove.
41002 (__ASSUME_STATFS64): Define unconditionally.
41003 (__ASSUME_AT_SECURE): Likewise.
41004 (__ASSUME_CORRECT_SI_PID): Likewise.
41005 (__ASSUME_TGKILL): Define without depending on kernel version for
41007 (__ASSUME_UTIMES): Likewise.
41008 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
41010 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
41011 (__ASSUME_TMPFS_NAME): Likewise.
41012 * README: Update reference to Linux kernel versions.
41014 2012-08-02 Marek Polacek <polacek@redhat.com>
41017 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
41018 libc_cv_asm_type_prefix with %.
41019 * configure: Regenerated.
41020 * include/libc-symbols.h: Remove comment about
41021 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
41022 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
41023 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
41024 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
41025 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
41026 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
41027 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
41028 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
41029 * elf/tst-unique2mod1.c: Likewise.
41030 * elf/tst-unique1mod2.c: Likewise.
41031 * elf/tst-unique1mod1.c: Likewise.
41032 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
41033 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
41034 Replace ASM_TYPE_DIRECTIVE with .type.
41035 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41036 * sysdeps/i386/sysdep.h: Likewise.
41037 * sysdeps/x86_64/sysdep.h: Likewise.
41038 * sysdeps/sh/sysdep.h: Likewise.
41039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41040 Do not define ASM_TYPE_DIRECTIVE.
41041 * sysdeps/powerpc/sysdep.h: Likewise.
41042 * sysdeps/powerpc/powerpc32/sysdep.h:
41043 Replace ASM_TYPE_DIRECTIVE with .type.
41044 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41045 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41046 * sysdeps/i386/fpu/e_powf.S: Likewise.
41047 * sysdeps/i386/fpu/e_expl.S: Likewise.
41048 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41049 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41050 * sysdeps/i386/fpu/e_pow.S: Likewise.
41051 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41052 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41053 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41054 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41055 * sysdeps/i386/fpu/e_log2.S: Likewise.
41056 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41057 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41058 * sysdeps/i386/fpu/e_powl.S: Likewise.
41059 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41060 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41061 * sysdeps/i386/fpu/e_logl.S: Likewise.
41062 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41063 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41064 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41065 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41066 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41067 * sysdeps/i386/fpu/e_log.S: Likewise.
41068 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41069 * sysdeps/i386/fpu/e_logf.S: Likewise.
41070 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41071 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41072 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41073 * sysdeps/i386/fpu/e_log10.S: Likewise.
41074 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41075 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41076 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41077 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41078 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41079 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
41080 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41081 * sysdeps/i386/i686/strtok.S: Likewise.
41082 * sysdeps/i386/i386-mcount.S: Likewise.
41083 * sysdeps/i386/strtok.S: Likewise.
41084 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
41085 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41086 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41087 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41088 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41089 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41090 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41091 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41092 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41093 * sysdeps/x86_64/_mcount.S: Likewise.
41094 * sysdeps/x86_64/strtok.S: Likewise.
41095 * sysdeps/sh/_mcount.S: Likewise.
41097 2012-08-01 Roland McGrath <roland@hack.frob.com>
41099 * libio/iofopen.c: Include <fcntl.h>.
41100 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
41101 (_IO_fopen64, fopen64): Define as aliases.
41102 * libio/iofopen64.c: Include <fcntl.h>.
41103 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
41104 Conditionalize body on this.
41105 * sysdeps/wordsize-64/iofopen.c: File removed.
41106 * sysdeps/wordsize-64/iofopen64.c: File removed.
41108 2012-08-01 Marek Polacek <polacek@redhat.com>
41110 * libc/Makeconfig: Use elf in place of binfmt-subdir.
41111 Use dlfcn directly instead of a variable.
41112 (binfmt-subdir): Do not define.
41115 2012-08-01 Joseph Myers <joseph@codesourcery.com>
41117 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
41118 Remove all definitions.
41119 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
41120 <kernel-features.h>.
41121 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
41122 (miss_F_GETOWN_EX): Remove all definitions.
41123 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
41125 [!__ASSUME_FCNTL64]: Remove conditional code.
41126 [__ASSUME_FCNTL64]: Make code unconditional.
41127 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
41128 <kernel-features.h>.
41129 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
41130 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
41131 (lockf64) [__NR_fcntl64]: Make code unconditional.
41132 (lockf64) [__ASSUME_FCNTL64]: Likewise.
41134 * sysdeps/unix/sysv/linux/kernel-features.h
41135 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
41136 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
41137 Make code unconditional.
41138 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41139 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
41141 [__NR_vfork]: Make code unconditional.
41142 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41143 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
41145 [__NR_vfork]: Make code unconditional.
41146 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41147 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41149 2012-08-01 Roland McGrath <roland@hack.frob.com>
41151 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
41152 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
41154 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41155 Define mkstemp64 as an alias.
41156 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41157 Define mkstemps64 as an alias.
41158 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41159 Define mkostemp64 as an alias.
41160 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41161 Define mkostemps64 as an alias.
41162 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
41163 Conditionalize body on this.
41164 * misc/mkostemp64.c: Likewise.
41165 * misc/mkostemps64.c: Likewise.
41166 * misc/mkstemps64.c: Likewise.
41167 * sysdeps/wordsize-64/mkstemp64.c: File removed.
41168 * sysdeps/wordsize-64/mkostemp64.c: File removed.
41169 * sysdeps/wordsize-64/mkostemp.c: File removed.
41170 * sysdeps/wordsize-64/mkstemp.c: File removed.
41171 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
41172 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
41173 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
41174 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
41177 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
41178 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
41179 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
41180 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
41182 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
41183 compat_symbol macros from <shlib-compat.h> rather than the underlying
41184 default_symbol_version and symbol_version macros, so that DEFAULT
41185 lines in shlib-versions are respected.
41186 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
41188 2012-08-01 Florian Weimer <fweimer@redhat.com>
41190 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
41191 Declare with warn_unused_result.
41192 (setgid, setregid, setegid, setresgid): Likewise.
41193 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
41195 * WUR-REPORT: Remove set*id functions.
41197 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
41199 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
41201 2012-07-31 Roland McGrath <roland@hack.frob.com>
41204 * include/sys/socket.h (__libc_accept, __libc_accept4):
41205 Add attribute_hidden.
41206 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
41208 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
41210 * inet/getnetgrent_r.c (setup): Likewise.
41212 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
41214 2012-07-31 David S. Miller <davem@davemloft.net>
41216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41218 2012-07-31 Joseph Myers <joseph@codesourcery.com>
41221 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
41222 value between 1.0 and 2.0 and smaller part has absolute value less
41224 * math/s_clog10.c (__clog10): Likewise.
41225 * math/s_clog10f.c (__clog10f): Likewise.
41226 * math/s_clog10l.c (__clog10l): Likewise.
41227 * math/s_clogf.c (__clogf): Likewise.
41228 * math/s_clogl.c (__clogl): Likewise.
41229 * math/libm-test.inc (clog_test): Add more tests.
41230 (clog10_test): Likewise.
41231 * sysdeps/i386/fpu/libm-test-ulps: Update.
41232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41234 2012-07-31 Florian Weimer <fweimer@redhat.com>
41236 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
41237 Exit with zero in case no suitable GID is found, and write a
41238 message to standard error.
41240 2012-07-30 Roland McGrath <roland@hack.frob.com>
41242 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
41244 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
41245 (MAXPATHLEN): Removed.
41246 (NOGROUP, NODEV): New macros.
41247 (setbit, clrbit, isset, isclr): New macros.
41248 (howmany, roundup, powerof2): New macros.
41249 (DEV_BSIZE): New macro.
41251 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
41252 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
41254 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
41255 definition on [!__NO_LONG_DOUBLE_MATH].
41257 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
41258 PTR_MANGLE and PTR_DEMANGLE.
41260 * socket/accept4.c (accept4): Rename to __libc_accept4.
41261 Define accept4 as a weak alias.
41263 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
41264 on [_DIRENT_HAVE_D_TYPE].
41265 * io/ftw.c (ftw_dir): Likewise.
41267 * io/xmknod.c (__xmknod): Don't check PATH for being null.
41269 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
41271 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
41272 Use the BSD numbers rather than the arbitrary ones we had.
41273 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
41274 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
41275 (SIGXCPU, SIGXFSZ): New macros.
41278 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
41279 initializer on [_LIBC_REENTRANT].
41281 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
41282 definitions inside [_POSIX_MAPPED_FILES].
41284 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
41286 * dirent/opendir.c: Include <fcntl.h>.
41288 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
41289 (__libc_getspecific): Likewise.
41290 (__libc_key_create): Likewise.
41292 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
41293 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
41294 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
41295 (tmpfile64): Define as alias.
41296 * sysdeps/wordsize-64/tmpfile.c: File removed.
41297 * sysdeps/wordsize-64/tmpfile64.c: File removed.
41298 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
41299 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
41301 * stdio-common/vfscanf.c: Include <stdbool.h>.
41302 * nss/makedb.c: Likewise.
41303 * stdio-common/_i18n_number.h: Likewise.
41304 * argp/argp-help.c: Likewise.
41305 * posix/wordexp.c: Likewise.
41306 * sysdeps/posix/spawni.c: Likewise.
41307 * nss/nss_files/files-initgroups.c: Likewise.
41308 * stdio-common/reg-modifier.c: Include <stdlib.h>.
41309 * nss/nss_files/files-initgroups.c: Likewise.
41310 * nss/nss_db/db-netgrp.c: Likewise.
41311 * nss/nss_db/db-initgroups.c: Likewise.
41312 * io/fchmodat.c: Include <sys/stat.h>.
41314 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
41315 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
41317 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
41320 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
41321 Add multiple inclusion protection.
41323 2012-07-27 David S. Miller <davem@davemloft.net>
41325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41327 2012-07-27 Gary Benson <gbenson@redhat.com>
41330 * elf/rtld.c: Include <stap-probe.h>.
41331 (dl_main): Added static probes "init_start" and "init_complete".
41332 * elf/dl-load.c: Include <stap-probe.h>.
41333 (lose): Take new parameter "nsid".
41334 Added static probe "map_failed".
41335 (_dl_map_object_from_fd): Pass namespace id to lose.
41336 Added static probe "map_start".
41337 (open_verify): Pass namespace id to lose.
41338 * elf/dl-open.c: Include <stap-probe.h>.
41339 (dl_open_worker) Added static probes "map_complete", "reloc_start"
41340 and "reloc_complete".
41341 * elf/dl-close.c: Include <stap-probe.h>.
41342 (_dl_close_worker): Added static probes "unmap_start" and
41344 * elf/rtld-debugger-interface.txt: New file documenting the above.
41346 2012-07-26 Roland McGrath <roland@hack.frob.com>
41348 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
41349 rather than a string variable.
41350 * sunrpc/rpc_main.c (h_output): Likewise.
41351 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
41353 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
41355 * inet/check_native.c: New file.
41357 2012-07-26 Joseph Myers <joseph@codesourcery.com>
41360 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
41361 if larger part has absolute value 1.0.
41362 * math/s_clog10.c (__clog10): Likewise.
41363 * math/s_clog10f.c (__clog10f): Likewise.
41364 * math/s_clog10l.c (__clog10l): Likewise.
41365 * math/s_clogf.c (__clogf): Likewise.
41366 * math/s_clogl.c (__clogl): Likewise.
41367 * math/libm-test.inc (clog_test): Add more tests.
41368 (clog10_test): Likewise.
41369 * sysdeps/i386/fpu/libm-test-ulps: Update.
41370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41372 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
41373 (pltexit): Likewise.
41374 (La_regs): Likewise.
41375 (La_retval): Likewise.
41376 (int_retval): Likewise.
41377 Update #error for removed macros to refer only to definitions in
41379 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
41381 (pltexit): Likewise.
41382 (La_regs): Likewise.
41383 (La_retval): Likewise.
41384 (int_retval): Likewise.
41385 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
41387 (pltexit): Likewise.
41388 (La_regs): Likewise.
41389 (La_retval): Likewise.
41390 (int_retval): Likewise.
41391 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
41393 (pltexit): Likewise.
41394 (La_regs): Likewise.
41395 (La_retval): Likewise.
41396 (int_retval): Likewise.
41397 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
41399 (pltexit): Likewise.
41400 (La_regs): Likewise.
41401 (La_retval): Likewise.
41402 (int_retval): Likewise.
41403 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
41405 (pltexit): Likewise.
41406 (La_regs): Likewise.
41407 (La_retval): Likewise.
41408 (int_retval): Likewise.
41409 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
41411 (pltexit): Likewise.
41412 (La_regs): Likewise.
41413 (La_retval): Likewise.
41414 (int_retval): Likewise.
41415 * sysdeps/generic/tst-audit.h: Update comment to refer only to
41416 macro definitions in tst-audit.h.
41417 * sysdeps/i386/tst-audit.h: New file.
41418 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
41419 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
41420 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
41421 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
41422 * sysdeps/sh/tst-audit.h: Likewise.
41423 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
41424 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
41425 * sysdeps/x86_64/tst-audit.h: Likewise.
41427 2012-07-26 Andreas Jaeger <aj@suse.de>
41429 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
41432 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
41433 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
41434 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
41436 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
41437 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
41438 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
41440 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
41443 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
41445 (si_call_addr, si_syscall, si_arch): Define new macro.
41446 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
41448 (si_call_addr, si_syscall, si_arch): Define new marcro.
41449 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
41451 (si_call_addr, si_syscall, si_arch): Define new macro.
41452 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
41454 (si_call_addr, si_syscall, si_arch): Define new macro.
41456 2012-07-25 Joseph Myers <joseph@codesourcery.com>
41459 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41460 Change to 2.4.21 where previously 2.4.1.
41461 * sysdeps/unix/sysv/linux/configure: Regenerated.
41462 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
41463 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
41464 Linux kernel version.
41465 (__ASSUME_STD_AUXV): Remove.
41466 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
41468 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
41469 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
41470 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
41471 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
41472 (__ASSUME_NETLINK_SUPPORT): Likewise.
41473 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
41474 (__no_netlink_support): Remove conditional definition.
41475 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
41477 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41478 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
41479 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
41480 (if_nameindex_ioctl): Remove.
41481 (if_nameindex_netlink): Do not handle __no_netlink_support.
41482 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41484 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
41485 Remove conditional code.
41486 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41488 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
41490 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41491 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
41492 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
41494 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
41495 [!__ASSUME_STD_AUXV]: Remove conditional code.
41496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
41497 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
41498 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
41499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
41500 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
41501 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41503 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41505 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
41506 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41508 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
41510 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41513 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
41516 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41517 code unconditional.
41518 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41520 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41522 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41525 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41527 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
41530 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41531 code unconditional.
41532 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41534 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41536 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
41539 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41540 code unconditional.
41541 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41543 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41545 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41548 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
41550 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
41551 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
41552 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41553 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
41554 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
41555 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
41556 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
41557 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
41558 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
41559 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
41560 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
41561 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
41562 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
41563 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
41564 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
41565 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
41566 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
41567 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
41568 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
41569 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
41570 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
41571 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
41572 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41574 2012-07-25 Florian Weimer <fweimer@redhat.com>
41576 * Versions.def: Add GLIBC_2.17.
41577 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
41578 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
41579 Introduce __libc_secure_getenv.
41580 * stdlib/Versions (2.17): Add secure_getenv
41581 (GLIBC_PRIVATE): Add __libc_secure_getenv.
41582 * stdlib/secure-getenv.c: Rename __secure_getenv to
41583 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
41584 symbol __secure_getenv for GLIBC_2.0.
41585 * stdlib/tst-secure-getenv.c: New.
41586 * stdlib/Makefile (tests): Add testcase.
41587 * manual/startup.texi (Environment Access): Document
41589 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
41590 __libc_secure_getenv.
41591 * inet/ruserpass.c (ruserpass): Likewise.
41592 * malloc/mtrace.c (mtrace): Likewise.
41593 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
41594 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
41595 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
41596 * sysdeps/posix/tempname.c: Likewise. Evaluate
41597 HAVE_SECURE_GETENV.
41598 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
41599 __secure_getenv to __libc_secure_getenv.
41600 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
41601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41607 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41611 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41613 2012-07-25 Joseph Myers <joseph@codesourcery.com>
41615 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
41616 (struct La_i86_retval): Likewise.
41617 (struct La_x86_64_regs): Likewise.
41618 (struct La_x86_64_retval): Likewise.
41619 (struct La_x32_regs): Likewise.
41620 (struct La_x32_retval): Likewise.
41621 (struct La_ppc32_regs): Likewise.
41622 (struct La_ppc32_retval): Likewise.
41623 (struct La_ppc64_regs): Likewise.
41624 (struct La_ppc64_retval): Likewise.
41625 (struct La_sh_regs): Likewise.
41626 (struct La_sh_retval): Likewise.
41627 (struct La_s390_32_regs): Likewise.
41628 (struct La_s390_32_retval): Likewise.
41629 (struct La_s390_64_regs): Likewise.
41630 (struct La_s390_64_retval): Likewise.
41631 (struct La_sparc32_regs): Likewise.
41632 (struct La_sparc32_retval): Likewise.
41633 (struct La_sparc64_regs): Likewise.
41634 (struct La_sparc64_retval): Likewise.
41635 (struct audit_ifaces): Remove architecture-specific pltenter and
41637 * sysdeps/i386/ldsodefs.h: New file.
41638 * sysdeps/powerpc/ldsodefs.h: Likewise.
41639 * sysdeps/s390/ldsodefs.h: Likewise.
41640 * sysdeps/sh/ldsodefs.h: Likewise.
41641 * sysdeps/sparc/ldsodefs.h: Likewise.
41642 * sysdeps/x86_64/ldsodefs.h: Likewise.
41644 2012-07-25 Marek Polacek <polacek@redhat.com>
41647 * math/libm-test.inc (yn_test): Add another test.
41648 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
41649 to ERANGE when the result is +-Inf.
41650 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41651 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
41652 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
41653 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
41655 2012-07-24 Joseph Myers <joseph@codesourcery.com>
41657 * conform/data/time.h-data (NULL): Use macro-constant. Require
41659 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
41661 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
41663 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
41665 * configure.in <sysdeps resolving>: Correct printing
41667 * configure: Regenerate.
41669 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
41671 * math/w_ilogb.c: Include <limits.h>.
41672 * math/w_ilogbl.c: Likewise.
41674 2012-07-20 Joseph Myers <joseph@codesourcery.com>
41676 * manual/lang.texi (__va_copy): Document primarily as ISO C99
41677 va_copy. Document allowing for unavailable va_copy only as
41678 pre-C99 compatibility.
41679 * manual/string.texi (Copying and Concatenation): Use va_copy
41680 instead of __va_copy in concat example.
41682 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
41684 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
41685 (__sendto): Use create_address_port. Initialize APORT and deallocate
41688 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
41689 with O_NOLINK passed to __file_name_lookup.
41691 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
41692 with O_NOLINK passed to __file_name_lookup.
41694 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
41695 negative N or less than NGIDS.
41697 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
41698 type to string_t. Set ERANGE as errno and return it if NAME is not big
41699 enough. Use memcpy instead of strncpy.
41701 2012-07-20 Joseph Myers <joseph@codesourcery.com>
41703 * elf/Makefile (check-data): Remove.
41704 (localplt.data): New vpath directive.
41705 ($(objpfx)check-localplt.out): Use localplt.data from vpath
41706 instead of $(check-data).
41707 * scripts/data/localplt-generic.data: Move to ...
41708 * sysdeps/generic/localplt.data: ... here.
41709 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
41710 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
41711 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
41712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41714 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
41715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
41717 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
41718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
41720 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
41721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41723 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
41724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
41726 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
41727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
41730 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41732 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
41733 PPC32 and PPC64 files.
41734 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
41735 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
41737 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41739 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
41740 __makecontext_ret to ...
41741 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
41742 ... here and call exit if uc_link is NULL. New file.
41743 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
41744 __makecontext_ret.S.
41745 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
41746 __makecontext_ret to ...
41747 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
41748 ... here and call exit if uc_link is NULL. New file.
41749 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
41750 __makecontext_ret.S.
41752 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41754 * elf/elf.h (R_390_IRELATIVE): New definition.
41755 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
41756 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
41757 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
41758 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41759 (elf_machine_lazy_rel): Likewise.
41760 * sysdeps/s390/dl-irel.h: New file.
41761 * sysdeps/s390/s390-64/memcpy.S: New asm code.
41762 * sysdeps/s390/s390-64/memset.S: New asm code.
41763 * sysdeps/s390/s390-64/memcmp.S: New asm code.
41764 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
41765 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
41766 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
41767 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
41768 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
41769 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
41770 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
41771 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
41772 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
41773 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
41774 * sysdeps/s390/s390-32/memcpy.S: New asm code.
41775 * sysdeps/s390/s390-32/memset.S: New asm code.
41776 * sysdeps/s390/s390-32/memcmp.S: New asm code.
41778 2012-07-17 Marek Polacek <polacek@redhat.com>
41781 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
41782 * sysdeps/s390/s390-64/configure.in: Likewise.
41783 * sysdeps/sparc/configure.in: Likewise.
41784 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
41785 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
41786 * sysdeps/i386/configure.in: Likewise.
41787 * sysdeps/x86_64/configure.in: Likewise.
41788 * sysdeps/sh/configure.in: Likewise.
41789 * sysdeps/s390/s390-32/configure: Regenerated.
41790 * sysdeps/s390/s390-64/configure: Likewise.
41791 * sysdeps/x86_64/configure: Likewise.
41792 * sysdeps/sh/configure: Likewise.
41793 * sysdeps/powerpc/powerpc64/configure: Likewise.
41794 * sysdeps/powerpc/powerpc32/configure: Likewise.
41795 * sysdeps/sparc/configure: Likwise.
41796 * sysdeps/i386/configure: Likewise.
41798 * elf/dl-open.c: Comment fixes.
41800 2012-07-17 Joseph Myers <joseph@codesourcery.com>
41802 * Makefile [CXX] (check-data): Remove.
41803 [CXX] (c++-types.data): New vpath directive.
41804 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
41805 vpath. Do not allow for C++ type data being missing.
41806 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
41807 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
41808 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
41809 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
41810 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
41811 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
41812 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
41813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41815 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
41816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41818 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
41819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
41821 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
41822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
41824 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
41825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
41827 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
41828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
41830 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
41831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
41833 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
41834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
41836 * elf/tls-macros.h (TLS_LE): Move architecture-specific
41837 definitions to architecture-specific files.
41838 (TLS_IE): Likewise.
41839 (TLS_LD): Likewise.
41840 (TLS_GD): Likewise.
41841 * sysdeps/i386/tls-macros.h: New file.
41842 * sysdeps/powerpc/tls-macros.h: Likewise.
41843 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
41844 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
41845 * sysdeps/sh/tls-macros.h: Likewise.
41846 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
41847 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
41848 * sysdeps/x86_64/tls-macros.h: Likewise.
41850 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41852 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
41853 zero value for regular exit case.
41855 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
41856 (__start_context): Preserve zero value for regular exit case.
41858 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41859 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41861 * manual/setjmp.texi (setcontext): Clarify normal process
41862 termination when uc_link is the null pointer.
41863 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41866 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
41868 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41869 preprocessor. Test for each exception mask separately.
41871 2012-07-16 Andreas Jaeger <aj@suse.de>
41873 * po/ru.po: Update from translation team.
41875 2012-07-15 Joseph Myers <joseph@codesourcery.com>
41877 * conform/data/string.h-data (NULL): Use macro-constant. Require
41879 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41880 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41881 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41882 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41883 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41885 2012-07-13 Andreas Jaeger <aj@suse.de>
41887 * po/fr.po: Update from translation team.
41889 2012-07-12 Marek Polacek <polacek@redhat.com>
41892 * math/libm-test.inc (yn_test): Add test for BZ #14173.
41893 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41896 2012-07-12 Joseph Myers <joseph@codesourcery.com>
41899 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41900 Change to 2.4.1 where previously 2.4.0.
41901 * sysdeps/unix/sysv/linux/configure: Regenerated.
41902 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41903 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41905 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41906 (__ASSUME_AT_CLKTCK): Remove.
41907 (__ASSUME_AT_PAGESIZE): Likewise.
41908 (__ASSUME_AT_XID): Likewise.
41909 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41910 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41911 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41913 (HAVE_AUX_PAGESIZE): Likewise.
41914 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41915 [__ASSUME_AT_CLKTCK]: Make code unconditional.
41916 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41918 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
41921 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41922 the temporary buffer used to invoke __gethostbyname2_r,
41923 __gethostbyaddr_r and gethostbyname4_r to make room for struct
41924 host_data / struct gaih_addrtuple.
41925 * resolv/nss_dns/dns-host.c (global scope): Move definition of
41926 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41927 header file nss/nsswitch.h.
41928 * nss/nsswitch.h (global scope): Add definition of implementation
41929 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41930 resolv/nss_dns/dns-host.c).
41932 2012-07-11 Andreas Jaeger <aj@suse.de>
41934 * po/fr.po: Update from translation team.
41936 * po/sv.po: Update from translation team
41937 * po/fr.po: Another update from translation team.
41939 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41941 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41942 for subnormals or multiply small sinh result by itself.
41943 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41946 2012-07-11 David S. Miller <davem@davemloft.net>
41948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41950 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
41953 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41954 (INTERNAL_MARK): Shift it here.
41956 2012-07-10 Marek Polacek <polacek@redhat.com>
41959 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
41960 libc_cv_asm_global_directive with .globl.
41961 * configure: Regenerated.
41962 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41964 * sysdeps/i386/configure: Regenerated.
41965 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41967 * sysdeps/x86_64/configure: Regenerated.
41968 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41969 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41970 * elf/tst-unique2mod2.c: Likewise.
41971 * elf/tst-unique2mod1.c: Likewise.
41972 * elf/tst-unique1mod2.c: Likewise.
41973 * elf/tst-unique1mod1.c: Likewise.
41974 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41975 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41976 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41977 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41978 * sysdeps/mach/sysdep.h: Likewise.
41979 * sysdeps/i386/sysdep.h: Likewise.
41980 * sysdeps/i386/i386-mcount.S: Likewise.
41981 * sysdeps/x86_64/_mcount.S: Likewise.
41982 * sysdeps/x86_64/sysdep.h: Likewise.
41983 * sysdeps/sh/_mcount.S: Likewise.
41984 * sysdeps/sh/sysdep.h: Likewise.
41985 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41986 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41987 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41988 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41989 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41990 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41991 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41992 * locale/localeinfo.h: Likewise.
41993 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41994 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41996 2012-07-09 Roland McGrath <roland@hack.frob.com>
41999 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
42001 * manual/message.texi (The Uniforum approach): Likewise.
42002 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
42003 (glibc iconv Implementation): Likewise.
42005 2012-07-09 Joseph Myers <joseph@codesourcery.com>
42008 * math/s_clog.c (__clog): Avoid scaling a value down where that
42009 could result in underflow.
42010 * math/s_clog10.c (__clog10): Likewise.
42011 * math/s_clog10f.c (__clog10f): Likewise.
42012 * math/s_clog10l.c (__clog10l): Likewise.
42013 * math/s_clogf.c (__clogf): Likewise.
42014 * math/s_clogl.c (__clogl): Likewise.
42015 * math/libm-test.inc (clog_test): Add more tests.
42016 (clog10_test): Likewise.
42017 * sysdeps/i386/fpu/libm-test-ulps: Update.
42018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42020 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
42023 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
42024 by 7 not 8 to examine high bit of fractional part.
42027 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
42028 for call to __mcount_internal.
42029 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
42030 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
42031 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
42033 2012-07-06 Joseph Myers <joseph@codesourcery.com>
42036 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
42037 approximation for values within 0x1p-13f of an odd multiple of
42039 * math/libm-test.inc (tan_test): Do not allow spurious underflow
42040 exception. Add more tests.
42041 * sysdeps/i386/fpu/libm-test-ulps: Update.
42044 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
42045 inputs and return -1 for them. Do not check for +Inf in case not
42046 reachable for +Inf.
42047 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42048 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
42049 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
42050 and return -1 for them. Do not check for +Inf in case not
42051 reachable for +Inf.
42052 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
42054 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
42055 and return -1 for them. Do not check for +Inf in case not
42056 reachable for +Inf.
42057 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
42058 spurious underflow.
42059 * sysdeps/i386/fpu/libm-test-ulps: Update.
42060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42062 2012-07-06 Mike Frysinger <vapier@gentoo.org>
42064 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
42066 2012-07-05 Joseph Myers <joseph@codesourcery.com>
42070 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
42071 could result in spurious underflow. Scale down values above
42072 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
42073 * math/s_csqrtf.c (__csqrtf): Likewise.
42074 * math/s_csqrtl.c (__csqrtl): Likewise.
42075 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
42076 spurious underflow.
42077 * sysdeps/i386/fpu/libm-test-ulps: Update.
42078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42080 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
42082 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
42084 * catgets/xopen-msg.awk: New file.
42085 * catgets/xopen-msg.sed: Removed.
42087 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
42089 * intl/po2test.awk: New file.
42090 * intl/po2test.sed: Removed.
42092 2012-07-04 Joseph Myers <joseph@codesourcery.com>
42095 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
42096 or multiply small sinh result by itself.
42097 * math/s_ctanf.c (__ctanf): Likewise.
42098 * math/s_ctanh.c (__ctanh): Likewise.
42099 * math/s_ctanhf.c (__ctanhf): Likewise.
42100 * math/s_ctanhl.c (__ctanhl): Likewise.
42101 * math/s_ctanl.c (__ctanl): Likewise.
42102 * math/libm-test.inc (ctan_test_tonearest): New function.
42103 (ctan_test_towardzero): Likewise.
42104 (ctan_test_downward): Likewise.
42105 (ctan_test_upward): Likewise.
42106 (ctanh_test_tonearest): Likewise.
42107 (ctanh_test_towardzero): Likewise.
42108 (ctanh_test_downward): Likewise.
42109 (ctanh_test_upward): Likewise.
42110 (main): Call these new functions.
42111 * sysdeps/i386/fpu/libm-test-ulps: Update.
42112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42114 2012-07-03 Mike Frysinger <vapier@gentoo.org>
42116 * .gitignore: Delete /ports entry.
42118 2012-07-03 Andreas Jaeger <aj@suse.de>
42120 * po/bg.po: Update from translation team.
42121 * po/cs.po: Likewise.
42122 * po/de.po: Likewise.
42123 * po/hr.po: Likewise.
42124 * po/nl.pl: Likewise.
42125 * po/pl.po: Likewise.
42126 * po/vi.po: Likewise.
42128 2012-07-03 Joseph Myers <joseph@codesourcery.com>
42130 * Makeconfig [!+link] (+link-before-libc): New variable.
42131 [!+link] (+link-after-libc): Likewise.
42132 [!+link] (+link-tests): Likewise.
42133 [!+link] (+link): Define in terms of $(+link-before-libc) and
42134 $(+link-after-libc).
42135 [!+link-static] (+link-static-before-libc): New variable.
42136 [!+link-static] (+link-static-after-libc): Likewise.
42137 [!+link-static] (+link-static-tests): Likewise.
42138 [!+link-static] (+link-static): Define in terms of
42139 $(+link-static-before-libc) and $(+link-static-after-libc).
42140 [build-shared] (link-libc-before-gnulib): New variable.
42141 [build-shared] (link-libc-tests): Likewise.
42142 [build-shared] (link-libc): Define in terms of
42143 $(link-libc-before-gnulib).
42144 [!build-shared] (link-libc-tests): New variable.
42145 (link-libc-static-tests): New variable.
42146 [!gnulib] (gnulib-arch): New variable.
42147 [!gnulib] (gnulib-tests): Likewise.
42148 [!gnulib] (static-gnulib-arch): Likewise.
42149 [!gnulib] (static-gnulib-tests): Likewise.
42150 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
42151 Define with "=" instead of ":=".
42152 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
42153 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
42154 * Rules (binaries-all-notests): New variable.
42155 (binaries-all-tests): Likewise.
42156 (binaries-static-notests): Likewise.
42157 (binaries-static-tests): Likewise.
42158 (binaries-all): Define using $(binaries-all-notests) and
42159 $(binaries-all-tests).
42160 (binaries-static): Define using $(binaries-static-notests) and
42161 $(binaries-static-tests).
42162 (binaries-shared-tests): New variable.
42163 (binaries-shared-notests): Likewise.
42164 (binaries-shared): Remove variable.
42165 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
42166 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
42167 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
42168 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
42169 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
42170 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
42171 * elf/Makefile (sln-modules): New variable.
42172 (extra-objs): Add $(sln-modules:=.o).
42173 (ldconfig-modules): Add static-stubs.
42174 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
42175 * elf/static-stubs.c: New file.
42178 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
42179 by 7 not 8 to examine high bit of fractional part. Use volatile
42180 variables when splitting into final array of floats if
42181 __FLT_EVAL_METHOD__ != 0.
42182 * math/libm-test.inc (cos_test): Add another test.
42183 (sin_test): Likewise.
42184 * sysdeps/i386/fpu/libm-test-ulps: Update.
42187 * math/libm-test.inc (cosh_test): Add more tests.
42189 * version.h (RELEASE): Set to "development".
42190 (VERSION): Set to "2.16.90".
42192 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
42194 * NEWS: Update copyright. Remove last-updated date.
42195 Mention math library bug fixes and timezone data changes.
42196 * README: Mention GNU/Hurd, x32, and HPPA support status.
42198 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
42200 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
42202 2012-06-27 Andreas Jaeger <aj@suse.de>
42204 * manual/contrib.texi (Contributors): Add Samuel Thibault.
42206 2012-06-25 Andreas Jaeger <aj@suse.de>
42208 * sysdeps/s390/fpu/libm-test-ulps: Update.
42210 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
42211 Thomas Schwinge <thomas@codesourcery.com>
42213 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
42214 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
42215 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
42218 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
42220 * sysdeps/mach/start.c: Remove file.
42221 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
42222 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
42223 * sysdeps/sh/init-first.c: Likewise.
42225 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
42226 registers for frame unwinding purposes, add CFI directives.
42227 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
42228 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
42229 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
42232 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
42233 __fortify_fail returning.
42234 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
42236 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
42237 sysdeps/sh/____longjmp_chk.S.
42238 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
42239 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
42240 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
42241 (gen-as-const-headers): Append sigaltstack-offsets.sym.
42243 * sysdeps/sh/abort-instr.h: New file.
42244 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
42245 process in case exit returns.
42247 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
42248 initialize the GOT register before use.
42250 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
42251 calculation of ARGC > 4.
42253 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
42254 meaningful names to some local labels.
42256 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42257 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42259 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
42260 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
42261 (__arch_compare_and_exchange_val_16_acq): Likewise.
42262 (__arch_compare_and_exchange_val_32_acq): Likewise.
42263 (atomic_exchange_and_add): Fix gUSA sequence.
42264 (atomic_add): Likewise.
42265 (atomic_add_negative): Likewise.
42266 (atomic_add_zero): Likewise.
42267 (atomic_bit_test_set): Likewise.
42269 2012-06-22 Andreas Schwab <schwab@redhat.com>
42272 * include/link.h (struct link_map): Add l_free_initfini.
42273 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
42275 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
42276 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
42277 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
42280 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
42282 * configure.in: Use AC_LANG_SOURCE.
42283 * configure: Regenerate.
42285 2012-06-22 Roland McGrath <roland@hack.frob.com>
42287 * configure.in (libc_cv_localstatedir): New substituted variable.
42288 * configure: Regenerated.
42289 * config.make.in (localstatedir): New variable, substituted from
42290 libc_cv_localstatedir.
42291 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
42292 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
42293 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
42294 * sysdeps/gnu/configure: Regenerated.
42296 2012-06-21 Jeff Law <law@redhat.com>
42299 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
42300 free. Simplify list management for _LIBC case.
42302 2012-06-21 Joseph Myers <joseph@codesourcery.com>
42305 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
42306 Clear sign bit of 64-bit integer value before comparing against
42309 * sysdeps/mach/configure: Regenerated.
42311 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
42314 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
42316 2012-06-21 Jeff Law <law@redhat.com>
42319 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
42320 uint16_t for elements in the "seen" array to avoid char overflows.
42321 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42322 * elf/dl-open.c (dl_open_worker): Likewise.
42324 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
42326 * scripts/list-sources.sh: Scan PORTS for translations.
42327 * po/libc.pot: Regenerated.
42329 2012-06-21 Andreas Jaeger <aj@suse.de>
42332 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
42334 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
42335 * bits/byteswap-16.h (__bswap_16): Likewise.
42336 * bits/byteswap.h (__bswap_constant_16): Likewise.
42338 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
42341 * sysdeps/i386/fpu_control.h: Removed.
42342 * sysdeps/x86_64/fpu_control.h: Moved to ...
42343 * sysdeps/x86/fpu_control.h: Here.
42345 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
42346 (_FPU_SETCW): Likewise.
42348 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
42351 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
42352 * sysdeps/x86/fpu/bits/mathinline.h: This.
42353 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
42357 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
42358 functions if __x86_64__ is defined.
42360 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
42362 * string/endian.h: Add !__ASSEMBLER__ condition for including
42363 conversion interfaces.
42365 2012-06-15 Joseph Myers <joseph@codesourcery.com>
42368 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
42369 of ABS(x) in calculating zero to negative powers other than odd
42371 * math/libm-test.inc (pow_test): Add more tests.
42373 2012-06-15 Andreas Jaeger <aj@suse.de>
42375 * manual/contrib.texi (Contributors): Update entry of Liubov
42376 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
42379 2012-06-15 Cyril Hrubis <metan@ucw.cz>
42381 * string/string.h: Add __wur to GNU version of strerror_r.
42383 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
42386 * string/Makefile (tests): Add tst-strtok_r.
42387 * string/tst-strtok_r.c: New file.
42388 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
42389 RAX_LP/RDX_LP on SAVE_PTR.
42391 2012-06-14 Roland McGrath <roland@hack.frob.com>
42393 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
42395 2012-06-14 Joseph Myers <joseph@codesourcery.com>
42397 * libm_test.inc (csqrt_test): Allow more spurious underflow
42399 (j0_test): Likewise.
42400 (j1_test): Likewise.
42401 (y0_test): Likewise.
42402 (y1_test): Likewise.
42404 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
42406 * po/Makefile (libc.pot): Use UTF-8 charset.
42408 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
42411 Suppress sign-conversion warning from FD_SET.
42412 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
42413 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
42414 not unsigned long int.
42415 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
42417 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
42421 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
42422 __extern_always_inline instead of __extern_inline.
42423 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
42424 (__signbit): Likewise.
42425 (__signbitl): Support C++ namespace.
42426 (lrintf): New inline function.
42428 (llrintf): Likewise.
42429 (llrint): Likewise.
42439 (floorf): Likewise.
42440 (nearbyint): Likewise.
42441 (nearbyintf): Likewise.
42443 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
42445 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
42446 non-default versions.
42448 2012-06-11 Roland McGrath <roland@hack.frob.com>
42451 * manual/argp.texi (Argp): Reword argp_parse description slightly.
42453 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
42455 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
42456 (FE_UPWARD, FE_DOWNWARD): Don't define.
42457 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
42458 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42460 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
42462 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42463 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42465 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42467 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42468 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
42469 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
42470 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
42472 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
42475 * sysdeps/i386/fpu/bits/fenv.h: Removed.
42476 * sysdeps/i386/fpu/Implies: New file.
42477 * sysdeps/x86_64/fpu/Implies: Likewise.
42478 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
42479 * sysdeps/x86/fpu/bits/fenv.h: This.
42481 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
42484 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
42487 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
42488 character 0xffff that matches the last element of the
42491 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42493 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
42496 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42498 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
42499 values higher than 25.6283.
42501 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42503 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
42504 subnormal exponent extraction and add some __builtin_expect.
42505 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
42506 Fix for subnormal mantissa calculation.
42508 2012-06-04 Mike Frysinger <vapier@gentoo.org>
42510 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
42511 cpu2 is -1 and errno is not ENOSYS.
42513 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
42516 * sysdeps/i386/i486/bits/string.h: Renamed to ...
42517 * sysdeps/x86/bits/string.h: This.
42518 * sysdeps/x86_64/bits/string.h: Removed.
42520 * sysdeps/i386/i486/bits/string.h: Define inline functions only
42521 if not compiling for x86-64, but compiling for >= i486.
42523 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
42524 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
42526 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
42527 New macro from Linux kernel 3.4.0.
42528 (FP_XSTATE_MAGIC2): Likewise.
42529 (FP_XSTATE_MAGIC2_SIZE): Likewise.
42530 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
42531 (struct _fpx_sw_bytes): New struct.
42532 (struct _xsave_hdr): Likewise.
42533 (struct _ymmh_state): Likewise.
42534 (struct _xstate): Likewise.
42536 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
42537 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
42538 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
42539 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
42540 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
42541 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
42543 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
42544 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
42545 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
42546 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
42547 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
42548 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
42550 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42553 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
42554 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
42555 (sysdep_headers): Include sys/platform/ppc.h.
42556 * sysdeps/powerpc/test-gettimebase.c: Test for
42557 __ppc_get_timebase() to catch future ISA opcode/insn changes.
42558 * manual/Makefile (appendices): Include platform.texi.
42559 * manual/contrib.texi (Contributors): Update @node pointers.
42560 * manual/maint.texi (Maintenance): Likewise.
42561 (Platform): New node.
42562 * manual/platform.texi: New file. Document the new features.
42564 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42565 Jakub Jelinek <jakub@redhat.com>
42568 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
42569 where __builtin_expect is unavailable.
42571 2012-06-03 David S. Miller <davem@davemloft.net>
42573 * stdlib/longlong.h: Updated from GCC.
42575 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
42578 * sysdeps/powerpc/powerpc32/mcount.c: New file.
42579 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
42581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42582 (GLIBC_2.16): Likewise.
42584 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42586 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
42588 2012-06-01 Joseph Myers <joseph@codesourcery.com>
42590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
42591 (default-abi): New variable.
42592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
42593 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
42595 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
42597 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
42599 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
42602 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
42603 definition. Document in comment.
42605 2012-06-01 David S. Miller <davem@davemloft.net>
42607 * stdlib/longlong.h: Updated from GCC.
42609 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42612 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
42613 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
42614 sys/debugreg.h sys/io.h here.
42615 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
42616 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
42618 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
42619 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
42620 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
42621 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
42622 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
42623 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
42625 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
42626 Define only if __x86_64__ is defined.
42628 2012-06-01 Joseph Myers <joseph@codesourcery.com>
42631 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
42632 Use int64_t for variable i.
42633 * math/libm-test.inc (fmod_test): Add more tests.
42635 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
42636 z computation is not scheduled after fetestexcept.
42637 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
42638 Use math_force_eval instead of asm to ensure calculation scheduled
42639 before exception test.
42640 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
42641 Ensure a1 + u.d computation is not scheduled after fetestexcept.
42643 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
42645 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
42646 computation is not scheduled after fetestexcept.
42648 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42651 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
42652 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
42654 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42656 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
42657 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42659 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42662 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
42664 (__WCHAR_MIN): Support __WORDSIZE == 64.
42665 (__WCHAR_MAX): Likewise.
42667 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
42668 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
42671 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
42672 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
42675 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
42676 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
42678 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
42679 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
42681 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
42682 Defined to 1 if __x86_64__ isn't defined.
42683 (_STAT_VER_LINUX_OLD): New.
42684 (st_atime): Remove duplicate.
42685 (st_mtime): Likewise.
42686 (st_ctime): Likewise.
42688 2012-05-31 David S. Miller <davem@davemloft.net>
42690 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
42693 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
42695 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
42699 * elf/dl-reloc.c: Include <_itoa.h>.
42700 (_dl_reloc_bad_type): Remove use of INTUSE.
42701 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
42702 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
42703 * stdio-common/psiginfo.c (psiginfo): Likewise.
42704 * stdio-common/psignal.c (psignal): Likewise.
42705 * string/strsignal.c (strsignal): Likewise.
42706 * include/signal.h (_sys_siglist): Declare hidden proto.
42707 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
42708 INTVARDEF with libc_hidden_data_def.
42709 * stdio-common/itoa-udigits.c: Likewise.
42710 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
42711 (_itoa_lower_digits_internal): Remove declaration.
42712 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
42713 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
42714 (_sys_sigabbrev_internal): Remove aliases.
42715 (_sys_siglist): Define hidden alias.
42717 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
42719 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42722 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42725 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
42726 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
42728 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
42729 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
42730 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
42731 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
42732 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
42733 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
42735 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
42736 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
42737 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
42739 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
42747 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
42748 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
42749 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
42751 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
42752 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
42753 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
42754 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
42755 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
42756 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
42758 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
42759 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
42761 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
42762 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
42764 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
42765 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
42766 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
42768 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
42769 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
42771 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
42773 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
42774 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
42775 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
42777 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
42779 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
42781 2012-05-31 Joseph Myers <joseph@codesourcery.com>
42783 * math/math.h (M_El): Use two more decimal places.
42784 (M_LOG2El): Likewise.
42785 (M_LOG10El): Likewise.
42786 (M_LN2l): Likewise.
42787 (M_LN10l): Likewise.
42789 (M_PI_2l): Likewise.
42790 (M_PI_4l): Likewise.
42791 (M_1_PIl): Likewise.
42792 (M_2_PIl): Likewise.
42793 (M_2_SQRTPIl): Likewise.
42794 (M_SQRT2l): Likewise.
42795 (M_SQRT1_2l): Likewise.
42797 2012-05-31 David S. Miller <davem@davemloft.net>
42799 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
42800 values between float registers.
42801 * sysdeps/sparc/sparc64/memset.S: Likewise.
42802 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42804 2012-05-31 Mike Frysinger <vapier@gentoo.org>
42806 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
42807 -D_FORTIFY_SOURCE=1.
42808 (CPPFLAGS-tst-longjmp_chk.c): Define.
42809 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
42810 (CPPFLAGS-tst-longjmp_chk2.c): Define.
42811 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
42812 CFLAGS-tst-wchar-h.c.
42814 2012-05-31 Marek Polacek <polacek@redhat.com>
42817 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
42818 __endmntent_internal): Remove declaration.
42819 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
42820 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
42821 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
42823 2012-05-30 David S. Miller <davem@davemloft.net>
42825 * sysdeps/sparc/sparc32/soft-fp/q_util.c
42826 (___Q_simulate_exceptions): Use real FP ops rather than writing
42828 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
42831 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42834 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
42835 * sysdeps/x86/bits/xtitypes.h: This.
42837 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
42838 * sysdeps/x86/bits/wordsize.h: This.
42840 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
42841 * sysdeps/x86/bits/huge_vall.h: This.
42843 * sysdeps/i386/bits/select.h: Removed.
42844 * sysdeps/x86_64/bits/select.h: Renamed to ...
42845 * sysdeps/x86/bits/select.h: This.
42847 * sysdeps/i386/bits/setjmp.h: Removed.
42848 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
42849 * sysdeps/x86/bits/setjmp.h: This.
42851 * sysdeps/i386/bits/mathdef.h: Removed.
42852 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
42853 * sysdeps/x86/bits/mathdef.h: This.
42855 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
42858 * include/sys/socket.h (__connect_internal)
42859 (__libc_sa_len_internal): Remove declaration.
42860 (__connect, __libc_sa_len): Declare hidden_proto.
42861 (SA_LEN): Remove use of INTUSE.
42862 * socket/connect.c: Add libc_hidden_def.
42863 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42864 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42865 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42867 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42868 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42869 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42870 of adding _internal alias.
42872 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42875 * sysdeps/i386/bits/link.h: Removed.
42876 * sysdeps/i386/bits/linkmap.h: Likewise.
42877 * sysdeps/x86_64/bits/link.h: Renamed to ...
42878 * sysdeps/x86/bits/link.h: This.
42879 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42880 * sysdeps/x86/bits/linkmap.h: This.
42882 * sysdeps/i386/bits/endian.h: Removed.
42883 * sysdeps/x86_64/bits/endian.h: Renamed to ...
42884 * sysdeps/x86/bits/endian.h: This.
42886 * sysdeps/i386/bits/byteswap.h: Removed.
42887 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42888 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42889 * sysdeps/x86/bits/byteswap.h: This.
42890 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42891 * sysdeps/x86/bits/byteswap-16.h: This.
42892 * sysdeps/i386/Implies: Add x86.
42893 * sysdeps/x86_64/Implies: Likewise.
42895 2012-05-30 David S. Miller <davem@davemloft.net>
42897 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42898 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42899 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42900 (FP_TRAPPING_EXCEPTIONS): Define.
42901 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42902 (FP_TRAPPING_EXCEPTIONS): Define.
42903 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42904 subnormals only when inexact has been signalled or underflow
42905 exceptions are enabled.
42906 (_FP_PACK_CANONICAL): Likewise.
42908 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42911 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42912 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42914 2012-05-30 Richard Henderson <rth@twiddle.net>
42916 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42917 with #ifndef NOT_IN_libc.
42919 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
42920 marked to avoid plt entry.
42922 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42925 * Makeconfig (default-abi): New macro.
42926 (abi-includes): Likewise.
42927 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
42928 $(abi-$(default-abi)-lib-soname) for soname if defined.
42929 ($(common-objpfx)gnu/lib-names.stmp): Generate from
42931 * Makefile (installed-stubs): Likewise.
42932 * include/stubs-biarch.h: Removed.
42933 * scripts/lib-names.awk: Only handle one library at a time.
42934 * scripts/soversions.awk: Remove WORDSIZE support.
42935 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42937 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42939 (syscall-list-default-condition): Likewise.
42940 (syscall-list-default-condition): Likewise.
42941 (syscall-list-includes): Likewise.
42942 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42943 syscall-list-* with abi-*. Handle undefined abi-variants.
42944 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42945 * sysdeps/unix/sysv/linux/i386/Implies: New file.
42946 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42947 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42948 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42949 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42951 (syscall-list-32-options): Likewise.
42952 (syscall-list-32-condition): Likewise.
42953 (syscall-list-64-options): Likewise.
42954 (syscall-list-64-condition): Likewise.
42955 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42957 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42960 (abi-64-ld-soname): New macro.
42961 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42962 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42965 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42966 * sysdeps/x86_64/x32/shlib-versions: Likewise.
42968 2012-05-30 Joseph Myers <joseph@codesourcery.com>
42970 * sysdeps/unix/sysv/linux/kernel-features.h
42971 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42972 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42973 include <kernel-features.h>.
42974 [!__NR_ftruncate64]: Remove conditional code.
42975 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42976 [__NR_ftruncate64]: Make code unconditional.
42977 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42978 * sysdeps/unix/sysv/linux/truncate64.c: Do not
42979 include <kernel-features.h>.
42980 [!__NR_ftruncate64]: Remove conditional code.
42981 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42982 [__NR_ftruncate64]: Make code unconditional.
42983 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42985 include <kernel-features.h>.
42986 [!__NR_ftruncate64]: Remove conditional code.
42987 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42988 [__NR_ftruncate64]: Make code unconditional.
42989 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42991 include <kernel-features.h>.
42992 [!__NR_ftruncate64]: Remove conditional code.
42993 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42994 [__NR_ftruncate64]: Make code unconditional.
42995 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42997 * configure.in (libc_cv_fpie): Weaken to a compile test using
42998 LIBC_TRY_CC_OPTION.
42999 * configure: Regenerated.
43001 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
43004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
43005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
43006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
43009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
43010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
43011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
43012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
43013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43016 2012-05-27 David S. Miller <davem@davemloft.net>
43018 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
43020 (__Q_simulate_exceptions): Return void. Change to simulate
43021 exceptions by writing into the %fsr.
43022 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
43023 (__Qp_handle_exceptions): Likewise.
43025 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
43026 __Qp_handle_exceptions.
43027 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
43028 __Qp_handle_exceptions.
43029 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
43030 as unused and give dummy FP_RND_NEAREST initializer.
43031 (FP_INHIBIT_RESULTS): Define.
43032 (___Q_simulate_exceptions): Update declaration.
43033 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
43035 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
43036 as unused and give dummy FP_RND_NEAREST initializer.
43037 (__Qp_handle_exceptions): Update declaration.
43038 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
43041 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
43043 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
43044 the temporary FPU control word.
43045 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
43046 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
43047 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
43048 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43049 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
43050 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
43051 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
43052 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43053 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
43054 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
43055 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43057 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43059 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
43062 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
43064 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
43065 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
43066 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
43067 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
43069 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
43070 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
43073 2012-05-27 Ulrich Drepper <drepper@gmail.com>
43075 * po/h.po: Update from translation team.
43077 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
43079 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
43081 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
43082 handling of denormals.
43083 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43084 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
43085 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43086 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43087 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43088 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
43089 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
43092 2012-05-26 Marek Polacek <polacek@redhat.com>
43095 * math/libm-test.inc (fma_test): Don't always expect underflow
43098 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
43101 * elf/tst-execstack.c: Include stackinfo.h.
43102 (do_test): Adjust test case to ensure that pthread_getattr_np
43103 behaviour remains the same after marking stack executable.
43105 2012-05-25 Joseph Myers <joseph@codesourcery.com>
43107 * sysdeps/unix/sysv/linux/kernel-features.h
43108 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
43109 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
43111 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
43112 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
43113 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
43115 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
43116 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
43118 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
43120 * configure.in: Define the default includes to being none.
43121 * configure: Regenerated.
43123 2012-05-25 Roland McGrath <roland@hack.frob.com>
43125 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
43126 * sysdeps/x86_64/setjmp.S: Likewise.
43127 * sysdeps/i386/bsd-setjmp.S: Likewise.
43128 * sysdeps/i386/bsd-_setjmp.S: Likewise.
43129 * sysdeps/i386/setjmp.S: Likewise.
43130 * sysdeps/i386/__longjmp.S: Likewise.
43131 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43132 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
43134 * include/stap-probe.h: New file.
43135 * configure.in: Handle --enable-systemtap.
43136 * configure: Regenerated.
43137 * config.h.in (USE_STAP_PROBE): New #undef.
43138 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
43139 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
43140 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43142 2012-05-25 Joseph Myers <joseph@codesourcery.com>
43145 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43146 to 2.4.0 where earlier.
43147 * sysdeps/unix/sysv/linux/configure: Regenerated.
43148 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
43149 <kernel-features.h>.
43150 [__ASSUME_32BITUIDS]: Make code unconditional.
43151 [!__ASSUME_32BITUIDS]: Remove conditional code.
43152 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
43153 <kernel-features.h>.
43154 [__ASSUME_32BITUIDS]: Make code unconditional.
43155 [!__ASSUME_32BITUIDS]: Remove conditional code.
43156 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
43157 [__ASSUME_32BITUIDS]: Make code unconditional.
43158 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
43159 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
43160 <kernel-features.h>.
43161 [__ASSUME_32BITUIDS]: Make code unconditional.
43162 [!__ASSUME_32BITUIDS]: Remove conditional code.
43163 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
43164 <kernel-features.h>.
43165 [__ASSUME_32BITUIDS]: Make code unconditional.
43166 [!__ASSUME_32BITUIDS]: Remove conditional code.
43167 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
43168 <kernel-features.h>.
43169 [__ASSUME_32BITUIDS]: Make code unconditional.
43170 [!__ASSUME_32BITUIDS]: Remove conditional code.
43171 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
43172 <kernel-features.h>.
43173 [__ASSUME_32BITUIDS]: Make code unconditional.
43174 [!__ASSUME_32BITUIDS]: Remove conditional code.
43175 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
43176 <kernel-features.h>.
43177 [__ASSUME_32BITUIDS]: Make code unconditional.
43178 [!__ASSUME_32BITUIDS]: Remove conditional code.
43179 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
43180 <kernel-features.h>.
43181 [__ASSUME_32BITUIDS]: Make code unconditional.
43182 [!__ASSUME_32BITUIDS]: Remove conditional code.
43183 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
43184 <kernel-features.h>.
43185 [__ASSUME_32BITUIDS]: Make code unconditional.
43186 [!__ASSUME_32BITUIDS]: Remove conditional code.
43187 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
43188 <kernel-features.h>.
43189 [__ASSUME_32BITUIDS]: Make code unconditional.
43190 [!__ASSUME_32BITUIDS]: Remove conditional code.
43191 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
43192 <kernel-features.h>.
43193 [__ASSUME_32BITUIDS]: Make code unconditional.
43194 [!__ASSUME_32BITUIDS]: Remove conditional code.
43195 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
43196 <kernel-features.h>.
43197 [__ASSUME_32BITUIDS]: Make code unconditional.
43198 [!__ASSUME_32BITUIDS]: Remove conditional code.
43199 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
43200 <kernel-features.h>.
43201 [__NR_setresgid] (__setresgid): Do not declare.
43202 [__ASSUME_32BITUIDS]: Make code unconditional.
43203 [!__ASSUME_32BITUIDS]: Remove conditional code.
43204 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
43205 <kernel-features.h>.
43206 [__NR_setresuid] (__setresuid): Do not declare.
43207 [__ASSUME_32BITUIDS]: Make code unconditional.
43208 [!__ASSUME_32BITUIDS]: Remove conditional code.
43209 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
43210 <kernel-features.h>.
43211 [__ASSUME_32BITUIDS]: Make code unconditional.
43212 [!__ASSUME_32BITUIDS]: Remove conditional code.
43213 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
43214 <kernel-features.h>.
43215 [__ASSUME_32BITUIDS]: Make code unconditional.
43216 [!__ASSUME_32BITUIDS]: Remove conditional code.
43217 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
43218 <kernel-features.h>.
43219 [__ASSUME_32BITUIDS]: Make code unconditional.
43220 [!__ASSUME_32BITUIDS]: Remove conditional code.
43221 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
43222 <kernel-features.h>.
43223 [__ASSUME_32BITUIDS]: Make code unconditional.
43224 [!__ASSUME_32BITUIDS]: Remove conditional code.
43225 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
43226 <kernel-features.h>.
43227 [__ASSUME_32BITUIDS]: Make code unconditional.
43228 [!__ASSUME_32BITUIDS]: Remove conditional code.
43229 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
43230 <kernel-features.h>.
43231 [__ASSUME_32BITUIDS]: Make code unconditional.
43232 [!__ASSUME_32BITUIDS]: Remove conditional code.
43233 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
43234 <kernel-features.h>.
43235 [__ASSUME_32BITUIDS]: Make code unconditional.
43236 [!__ASSUME_32BITUIDS]: Remove conditional code.
43237 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
43238 <kernel-features.h>.
43239 [__ASSUME_32BITUIDS]: Make code unconditional.
43240 [!__ASSUME_32BITUIDS]: Remove conditional code.
43241 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
43242 <kernel-features.h>.
43243 [__ASSUME_32BITUIDS]: Make code unconditional.
43244 [!__ASSUME_32BITUIDS]: Remove conditional code.
43245 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
43246 <kernel-features.h>.
43247 [__ASSUME_32BITUIDS]: Make code unconditional.
43248 [!__ASSUME_32BITUIDS]: Remove conditional code.
43249 * sysdeps/unix/sysv/linux/kernel-features.h
43250 (__ASSUME_SETRESUID_SYSCALL): Remove.
43251 (__ASSUME_SETRESGID_SYSCALL): Likewise.
43252 (__ASSUME_32BITUIDS): Likewise.
43253 (__ASSUME_LDT_WORKS): Likewise.
43254 (__ASSUME_O_DIRECTORY): Likewise.
43255 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
43256 architecture but not kernel version.
43257 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
43258 (__ASSUME_MMAP2_SYSCALL): Likewise.
43259 (__ASSUME_STAT64_SYSCALL): Likewise.
43260 (__ASSUME_IPC64): Likewise.
43261 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
43262 <kernel-features.h>.
43263 [__ASSUME_32BITUIDS]: Make code unconditional.
43264 [!__ASSUME_32BITUIDS]: Remove conditional code.
43265 * sysdeps/unix/sysv/linux/opendir.c: Do not include
43266 <kernel-features.h>.
43267 [__ASSUME_O_DIRECTORY]: Make code unconditional.
43268 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
43269 132096]: Remove conditional code.
43270 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
43271 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
43272 <kernel-features.h>.
43273 [__ASSUME_32BITUIDS]: Make code unconditional.
43274 [!__ASSUME_32BITUIDS]: Remove conditional code.
43275 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
43276 <kernel-features.h>.
43277 [__ASSUME_32BITUIDS]: Make code unconditional.
43278 [!__ASSUME_32BITUIDS]: Remove conditional code.
43279 * sysdeps/unix/sysv/linux/setegid.c: Do not include
43280 <kernel-features.h>.
43281 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
43283 (__setresgid): Do not declare.
43284 [__ASSUME_32BITUIDS]: Make code unconditional.
43285 [!__ASSUME_32BITUIDS]: Remove conditional code.
43286 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
43287 <kernel-features.h>.
43288 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
43290 (__setresuid): Do not declare.
43291 [__ASSUME_32BITUIDS]: Make code unconditional.
43292 [!__ASSUME_32BITUIDS]: Remove conditional code.
43293 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
43298 <kernel-features.h>.
43299 [__ASSUME_32BITUIDS]: Make code unconditional.
43300 [!__ASSUME_32BITUIDS]: Remove conditional code.
43302 2012-05-25 Richard Henderson <rth@twiddle.net>
43304 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
43305 dl_hwcap to ifunc resolver.
43306 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
43308 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
43309 dl_hwcap to ifunc resolver.
43310 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
43312 2012-05-24 Joseph Myers <joseph@codesourcery.com>
43315 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
43316 for |x| <= 2**-26, not 2**-57.
43317 * math/libm-test.inc (acos_test): Do not allow spurious underflow
43320 2012-05-24 Jeff Law <law@redhat.com>
43322 * stdio-common/Makefile (tests): Add bug25.
43323 * stdio-common/bug25.c: New test.
43325 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
43328 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
43329 multiple of MALLOC_ALIGNMENT in size.
43330 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
43332 2012-05-24 Joseph Myers <joseph@codesourcery.com>
43334 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
43336 (FILENAME_MAX): Use macro-int-constant.
43337 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
43338 (_IOFBF): Use macro-int-constant.
43339 (_IOLBF): Likewise.
43340 (_IONBF): Likewise.
43341 (SEEK_CUR): Likewise.
43342 (SEEK_END): Likewise.
43343 (SEEK_SET): Likewise.
43344 (TMP_MAX): Likewise.
43345 (EOF): Use macro-int-constant. Require < 0.
43346 (NULL): Use macro-constant. Require == 0.
43347 (stdin): Require type to be FILE *.
43348 (stdout): Likewise.
43349 (stderr): Likewise.
43350 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
43351 macro-int-constant.
43352 (EXIT_SUCCESS): Likewise.
43353 (NULL): Use macro-constant. Require == 0.
43354 (RAND_MAX): Use macro-int-constant.
43355 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
43356 [C99-based standards] (strtof): Require function.
43357 [C99-based standards] (strtold): Likewise.
43358 [C99-based standards] (strtoll): Likewise.
43359 [C99-based standards] (strtoull): Likewise.
43360 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43361 [ISO || ISO99 || ISO11] (limits.h): Likewise.
43362 [ISO || ISO99 || ISO11] (math.h): Likewise.
43363 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
43364 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43365 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43367 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
43370 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
43371 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
43372 * intl/dgettext.c (DCGETTEXT): Likewise.
43373 * intl/gettext.c (DCGETTEXT): Likewise.
43374 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
43375 * posix/regex_internal.h (gettext): Likewise.
43376 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
43377 Remove declaration.
43378 * include/argz.h (__argz_count_internal)
43379 (__argz_stringify_internal): Remove declaration.
43380 (__argz_count, __argz_stringify): Declare hidden proto.
43381 * intl/dcgettext.c: Remove use of INTDEF.
43382 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
43383 * string/argz-stringify.c: Likewise.
43384 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
43385 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
43386 Declare hidden proto.
43387 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
43388 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
43389 Declare hidden proto.
43390 * include/stdio.h (__asprintf_internal): Don't declare.
43391 (__asprintf): Don't define as macro. Declare hidden proto.
43392 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
43393 (__fsetlocking): Declare hidden proto.
43394 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
43395 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
43397 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
43398 (_IO_setlinebuf): Remove use of INTUSE.
43399 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
43400 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
43401 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
43402 Remove declaration.
43403 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
43404 (_IO_do_flush): Remove use of INTUSE.
43405 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
43406 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
43407 (_IO_adjust_column, _IO_least_wmarker)
43408 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
43409 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
43410 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
43411 (_IO_default_doallocate, _IO_wdefault_doallocate)
43412 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
43413 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
43414 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
43415 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
43416 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
43417 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
43418 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
43419 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
43420 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
43421 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
43422 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
43423 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
43424 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
43426 (_IO_flush_all_internal, _IO_adjust_column_internal)
43427 (_IO_default_uflow_internal, _IO_default_finish_internal)
43428 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
43429 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
43430 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
43431 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
43432 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
43433 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
43434 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
43435 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
43436 (_IO_file_close_internal, _IO_file_close_it_internal)
43437 (_IO_file_underflow_internal, _IO_file_overflow_internal)
43438 (_IO_file_init_internal, _IO_file_attach_internal)
43439 (_IO_file_fopen_internal, _IO_file_read_internal)
43440 (_IO_file_sync_internal, _IO_file_seek_internal)
43441 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
43442 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
43443 (_IO_str_underflow_internal, _IO_str_overflow_internal)
43444 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
43445 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
43446 (_IO_list_all_internal, _IO_link_in_internal)
43447 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
43448 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
43449 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
43450 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
43451 (_IO_do_write_internal, _IO_padn_internal)
43452 (_IO_getline_info_internal, _IO_getline_internal)
43453 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
43454 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
43455 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
43456 (_IO_vfscanf_internal, _IO_vfprintf_internal)
43457 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
43458 (_IO_init_internal, _IO_un_link_internal): Don't declare.
43459 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
43460 with libc_hidden_ver, remove use of INTUSE.
43461 * libio/genops.c: Likewise.
43462 * libio/freopen.c: Likewise.
43463 * libio/freopen64.c: Likewise.
43464 * libio/iofclose.c: Likewise.
43465 * libio/iofdopen.c: Likewise.
43466 * libio/iofflush.c: Likewise.
43467 * libio/iofflush_u.c: Likewise.
43468 * libio/iofgets.c: Likewise.
43469 * libio/iofgets_u.c: Likewise.
43470 * libio/iofopen.c: Likewise.
43471 * libio/iofopncook.c: Likewise.
43472 * libio/iofread.c: Likewise.
43473 * libio/iofread_u.c: Likewise.
43474 * libio/ioftell.c: Likewise.
43475 * libio/iofwrite.c: Likewise.
43476 * libio/iogetline.c: Likewise.
43477 * libio/iogets.c: Likewise.
43478 * libio/iogetwline.c: Likewise.
43479 * libio/iopadn.c: Likewise.
43480 * libio/iopopen.c: Likewise.
43481 * libio/ioseekoff.c: Likewise.
43482 * libio/ioseekpos.c: Likewise.
43483 * libio/iosetbuffer.c: Likewise.
43484 * libio/iosetvbuf.c: Likewise.
43485 * libio/ioungetc.c: Likewise.
43486 * libio/ioungetwc.c: Likewise.
43487 * libio/iovdprintf.c: Likewise.
43488 * libio/iovsprintf.c: Likewise.
43489 * libio/iovsscanf.c: Likewise.
43490 * libio/memstream.c: Likewise.
43491 * libio/obprintf.c: Likewise.
43492 * libio/oldfileops.c: Likewise.
43493 * libio/oldiofclose.c: Likewise.
43494 * libio/oldiofdopen.c: Likewise.
43495 * libio/oldiofopen.c: Likewise.
43496 * libio/oldiopopen.c: Likewise.
43497 * libio/oldstdfiles.c: Likewise.
43498 * libio/putc.c: Likewise.
43499 * libio/setbuf.c: Likewise.
43500 * libio/setlinebuf.c: Likewise.
43501 * libio/stdfiles.c: Likewise.
43502 * libio/strops.c: Likewise.
43503 * libio/vasprintf.c: Likewise.
43504 * libio/vscanf.c: Likewise.
43505 * libio/vsnprintf.c: Likewise.
43506 * libio/vswprintf.c: Likewise.
43507 * libio/wfiledoalloc.c: Likewise.
43508 * libio/wfileops.c: Likewise.
43509 * libio/wgenops.c: Likewise.
43510 * libio/wmemstream.c: Likewise.
43511 * libio/wstrops.c: Likewise.
43512 * libio/__fpurge.c: Likewise.
43513 * libio/__fsetlocking.c: Likewise.
43514 * assert/assert.c: Likewise.
43515 * debug/fgets_chk.c: Likewise.
43516 * debug/fgets_u_chk.c: Likewise.
43517 * debug/fread_chk.c: Likewise.
43518 * debug/fread_u_chk.c: Likewise.
43519 * debug/gets_chk.c: Likewise.
43520 * debug/obprintf_chk.c: Likewise.
43521 * debug/vasprintf_chk.c: Likewise.
43522 * debug/vdprintf_chk.c: Likewise.
43523 * debug/vsnprintf_chk.c: Likewise.
43524 * debug/vsprintf_chk.c: Likewise.
43525 * malloc/mtrace.c: Likewise.
43526 * misc/error.c: Likewise.
43527 * misc/syslog.c: Likewise.
43528 * stdio-common/asprintf.c: Likewise.
43529 * stdio-common/fxprintf.c: Likewise.
43530 * stdio-common/getw.c: Likewise.
43531 * stdio-common/isoc99_fscanf.c: Likewise.
43532 * stdio-common/isoc99_scanf.c: Likewise.
43533 * stdio-common/isoc99_vfscanf.c: Likewise.
43534 * stdio-common/isoc99_vscanf.c: Likewise.
43535 * stdio-common/isoc99_vsscanf.c: Likewise.
43536 * stdio-common/printf-prs.c: Likewise.
43537 * stdio-common/printf_fp.c: Likewise.
43538 * stdio-common/printf_fphex.c: Likewise.
43539 * stdio-common/printf_size.c: Likewise.
43540 * stdio-common/putw.c: Likewise.
43541 * stdio-common/scanf.c: Likewise.
43542 * stdio-common/sprintf.c: Likewise.
43543 * stdio-common/tmpfile.c: Likewise.
43544 * stdio-common/vfprintf.c: Likewise.
43545 * stdio-common/vfscanf.c: Likewise.
43546 * stdlib/strfmon_l.c: Likewise.
43547 * sunrpc/openchild.c: Likewise.
43548 * sunrpc/xdr_stdio.c: Likewise.
43549 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
43550 * sysdeps/mach/hurd/tmpfile.c: Likewise.
43552 2012-05-24 Roland McGrath <roland@hack.frob.com>
43554 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43556 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
43557 in the third column, to generate for the shared library an IFUNC
43558 that uses _dl_vdso_vsym.
43559 * Makerules (COMPILE.c, compile-stdin.c): New variables.
43560 * Makeconfig (object-suffixes-noshared): New variable.
43562 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
43563 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
43564 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
43565 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
43568 * include/sys/time.h (__gettimeofday): Remove macro.
43569 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
43570 * time/gettimeofday.c (__gettimeofday): Remove #undef.
43572 (__gettimeofday): Add libc_hidden_def.
43573 (gettimeofday): Add libc_hidden_weak.
43574 * sysdeps/mach/gettimeofday.c: Likewise.
43575 * sysdeps/posix/gettimeofday.c: Likewise.
43576 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
43577 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
43578 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
43579 (__gettimeofday_internal): Remove strong_alias.
43580 (__gettimeofday): Add libc_hidden_def.
43581 (gettimeofday): Add libc_hidden_weak.
43582 * sysdeps/unix/syscalls.list (gettimeofday):
43583 Remove __gettimeofday_internal alias.
43585 2012-05-24 Daniel Jacobowitz <drow@false.org>
43586 H.J. Lu <hongjiu.lu@intel.com>
43589 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
43590 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
43591 (largebin_index_32_big): New.
43592 (largebin_index): Use it for 16-byte alignment.
43593 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
43594 correction with front_misalign.
43596 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
43598 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
43599 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
43601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
43603 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
43605 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
43607 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
43609 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
43611 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
43613 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
43615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
43617 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
43619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
43621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
43624 * scripts/data/c++-types-x32-linux-gnu.data: New file.
43625 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
43627 2012-05-24 Joseph Myers <joseph@codesourcery.com>
43631 * math/libm-test.inc (exp_test): Add test from bug 14036.
43632 (pow_test): Add test from bug 10846.
43634 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
43636 (special_function): Do not include flags in test name.
43637 (parse_args): Likewise.
43638 * sysdeps/i386/fpu/libm-test-ulps: Update.
43639 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43640 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43641 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43644 * math/gen-libm-test.pl (%beautify): Add entries for underflow
43646 * math/libm-test.inc ("Philosophy"): Update comment about
43648 (UNDERFLOW_EXCEPTION): New macro.
43649 (UNDERFLOW_EXCEPTION_OK): Likewise.
43650 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
43651 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
43652 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
43653 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
43654 (INVALID_EXCEPTION_OK): Update value.
43655 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43656 (OVERFLOW_EXCEPTION_OK): Likewise.
43657 (IGNORE_ZERO_INF_SIGN): Likewise.
43658 (test_exceptions): Handle underflow exceptions.
43659 (acos_test): Update for underflow exception expectations.
43660 (cexp_test): Likewise.
43661 (clog_test): Likewise.
43662 (clog10_test): Likewise.
43663 (csqrt_test): Likewise.
43664 (ctan_test): Likewise.
43665 (ctanh_test): Likewise.
43666 (exp_test): Likewise.
43667 (exp10_test): Likewise.
43668 (exp2_test): Likewise.
43669 (expm1_test): Likewise.
43670 (fma_test): Likewise.
43671 (j0_test): Likewise.
43672 (jn_test): Likewise.
43673 (nexttoward_test): Likewise.
43674 (pow_test): Likewise.
43675 (scalbn_test): Likewise.
43676 (scalbln_test): Likewise.
43677 (tan_test): Likewise.
43678 (y1_test): Likewise.
43679 * sysdeps/i386/fpu/libm-test-ulps: Update.
43680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43682 2012-05-23 David S. Miller <davem@davemloft.net>
43684 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43685 (__libc_sigaction): Remove unused local variables.
43687 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43689 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
43691 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
43693 mktime: avoid signed integer overflow
43694 * time/mktime.c (__mktime_internal): Do not mishandle the case
43695 where diff == INT_MIN.
43697 mktime: simplify computation of average
43698 * time/mktime.c (ranged_convert): Use new time_t_avg function
43699 instead of rolling our own (probably-slower) code.
43701 mktime: do not assume signed right shift propagates sign bit
43702 * time/mktime.c (isdst_differ): New static function.
43703 (__mktime_internal): No need to normalize tm_isdst now.
43704 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
43707 mktime: merge another wrapv change from gnulib
43708 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
43709 from some compilers.
43711 mktime: remove incorrect attempt at unusual arithmetics
43712 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
43713 The code didn't really work on such machines anyway.
43714 (TYPE_MINIMUM): Assume two's complement.
43715 (twos_complement_arithmetic): Verify that long_int and time_t
43716 are two's complement (or unsigned, in the latter case).
43718 mktime: check signed shifts on long_int and time_t, too
43719 * time/mktime.c (SHR): Check that shifts work as desired
43720 on the types long_int and time_t too, as SHR is used on
43723 mktime: do not assume 'long' is wide enough
43724 * time/mktime.c (verify): Move decl up.
43725 (long_int): New type.
43726 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
43727 to remove assumption in the code that 'long' is wide enough to
43728 store year values. This assumption is not true on x32 and on
43729 some non-glibc platforms.
43731 mktime: merge wrapv change from gnulib
43732 * time/mktime.c (WRAPV): New macro.
43733 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
43734 (guess_time_tm, __mktime_internal): Do not assume that signed
43735 integer overflow wraps around; modern compilers generate code
43736 where this assumption is no longer valid.
43738 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43740 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43741 Replace "jmp L(pseudo_end)" with "ret".
43742 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
43745 2012-05-23 Andreas Jaeger <aj@suse.de>
43747 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
43748 * sysdeps/unix/sysv/linux/poll.c: Remove file.
43750 2012-05-23 Andreas Jaeger <aj@suse.de>
43751 Maximilian Attems <max@stro.at>
43753 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
43756 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43758 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
43759 code so that pseudo_end is just ret and the stack pointer is
43760 correct also for static library in error case.
43762 2012-05-23 Joseph Myers <joseph@codesourcery.com>
43764 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
43765 move to syscalls.list.
43766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
43767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43771 * manual/install.texi (Running make install): Do not mention Linux
43772 kernel version for which pt_chown is not needed.
43773 (Linux): Do not mention problems with nscd with 2.0 kernels.
43774 * INSTALL: Regenerated.
43776 2012-05-23 Andreas Jaeger <aj@suse.de>
43778 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
43779 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
43781 * sysdeps/unix/sysv/linux/s390/bits/mman.h
43782 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43783 * sysdeps/unix/sysv/linux/sh/bits/mman.h
43784 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43785 * sysdeps/unix/sysv/linux/i386/bits/mman.h
43786 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43787 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
43788 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43789 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
43790 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43791 * sysdeps/unix/sysv/linux/bits/in.h
43792 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
43794 2012-05-22 Roland McGrath <roland@hack.frob.com>
43796 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
43797 (PREPARE_VERSION): Just use assert instead, it will be elided
43798 under [NDEBUG] anyway.
43800 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43802 * sysdeps/unix/sysv/linux/Makefile: Include
43803 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
43804 (sysdep_routines): Remove sysctl.
43805 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
43806 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
43807 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
43808 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
43809 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
43811 2012-05-22 Andreas Jaeger <aj@suse.de>
43813 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
43814 that pseudo_end is just ret and the stack pointer is correct also
43815 for static library in error case.
43817 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
43820 * nss/nsswitch.c (defconfig_entries): New variable.
43821 (__nss_database_lookup): Don't leak defconfig entries.
43822 (nss_parse_service_list): Don't leak on error paths.
43823 (free_database_entries): New function.
43824 (free_defconfig): New function.
43825 (free_mem): Move common code to free_database_entries.
43827 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43829 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
43831 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
43833 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43834 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
43835 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
43837 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
43838 (INTERNAL_SYSCALL_TYPES): Likewise.
43839 (LOAD_ARGS_TYPES_[1-6]): Likewise.
43840 (LOAD_REGS_TYPES_[1-6]): Likewise.
43841 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
43842 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
43844 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43846 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
43847 copysignl for GLIBC_2_0.
43848 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
43849 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
43850 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
43851 logbl for GLIBC_2_0.
43852 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43853 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43855 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43857 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43858 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43860 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43863 * time/mktime.c: Update copyright years.
43865 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
43867 mktime: merge comment-quoting-style change from gnulib
43868 * time/mktime.c: Quote 'like this' in comments.
43869 The GNU coding standards suggest that we no longer quote `like this',
43870 as "`" and "'" are typically rendered asymmetrically nowadays.
43871 The typical gnulib style is to quote 'like this' when quoting
43872 code, and "like this" when quoting English.
43874 * time/mktime.c (compile-command): Add "-I.".
43876 mktime: merge mktime-internal.h change from gnulib
43877 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43879 mktime: merge time_r change from gnulib
43880 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43882 mktime: merge DEBUG change from gnulib
43883 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43884 case system <time.h> has a #define.
43886 mktime: merge <sys/types.h> change from gnulib
43887 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43888 since <time.t> is now guaranteed to define time_t.
43890 mktime: merge HAVE_CONFIG_H change from gnulib
43891 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43893 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43895 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43898 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43900 (struct rusage): Use anonymous union to pad each field to
43903 2012-05-21 David S. Miller <davem@davemloft.net>
43905 * Makefules (o-iterator): Remove .s cases.
43906 (compile-command.s): Delete.
43907 (COMPILE.s): Delete.
43908 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43910 2012-05-21 Joseph Myers <joseph@codesourcery.com>
43912 * configure.in (libc_cv_predef_stack_protector): Only consider
43913 "foobar" and "__stack_chk_fail" lines in libc_undefs.
43914 * configure: Regenerated.
43916 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43918 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43919 New macro. Use R*LP on int and pointer.
43920 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
43921 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43922 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
43923 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43925 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43926 [__WORDSIZE_TIME64_COMPAT32] instead of
43927 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43928 (struct utmp): Likewise.
43929 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43930 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43932 (__WORDSIZE_TIME64_COMPAT32): This.
43933 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43934 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43935 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43936 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43937 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43938 (__WORDSIZE_TIME64_COMPAT32): New macro.
43940 2012-05-21 Andreas Jaeger <aj@suse.de>
43942 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43943 only if [SHARED]. Add prototype for __wcschr_ia32.
43945 2012-05-21 Roland McGrath <roland@hack.frob.com>
43947 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43948 of %rbp unmolested in the jmp_buf while mangling the low bits.
43949 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43950 unmolested high bits of %rbp while demangling the low bits.
43951 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43953 2012-05-21 Andreas Jaeger <aj@suse.de>
43955 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43956 * sunrpc/svc_simple.c: Use it for registerrpc.
43957 * sunrpc/xcrypt.c: Use it for passwd2des.
43959 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43961 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43963 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43964 Don't define if [__SYSCALL_WORDSIZE != 32].
43965 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43968 2012-05-21 Bruno Haible <bruno@clisp.org>
43969 Andreas Jaeger <aj@suse.de>
43971 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43972 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43973 inptr and inend for must_buffer_ch.
43974 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43975 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43976 * stdio-common/Makefile (tests): Remove bug15.
43977 (bug15-ENV): Remove macro.
43978 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43981 2012-05-19 Andreas Jaeger <aj@suse.de>
43982 Roland McGrath <roland@hack.frob.com>
43984 * manual/contrib.texi: Completely rewritten. It contains now an
43985 alphabetical list of contributors and their contributions.
43987 2012-05-21 Richard Henderson <rth@twiddle.net>
43989 * misc/getauxval.c (__getauxval): Use unsigned long int.
43990 * misc/sys/auxv.h: Include <sys/cdefs.h>.
43991 (getauxval): Use unsigned long int.
43993 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43995 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43997 2012-05-21 Roland McGrath <roland@hack.frob.com>
43999 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
44000 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
44001 __alignof__ (long double).
44003 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44007 2012-05-20 Richard Henderson <rth@twiddle.net>
44009 * misc/getauxval.c: New file.
44010 * misc/sys/auxv.h: New file.
44011 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
44012 (routines): Add getauxval.
44013 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
44014 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
44015 * elf/dl-sysdep.c (_dl_auxv): Remove.
44016 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
44017 * elf/dl-support.c (_dl_auxv): New variable.
44018 (_dl_aux_init): Initialize it.
44019 * manual/startup.texi (Auxiliary Vector): New node.
44020 * sysdeps/generic/bits/hwcap.h: New file.
44021 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
44022 * sysdeps/powerpc/sysdep.h: ... here. Include it.
44023 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
44024 * sysdeps/sparc/sysdep.h: ... here. Include it.
44025 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
44026 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
44027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
44030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
44031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
44032 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
44033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
44034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
44035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
44036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
44038 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44042 2012-05-19 David S. Miller <davem@davemloft.net>
44044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44046 2012-05-19 Joseph Myers <joseph@codesourcery.com>
44049 * math/s_ccosh.c: Include <float.h>
44050 (__ccosh): Avoid internal overflow calculating sinh and cosh
44051 values before multiplying by sin and cos values.
44052 * math/s_ccoshf.c: Likewise.
44053 * math/s_ccoshl.c: Likewise.
44054 * math/s_csin.c: Likewise.
44055 * math/s_csinf.c: Likewise.
44056 * math/s_csinl.c: Likewise.
44057 * math/s_csinh.c: Likewise.
44058 * math/s_csinhf.c: Likewise.
44059 * math/s_csinhl.c: Likewise.
44060 * math/libm-test.inc (ccos_test): Add more tests.
44061 (ccosh_test): Likewise.
44062 (csin_test): Likewise.
44063 (csinh_test): Likewise.
44064 * sysdeps/i386/fpu/libm-test-ulps: Update.
44065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44067 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
44069 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
44070 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
44072 * sysdeps/x86_64/x32/_itoa.h: Add comment.
44074 2012-05-19 Joseph Myers <joseph@codesourcery.com>
44076 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
44077 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
44078 * sysdeps/powerpc/soft-fp/Versions: Likewise.
44079 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
44080 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
44081 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
44082 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
44083 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
44084 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
44085 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
44086 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
44087 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
44088 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
44089 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
44090 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
44091 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
44092 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
44093 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
44094 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
44095 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
44096 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
44097 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
44098 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
44099 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
44100 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
44101 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
44102 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
44103 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
44104 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
44105 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
44106 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
44108 2012-05-18 Andreas Jaeger <aj@suse.de>
44110 * csu/.gitignore: Delete.
44112 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
44114 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
44115 (timex): Use __syscall_slong_t.
44117 2012-05-18 Andreas Jaeger <aj@suse.de>
44118 Carlos O'Donell <carlos_odonell@mentor.com>
44120 * manual/install.texi (Configuring and compiling): Update
44121 description about files modified in the source directory.
44122 * INSTALL: Regenerated.
44124 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
44126 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
44127 value. Use "or" to set return value to -1.
44128 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
44129 negate return value.
44131 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44133 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
44134 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
44135 failure if the compiler has Graphite support disabled.
44136 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
44138 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
44139 (CFLAGS-memmove.c): Likewise.
44140 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
44143 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
44145 * sysdeps/x86_64/x32/_itoa.h: New file.
44147 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
44148 getdents system call only if kernel and user dirents have the
44149 same d_ino and d_off.
44151 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44152 LLONG_MAX != LONG_MAX.
44153 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44154 (_fitoa_word): Likewise.
44156 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
44158 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
44159 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
44160 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
44162 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
44163 include <bits/wordsize.h>. Check __x86_64__ instead of
44165 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
44166 if __x86_64__ is defined. Use anonymous union on fpstate.
44168 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
44171 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
44173 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44174 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
44175 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
44176 Refer to _rtld_local_ro instead of _rtld_global_ro.
44177 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
44179 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
44181 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
44183 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
44184 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
44185 of _rtld_global, and rtld_progname instead of _dl_argv[0].
44187 * sysdeps/powerpc/powerpc32/dl-machine.c
44188 (__elf_machine_runtime_setup) [PROF]: Don't reference
44191 2012-05-18 Andreas Jaeger <aj@suse.de>
44193 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
44194 function only available for GCCs before 3.4 since GCC 3.4
44195 introduced a builtin.
44197 (llrintf): Likewise.
44198 (llrint): Likewise.
44205 (nearbyint): Likewise.
44206 (nearbyintf): Likewise.
44210 (floorf): Likewise.
44212 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
44214 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
44215 on both fields and cast pointer to __syscall_ulong_t.
44217 * bits/types.h (__fsword_t): New type.
44218 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
44219 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
44220 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44221 (__FSWORD_T_TYPE): Likewise.
44222 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44223 (__FSWORD_T_TYPE): Likewise.
44224 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44225 (__FSWORD_T_TYPE): Likewise.
44226 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
44227 (__FSWORD_T_TYPE): Likewise.
44228 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
44229 __SWORD_TYPE with __fsword_t.
44230 (statfs64): Likewise.
44232 2012-05-17 David S. Miller <davem@davemloft.net>
44234 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
44236 2012-05-17 Andreas Jaeger <aj@suse.de>
44238 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
44241 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
44243 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
44245 2012-05-17 Andreas Jaeger <aj@suse.de>
44247 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
44250 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
44252 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
44254 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
44256 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
44257 * sysdeps/x86_64/tst-mallocalign1.c: New file.
44259 2012-05-17 Andreas Jaeger <aj@suse.de>
44260 Carlos O'Donell <carlos_odonell@mentor.com>
44263 * sysdeps/x86_64/multiarch/init-arch.h
44264 (bit_YMM_Usable): Rename to...
44265 (bit_AVX_Usable): ... this.
44266 (bit_FMA4_Usable): New macro.
44267 (bit_XMM_state): New macro.
44268 (bit_YMM_state): New macro.
44269 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
44270 [__ASSEMBLER__] (index_AVX_Usable): ... this.
44271 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
44272 (CPUID_OSXSAVE): New macro.
44273 (CPUID_AVX): New macro.
44274 (CPUID_FMA4): New macro.
44275 (index_YMM_Usable): Rename to...
44276 (index_AVX_Usable): ... this.
44277 (HAS_AVX): Use HAS_ARCH_FEATURE.
44278 (HAS_FMA4): Likewise.
44279 (HAS_YMM_USABLE): Remove.
44280 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44281 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
44283 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
44284 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
44285 * sysdeps/x86_64/multiarch/Makefile: Likewise.
44286 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
44287 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
44289 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
44291 * math/libm-test.c: Support platforms without multiple rounding modes.
44292 * math/bug-nextafter.c: Support platforms without FP exceptions.
44293 * math/bug-nexttoward.c: Likewise.
44294 * math/test-fenv.c: Likewise.
44295 * math/test-misc.c: Likewise.
44296 * stdlib/bug-getcontext.c: Likewise.
44298 2012-05-17 Andreas Jaeger <aj@suse.de>
44300 * manual/examples/search.c (critter_cmp): Change signature to
44302 * manual/string.texi (Collation Functions): Likewise.
44304 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44306 * bits/types.h: Fold copyright years.
44307 * bits/typesizes.h: Likewise.
44308 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
44309 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
44310 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
44311 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
44312 * time/time.h: Likewise.
44314 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
44317 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
44318 in instead of returning them. Return void.
44319 (__libc_mallinfo): Accumulate over all arenas.
44320 (__malloc_stats): Adjust for change in int_mallinfo interface.
44322 2012-05-16 Roland McGrath <roland@hack.frob.com>
44325 * configure.in (NM): Add AC_CHECK_TOOL for it.
44326 (libc_extra_cflags): New substituted variable.
44327 Check for -fstack-protector being used implicitly.
44328 * configure: Regenerated.
44329 * config.make.in (config-extra-cflags): New variable,
44330 gets @libc_extra_cflags@.
44331 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
44334 * configure.in: Check for _FORTIFY_SOURCE being predefined.
44335 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
44336 * configure: Regenerated.
44337 * config.make.in (CPPUNDEFS): New substituted variable.
44338 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
44339 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
44340 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
44342 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44344 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
44345 (mq_attr): Use __syscall_slong_t.
44347 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44349 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
44350 Check __x86_64__ instead of __WORDSIZE.
44351 (_STAT_VER_LINUX): Likewise.
44352 (stat): Check __x86_64__ instead of __WORDSIZE. Use
44353 __syscall_ulong_t and __syscall_slong_t.
44354 (stat64): Likewise.
44356 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44358 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
44360 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44362 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
44364 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44366 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
44369 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
44370 include <bits/wordsize.h>. Check __x86_64__ instead of
44372 (greg_t): Use "__extension__ long long int" if __x86_64__ is
44374 (mcontext_t): Replace "unsigned long" with "unsigned long long".
44376 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
44377 include <bits/wordsize.h>. Check __x86_64__ instead of
44379 (user_regs_struct): Use "__extension__ unsigned long long"
44380 instead of "unsigned long" if __x86_64__ is defined.
44381 (user): Likewise. Pad after pointer field if __ILP32__ is
44384 2012-05-16 Joseph Myers <joseph@codesourcery.com>
44386 * configure.in (makeinfo): Require version 4.5 or later. Allow
44388 * configure: Regenerated.
44389 * manual/install.texi (texinfo): Increase version requirement to
44391 * INSTALL: Regenerated.
44393 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
44395 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44397 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
44399 * sysdeps/x86_64/x32/ffs.c: New file.
44401 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
44403 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
44404 defined. Use __syscall_ulong_t.
44405 (shminfo): Use __syscall_ulong_t.
44406 (shm_info): Likewise.
44408 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
44411 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
44413 (msgqnum_t): Use __syscall_ulong_t.
44414 (msglen_t): Likewise.
44415 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
44418 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
44419 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
44421 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
44423 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
44424 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
44426 * sysvipc/sys/msg.h (msgbuf): Replace long int with
44429 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
44430 include <bits/wordsize.h>. Check __x86_64__ instead of
44433 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
44434 "unsigned long long int" if __x86_64__ is defined.
44435 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
44437 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
44438 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
44439 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
44441 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
44443 (GET_PC): Cast to uintptr_t first.
44444 (GET_FRAME): Likewise.
44445 (GET_STACK): Likewise.
44447 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
44448 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
44449 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
44450 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
44451 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
44452 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
44453 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
44454 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
44455 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
44456 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
44457 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
44458 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
44459 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44460 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
44461 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
44462 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
44463 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
44464 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
44465 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
44466 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
44467 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
44468 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
44469 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
44470 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
44471 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
44472 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
44473 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
44474 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
44475 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
44477 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
44479 * Makerules (+depfiles): Also collect depfiles from .oS in
44481 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
44482 .oS, $(libnldbl-routines)).
44484 * Makerules (native-compile-mkdep-flags): Define.
44485 * sunrpc/Makefile (extra-objs): Add $(addprefix
44486 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
44487 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
44488 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
44489 calling $(make-target-directory).
44491 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44493 * bits/types.h (__snseconds_t): Removed.
44494 * time/time.h (struct timespec): Replace __snseconds_t with
44496 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
44497 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
44499 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44500 (__SNSECONDS_T_TYPE): Likewise.
44501 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44502 (__SNSECONDS_T_TYPE): Likewise.
44503 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44504 (__SNSECONDS_T_TYPE): Likewise.
44506 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44508 * sysdeps/mach/hurd/bits/typesizes.h
44509 (__SYSCALL_SLONG_TYPE): New macro.
44510 (__SYSCALL_ULONG_TYPE): Likewise.
44512 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44514 * bits/types.h (__syscall_slong_t): New type.
44515 (__syscall_ulong_t): Likewise.
44517 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
44518 (__SYSCALL_ULONG_TYPE): Likewise.
44519 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44520 (__SYSCALL_SLONG_TYPE): Likewise.
44521 (__SYSCALL_ULONG_TYPE): Likewise.
44522 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44523 (__SYSCALL_SLONG_TYPE): Likewise.
44524 (__SYSCALL_ULONG_TYPE): Likewise.
44525 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44526 (__SYSCALL_SLONG_TYPE): Likewise.
44527 (__SYSCALL_ULONG_TYPE): Likewise.
44529 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44531 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
44532 Add sigaltstack-offsets.sym.
44533 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
44534 <sigaltstack-offsets.h>.
44535 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
44536 longjmp_msg pointer.
44537 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
44538 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
44540 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
44542 2012-05-15 Joseph Myers <joseph@codesourcery.com>
44544 * elf/stackguard-macros.h: Remove file.
44545 * sysdeps/generic/stackguard-macros.h: New file.
44546 * sysdeps/i386/stackguard-macros.h: Likewise.
44547 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44548 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44549 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44550 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44551 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44552 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44553 * sysdeps/x86_64/stackguard-macros.h: Likewise.
44554 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
44555 <elf/stackguard-macros.h>.
44558 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
44559 __aligned__ in attribute.
44560 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
44561 (gregset_t): Likewise.
44563 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44565 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
44566 * sysdeps/x86_64/64/Implies-after: Here. New file.
44567 * sysdeps/x86_64/x32/Implies-after: New file.
44569 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44571 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
44572 and access return value for _dl_profile_fixup. Use R10_LP to
44575 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44577 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
44579 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44581 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
44582 * sysdeps/x86_64/x32/sysdep.h: New file.
44584 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44586 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
44587 * sysdeps/x86_64/setjmp.S: Likewise.
44589 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44591 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
44592 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
44593 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
44594 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
44595 remove unused global constant.
44597 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
44599 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
44600 include of <not-cancel.h>.
44602 2012-05-15 Roland McGrath <roland@hack.frob.com>
44604 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
44606 2012-05-15 Jeff Law <law@redhat.com>
44607 Andreas Jaeger <aj@suse.de>
44610 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
44612 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
44613 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
44614 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
44615 code changing __hst_map_handle.map.
44617 2012-05-15 Roland McGrath <roland@hack.frob.com>
44619 * configure.in (sysnames): Look for Implies-before and Implies-after
44621 * configure: Regenerated.
44623 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44625 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
44626 8-byte data alignment with LP_SIZE alignment.
44628 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44630 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
44633 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44635 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
44637 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44639 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
44640 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
44641 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
44643 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44645 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44647 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
44648 (stackinfo_sub_sp): Likewise.
44650 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44652 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
44655 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44657 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
44660 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44662 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
44665 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44667 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
44669 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44671 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
44672 into R11_LP and load __x86_64_shared_cache_size_half into
44675 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44677 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
44680 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44682 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
44684 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
44686 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
44688 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
44689 powerpc32/power7/fpu/s_logb.c via #include.
44690 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
44691 powerpc32/power7/fpu/s_logbf.c via #include.
44692 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
44693 powerpc32/power7/fpu/s_logbl.c via #include.
44695 2012-05-15 Joseph Myers <joseph@codesourcery.com>
44697 * README.libm: Remove file.
44699 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44701 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
44702 count for x32. Use R*_LP and omit operand-size suffix.
44704 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44706 * shlib-versions: Move x86_64-.*-linux.* entries to ...
44707 * sysdeps/x86_64/64/shlib-versions: Here. New file.
44708 * sysdeps/x86_64/x32/shlib-versions: New file.
44710 2012-05-14 Roland McGrath <roland@hack.frob.com>
44712 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
44713 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
44714 Use _dl_fatal_printf instead.
44716 2012-05-14 Joseph Myers <joseph@codesourcery.com>
44718 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
44719 set if not set by the user. Do not allow for being unset.
44720 * sysdeps/unix/sysv/linux/configure: Regenerated.
44722 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44724 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
44725 the `q' suffix from lea and replace .quad with ASM_ADDR.
44727 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44729 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
44730 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
44732 (PTR_DEMANGLE): Likewise.
44734 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44736 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
44738 (ASM_ADDR): Likewise.
44739 (RAX_LP): Likewise.
44740 (RBP_LP): Likewise.
44741 (RBX_LP): Likewise.
44742 (RCX_LP): Likewise.
44743 (RDI_LP): Likewise.
44744 (RSI_LP): Likewise.
44745 (RSP_LP): Likewise.
44748 (R10_LP): Likewise.
44749 (R10_LP): Likewise.
44750 (R11_LP): Likewise.
44751 (R12_LP): Likewise.
44752 (R13_LP): Likewise.
44753 (R14_LP): Likewise.
44754 (R15_LP): Likewise.
44756 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44758 * sysdeps/x86_64/x32/dl-machine.h: New file.
44760 2012-05-14 Andreas Jaeger <aj@suse.de>
44762 * manual/Makefile (subdir): Remove export of subdir.
44763 (all): Remove target.
44764 (.PHONY): Remove all from list.
44765 (mkinstalldirs): Remove.
44766 (.PHONY): Remove installdirs from list.
44767 ($(inst_infodir)/libc.info): Use make-target-directory.
44768 (installdirs): Remove.
44769 (subdir_%): Remove.
44770 (glibc-targets): Remove.
44773 ($(objpfx)stubs ../po/manual.pot): Remove.
44774 ($(objpfx)stamp%): Remove.
44775 (make-target-directory): Remove.
44776 (subdir_install): Remove.
44777 (routines): Remove.
44784 * manual/.gitignore: Remove, it's not needed anymore.
44785 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
44787 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
44789 (texis): Renamed to $(objpfx)texis.
44790 (texis-path): New, contains path to generated files.
44791 (chapters.%): Use texis-path for complete path, add extra argument
44793 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
44794 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
44795 (summary,texi, stamp-summary): Use complete path of
44796 files. Generate files in build dir.
44797 (dir-add.texi): Build in build dir.
44798 (libm-err.texi,stamp-libm-err): Likewise.
44799 (version.texi, stamp-version): Likewise.
44800 (.%c.texi): Likewise.
44801 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
44802 (mostlyclean): Remove target.
44803 (realclean): Remove target.
44804 (generated): Add new variable with contents from mostlyclean and
44805 realclean, remove entries duplicated in common-mostlyclean, add
44806 stamp-libm-err and stamp-version.
44807 (generated-dirs): Add libc directory.
44808 ($(inst_infodir)/libc.info): Install files from build dir.
44810 * manual/install.texi (Configuring and compiling): Adjust since
44811 the info files are not part of the tar ball anymore.
44813 2012-05-14 Andreas Jaeger <aj@suse.de>
44815 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
44818 2012-05-14 Joseph Myers <joseph@codesourcery.com>
44821 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44822 to 2.2.0 where earlier.
44823 * sysdeps/unix/sysv/linux/configure: Regenerated.
44824 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
44825 Remove conditional code.
44826 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
44827 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
44828 Remove conditional code.
44829 [!__NR_lchown]: Likewise.
44830 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44831 [__NR_lchown]: Likewise.
44832 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
44833 comment referencing __ASSUME_LCHOWN_SYSCALL.
44834 * sysdeps/unix/sysv/linux/i386/sigaction.c
44835 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44836 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44837 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
44838 Remove conditional code.
44839 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
44840 (__protocol_available): Remove #if 0 code.
44841 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
44843 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
44844 * sysdeps/unix/sysv/linux/kernel-features.h
44845 (__ASSUME_GETCWD_SYSCALL): Don't define.
44846 (__ASSUME_REALTIME_SIGNALS): Likewise.
44847 (__ASSUME_PREAD_SYSCALL): Likewise.
44848 (__ASSUME_PWRITE_SYSCALL): Likewise.
44849 (__ASSUME_POLL_SYSCALL): Likewise.
44850 (__ASSUME_LCHOWN_SYSCALL): Likewise.
44851 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
44853 (__ASSUME_SIOCGIFNAME): Don't define.
44854 (__ASSUME_MSG_NOSIGNAL): Likewise.
44855 (__ASSUME_SENDFILE): Define unconditionally.
44856 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44857 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44859 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44860 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44861 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44862 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44863 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44864 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44865 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44867 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44868 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44870 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44871 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44873 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44874 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44876 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44877 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44879 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44880 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44882 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44883 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44885 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44886 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44888 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44889 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44890 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44891 Remove conditional code.
44892 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44893 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44894 Remove conditional code.
44895 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44896 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44897 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44898 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44899 Remove conditional code.
44900 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44901 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44902 Remove conditional code.
44903 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44904 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44905 Remove conditional code.
44906 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44907 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44908 Remove conditional code.
44909 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44910 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44911 Remove conditional code.
44912 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44913 * sysdeps/unix/sysv/linux/sh/pwrite64.c
44914 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44915 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44916 * sysdeps/unix/sysv/linux/sigaction.c
44917 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44918 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44919 * sysdeps/unix/sysv/linux/sigpending.c
44920 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44921 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44922 * sysdeps/unix/sysv/linux/sigprocmask.c
44923 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44924 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44925 * sysdeps/unix/sysv/linux/sigsuspend.c
44926 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44927 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44928 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44929 (__libc_missing_rt_sigs): Remove.
44930 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44931 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44932 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44933 Remove conditional code.
44934 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44935 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44937 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44938 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44939 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44940 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44942 2012-05-14 Andreas Jaeger <aj@suse.de>
44944 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44945 it's not used in glibc.
44946 (__coshm1): Likewise.
44947 (__acosh1p): Likewise.
44950 * manual/string.texi (Copying and Concatenation): Add missing
44951 variable in concat example.
44952 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44954 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44957 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44958 __builtin_clzl with __builtin_clzll.
44960 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44963 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44966 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44968 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44969 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44970 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44971 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44973 2012-05-14 Mike Frysinger <vapier@gentoo.org>
44975 * NEWS: Update ia64 info.
44977 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
44979 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44982 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
44984 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44985 * sysdeps/unix/syscalls.list (dup3): Likewise.
44986 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44987 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44989 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44991 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44992 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44994 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44996 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44998 (TLS_IE): Use mov/add instead of movq/addq to load thread
45000 (TLS_GD_PREFIX): New.
45003 2012-05-11 David S. Miller <davem@davemloft.net>
45005 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
45006 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
45007 (_FPU_SETCW): Likewise.
45009 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
45011 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
45012 is 32-byte aligned.
45014 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
45017 * iconvdata/gb18030.c: Update tables.
45018 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
45019 characters specially.
45020 (BODY for TO_LOOP): Add encoding of missing ranges.
45022 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
45025 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
45026 * sysdeps/mach/hurd/dup3.c: Likewise.
45027 * sysdeps/mach/hurd/readlinkat.c: Likewise.
45028 * sysdeps/powerpc/memmove.c:: Likewise.
45030 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
45032 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
45033 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
45035 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
45037 * elf/elf.h (R_X86_64_RELATIVE64): New.
45038 (R_X86_64_NUM): Updated.
45039 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
45040 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
45041 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
45042 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
45043 tst-quad1pie tst-quad2pie
45044 (modules-names): Add tst-quadmod1 tst-quadmod2.
45045 ($(objpfx)tst-quad1): New dependency.
45046 ($(objpfx)tst-quad2): Likewise.
45047 ($(objpfx)tst-quad1pie): Likewise.
45048 ($(objpfx)tst-quad2pie): Likewise.
45049 * sysdeps/x86_64/tst-quad1.c: New file.
45050 * sysdeps/x86_64/tst-quad1pie.c: New file.
45051 * sysdeps/x86_64/tst-quad2.c: Likewise.
45052 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
45053 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
45054 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
45055 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
45056 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
45058 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45060 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
45061 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
45062 * streams/stropts.h (t_scalar_t): Define type.
45064 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
45065 (_PATH_PRESERVE): Set to "/var/lib".
45066 (_PATH_RWHODIR): Set to "/var/spool/rwho".
45068 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
45071 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
45072 if __dir_mkfile succeeded.
45074 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
45075 checking for _hurd_dtablesize. Unlock it right after having
45076 finished _hurd_dtable allocation.
45078 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45080 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
45081 * sysdeps/mach/hurd/configure: Regenerated.
45082 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
45083 special-casing to...
45084 * sysdeps/gnu/configure.in: ... this new file.
45085 * sysdeps/unix/sysv/linux/configure: Regenerated.
45086 * sysdeps/gnu/configure: New generated file.
45088 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
45089 for Linux: use nsec instead of usec, as well as:
45090 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
45091 members of type struct timespec.
45092 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
45094 (struct stat64): Likewise.
45095 (_STATBUF_ST_NSEC): New macro.
45096 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
45098 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45099 __strtoul_internal rather than strtoul.
45101 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
45103 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
45106 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45108 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
45109 which preserves existing values.
45110 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
45112 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
45114 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
45115 TIMEOUT values. Return EINVAL for NFDS values either negative or
45116 greater than FD_SETSIZE.
45118 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45120 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
45121 allocated, call __vm_protect to finish enabling the existing space, and
45122 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
45123 allocate the remainder.
45125 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
45127 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
45128 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
45130 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45132 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
45133 sysdeps/mach/hurd/readlink.c.
45135 * posix/tst-sysconf.c (posix_options): Only use
45136 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
45137 _POSIX_SYNCHRONIZED_IO when they are defined
45138 * sysdeps/mach/hurd/bits/posix_opt.h:
45139 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
45140 (_XOPEN_REALTIME): Undefine macro.
45141 (_XOPEN_REALTIME_THREADS): Undefine macro.
45142 (_XOPEN_SHM): Undefine macro.
45143 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
45145 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
45147 (_POSIX_ASYNC_IO): Undefine macro.
45148 (_POSIX_PRIORITIZED_IO): Undefine macro.
45149 (_POSIX_SPIN_LOCKS): Define macro to -1.
45151 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
45152 SA_NODEFER, SA_RESETHAND.
45153 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
45154 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
45157 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45159 * elf/Makefile (pldd-modules): Define unconditionally.
45161 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45163 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
45165 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45167 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
45168 Return ENOENT when name is empty.
45169 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
45171 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45173 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
45175 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
45177 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45179 Fix mlock in all cases except non-readable pages.
45180 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
45181 instead of VM_PROT_ALL as parameter to __vm_wire function.
45183 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
45184 (__mkdir): When path is `/', just fail with EEXIST.
45185 * sysdeps/mach/hurd/mkdirat.c: Likewise.
45187 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45189 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
45190 <sys/uio.h> (for writev).
45191 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
45192 and <sys/param.h> (for MIN).
45194 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
45196 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
45197 REQUESTED_TIME. Properly set the remaining time and return EINTR
45200 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45202 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
45203 Depend on against $(link-rpcuserlibs).
45205 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45207 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
45208 (__libc_stack_end): Do not use attribute_relro.
45209 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
45210 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
45211 to libthread-provided value.
45212 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
45215 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45218 * bits/libc-lock.h (__libc_once_get): New macro.
45219 * sysdeps/mach/bits/libc-lock.h: Likewise.
45220 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
45221 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
45222 instead of using implementation details.
45224 * libio/fileops.c: Unconditionally include <kernel-features.h>.
45225 * libio/freopen.c: Likewise.
45226 * libio/freopen64.c: Likewise.
45227 * misc/syslog.c: Likewise.
45228 * nscd/connections.c: Likewise.
45229 * nscd/netgroupcache.c: Likewise.
45230 * sysdeps/posix/getcwd.c: Likewise.
45232 2012-05-10 Roland McGrath <roland@hack.frob.com>
45234 * math/w_ilogbf.c: Add #include <limits.h>.
45236 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45238 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
45239 path instead of returning without unlocking.
45241 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
45242 immediate-write ioctls.
45243 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
45245 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45247 * sysdeps/mach/hurd/i386/init-first.c (init): Use
45248 __builtin_frame_address instead of making assumptions about the
45249 location of the return address relative to DATA. Force early load of
45250 the return address.
45251 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
45252 __builtin_frame_address.
45255 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
45256 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
45257 implement dup3 and do some further code clean-ups.
45258 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
45259 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
45261 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45263 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
45265 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
45266 HURD_CRITICAL_END around holding _hurd_dtable_lock.
45267 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
45268 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
45269 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
45272 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
45273 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
45274 when handler == SIG_ERR, not when handler != SIG_ERR.
45276 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45278 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
45279 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
45282 accept4 for GNU Hurd.
45283 * include/sys/socket.h (__libc_accept4): New prototype.
45284 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
45285 to implement __libc_accept4.
45286 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
45288 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
45290 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
45291 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
45292 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
45293 signal-defines.sym.
45295 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45297 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
45299 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45301 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
45302 assertion on O_CLOEXEC flag.
45303 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
45304 * hurd/intern-fd.c: Likewise.
45305 * hurd/port2fd.c: Likewise.
45307 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45310 * bits/in.h (IPV6_PKTINFO): Define new macro.
45311 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
45313 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45318 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
45319 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45320 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
45321 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45322 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45323 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45324 * math/libm-test.inc (logb_test) : Additional logb tests.
45326 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
45327 Andreas Jaeger <aj@suse.de>
45329 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
45330 * configure: Regenerated.
45331 * config.h.in (LINK_OBSOLETE_RPC): New macro.
45332 * config.make.in (link-obsolete-rpc): New substituted variable.
45333 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
45334 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
45335 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
45336 (shared-only-routines): Don't set it under [link-obsolete-rpc],
45337 so that libc.a contains the symbols.
45338 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
45339 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
45340 * sunrpc/auth_none.c: Likewise.
45341 * sunrpc/auth_unix.c: Likewise.
45342 * sunrpc/authdes_prot.c: Likewise.
45343 * sunrpc/authuxprot.c: Likewise.
45344 * sunrpc/clnt_gen.c: Likewise.
45345 * sunrpc/clnt_perr.c: Likewise.
45346 * sunrpc/clnt_raw.c: Likewise.
45347 * sunrpc/clnt_simp.c: Likewise.
45348 * sunrpc/clnt_tcp.c: Likewise.
45349 * sunrpc/clnt_udp.c: Likewise.
45350 * sunrpc/clnt_unix.c: Likewise.
45351 * sunrpc/des_crypt.c: Likewise.
45352 * sunrpc/des_soft.c: Likewise.
45353 * sunrpc/get_myaddr.c: Likewise.
45354 * sunrpc/key_call.c: Likewise.
45355 * sunrpc/key_prot.c: Likewise.
45356 * sunrpc/netname.c: Likewise.
45357 * sunrpc/pm_getmaps.c: Likewise.
45358 * sunrpc/pm_getport.c: Likewise.
45359 * sunrpc/pmap_clnt.c: Likewise.
45360 * sunrpc/pmap_prot.c: Likewise.
45361 * sunrpc/pmap_prot2.c: Likewise.
45362 * sunrpc/pmap_rmt.c: Likewise.
45363 * sunrpc/publickey.c: Likewise.
45364 * sunrpc/rpc_cmsg.c: Likewise.
45365 * sunrpc/rpc_common.c: Likewise.
45366 * sunrpc/rpc_dtable.c: Likewise.
45367 * sunrpc/rpc_prot.c: Likewise.
45368 * sunrpc/rpc_thread.c: Likewise.
45369 * sunrpc/rtime.c: Likewise.
45370 * sunrpc/svc.c: Likewise.
45371 * sunrpc/svc_auth.c: Likewise.
45372 * sunrpc/svc_raw.c: Likewise.
45373 * sunrpc/svc_run.c: Likewise.
45374 * sunrpc/svc_tcp.c: Likewise.
45375 * sunrpc/svc_udp.c: Likewise.
45376 * sunrpc/svc_unix.c: Likewise.
45377 * sunrpc/svcauth_des.c: Likewise.
45378 * sunrpc/xcrypt.c: Likewise.
45379 * sunrpc/xdr.c: Likewise.
45380 * sunrpc/xdr_array.c: Likewise.
45381 * sunrpc/xdr_float.c: Likewise.
45382 * sunrpc/xdr_intXX_t.c: Likewise.
45383 * sunrpc/xdr_mem.c: Likewise.
45384 * sunrpc/xdr_rec.c: Likewise.
45385 * sunrpc/xdr_ref.c: Likewise.
45386 * sunrpc/xdr_sizeof.c: Likewise.
45387 * sunrpc/xdr_stdio.c: Likewise.
45389 2012-05-10 Roland McGrath <roland@hack.frob.com>
45391 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
45392 change. Update copyright years.
45394 2012-05-10 Joseph Myers <joseph@codesourcery.com>
45396 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
45398 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
45399 Joseph Myers <joseph@codesourcery.com>
45400 Paul Pluzhnikov <ppluzhnikov@google.com>
45403 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
45405 [cross-compiling] (extra-libs): Likewise.
45406 [cross-compiling] (extra-libs-others): Likewise.
45407 [cross-compiling] (librpcsvc-routines): Likewise.
45408 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
45409 [cross-compiling] (omit-deps): Likewise.
45410 (sunrpc-CPPFLAGS): New variable.
45411 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
45412 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
45413 (cross-rpcgen-objs): New variable.
45414 (extra-objs): Append $(cross-rpcgen-objs).
45415 ($(cross-rpcgen-objs)): New rule.
45416 ($(objpfx)cross-rpcgen): Likewise.
45417 (rpcgen-cmd): Define to use $(built-program-file). Expand
45419 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
45420 ($(objpfx)x%.stmp): Likewise.
45421 * sunrpc/proto.h [IS_IN_build] (_): Define.
45422 [IS_IN_build] (_libc_intl_domainname): Likewise.
45424 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
45426 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
45427 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
45428 and R_X86_64_TPOFF64.
45430 2012-05-10 Joseph Myers <joseph@codesourcery.com>
45432 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
45433 sysdeps/unix/sysv/syscalls.list.
45436 * sysdeps/unix/sysv/syscalls.list: Remove file.
45438 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
45441 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
45442 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
45443 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
45444 (__LC_IDENTIFICATION): Make these macros useful in #if
45445 expressions, as required by C99.
45447 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
45449 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
45450 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
45453 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
45455 * stdlib/longlong.h: Updated from GCC.
45457 2012-05-09 Andreas Jaeger <aj@suse.de>
45459 * nscd/nscd.c (run_modes): Make named enum, reorder so that
45460 default is first entry.
45461 (run_mode): Set type.
45462 (main): Remove informal message about syslog.
45463 (options): Fix typo.
45466 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
45469 (llrintf): Likewise.
45470 (llrint): Likewise.
45473 (nearbyint): Likewise.
45474 (nearbyintf): Likewise.
45476 2012-05-09 Andreas Jaeger <aj@suse.de>
45477 Pedro Alves <palves@redhat.com>
45479 * nscd/nscd.c (run_mode): Use enum.
45480 (main): Cleanup coding style issue.
45482 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
45483 Andreas Jaeger <aj@suse.de>
45485 * nscd/nscd.c (go_background): Replaced with...
45486 (run_mode): ... this.
45487 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
45488 (options): Add -F --foreground.
45489 (main): Implement it.
45490 (parse_opt): Parse it.
45492 2012-05-09 Andreas Jaeger <aj@suse.de>
45495 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
45496 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
45497 -Wconversion warning.
45498 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
45501 2012-05-09 Joseph Myers <joseph@codesourcery.com>
45503 * conform/data/locale.h-data (NULL): Use macro-constant. Require
45505 (LC_ALL): Use macro-int-constant.
45506 (LC_COLLATE): Likewise.
45507 (LC_CTYPE): Likewise.
45508 (LC_MESSAGES): Likewise.
45509 (LC_MONETARY): Likewise.
45510 (LC_NUMERIC): Likewise.
45511 (LC_TIME): Likewise.
45512 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
45513 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45514 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45515 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
45517 [C99-based standards] (float_t): Expect type.
45518 [C99-based standards] (double_t): Expect type.
45519 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
45521 [C99-based standards] (HUGE_VALL): Likewise.
45522 [C99-based standards] (INFINITY): Likewise.
45523 [C99-based standards] (NAN): Likewise.
45524 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
45525 [C99-based standards] (FP_NAN): Likewise.
45526 [C99-based standards] (FP_NORMAL): Likewise.
45527 [C99-based standards] (FP_SUBNORMAL): Likewise.
45528 [C99-based standards] (FP_ZERO): Likewise.
45529 [C99-based standards] (FP_FAST_FMA): Use
45530 optional-macro-int-constant. Specify type. Require == 1.
45531 [C99-based standards] (FP_FAST_FMAF): Likewise.
45532 [C99-based standards] (FP_FAST_FMAL): Likewise.
45533 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
45534 [C99-based standards] (FP_ILOGBNAN): Likewise.
45535 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
45537 [C99-based standards] (MATH_ERREXCEPT): Likewise.
45538 [C99-based standards] (math_errhandling): Specify type.
45539 [ISO99 || ISO11] (signgam): Do not allow.
45540 [non-C99-based standards] (copysignf): Do not allow.
45541 [non-C99-based standards] (exp2f): Likewise.
45542 [non-C99-based standards] (log2f): Likewise.
45543 [non-C99-based standards] (modff): Allow.
45544 [non-C99-based standards] (erff): Do not allow.
45545 [non-C99-based standards] (erfcf): Likewise.
45546 [non-C99-based standards] (gammaf): Likewise.
45547 [non-C99-based standards] (hypotf): Likewise.
45548 [non-C99-based standards] (j0f): Likewise.
45549 [non-C99-based standards] (j1f): Likewise.
45550 [non-C99-based standards] (jnf): Likewise.
45551 [non-C99-based standards] (lgammaf): Likewise.
45552 [non-C99-based standards] (tgammaf): Likewise.
45553 [non-C99-based standards] (y0f): Likewise.
45554 [non-C99-based standards] (y1f): Likewise.
45555 [non-C99-based standards] (ynf): Likewise.
45556 [non-C99-based standards] (isnanf): Likewise.
45557 [non-C99-based standards] (acoshf): Likewise.
45558 [non-C99-based standards] (asinhf): Likewise.
45559 [non-C99-based standards] (atanhf): Likewise.
45560 [non-C99-based standards] (cbrtf): Likewise.
45561 [non-C99-based standards] (expm1f): Likewise.
45562 [non-C99-based standards] (ilogbf): Likewise.
45563 [non-C99-based standards] (log1pf): Likewise.
45564 [non-C99-based standards] (logbf): Likewise.
45565 [non-C99-based standards] (nextafterf): Likewise.
45566 [non-C99-based standards] (remainderf): Likewise.
45567 [non-C99-based standards] (rintf): Likewise.
45568 [non-C99-based standards] (scalbf): Likewise.
45569 [non-C99-based standards] (copysignl): Likewise.
45570 [non-C99-based standards] (exp2l): Likewise.
45571 [non-C99-based standards] (log2l): Likewise.
45572 [non-C99-based standards] (modfl): Allow.
45573 [non-C99-based standards] (erfl): Do not allow.
45574 [non-C99-based standards] (erfcl): Likewise.
45575 [non-C99-based standards] (gammal): Likewise.
45576 [non-C99-based standards] (hypotl): Likewise.
45577 [non-C99-based standards] (j0l): Likewise.
45578 [non-C99-based standards] (j1l): Likewise.
45579 [non-C99-based standards] (jnl): Likewise.
45580 [non-C99-based standards] (lgammal): Likewise.
45581 [non-C99-based standards] (tgammal): Likewise.
45582 [non-C99-based standards] (y0l): Likewise.
45583 [non-C99-based standards] (y1l): Likewise.
45584 [non-C99-based standards] (ynl): Likewise.
45585 [non-C99-based standards] (isnanl): Likewise.
45586 [non-C99-based standards] (acoshl): Likewise.
45587 [non-C99-based standards] (asinhl): Likewise.
45588 [non-C99-based standards] (atanhl): Likewise.
45589 [non-C99-based standards] (cbrtl): Likewise.
45590 [non-C99-based standards] (expm1l): Likewise.
45591 [non-C99-based standards] (ilogbl): Likewise.
45592 [non-C99-based standards] (log1pl): Likewise.
45593 [non-C99-based standards] (logbl): Likewise.
45594 [non-C99-based standards] (nextafterl): Likewise.
45595 [non-C99-based standards] (remainderl): Likewise.
45596 [non-C99-based standards] (rintl): Likewise.
45597 [non-C99-based standards] (scalbl): Likewise.
45598 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45599 [non-C99-based standards] (FP_*): Do not allow.
45600 [C99-based standards] (FP_*): Change to
45601 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45602 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45604 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
45605 (SIG_ERR): Likewise.
45606 [X/Open-based standards] (SIG_HOLD): Likewise.
45607 (SIG_IGN): Likewise.
45608 (SIGABRT): Use macro-int-constant. Specify type. Require
45610 (SIGFPE): Likewise.
45611 (SIGILL): Likewise.
45612 (SIGINT): Likewise.
45613 (SIGSEGV): Likewise.
45614 (SIGTER): Likewise.
45615 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
45616 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
45617 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
45618 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
45619 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
45620 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
45621 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
45622 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
45623 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
45624 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
45625 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
45626 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
45627 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
45628 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
45629 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
45630 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
45631 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
45632 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
45633 [X/Open-based standards] (SIGTRAP): Likewise.
45634 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
45635 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
45636 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
45637 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
45638 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45641 2012-05-08 Ian Wienand <ianw@vmware.com>
45644 * time/tzset.c (__tzset_parse_tz): Update default rules for
45645 daylight time changes in the Energy Policy Act of 2005.
45647 2012-05-09 Andreas Jaeger <aj@suse.de>
45650 * elf/ldconfig.c (parse_conf): Change string to make clear that
45651 ldconfig only issued a warning if ld.so.conf does not exist.
45653 2012-05-08 David S. Miller <davem@davemloft.net>
45655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
45656 movxtod instead of popping the value on the stack.
45658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45660 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
45662 * config.h.in: Add HAVE_ARM_PCS_VFP.
45664 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
45667 * include/features.h: Warn if user requests __FORTIFY_SOURCE
45668 checking but the checks are disabled for any reason.
45670 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
45672 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
45673 and ELF64_R_TYPE with ELFW(R_TYPE).
45675 2012-05-08 Joseph Myers <joseph@codesourcery.com>
45677 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
45678 (ulimit): Likewise.
45680 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
45681 (settimeofday): Likewise.
45683 2012-05-08 Mike Frysinger <vapier@gentoo.org>
45685 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
45686 a struct th_u2 inside the union, and move tu_block/tu_code into
45687 a new th_u3 union of tu_block/tu_code inside of that. Move
45688 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
45689 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
45690 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
45691 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
45692 (th_stuff): Change to th_u1.tu_stuff.
45694 (th_msg): Change to th_u1.th_u2.tu_data.
45696 2012-05-07 David S. Miller <davem@davemloft.net>
45698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45701 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
45702 (SETUP_PIC_REG): Use it.
45703 (SETUP_PIC_REG_LEAF): Use it.
45705 2012-05-07 Joseph Myers <joseph@codesourcery.com>
45709 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45711 (EXPL_FINITE): Likewise.
45712 (FLDLOG): Likewise.
45713 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45714 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45716 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45718 (EXPL_FINITE): Likewise.
45719 (FLDLOG): Likewise.
45720 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45721 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45723 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
45724 test of -max_value argument for long double.
45725 * sysdeps/i386/fpu/libm-test-ulps: Update.
45726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45728 2012-05-06 David S. Miller <davem@davemloft.net>
45730 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
45731 quad soft-float symbols whose references which are compiler
45733 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45735 2012-05-06 Joseph Myers <joseph@codesourcery.com>
45739 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45741 (EXPL_FINITE): Likewise.
45742 (FLDLOG): Likewise.
45745 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45746 Adjust comments for base varying.
45747 (__expl_finite): Change alias to EXPL_FINITE.
45748 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
45750 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
45751 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
45752 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45753 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
45754 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45756 (EXPL_FINITE): Likewise.
45757 (FLDLOG): Likewise.
45760 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45761 Adjust comments for base varying.
45762 (__expl_finite): Change alias to EXPL_FINITE.
45763 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
45765 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45768 * math/libm-test.inc (check_float_internal): Correct ulp
45769 calculation for subnormal expected results.
45771 2012-05-06 Andreas Jaeger <aj@suse.de>
45773 * Makeconfig (+math-flags): New, set to -frounding-math.
45774 (+cflags): Add +math-flags so that all of glibc gets compiled with
45777 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
45779 2012-05-05 Joseph Myers <joseph@codesourcery.com>
45781 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
45787 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
45788 (__ieee754_expl): Allow for and saturate large arguments.
45789 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
45790 (u_threshold): Likewise.
45791 (__exp): Call __ieee754_exp before checking for overflow and
45793 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
45794 (u_threshold): Likewise.
45795 (__expf): Call __ieee754_expf before checking for overflow and
45797 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
45798 (u_threshold): Likewise.
45799 (__expl): Call __ieee754_expl before checking for overflow and
45801 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
45802 (__ieee754_expl): Allow for and saturate large arguments.
45803 * math/libm-test.inc (exp_test): Add another test. Do not allow
45804 missing overflow exception on overflow.
45805 (expm1_test): Do not allow missing overflow exception on overflow.
45807 * sysdeps/i386/fpu/e_expl.c: Move to ...
45808 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
45809 rather than using inline asm.
45810 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
45811 * sysdeps/x86_64/fpu/e_expl.S: Copy from
45812 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
45814 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
45817 (signal): Likewise.
45821 2012-05-04 Joseph Myers <joseph@codesourcery.com>
45823 * sysdeps/unix/syscalls.list (adjtime): Add entry from
45824 sysdeps/unix/common/syscalls.list.
45825 (fchmod): Likewise.
45826 (fchown): Likewise.
45827 (ftruncate): Likewise.
45828 (getrusage): Likewise.
45829 (gettimeofday): Likewise.
45830 (setpgid): Likewise.
45831 (setregid): Likewise.
45832 (setreuid): Likewise.
45833 (sigaction): Likewise.
45834 (truncate): Likewise.
45835 (vhangup): Likewise.
45836 * sysdeps/unix/common/syscalls.list: Remove file.
45837 * sysdeps/unix/bsd/Implies: Don't include unix/common.
45838 * sysdeps/unix/sysv/linux/Implies: Likewise.
45840 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
45842 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
45843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
45844 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
45846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45848 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
45850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
45851 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
45853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
45854 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
45856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45857 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45860 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45863 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45866 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45870 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45874 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45877 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45881 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45885 2012-05-04 Joseph Myers <joseph@codesourcery.com>
45887 * sysdeps/unix/common/bits/dirent.h: Remove file.
45888 * sysdeps/unix/common/bits/fcntl.h: Likewise.
45890 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45891 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45892 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45893 * sysdeps/unix/bsd/isatty.c: Likewise.
45894 * sysdeps/unix/bsd/tcdrain.c: Likewise.
45895 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45896 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45898 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45901 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45902 long double comparison inaccuracies.
45903 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45906 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
45908 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45909 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45911 2012-05-04 Joseph Myers <joseph@codesourcery.com>
45914 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45915 nonzero digits before rounding a hex value.
45916 * stdlib/tst-strtod.c (tests): Add another test.
45918 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45920 * sysdeps/s390/fpu/libm-test-ulps: Update.
45922 2012-05-03 Andreas Jaeger <aj@suse.de>
45924 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45925 does not get optimized out.
45926 (malloc_opt_barrier): New.
45928 2012-05-03 Andreas Jaeger <aj@suse.de>
45929 Roland McGrath <roland@hack.frob.com>
45931 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
45932 intermediate file deletion.
45933 (generated): Add .symlist files.
45935 2012-05-03 Joseph Myers <joseph@codesourcery.com>
45938 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45939 Redirect under this condition.
45940 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45941 [__USE_GNU] (__dprintf_chk): Not under this condition.
45942 [__USE_GNU] (__vdprintf_chk): Likewise.
45943 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45944 under this condition.
45945 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45946 [__USE_XOPEN2K8] (dprintf): Define under this condition.
45947 [__USE_XOPEN2K8] (vdprintf): Likewise.
45948 [__USE_GNU] (__dprintf_chk): Not under this condition.
45949 [__USE_GNU] (__vdprintf_chk): Likewise.
45950 [__USE_GNU] (dprintf): Likewise.
45951 [__USE_GNU] (vdprintf): Likewise.
45953 2012-05-03 Roland McGrath <roland@hack.frob.com>
45955 * elf/Makefile (common-generated): Set this instead of generated for
45956 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
45957 $(all-built-dso)-derived lists.
45959 2012-05-03 Andreas Jaeger <aj@suse.de>
45961 * sysdeps/i386/fpu/libm-test-ulps: Update.
45964 * FAQ.in: Likewise.
45965 * scripts/gen-FAQ.pl: Likewise.
45966 * manual/install.texi (Installation): Point to online location of
45968 * Makefile (files-for-dist): Remove FAQ.
45971 2012-05-02 Allan McRae <allan@archlinux.org>
45973 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45974 (LDFLAGS-reldepmod5.so): Likewise.
45975 (LDFLAGS-reldep6mod1.so): Likewise.
45976 (LDFLAGS-reldep6mod4.so): Likewise.
45977 (LDFLAGS-reldep8mod3.so): Likewise.
45978 (LDFLAGS-unload4mod1.so): Likewise.
45979 (LDFLAGS-unload4mod2.so): Likewise.
45980 (LDFLAGS-tst-initorder): Likewise.
45981 (LDFLAGS-tst-initordera2.so): Likewise.
45982 (LDFLAGS-tst-initordera3.so): Likewise.
45983 (LDFLAGS-tst-initordera4.so): Likewise.
45984 (LDFLAGS-tst-initorderb2.so): Likewise.
45985 (LDFLAGS-noload): Likewise.
45986 (LDFLAGS-next): Likewise.
45987 (LDFLAGS-order2mod1.so): Likewise.
45988 (LDFLAGS-order2mod2.so): Likewise.
45989 (LDFLAGS-tst-initorder2): Likewise.
45990 (LDFLAGS-tst-initorder2a.so): Likewise.
45991 (LDFLAGS-tst-initorder2b.so): Likewise.
45992 (LDFLAGS-tst-initorder2c.so): Likewise.
45993 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45995 2012-05-02 David S. Miller <davem@davemloft.net>
45997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45999 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
46002 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
46004 2012-05-02 Andreas Jaeger <aj@suse.de>
46006 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
46007 since we manipulate rounding mode.
46008 (CPPFLAGS-test-idouble.c): Likewise.
46009 (CPPFLAGS-test-ifloat.c): Likewise.
46010 (CFLAGS-test-ldouble.c): Likewise.
46011 (CFLAGS-test-double.c): Likewise.
46012 (CFLAGS-test-float.c): Likewise.
46013 (CFLAGS-test-misc.c): Likewise.
46014 (CFLAGS-test-test-fenv.c): Likewise.
46016 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46020 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
46021 comparisons to determine direction to adjust input.
46023 2012-05-01 Roland McGrath <roland@hack.frob.com>
46025 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
46026 output to the target.
46028 * scripts/localplt.awk: New file.
46029 * elf/Makefile ($(objpfx)check-localplt): Target removed.
46030 (check-localplt-CFLAGS): Variable removed.
46031 ($(all-built-dso:=.jmprel)): New static pattern rule.
46032 (generated): Add those targets.
46033 (localplt-built-dso): New variable.
46034 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
46036 * elf/check-localplt.c: File removed.
46038 * scripts/check-execstack.awk: New file.
46039 * elf/Makefile ($(objpfx)check-execstack): Target removed.
46040 (check-execstack-CFLAGS): Variable removed.
46041 ($(objpfx)check-execstack.h): Target removed.
46042 ($(objpfx)execstack-default): New target.
46043 (generated): Add that instead of check-execstack.h.
46044 ($(all-built-dso:=.phdr)): New static pattern rule.
46045 (generated): Add those targets.
46046 * elf/check-execstack.c: File removed.
46048 * scripts/check-textrel.awk: New file.
46049 * elf/Makefile ($(objpfx)check-textrel): Target removed.
46050 (check-textrel-CFLAGS): Variable removed.
46051 (all-built-dso): Use := to define.o
46052 ($(all-built-dso:=.dyn)): New static pattern rule.
46053 (generated): Add those targets.
46054 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
46055 * config.make.in (READELF): New substituted variable.
46056 * elf/check-textrel.c: File removed.
46058 2012-05-01 Joseph Myers <joseph@codesourcery.com>
46060 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46062 * conform/data/ctype.h-data [C99-based standards] (isblank):
46064 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
46065 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
46066 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46067 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
46068 Specify type. Require positive value.
46069 (EILSEQ): Likewise.
46070 (ERANGE): Likewise.
46071 [ISO || POSIX] (EILSEQ): Do not expect.
46072 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
46073 Specify type. Require positive value.
46074 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
46075 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
46076 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
46077 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
46078 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
46079 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
46080 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
46081 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
46082 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
46083 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
46084 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
46085 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
46086 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
46087 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
46088 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
46089 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
46090 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
46091 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
46092 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
46093 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
46094 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
46095 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
46096 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
46097 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
46098 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
46099 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
46100 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
46101 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
46102 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
46103 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
46104 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
46105 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
46106 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
46107 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
46108 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
46109 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
46110 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
46111 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
46112 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
46113 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
46114 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
46115 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
46116 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
46117 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
46118 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
46119 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
46120 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
46121 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
46122 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
46123 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
46124 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
46125 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
46126 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
46127 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
46128 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
46129 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
46130 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
46131 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
46132 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
46133 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
46134 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
46135 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
46136 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
46137 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
46138 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
46139 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
46140 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
46141 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
46142 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
46143 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
46144 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
46145 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
46146 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
46147 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
46148 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
46149 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
46150 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
46152 (FLT_ROUNDS): Expect as macro, not constant.
46153 (FLT_MANT_DIG): Use macro-int-constant.
46154 (DBL_MANT_DIG): Likewise.
46155 (LDBL_MANT_DIG): Likewise.
46156 (FLT_DIG): Likewise.
46157 (DBL_DIG): Likewise.
46158 (LDBL_DIG): Likewise.
46159 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
46160 (DBL_MIN_EXP): Likewise.
46161 (LDBL_MIN_EXP): Likewise.
46162 (FLT_MAX_EXP): Use macro-int-constant.
46163 (DBL_MAX_EXP): Likewise.
46164 (LDBL_MAX_EXP): Likewise.
46165 (FLT_MAX_10_EXP): Likewise.
46166 (DBL_MAX_10_EXP): Likewise.
46167 (LDBL_MAX_10_EXP): Likewise.
46168 (FLT_MAX): Use macro-constant.
46169 (DBL_MAX): Likewise.
46170 (LDBL_MAX): Likewise.
46171 (FLT_EPSILON): Use macro-constant. Give upper bound.
46172 (DBL_EPSILON): Likewise.
46173 (LDBL_EPSILON): Likewise.
46174 (FLT_MIN): Likewise.
46175 (DBL_MIN): Likewise.
46176 (LDBL_MIN): Likewise.
46177 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
46178 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
46179 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
46180 [ISO11] (FLT_HAS_SUBNORM): Likewise.
46181 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
46182 [ISO11] (DBL_DECIMAL_DIG): Likewise.
46183 [ISO11] (FLT_DECIMAL_DIG): Likewise.
46184 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
46185 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
46186 [ISO11] (FLT_TRUE_MIN): Likewise.
46187 [ISO11] (LDBL_TRUE_MIN): Likewise.
46188 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46189 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
46190 (SCHAR_MIN): Use macro-int-constant. Specify type.
46191 (SCHAR_MAX): Likewise.
46192 (UCHAR_MAX): Likewise.
46193 (CHAR_MIN): Likewise.
46194 (CHAR_MAX): Likewise.
46195 (MB_LEN_MAX): Use macro-int-constant.
46196 (SHRT_MIN): Use macro-int-constant. Specify type.
46197 (SHRT_MAX): Likewise.
46198 (USHRT_MAX): Likewise.
46199 (INT_MAX): Likewise.
46200 (INT_MIN): Use macro-int-constant. Specify type. Make upper
46202 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
46204 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
46206 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
46207 bound negative. Suffix upper bound with "L".
46208 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
46210 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
46212 [C99-based standards] (LLONG_MAX): Likewise.
46213 [C99-based standards] (ULLONG_MAX): Likewise.
46214 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
46216 [ISO11] (max_align_t): Require type.
46217 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46219 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
46220 from $CFLAGS, without defining away __attribute__ calls.
46221 (checknamespace): Use $CFLAGS_namespace.
46223 * conform/conformtest.pl (@keywords): Only include C99 keywords
46224 for standards based on C99 or C11.
46226 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
46228 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
46231 * conform/conformtest.pl: Handle "macro-int-constant" and test for
46232 usability of symbols in #if.
46234 * conform/conformtest.pl: If macro or constant types start
46235 "promoted:", expect the symbol to be of the following type
46236 promoted by the integer promotions.
46238 * conform/conformtest.pl: Parse all "constant" and "macro" lines
46239 in one place. Also handle "macro-constant".
46241 * conform/conformtest.pl: Only accept expected macro values with
46242 "==". Parse all "macro" lines in one place.
46243 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
46245 * conform/conformtest.pl: Handle braced types on "constant" lines
46246 instead of handling "typed-constant".
46247 * conform/data/signal.h-data: Use "constant" instead of
46250 * conform/conformtest.pl: Handle "optional-" at start of lines in
46251 one place rather than duplicating several cases. Handle each
46252 format of "macro" line with initial "optional-".
46254 * conform/conformtest.pl: Only accept expected constant or
46255 optional-constant values with "==". Parse all "constant" lines in
46256 one place. Parse all "optional-constant" lines in one place.
46257 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
46258 * conform/data/fmtmsg.h-data: Likewise.
46259 * conform/data/netinet/in.h-data: Likewise.
46260 * conform/data/tar.h-data: Likewise.
46261 * conform/data/limits.h-data: Use "==" form on "constant" and
46262 "optional-constant" lines.
46264 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
46265 Use -std=c99 for XOPEN2K.
46266 (@knownproblems): Remove.
46267 (newtoken): Don't check %isknown.
46269 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
46270 Do not expect macro.
46271 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
46272 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
46273 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
46274 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
46275 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
46276 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
46277 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
46278 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
46279 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
46280 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
46281 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
46282 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
46283 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
46284 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
46285 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
46286 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
46287 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
46288 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
46289 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
46290 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
46291 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
46292 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
46293 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
46294 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
46295 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
46296 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
46297 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
46298 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
46299 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
46300 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
46301 [XPG3] (acosh): Likewise.
46302 [XPG3] (asinh): Likewise.
46303 [XPG3] (atanh): Likewise.
46304 [XPG3] (cbrt): Likewise.
46305 [XPG3] (expm1): Likewise.
46306 [XPG3] (ilogb): Likewise.
46307 [XPG3] (log1p): Likewise.
46308 [XPG3] (logb): Likewise.
46309 [XPG3] (nextafter): Likewise.
46310 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
46311 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
46312 [XPG3] (remainder): Likewise.
46313 [XPG3] (rint): Likewise.
46314 [XPG3 || XPG4 || UNIX98] (round): Likewise.
46315 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
46316 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
46317 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
46318 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
46319 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
46320 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
46321 [UNIX98 || XOPEN2K] (scalb): Expect.
46322 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
46323 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
46324 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
46325 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
46326 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
46327 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
46328 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
46329 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
46330 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
46331 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
46332 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
46333 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
46334 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
46335 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
46336 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
46337 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
46338 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
46339 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
46340 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
46341 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
46342 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
46343 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
46344 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
46345 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
46346 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
46347 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
46348 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
46349 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
46350 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
46351 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
46352 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
46353 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
46354 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
46355 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
46356 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
46357 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
46358 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
46359 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
46360 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
46361 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
46362 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
46363 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
46364 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
46365 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
46366 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
46367 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
46368 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
46369 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
46370 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
46371 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
46372 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
46373 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
46374 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
46375 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
46376 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
46377 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
46378 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
46379 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
46380 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
46381 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
46382 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
46383 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
46384 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
46385 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
46386 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
46387 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
46388 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
46389 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
46390 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
46391 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
46392 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
46393 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
46394 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
46395 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
46396 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
46397 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
46398 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
46399 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
46400 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
46401 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
46402 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
46403 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
46404 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
46405 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
46406 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
46407 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
46408 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
46409 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
46410 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
46411 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
46412 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
46413 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
46414 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
46415 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
46416 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
46417 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
46418 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
46419 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
46420 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
46421 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
46422 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
46423 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
46424 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
46425 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
46426 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
46427 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
46428 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
46429 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
46430 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
46431 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
46432 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
46433 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
46434 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
46435 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
46436 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
46437 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
46438 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
46439 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
46440 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
46441 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
46442 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
46443 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
46444 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
46445 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
46446 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
46447 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
46448 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
46449 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
46450 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
46451 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
46452 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
46453 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
46454 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
46455 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
46456 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
46457 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
46458 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
46460 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
46461 _XOPEN_SOURCE_EXTENDED for XPG4.
46463 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
46465 * Makeconfig (localtime): Remove variable.
46466 (inst_localtime-file): Likewise.
46468 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
46470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
46472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
46476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
46480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
46482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
46486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46489 2012-05-01 Joseph Myers <joseph@codesourcery.com>
46493 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
46494 comparisons to determine direction to adjust input.
46495 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
46496 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
46497 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
46499 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
46501 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46503 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
46504 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
46506 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
46508 * math/libm-test.inc (nexttoward_test): Add more tests.
46510 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
46513 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
46514 in version GLIBC_2.1, not GLIBC_2.0.
46515 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
46518 2012-04-30 Joseph Myers <joseph@codesourcery.com>
46521 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
46523 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46524 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
46525 * math/libm-test.inc (acos_test): Add more tests.
46526 (asin_test): Likewise.
46527 * sysdeps/i386/fpu/libm-test-ulps: Update.
46528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46531 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
46533 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
46534 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46535 * math/libm-test.inc (acos_test_tonearest): New function.
46536 (acos_test_towardzero): Likewise.
46537 (acos_test_downward): Likewise.
46538 (acos_test_upward): Likewise.
46539 (asin_test_tonearest): Likewise.
46540 (asin_test_towardzero): Likewise.
46541 (asin_test_downward): Likewise.
46542 (asin_test_upward): Likewise.
46543 (main): Call the new functions.
46544 * sysdeps/i386/fpu/libm-test-ulps: Update.
46545 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46549 * math/e_exp10.c: Include <float.h>.
46550 (__ieee754_exp10): Handle underflow here rather than multiplying
46551 large negative argument by M_LN10.
46552 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
46554 * math/e_exp10l.c: Include <float.h>.
46555 (__ieee754_exp10l): Handle underflow here rather than multiplying
46556 large negative argument by M_LN10l.
46557 * math/libm-test.inc (exp10_test): Add another test. Do not allow
46558 spurious overflow exception on underflow.
46560 2012-04-29 Marek Polacek <polacek@redhat.com>
46562 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
46563 (__fortify_function): New macro.
46564 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
46565 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
46566 __extern_always_inline.
46567 * libio/bits/stdio2.h: Likewise.
46568 * libio/bits/stdio.h: Likewise.
46569 * string/string.h: Likewise.
46570 * string/bits/string3.h: Likewise.
46571 * include/stdio.h: Likewise.
46572 * stdlib/bits/stdlib.h: Likewise.
46573 * stdlib/stdlib.h: Likewise.
46574 * rt/bits/mqueue2.h: Likewise.
46575 * rt/mqueue.h: Likewise.
46576 * posix/bits/unistd.h: Likewise.
46577 * posix/unistd.h: Likewise.
46578 * io/bits/poll2.h: Likewise.
46579 * io/bits/fcntl2.h: Likewise.
46580 * io/fcntl.h: Likewise.
46581 * io/sys/poll.h: Likewise.
46582 * misc/bits/syslog.h: Likewise.
46583 * misc/bits/syslog-ldbl.h: Likewise.
46584 * misc/sys/syslog.h: Likewise.
46585 * socket/bits/socket2.h: Likewise.
46586 * socket/sys/socket.h: Likewise.
46587 * debug/tst-chk1.c: Likewise.
46588 * wcsmbs/bits/wchar2.h: Likewise.
46589 * wcsmbs/bits/wchar-ldbl.h: Likewise.
46590 * wcsmbs/wchar.h: Likewise.
46592 2012-04-29 Andreas Jaeger <aj@suse.de>
46594 * Makerules (tests): Remove enable-check-abi protection.
46595 (check-abi-warn): Remove.
46596 (check-abi-%): Remove check-abi-warn usage.
46598 * configure.in: Remove check-abi configure option.
46599 * configure: Regenerated.
46600 * config.make.in (enable-check-abi): Remove.
46602 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
46605 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
46606 double functions to double *_finite functions.
46609 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
46610 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
46612 * stdio-common/Makefile (tests): Add tst-sprintf3.
46613 * stdio-common/tst-sprintf3.c: New file.
46615 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
46616 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
46618 2012-04-28 Joseph Myers <joseph@codesourcery.com>
46620 * conform/conformtest.pl: Remove duplicate typed-constant
46623 2012-04-28 David S. Miller <davem@davemloft.net>
46625 * Makerules (%.abilist): Add vpath on sysdep_dirs.
46626 (check-abi-%): Remove AWK script prerequisite and explicit
46628 (check-abi): Rewrite to just diff the symlist with the abilist.
46629 (config-tls, config-abi-config): Delete, no longer used.
46630 (update-abi-%): Remove AWK script and explicit abilist directory.
46631 (update-abi): Rewrite to simply compare and conditionally copy the
46632 symlist and the sysdep abilist file. Remove update-abi-config
46634 * abilist/ld.abilist: Remove.
46635 * abilist/libBrokenLocale.abilist: Remove.
46636 * abilist/libanl.abilist: Remove.
46637 * abilist/libcrypt.abilist: Remove.
46638 * abilist/libdl.abilist: Remove.
46639 * abilist/librt.abilist: Remove.
46640 * abilist/libthread_db.abilist: Remove.
46641 * abilist/libutil.abilist: Remove.
46642 * scripts/extract-abilist.awk: Remove.
46643 * scripts/merge-abilist.awk: Remove.
46644 * sysdeps/generic/libcidn.abilist: New file.
46645 * sysdeps/generic/libnss_compat.abilist: New file.
46646 * sysdeps/generic/libnss_db.abilist: New file.
46647 * sysdeps/generic/libnss_dns.abilist: New file.
46648 * sysdeps/generic/libnss_files.abilist: New file.
46649 * sysdeps/generic/libnss_hesiod.abilist: New file.
46650 * sysdeps/generic/libnss_nis.abilist: New file.
46651 * sysdeps/generic/libnss_nisplus.abilist: New file.
46652 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
46653 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
46654 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
46656 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
46657 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
46658 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
46659 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
46660 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
46661 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
46662 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
46663 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
46664 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
46666 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
46667 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
46668 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
46669 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
46671 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
46672 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
46673 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
46674 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
46675 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
46676 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
46678 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
46679 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
46680 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
46682 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
46683 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
46685 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
46687 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
46689 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
46691 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
46693 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
46695 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
46697 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
46699 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
46701 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
46703 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
46705 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
46707 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
46709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
46711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
46717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
46723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
46736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
46738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
46742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
46744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
46746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
46748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
46750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
46754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
46756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
46758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
46760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
46761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
46763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
46765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
46767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
46769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
46771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
46773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
46775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
46779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
46781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
46783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
46785 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46786 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
46787 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
46789 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
46790 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
46791 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
46792 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
46793 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
46794 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
46795 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
46796 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
46797 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
46798 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
46799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
46800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
46802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
46806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
46808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
46810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
46812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
46814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
46820 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
46824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
46825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
46827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
46831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
46833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
46835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
46837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
46839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
46845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
46850 2012-04-28 Joseph Myers <joseph@codesourcery.com>
46852 * conform/conformtest.pl: Fix typo in handling typed-constant from
46855 2012-04-27 Joseph Myers <joseph@codesourcery.com>
46857 * README: Cut down references to pre-2.6 Linux kernels and
46858 Linuxthreads. Update lists of configurations in libc and ports
46859 and sort alphabetically. Say "or newer" with Linux kernel version
46862 * config.h.in [IS_IN_build]: Allow compiling without optimization.
46864 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46867 * math/libm-test.inc (logb_test_downward): New test to expose
46868 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46871 2012-04-27 Joseph Myers <joseph@codesourcery.com>
46874 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46876 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46877 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46879 2012-04-26 Joseph Myers <joseph@codesourcery.com>
46881 * sysdeps/unix/i386/brk.S: Remove file.
46882 * sysdeps/unix/i386/dl-brk.S: Likewise.
46883 * sysdeps/unix/i386/pipe.S: Likewise.
46884 * sysdeps/unix/i386/sigreturn.S: Likewise.
46885 * sysdeps/unix/i386/syscall.S: Likewise.
46886 * sysdeps/unix/i386/vfork.S: Likewise.
46887 * sysdeps/unix/i386/wait.S: Likewise.
46889 * sysdeps/unix/common/tcsendbrk.c: Move to ...
46890 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46892 * configure.in (arm*-none*): Do not allow without
46893 --enable-hacker-mode.
46894 (netbsd*): Remove case setting base_os.
46895 (386bsd*): Likewise.
46896 (freebsd*): Likewise.
46899 (sunos*): Likewise.
46900 (ultrix*): Likewise.
46901 (newsos*): Likewise.
46902 (dynix*): Likewise.
46908 (minix*): Likewise.
46909 (irix4*): Likewise.
46910 (irix6*): Likewise.
46911 (solaris[2-9]*): Likewise.
46913 * configure: Regenerated.
46915 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46918 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46919 overflow or cancellation in calculating denominator.
46920 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46921 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46922 down expression to avoid unexpected rounding in newer GCCs.
46923 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46925 2012-04-26 David S. Miller <davem@davemloft.net>
46927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46928 long-double compat symbols.
46929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46943 2012-04-25 David S. Miller <davem@davemloft.net>
46945 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46946 HWCAP_* values only after the memory barriers have been defined.
46947 (atomic_full_barrier): Define.
46948 (atomic_read_barrier): Define.
46949 (atomic_write_barrier): Define.
46951 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46953 * shlib-versions: Add libgcc_s version information.
46954 * sysdeps/generic/libgcc_s.h: Remove.
46955 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46957 * sysdeps/gnu/unwind-resume.c: Likewise.
46958 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46960 2012-04-25 David S. Miller <davem@davemloft.net>
46962 * sysdeps/unix/sparc/brk.S: Delete.
46963 * sysdeps/unix/sparc/dl-brk.S: Delete.
46964 * sysdeps/unix/sparc/pipe.S: Delete.
46965 * sysdeps/unix/sparc/sysdep.S: Delete.
46966 * sysdeps/unix/sparc/sysdep.h: Delete.
46967 * sysdeps/unix/sparc/vfork.S: Delete.
46968 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46969 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46970 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46971 (ret_ERRVAL, r0, r1, MOVE): Define.
46972 (JUMPTARGET): Remove.
46973 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46974 sysdeps/unix/sparc/sysdep.h
46975 (ENTRY, END): Remove.
46976 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46978 2012-04-25 Joseph Myers <joseph@codesourcery.com>
46980 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46981 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46984 * timezone/README: Update upstream location and email address for
46986 * timezone/zdump.c: Update from tzcode 2012b.
46987 * timezone/zic.c: Likewise.
46989 * configure.in (libc_cv_as_needed): Remove test.
46990 * configure: Regenerated.
46991 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46992 conditional definition.
46993 [$(have-as-needed) != yes] (no-as-needed): Likewise.
46994 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46995 * config.make.in (have-as-needed): Remove variable.
46997 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46998 Paul Pluzhnikov <ppluzhnikov@google.com>
47000 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
47003 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
47005 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
47006 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
47007 * sysdeps/sh/strlen.S: Likewise.
47009 2012-04-24 Joseph Myers <joseph@codesourcery.com>
47011 * sysdeps/unix/fork.S: Remove file.
47012 * sysdeps/unix/i386/fork.S: Likewise.
47013 * sysdeps/unix/sparc/fork.S: Likewise.
47015 * sysdeps/unix/system.c: Remove file.
47016 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
47018 * sysdeps/unix/getegid.S: Remove file.
47019 * sysdeps/unix/geteuid.S: Likewise.
47021 2012-04-24 Roland McGrath <roland@hack.frob.com>
47023 * scripts/check-localplt.awk: New file.
47024 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
47026 * scripts/data/localplt-generic.data: Add a comment.
47028 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
47029 NODE when __dir_mkfile failed.
47030 * sysdeps/mach/hurd/symlinkat.c: Likewise.
47031 Reported by Ludovic Courtès <ludo@gnu.org>.
47033 2012-04-24 Andreas Jaeger <aj@suse.de>
47035 * Makerules (common-clean): Also remove gen-as-const-headers
47038 2012-04-24 Joseph Myers <joseph@codesourcery.com>
47040 * Makerules (native-compile): Do not change working directory for
47041 build. Use $(OUTPUT_OPTION) in command.
47042 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
47044 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47047 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
47048 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
47049 * math/libm-test.inc (floor_test): Add more tests.
47050 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
47052 2012-04-24 Joseph Myers <joseph@codesourcery.com>
47054 * sysdeps/unix/getdents.c: Remove file.
47055 * sysdeps/unix/sysv/getdents.c: Likewise.
47056 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
47058 * sysdeps/unix/syscalls.list (madvise): Add syscall from
47059 sysdeps/unix/mman/syscalls.list.
47061 (mprotect): Likewise.
47063 (munmap): Likewise.
47064 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
47065 * sysdeps/unix/mman/syscalls.list: Remove.
47066 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
47068 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
47069 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
47070 * configure: Regenerated.
47071 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
47072 $(libgcc_s_suffix).
47073 * config.make.in (libgcc_s_suffix): Remove variable.
47075 2012-04-23 Joseph Myers <joseph@codesourcery.com>
47077 * sysdeps/unix/sysv/gethostname.c: Move to ...
47078 * sysdeps/posix/gethostname.c: ... here.
47080 * sysdeps/unix/execve.S: Remove file.
47082 * sysdeps/unix/_exit.S: Remove file.
47084 2012-04-23 Andreas Jaeger <aj@suse.de>
47087 * manual/Makefile: Remove make dist support, there's no
47088 need for a stand-alone documentation tar ball.
47089 (TEXI2DVI): Define always, it's not in Makeconfig.
47092 (edition): Removed.
47093 (glibc-doc-$(edition).tar): Removed
47097 (ETAGS): Remove, it's in Makeconfig.
47098 (move-if-change): Remove, it's in Makeconfig.
47100 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
47103 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
47104 (strtod, strtof, strtold, strtol, strtoul, strtoq)
47105 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
47106 (strtod_l, strtof_l, strtold_l): Remove __wur.
47107 It is not necessarily an error to ignore strtol's return value.
47108 One can reliably look at the stored endptr to decide whether
47109 the number had valid syntax.
47111 2012-04-21 Andreas Jaeger <aj@suse.de>
47114 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
47116 2012-04-21 Joseph Myers <joseph@codesourcery.com>
47118 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
47119 * sysdeps/unix/sysv/Versions: Remove file.
47121 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
47124 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47126 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
47129 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
47130 version from __vm86.
47132 2012-04-20 Joseph Myers <joseph@codesourcery.com>
47134 * sysdeps/unix/common/lxstat.c: Remove file.
47135 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
47137 * sysdeps/unix/sysv/Makefile: Remove file.
47139 * sysdeps/unix/sysv/direct.h: Remove file.
47141 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
47142 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
47143 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
47144 * sysdeps/unix/sysv/bits/signum.h: Likewise.
47145 * sysdeps/unix/sysv/bits/stat.h: Likewise.
47146 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
47147 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
47149 * sysdeps/unix/sysv/setrlimit.c: Remove file.
47151 * sysdeps/unix/xmknod.c: Remove file.
47152 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
47154 * sysdeps/unix/sysv/settimeofday.c: Remove file.
47156 * sysdeps/unix/sysv/i386/time.S: Remove file.
47158 * sysdeps/unix/fxstat.c: Remove file.
47159 * sysdeps/unix/xstat.c: Likewise.
47160 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
47162 * sysdeps/unix/sysv/sigaction.c: Remove file.
47164 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
47165 (sysdep_headers): Remove variable.
47166 [termio.h not in sysdep_headers] (generated): Likewise.
47167 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
47168 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
47169 * sysdeps/unix/sysv/tcdrain.c: Likewise.
47170 * sysdeps/unix/sysv/tcflow.c: Likewise.
47171 * sysdeps/unix/sysv/tcflush.c: Likewise.
47172 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
47173 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
47174 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
47175 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
47176 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
47178 * sysdeps/unix/siglist.c: Remove file.
47180 * sysdeps/unix/getppid.S: Remove file.
47182 * sysdeps/unix/mkdir.c: Remove file.
47183 * sysdeps/unix/rmdir.c: Likewise.
47185 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
47187 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
47189 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
47190 errlist-compat value.
47192 2012-04-18 David S. Miller <davem@davemloft.net>
47194 * sysdeps/generic/memcopy.h (reg_char): Delete.
47195 * debug/strcat_chk.c: Use char, not reg_char.
47196 * debug/strcpy_chk.c: Likewise.
47197 * debug/strncat_chk.c: Likewise.
47198 * debug/strncpy_chk.c: Likewise.
47199 * string/memchr.c: Likewise.
47200 * string/memrchr.c: Likewise.
47201 * string/rawmemchr.c: Likewise.
47202 * string/strcat.c: Likewise.
47203 * string/strchr.c: Likewise.
47204 * string/strchrnul.c: Likewise.
47205 * string/strcmp.c: Likewise.
47206 * string/strcpy.c: Likewise.
47207 * string/strncat.c: Likewise.
47208 * string/strncmp.c: Likewise.
47209 * string/strncpy.c: Likewise.
47211 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
47213 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
47214 __builtin_memcopy is called when src and dest ranges are known to not
47217 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
47219 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
47220 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
47221 fwd_align_merge macro call.
47222 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
47223 bwd_align_merge macro call.
47224 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47226 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
47228 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
47229 bwd_align_merge macros.
47230 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
47231 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
47232 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47234 2012-04-18 David S. Miller <davem@davemloft.net>
47236 * sysdeps/sparc/sparc64/memcopy.h: Delete.
47238 2012-04-18 Andreas Jaeger <aj@suse.de>
47241 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
47242 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
47243 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47245 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
47246 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
47247 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47249 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
47250 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
47251 Adjust for changed ldbl-128 files.
47253 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
47254 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
47255 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47257 2012-04-17 David S. Miller <davem@davemloft.net>
47259 * sysdeps/sparc/sparc32/memcopy.h: Delete.
47261 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
47263 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
47264 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
47265 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
47266 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
47267 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
47268 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
47270 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47273 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
47274 * math/libm-test.inc: Add ilogb errno and exception tests.
47275 * math/w_ilogb.c: New file: ilogb wrapper.
47276 * math/w_ilogbf.c: New file: ilogbf wrapper.
47277 * math/w_ilogbl.c: New file: ilogbl wrapper.
47278 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
47279 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
47280 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
47281 exception being thrown with 0.0 as argument.
47282 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
47283 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
47284 exception being thrown with 0.0 as argument.
47285 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
47286 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
47287 exception being thrown with 0.0 as argument.
47288 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
47289 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
47290 exception being thrown with 0.0 as argument.
47291 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
47292 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
47293 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
47294 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
47295 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
47296 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
47297 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
47298 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
47299 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
47301 2012-04-17 Petr Baudis <pasky@ucw.cz>
47303 * include/sys/uio.h: Change __vector to __iovec to avoid clash
47306 2012-04-16 Marek Polacek <polacek@redhat.com>
47308 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
47310 2012-04-16 Marek Polacek <polacek@redhat.com>
47312 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
47313 operands of fdivp instruction.
47315 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
47317 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
47318 * elf/tst-auditmod3b.c: Likewise.
47319 * elf/tst-auditmod4b.c: Likewise.
47320 * elf/tst-auditmod5b.c: Likewise.
47321 * elf/tst-auditmod6b.c: Likewise.
47322 * elf/tst-auditmod6c.c: Likewise.
47323 * elf/tst-auditmod7b.c: Likewise.
47324 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
47325 * sysdeps/x86_64/preconfigure.in: Likewise.
47326 * sysdeps/x86_64/preconfigure: Regenerated.
47328 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
47330 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
47333 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
47335 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47336 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
47338 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
47341 * locale/iso-639.def: Fix gl language name. Spotted by
47344 2012-04-12 Roland McGrath <roland@hack.frob.com>
47347 * libio/libio.h (__io_write_fn): Update comment.
47349 2012-04-12 Petr Baudis <pasky@ucw.cz>
47352 * stdio.texi (Hook Functions): The user provided writer function
47353 is not allowed to return -1.
47355 2012-04-11 David S. Miller <davem@davemloft.net>
47357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47359 2012-04-11 Mike Frysinger <vapier@gentoo.org>
47361 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
47362 Add a leading slash to rtkaio.
47364 2012-04-11 Jim Meyering <meyering@redhat.com>
47367 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
47368 It is not necessarily an error to ignore fwrite's return
47369 value. One can reliably use ferror to test for errors after
47372 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
47374 * bits/types.h (__snseconds_t): New type.
47375 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
47377 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
47378 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47379 (__SNSECONDS_T_TYPE): Likewise.
47380 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47381 (__SNSECONDS_T_TYPE): Likewise.
47382 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47383 (__SNSECONDS_T_TYPE): Likewise.
47385 2012-04-10 Andreas Jaeger <aj@suse.de>
47388 * manual/time.texi (Processor Time): Return type of times is
47389 elapsed real time since an arbitrary point in the past.
47390 (CPU Time): Move CLK_TCK from here...
47391 (Processor Time): ...to here. Correct description.
47392 * manual/conf.texi (Constants for Sysconf): Correct description of
47395 2012-04-10 David S. Miller <davem@davemloft.net>
47398 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
47399 where the is a gap between DT_REL(A) and DT_JMPREL.
47401 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
47403 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
47404 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
47405 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
47407 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47409 * elf/dl-support.c (_dl_inhibit_cache): New variable.
47410 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
47411 (dl_main): Handle --inhibit-cache.
47412 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
47414 * elf/dl-load.c (_dl_map_object): Use it.
47415 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
47417 2012-04-09 Joseph Myers <joseph@codesourcery.com>
47420 * sysdeps/i386/fpu/e_powl.S (p78): New object.
47421 (__ieee754_powl): Saturate large exponents rather than testing for
47422 overflow of y*log2(x).
47423 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47424 * math/libm-test.inc (pow_test): Do not permit spurious overflow
47428 * math/s_ctan.c: Include <float.h>.
47429 (__ctan): Avoid internal overflow or cancellation in calculating
47431 * math/s_ctanf.c: Likewise.
47432 * math/s_ctanl.c: Likewise.
47433 * math/s_ctanh.c: Likewise.
47434 * math/s_ctanhf.c: Likewise.
47435 * math/s_ctanhl.c: Likewise.
47436 * math/libm-test.inc (ctan_test): Add more tests.
47437 (ctanh_test): Likewise.
47438 * sysdeps/i386/fpu/libm-test-ulps: Update.
47439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47441 2012-04-09 Andreas Jaeger <aj@suse.de>
47444 * manual/filesys.texi (Directory Entries): Mention that d_namlen
47445 is an optional BSD extension.
47448 * manual/stdio.texi (Opening Streams): Document additional fopen
47451 2012-04-09 Roland McGrath <roland@hack.frob.com>
47453 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
47454 %eax without telling the compiler.
47456 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
47459 * manual/install.texi: Use sourceware.org.
47461 2012-04-09 Joseph Myers <joseph@codesourcery.com>
47464 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
47465 (__ieee754_pow): Generate overflow and underflow using huge*huge
47466 and tiny*tiny rather than just returning constant infinity or zero
47467 for large exponents.
47468 * math/libm-test.inc (pow_test): Require overflow exceptions for
47469 applicable cases of large exponents.
47472 * sysdeps/i386/fpu/e_pow.S (p10): New object.
47473 (__ieee754_pow): Use iterative multiplication algorithm only for
47474 integer exponents with absolute value below 1024. Check for odd
47475 integer exponents when using algorithm for real exponents.
47476 * math/libm-test.inc (pow_test): Add more tests.
47477 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47479 2012-04-08 Joseph Myers <joseph@codesourcery.com>
47482 * math/libm-test.inc (exp_test): Do not allow overflow exception
47485 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
47488 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
47489 instead of __kernel_standard_f.
47491 2012-04-08 Mike Frysinger <vapier@gentoo.org>
47493 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
47494 * sysdeps/x86_64/memset_chk.S: Likewise.
47496 2012-04-08 Andreas Jaeger <aj@suse.de>
47499 * manual/startup.texi (Environment Access): Describe return value
47500 for putenv and setenv.
47503 * manual/filesys.texi (Directory Entries): Add description for
47507 * manual/filesys.texi (Directory Entries): Clarify that it's file
47508 system not operating system in the description of DT_UNKNOWN.
47511 * manual/syslog.texi (closelog): Fix reference, it's openlog.
47513 2012-04-08 Stephen Compall <s11@member.fsf.org>
47516 * manual/llio.texi (Opening and Closing Files): Add cross
47517 reference to explain mode argument.
47519 2012-04-07 Mike Frysinger <vapier@gentoo.org>
47521 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
47522 * sysdeps/x86_64/memset_chk.S: Likewise.
47524 2012-04-07 David S. Miller <davem@davemloft.net>
47526 * elf/elf.h (R_SPARC_WDISP10): Define.
47527 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
47529 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
47530 R_SPARC_SIZE64 and R_SPARC_H34.
47532 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
47534 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
47535 conditions and remove no longer applicable assertion.
47537 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
47539 * bits/byteswap.h: Include <features.h>.
47540 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
47541 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
47543 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
47545 * bits/byteswap.h (__bswap_16): Removed.
47546 Include <bits/byteswap-16.h> to get __bswap_16.
47547 * sysdeps/i386/bits/byteswap.h: Likewise.
47548 * sysdeps/s390/bits/byteswap.h: Likewise.
47549 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47550 * bits/byteswap-16.h: New file.
47551 * sysdeps/i386/bits/byteswap-16.h: Likewise.
47552 * sysdeps/s390/bits/byteswap-16.h: Likewise.
47553 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
47554 * string/Makefile (headers): Add bits/byteswap-16.h.
47556 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47559 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
47561 * nss/Makefile (tests-static, tests): Add tst-nss-static.
47562 * nss/tst-nss-static.c: New.
47564 2012-04-06 Robert Millan <rmh@gnu.org>
47567 * manual/llio.texi (File Position Primitive): lseek
47568 refers to WHENCE when it really means OFFSET.
47570 2012-04-06 Andreas Jaeger <aj@suse.de>
47572 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
47573 strncmp declarations.
47575 * abilist/libc.abilist: Add __poll and __ppoll.
47577 2012-04-05 David S. Miller <davem@davemloft.net>
47579 * scripts/check-local-headers.sh: Accept a host triplet in the
47580 path matched by the exclude regexp.
47582 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
47584 * sysdeps/powerpc/powerpc32/dl-machine.h
47585 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
47586 * sysdeps/s390/s390-32/dl-machine.h
47587 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47588 * sysdeps/sparc/sparc32/dl-machine.h
47589 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47590 * sysdeps/sparc/sparc64/dl-machine.h
47591 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47593 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
47595 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
47596 undefined symbol errors.
47598 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
47601 2012-04-05 Michael Matz <matz@suse.de>
47604 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
47606 2012-04-05 Andreas Jaeger <aj@suse.de>
47609 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
47612 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47614 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
47615 which ROUND is no valid rounding mode.
47617 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47619 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
47621 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
47623 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47625 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
47626 an exception using FPU order intentionally.
47628 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47630 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
47631 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
47632 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
47633 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
47635 2012-04-05 Simon Josefsson <simon@josefsson.org>
47638 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
47639 EINVAL when BUFLEN is too smal.
47641 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
47644 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
47645 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
47647 2012-04-03 Andreas Jaeger <aj@suse.de>
47650 * manual/setjmp.texi (System V contexts): Fix sentence.
47653 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
47654 New macro for this case.
47655 [!__GNUC__] (__bswap_64): New inline function for this case.
47656 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47657 * bits/byteswap.h: Likewise.
47658 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
47659 ull, guard with __GLIBC_HAVE_LONG_LONG.
47661 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
47662 __GLIBC_HAVE_LONG_LONG.
47664 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
47665 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
47667 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47670 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
47671 inptr and inend, rather than using last_ch.
47673 2012-04-02 David S. Miller <davem@davemloft.net>
47675 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
47676 * stdio-common/printf-parse.h (read_int): Change return type to
47677 'int', return -1 on INT_MAX overflow.
47678 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
47679 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
47680 overflows INT_MAX. Check for overflow of in-format-string precision
47681 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
47682 SIZE_MAX not INT_MAX for integer overflow test.
47683 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
47684 skip the construct in the format string but do not record anything.
47685 * stdio-common/bug22.c: Adjust to test both width/prevision
47686 INT_MAX overflow as well as total length INT_MAX overflow. Check
47687 explicitly for proper errno values.
47689 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
47691 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
47693 * string/test-strcmp.c [! WIDE]: Likewise.
47694 * time/tst-mktime2.c: Likewise for INT_MAX.
47695 * string/test-string.h: #include <sys/param.h> for MIN.
47697 * csu/init-first.c (__libc_init_first): Call __ctype_init.
47698 * sysdeps/i386/init-first.c (init): Likewise.
47699 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
47700 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
47701 * sysdeps/sh/init-first.c (init): Likewise.
47703 2012-04-01 Ulrich Drepper <drepper@gmail.com>
47705 * po/ru.po: Update from translation team.
47706 * po/vi.po: Likewise.
47708 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
47710 * resolv/nss_dns/dns-host.c: Merge copyright years.
47712 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47714 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47715 Optimize memcpy with prefetch if
47716 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
47717 src, dst pointers have unequal 16 byte alignments.
47719 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
47722 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
47723 from a CNAME entry and return the minimum ttl for the query.
47724 (gaih_getanswer_slice): Likewise.
47726 2012-03-30 Jeff Law <law@redhat.com>
47728 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
47730 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
47731 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
47733 * resolv/nss_dns/dns-host.c: Update copyright year.
47735 2012-03-30 Ulrich Drepper <drepper@gmail.com>
47737 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
47738 requests to save a system call. Fix check that all bytes are sent.
47740 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
47741 comments for sendmmsg.
47743 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47746 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
47747 with only 1 character between 0x0041 and 0x01b0.
47748 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
47749 * wcsmbs/tst-mbsnrtowcs.c: New file.
47751 2012-03-29 David S. Miller <davem@davemloft.net>
47753 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
47754 small copies by hand.
47756 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47759 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
47760 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
47763 2012-03-28 David S. Miller <davem@davemloft.net>
47765 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
47766 that branches into memcpy.
47767 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47768 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
47769 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47770 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
47771 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
47773 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
47774 implementation too.
47775 * sysdeps/sparc/mempcpy.S: New file.
47777 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
47778 the IFUNC routine in the libc case.
47779 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47781 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
47782 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
47783 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
47784 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
47785 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
47786 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
47787 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
47788 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
47790 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
47791 loop to 256 bytes instead of 64 bytes and fix test signedness.
47793 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
47794 * sysdeps/sparc/sparc32/Makefile: rather than here...
47795 * sysdeps/sparc/sparc64/Makefile: and here.
47797 2012-03-28 Ulrich Drepper <drepper@gmail.com>
47799 * malloc/mallocbug.c: Avoid warnings about unused variables.
47801 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
47804 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
47805 in the right place. Discard and retry query if response is
47806 larger than input buffer size.
47808 2012-03-28 Joseph Myers <joseph@codesourcery.com>
47813 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
47814 x for large integer exponent.
47815 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47816 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
47817 sign of result as needed afterwards.
47818 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47819 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
47820 result for underflowing pow the same as for overflow.
47821 (__kernel_standard_l): Handle powl overflow and underflow here
47822 rather than calling __kernel_standard.
47823 * math/libm-test.inc (pow_test): Add more tests.
47838 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
47839 * sysdeps/ieee754/k_standard.c: Include <float.h>.
47840 (__kernel_standard_l): New function.
47841 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
47843 * math/w_acosl.c (__acosl): Likewise.
47844 * math/w_asinl.c (__asinl): Likewise.
47845 * math/w_atan2l.c (__atan2l): Likewise.
47846 * math/w_atanhl.c (__atanhl): Likewise.
47847 * math/w_coshl.c (__coshl): Likewise.
47848 * math/w_exp10l.c (__exp10l): Likewise.
47849 * math/w_exp2l.c (__exp2l): Likewise.
47850 * math/w_fmodl.c (__fmodl): Likewise.
47851 * math/w_hypotl.c (__hypotl): Likewise.
47852 * math/w_j0l.c (__j0l, __y0l): Likewise.
47853 * math/w_j1l.c (__j1l, __y1l): Likewise.
47854 * math/w_jnl.c (__jnl, __ynl): Likewise.
47855 * math/w_lgammal.c (__lgammal): Likewise.
47856 * math/w_log10l.c (__log10l): Likewise.
47857 * math/w_log2l.c (__log2l): Likewise.
47858 * math/w_logl.c (__logl): Likewise.
47859 * math/w_powl.c (__powl): Likewise.
47860 * math/w_remainderl.c (__remainderl): Likewise.
47861 * math/w_scalbl.c (sysv_scalbl): Likewise.
47862 * math/w_sinhl.c (__sinhl): Likewise.
47863 * math/w_sqrtl.c (__sqrtl): Likewise.
47864 * math/w_tgammal.c (__tgammal): Likewise.
47865 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47866 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47867 * math/libm-test.inc (acos_test): Add more tests.
47868 (acosh_test): Likewise.
47869 (asin_test): Likewise.
47870 (atanh_test): Likewise.
47871 (exp_test): Likewise.
47872 (exp10_test): Likewise.
47873 (exp2_test): Likewise.
47874 (expm1_test): Likewise.
47875 (lgamma_test): Likewise.
47876 (log_test): Likewise.
47877 (log10_test): Likewise.
47878 (log1p_test): Likewise.
47879 (log2_test): Likewise.
47880 (pow_test): Do not allow some spurious overflow exceptions.
47881 (sqrt_test): Add more tests.
47882 (tgamma_test): Likewise.
47883 (y0_test): Likewise.
47884 (y1_test): Likewise.
47885 (yn_test): Likewise.
47887 2012-03-27 Anton Blanchard <anton@samba.org>
47889 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47891 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47892 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47893 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47895 2012-03-27 David S. Miller <davem@davemloft.net>
47897 * conform/Makefile: Run run-conformtest.sh using $(BASH).
47899 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47900 have-as-vis3 check.
47902 2012-03-27 Andreas Jaeger <aj@suse.de>
47904 * sysdeps/x86_64/elf/configure.in: Moved to ...
47905 * sysdeps/x86_64/configure.in: ... here.
47906 * sysdeps/x86_64/elf/start.S: Moved to ...
47907 * sysdeps/x86_64/start.S: ... here.
47908 * sysdeps/x86_64/elf/configure: Delete.
47910 * sysdeps/x86_64/configure.in: Merge contents from
47911 sysdeps/i386/configure.in (without i686 check).
47913 * sysdeps/i386/elf/Versions: Merge into ...
47914 * sysdeps/i386/Versions: ... this.
47915 * sysdeps/i386/elf/Versions: Delete file.
47916 * sysdeps/i386/elf/start.S: Moved to ...
47917 * sysdeps/i386/start.S: ...here.
47918 * sysdeps/i386/elf/configure.in: Merge into...
47919 * sysdeps/i386/configure.in: ...here.
47920 * sysdeps/i386/elf/configure.in: Delete file.
47921 * sysdeps/i386/elf/configure: Delete file.
47923 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47924 * debug/backtracesyms.c: ... here.
47925 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47926 * debug/backtracesymsfd.c: ... here.
47927 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47928 * sysdeps/generic/ifunc-sel.h: ... here.
47930 * sysdeps/unix/i386/start.c: Delete file.
47931 * sysdeps/unix/sparc/start.c: Delete file.
47932 * sysdeps/unix/start.c: Delete file.
47934 * sysdeps/sh/elf/configure.in: Moved to ...
47935 * sysdeps/sh/configure.in: ... here.
47936 * sysdeps/sh/elf/start.S: Moved to ...
47937 * sysdeps/sh/start.S: ... here.
47938 * sysdeps/sh/elf/configure: Delete file.
47940 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47941 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47942 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47943 * sysdeps/powerpc/powerpc64/entry.h: ... here.
47944 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47945 * sysdeps/powerpc/powerpc64/start.S: here.
47946 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47947 * sysdeps/powerpc/powerpc64/Makefile: ... this.
47948 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47949 * sysdeps/powerpc/powerpc64/configure.in: ... this.
47950 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47952 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47953 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47954 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47955 * sysdeps/powerpc/powerpc32/start.S: ... here.
47956 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47957 * sysdeps/powerpc/powerpc32/configure.in: ... this.
47958 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47960 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47961 * sysdeps/powerpc/ifunc-sel.h: ... here.
47962 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47963 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47965 * sysdeps/sparc/elf/configure.in: Moved to ...
47966 * sysdeps/sparc/configure.in: ... here.
47967 * sysdeps/sparc/elf/configure: Delete file.
47968 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47969 * sysdeps/sparc/sparc32/start.S: ... here.
47970 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47971 * sysdeps/sparc/sparc64/start.S: ... here.
47972 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47973 * sysdeps/sparc/sparc32/Makefile: ... this.
47974 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47975 * sysdeps/sparc/sparc64/Makefile: ... this.
47977 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47978 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47979 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47980 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47981 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47982 * sysdeps/s390/s390-32/setjmp.S: ... here.
47983 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47984 * sysdeps/s390/s390-32/configure.in: ... here.
47985 * sysdeps/s390/s390-32/elf/configure: Delete file.
47986 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47987 * sysdeps/s390/s390-32/start.S: ... here.
47989 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47990 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47991 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47992 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47993 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47994 * sysdeps/s390/s390-64/setjmp.S: ... here.
47995 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47996 * sysdeps/s390/s390-64/configure.in: ... here
47997 * sysdeps/s390/s390-64/elf/configure: Delete file.
47998 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47999 * sysdeps/s390/s390-64/start.S: ... here.
48000 * sysdeps/s390/s390-64/elf/configure: Delete.
48002 * configure.in: Remove support for elf directories in sysdeps.
48004 * configure: Regenerated.
48005 * sysdeps/i386/configure: Regenerated.
48006 * sysdeps/powerpc/powerpc32/configure: Regenerated.
48007 * sysdeps/powerpc/powerpc64/configure: Regenerated.
48008 * sysdeps/s390/s390-32/configure: Regenerated.
48009 * sysdeps/s390/s390-64/configure: Regenerated.
48010 * sysdeps/sh/configure: Regenerated.
48011 * sysdeps/sparc/configure: Regenerated.
48012 * sysdeps/x86_64/configure: Regenerated.
48014 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
48016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48018 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
48019 denormal result into account.
48021 2012-03-25 Roland McGrath <roland@hack.frob.com>
48023 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
48024 Reported by Allan McRae <allan@archlinux.org>.
48026 2012-03-23 Jeff Law <law@redhat.com>
48028 * nss/getnssent.c (__nss_getent): Fix typo.
48030 2012-03-23 David S. Miller <davem@davemloft.net>
48032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48034 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
48036 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
48037 to pad to uint64_t for each field.
48038 (dl_tls_index): Replace unsigned long with uint64_t.
48040 2012-03-23 Daniel Jacobowitz <dmj@google.com>
48041 Paul Pluzhnikov <ppluzhnikov@google.com>
48044 * grp/Makefile (otherlibs): Don't set it.
48045 * inet/Makefile (otherlibs): Likewise.
48046 * login/Makefile (otherlibs): Likewise.
48047 * nscd/Makefile (otherlibs): Likewise.
48048 * posix/Makefile (otherlibs): Likewise.
48049 * pwd/Makefile (otherlibs): Likewise.
48050 * rt/Makefile (otherlibs): Likewise.
48051 * sunrpc/Makefile (otherlibs): Likewise.
48052 * nss/Makefile (otherlibs): Likewise.
48053 Add libnss_files to routines and static-only-routines.
48054 ($(objpfx)getent): Remove rule.
48055 * resolv/Makefile: Add libnss_dns and libresolv to routines and
48056 static-only-routines.
48058 2012-03-22 Joseph Myers <joseph@codesourcery.com>
48061 * math/s_cexp.c: Include <float.h>.
48062 (__cexp): Handle exp result overflowing not necessarily
48063 overflowing both real and imaginary parts of result.
48064 * math/s_cexpf.c: Likewise.
48065 * math/s_cexpl.c: Likewise.
48066 * math/libm-test.inc (cexp_test): Add more tests.
48067 * sysdeps/i386/fpu/libm-test-ulps: Update.
48068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48070 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
48072 * include/link.h (ELFW): New macro.
48073 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
48074 Replace ELF64_R_TYPE with ELFW(R_TYPE).
48076 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
48078 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
48081 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
48083 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
48085 (struct La_x32_retval): Likewise.
48087 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
48089 * sysdeps/x86_64/preconfigure.in: New file.
48090 * sysdeps/x86_64/preconfigure: New generated file.
48092 2012-03-22 Joseph Myers <joseph@codesourcery.com>
48095 * math/e_exp2l.c: Include <float.h>.
48096 (__ieee754_exp2l): Handle overflow and underflow cases
48097 separately. Only pass fractional part of argument to
48099 * math/libm-test.inc (exp2_test): Add more tests.
48101 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
48102 negating x to take absolute value.
48103 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
48105 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
48106 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
48108 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
48109 computing low part if x was negated.
48110 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
48112 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
48114 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
48115 la_x32_gnu_pltexit.
48116 (pltexit): Cast int_retval to ptrdiff_t.
48117 * elf/tst-auditmod3b.c: Likewise.
48118 * elf/tst-auditmod4b.c: Likewise.
48119 * elf/tst-auditmod5b.c: Likewise.
48120 * elf/tst-auditmod6b.c: Likewise.
48121 * elf/tst-auditmod6c.c: Likewise.
48122 * elf/tst-auditmod7b.c: Likewise.
48124 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
48125 and x32_gnu_pltexit.
48127 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
48128 __ELF_NATIVE_CLASS.
48129 (La_x32_regs): New macro.
48130 (La_x32_retval): Likewise.
48131 (la_x32_gnu_pltenter): New function prototype.
48132 (la_x32_gnu_pltexit): Likewise.
48134 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
48136 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
48139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48141 * configure.in (libc_cv_cc_nofma): Check for option to disable
48142 generation of FMA instructions.
48143 * configure: Regenerate.
48144 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
48145 * sysdeps/ieee754/dbl-64/Makefile: New file.
48146 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
48147 Remove brandred-fma4.
48148 (CFLAGS-brandred-fma4.c): Remove.
48149 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
48150 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
48152 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
48155 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
48157 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48158 LLONG_MAX != LONG_MAX.
48159 (_itoa_word): Use _ITOA_WORD_TYPE on value.
48160 (_fitoa_word): Likewise.
48161 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
48162 LLONG_MAX != LONG_MAX.
48163 * stdio-common/_itowa.h: Include <_itoa.h>.
48164 (_itowa_word): Use _ITOA_WORD_TYPE on value.
48165 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
48166 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
48167 only if not defined.
48168 (_ITOA_WORD_TYPE): Likewise.
48169 (_itoa_word): Use _ITOA_WORD_TYPE on value.
48170 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
48172 2012-03-21 David S. Miller <davem@davemloft.net>
48174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48176 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
48178 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
48179 of x86_64 when setting libc_cv_slibdir, libdir and
48181 * sysdeps/unix/sysv/linux/configure: Regenerated.
48183 2012-03-21 Joseph Myers <joseph@codesourcery.com>
48185 * manual/lang.texi (Old Varargs): Remove section.
48186 (How Variadic): Update menu.
48187 (va_start): Do not mention varargs.h.
48189 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
48190 Joseph Myers <joseph@codesourcery.com>
48192 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
48194 * configure: Regenerated.
48196 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
48198 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
48199 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
48202 2012-03-21 Joseph Myers <joseph@codesourcery.com>
48205 * Makefile (files-for-dist): Remove NOTES.
48206 (NOTES): Remove rule.
48207 * README: Don't refer to NOTES.
48208 * manual/creature.texi: Don't include macros.texi.
48209 * manual/intro.texi (creature.texi): Remove comment referring to
48212 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
48213 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
48214 * configure: Regenerated.
48215 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
48216 LIBC_TRY_CC_OPTION.
48217 (libc_cv_as_i686): Likewise.
48218 (libc_cv_cc_avx): Likewise.
48219 (libc_cv_cc_sse2avx): Likewise.
48220 (libc_cv_cc_fma4): Likewise.
48221 (libc_cv_cc_novzeroupper): Likewise.
48222 * sysdeps/i386/configure: Regenerated.
48225 * sysdeps/i386/fpu/s_cexp.S: Remove.
48226 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48227 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48228 * math/libm-test.inc (cexp_test): Add more tests.
48229 * sysdeps/i386/fpu/libm-test-ulps: Update.
48230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48232 2012-03-21 Allan McRae <allan@archlinux.org>
48234 * timezone/Makefile: Do not install iso3166.tab and zone.tab
48236 2012-03-21 Joseph Myers <joseph@codesourcery.com>
48239 * math/w_exp2.c: Do not include <float.h>.
48240 (o_threshold, u_threshold): Remove.
48241 (__exp2): Calculate result before checking finiteness and calling
48243 * math/w_exp2f.c: Likewise.
48244 * math/w_exp2l.c: Likewise.
48245 * math/libm-test.inc (exp2_test): Require overflow exception for
48249 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
48250 range of signed 64-bit integers before using fistpll. Remove
48251 checks for whether integers fit in mantissa bits.
48252 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
48253 the range of signed 32-bit integers before using fistpl. Remove
48254 checks for whether integers fit in mantissa bits.
48255 * sysdeps/i386/fpu/e_powl.S (p64): New object.
48256 (__ieee754_powl): Test for y outside the range of signed 64-bit
48257 integers before using fistpll. Reduce 64-bit values to 63-bit
48259 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
48260 divide-by-zero is raised for zero to large negative powers.
48261 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
48262 (__ieee754_powl): Test for y outside the range of signed 64-bit
48263 integers before using fistpll. Reduce 64-bit values to 63-bit
48265 * math/libm-test.inc (pow_test): Add more tests.
48267 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
48269 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
48270 <stdio-common/_itoa.h>.
48271 * debug/segfault.c: Likewise.
48272 * elf/dl-cache.c: Likewise.
48273 * elf/dl-minimal.c: Likewise.
48274 * elf/dl-misc.c: Likewise.
48275 * elf/dl-sysdep.c: Likewise.
48276 * elf/dl-version.c: Likewise.
48277 * elf/rtld.c: Likewise.
48278 * hurd/hurdsock.c: Likewise.
48279 * hurd/lookup-retry.c: Likewise.
48280 * malloc/malloc.c: Likewise.
48281 * malloc/mtrace.c: Likewise.
48282 * nscd/nscd_getgr_r.c: Likewise.
48283 * nscd/nscd_getpw_r.c: Likewise.
48284 * nscd/nscd_getserv_r.c: Likewise.
48285 * posix/getopt_init.c: Likewise.
48286 * posix/wordexp.c: Likewise.
48287 * stdio-common/_itoa.c: Likewise.
48288 * stdio-common/printf_fphex.c: Likewise.
48289 * stdio-common/vfprintf.c: Likewise.
48290 * string/_strerror.c: Likewise.
48291 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
48292 * sysdeps/i386/i686/hp-timing.h: Likewise.
48293 * sysdeps/mach/_strerror.c: Likewise.
48294 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
48295 * sysdeps/mach/hurd/sethostid.c: Likewise.
48296 * sysdeps/mach/hurd/xmknodat.c: Likewise.
48297 * sysdeps/mach/xpg-strerror.c: Likewise.
48298 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48299 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48300 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
48301 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
48302 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48303 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
48304 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
48305 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
48306 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
48307 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
48308 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
48309 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48310 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
48311 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
48312 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
48313 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
48314 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
48315 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
48316 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
48317 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
48318 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
48320 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
48322 * stdio-common/_itoa.h: Moved to ...
48323 * sysdeps/generic/_itoa.h: Here.
48325 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
48327 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
48328 instead of "_itoa.h" and "_itowa.h".
48329 * stdio-common/vfprintf.: Likewise.
48331 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
48333 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
48335 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
48336 (__signbit): Likwise.
48337 (llrintf): Likwise.
48340 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
48342 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
48345 2012-03-20 Joseph Myers <joseph@codesourcery.com>
48347 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
48348 OVERFLOW_EXCEPTION_OK.
48349 * math/libm-test.inc ("Philosophy"): Update comment about
48351 (OVERFLOW_EXCEPTION): Define.
48352 (OVERFLOW_EXCEPTION_OK): Likewise.
48353 (INVALID_EXCEPTION_OK): Renumber.
48354 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48355 (IGNORE_ZERO_INF_SIGN): Likewise.
48356 (test_exceptions): Handle FE_OVERFLOW.
48357 (exp10_test): Expect overflow exceptions.
48358 (exp2_test): Likewise.
48359 (expm1_test): Likewise.
48360 (nextafter_test): Likewise.
48361 (pow_test): Likewise.
48362 (scalbn_test): Likewise.
48363 (scalbln_test): Likewise.
48365 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48367 * sysdeps/x86_64/bits/atomic.h
48368 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
48370 (atomic_exchange_acq): Likewise.
48371 (__arch_exchange_and_add_body): Likewise.
48372 (__arch_add_body): Likewise.
48373 (atomic_add_negative): Likewise.
48374 (atomic_add_zero): Likewise.
48376 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48378 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
48379 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
48381 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48383 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
48384 Check __x86_64__ instead of __WORDSIZE.
48386 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48388 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
48390 2012-03-19 David S. Miller <davem@davemloft.net>
48392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48394 * sysdeps/sparc/fpu/fenv_private.h: New file.
48395 * sysdeps/sparc/fpu/math_private.h: Use it.
48396 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
48398 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
48399 (libc_feholdexcept_setroundl): Remove.
48400 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
48402 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
48403 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
48405 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48407 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
48408 int64_t instead of long int.
48409 (INSERT_WORDS64): Likwise.
48411 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48413 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
48414 _Unwind_GetCFA return to _Unwind_Ptr first.
48416 2012-03-19 Joseph Myers <joseph@codesourcery.com>
48419 * math/s_clog.c: Include <float.h>.
48420 (__clog): Scale large or subnormal inputs.
48421 * math/s_clogf.c: Likewise.
48422 * math/s_clogl.c: Likewise.
48423 * math/s_clog10.c: Include <float.h>.
48424 (M_LOG10_2): Define.
48425 (__clog10): Scale large or subnormal inputs.
48426 * math/s_clog10f.c: Likewise.
48427 * math/s_clog10l.c: Likewise.
48428 * math/libm-test.inc (clog_test): Add more tests.
48429 (clog10_test): Likewise.
48430 * sysdeps/i386/fpu/libm-test-ulps: Update.
48431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48434 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
48436 * math/libm-test.inc (atan2_test): Add another test.
48438 * Makerules (common-objdir-compile): Remove.
48439 * sysdeps/unix/Makefile (config-generated): Do not add
48440 $(unix-generated) to variable.
48441 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
48442 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
48444 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
48446 [generic bits/local_lim.h] (before-compile): Do not append to
48448 [generic bits/local_lim.h] (common-generated): Likewise.
48449 [generic sys/param.h] (before-compile): Do not append to variable.
48450 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
48451 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
48452 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
48453 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
48455 [generic sys/param.h] (sys/param.h-includes): Remove variable.
48456 [generic sys/param.h] (sys/param.h-includes): Remove rule.
48457 [generic sys/param.h] ($(addprefix
48458 $(common-objpfx),$(sys/param.h-includes))): Likewise.
48459 [generic sys/param.h] (common-generated): Do not append to
48461 [generic sys/param.h] (sysdep_headers): Likewise.
48462 [generic bits/errno.h] (before-compile): Do not append to
48464 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
48466 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
48467 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
48468 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
48469 [generic bits/errno.h] (common-generated): Do not append to
48471 [generic bits/ioctls.h] (before-compile): Do not append to
48473 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
48475 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
48476 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
48477 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
48479 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
48480 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
48481 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
48482 [generic bits/ioctls.h] (common-generated): Do not append to
48484 [generic sys/syscall.h] (syscall.h): Remove variable.
48485 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
48487 [generic sys/syscall.h] (before-compile): Do not append to
48489 [generic sys/syscall.h] (common-generated): Likewise.
48490 * sysdeps/unix/errnos-tmpl.c: Remove file.
48491 * sysdeps/unix/errnos.awk: Likewise.
48492 * sysdeps/unix/ioctls-tmpl.c: Likewise.
48493 * sysdeps/unix/ioctls.awk: Likewise.
48494 * sysdeps/unix/mk-local_lim.c: Likewise.
48495 * sysdeps/unix/snarf-ioctls: Likewise.
48497 2012-03-19 Richard Henderson <rth@twiddle.net>
48499 * sysdeps/i386/fpu/fenv_private.h: New file.
48500 * sysdeps/i386/fpu/math_private.h: Use it.
48501 (math_opt_barrier, math_force_eval): Remove.
48502 (libc_feholdexcept_setround_53bit): Remove.
48503 (libc_feupdateenv_53bit): Remove.
48504 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48505 (math_opt_barrier, math_force_eval): Remove.
48506 (libc_feholdexcept): Remove.
48507 (libc_feholdexcept_setround): Remove.
48508 (libc_fetestexcept, libc_fesetenv): Remove.
48509 (libc_feupdateenv_test): Remove.
48510 (libc_feupdateenv, libc_feholdsetround): Remove.
48511 (libc_feresetround): Remove.
48513 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
48514 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
48516 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
48517 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
48518 (libc_feupdateenv_testl): New.
48519 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
48520 (libc_feupdateenv_testf): New.
48521 (libc_feupdateenv): Use libc_feupdateenv_test.
48522 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
48523 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
48525 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
48526 (libc_feholdsetroundf, libc_feholdsetroundl): New.
48527 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
48528 (libc_feresetround_noex): New.
48529 (libc_feresetround_noexf): New.
48530 (libc_feresetround_noexl): New.
48531 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
48532 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
48533 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
48534 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
48536 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
48537 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
48539 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
48540 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
48541 SET_RESTORE_ROUND_NOEX.
48542 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
48543 SET_RESTORE_ROUND_NOEXF.
48544 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
48545 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
48546 (libc_feholdsetroundf): New.
48547 (libc_feresetround, libc_feresetroundf): New.
48549 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
48550 (libc_feholdexcept_setround_53bit): Convert from macro to function.
48551 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
48553 * sysdeps/generic/math_private.h: Include <fenv.h>.
48554 (default_libc_feholdexcept): New.
48555 (default_libc_feholdexcept_setround): New.
48556 (default_libc_fesetenv, default_libc_feupdateenv): New.
48557 (libc_feholdexcept): Only define if undefined.
48558 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
48559 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
48560 (libc_feholdexcept_setroundl): Likewise.
48561 (libc_feholdexcept_setround_53bit): Likewise.
48562 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
48563 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
48564 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
48565 (libc_feupdateenv_53bit): Likewise.
48566 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
48567 (libc_feholdexcept): Convert from macro to inline function.
48568 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
48569 (libc_fesetenv, libc_feupdateenv): Likewise.
48571 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
48572 not previously defined.
48573 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
48574 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
48575 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
48576 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
48577 * sysdeps/ieee754/flt-32/math_private.h: New file.
48578 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
48579 math_private.h below SET_FLOAT_WORD.
48580 (__isnan, __isinf_ns, __finite): Remove.
48581 (__isnanf, __isinf_nsf, __finitef): Remove.
48583 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
48585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48587 2012-03-17 David S. Miller <davem@davemloft.net>
48590 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
48593 2012-03-16 David S. Miller <davem@davemloft.net>
48595 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
48599 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
48601 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
48602 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
48603 sysdep_routines when subdir is sysvipc.
48604 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
48605 __getshmlba helper.
48607 * sysdeps/sparc/fpu/libm-test/ulps: Update.
48609 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48611 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
48614 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48616 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
48617 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
48618 (__lround): Renamed to ...
48619 (__llround): This. Replace long int with long long int.
48620 Define lround functions as aliases of llround functions.
48621 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
48623 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48625 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
48626 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
48627 adresses to uintptr_t. Replace "long int" and "unsigned long
48628 int" with "greg_t" on va_arg.
48630 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48632 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
48633 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
48635 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
48636 Move e_machine check before EI_CLASS check. Handle x32
48637 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
48638 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
48639 SKIP_EM_IA_64 and include
48640 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
48642 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
48643 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
48644 (add_system_dir): New macro.
48646 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
48647 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
48649 2012-03-16 Joseph Myers <joseph@codesourcery.com>
48660 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
48662 * math/w_j0f.c (j0f): Likewise.
48664 * math/w_j0l.c (__j0l): Likewise.
48666 * math/w_j1.c (j1): Likewise.
48668 * math/w_j1f.c (j1f): Likewise.
48670 * math/w_j1l.c (__j1l): Likewise.
48672 * math/w_jn.c (jn): Likewise.
48674 * math/w_jnf.c (jnf): Likewise.
48676 * math/w_jnl.c (__jnl): Likewise.
48678 * math/libm-test.inc (j0_test): Add more tests.
48679 (j1_test): Likewise.
48680 (jn_test): Likewise. Add trailing semicolon to existing test.
48681 (y0_test): Likewise.
48682 (y1_test): Likewise.
48683 * sysdeps/i386/fpu/libm-test-ulps: Update.
48684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48688 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
48689 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
48690 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
48691 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
48692 (__tanl): Set errno for infinite argument.
48693 * sysdeps/i386/fpu/mptan.c: Remove.
48694 * sysdeps/i386/fpu/s_tan.S: Likewise.
48695 * sysdeps/i386/fpu/s_tanl.S: Likewise.
48696 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
48697 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
48698 * math/libm-test.inc (tan_test): Add more tests and enable more
48699 tests for double and long double.
48700 * sysdeps/i386/fpu/libm-test-ulps: Update.
48701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48703 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
48705 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
48706 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
48708 2012-03-16 Roland McGrath <roland@hack.frob.com>
48710 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
48711 * configure.in: Use it for both main tree and add-ons.
48712 * configure: Regenerated.
48714 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48716 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
48718 2012-03-16 Joseph Myers <joseph@codesourcery.com>
48720 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
48724 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
48725 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
48726 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
48727 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
48728 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
48730 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
48731 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
48732 != 0 for prec == 2.
48733 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
48734 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
48735 * sysdeps/i386/fpu/s_cosl.S: Likewise.
48736 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
48737 * sysdeps/i386/fpu/s_sinl.S: Likewise.
48738 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
48739 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
48740 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
48741 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
48742 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
48743 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
48744 * math/libm-test.inc (cos_test): Add more tests and enable more
48745 tests for long double.
48746 (sin_test): Likewise.
48747 (sincos_test): Likewise.
48748 * sysdeps/i386/fpu/libm-test-ulps: Update.
48749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48751 2012-03-16 David S. Miller <davem@davemloft.net>
48753 * sysdeps/sparc/fpu/math_private.h: New file.
48755 2012-03-15 David S. Miller <davem@davemloft.net>
48757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
48759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
48760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
48762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
48763 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
48764 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
48765 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
48766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
48767 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
48769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48771 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
48772 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
48774 * sysdeps/sparc/sparc-ifunc.h: New file.
48775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
48777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
48778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
48780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
48782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
48783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
48784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
48789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
48791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
48793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
48795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
48797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
48798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
48799 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48800 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48801 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
48802 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
48803 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48804 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48805 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
48806 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
48807 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
48808 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
48809 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
48810 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
48811 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
48812 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
48813 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
48814 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
48815 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
48816 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
48817 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
48818 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
48820 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48822 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
48824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48826 2012-03-15 Andreas Jaeger <aj@suse.de>
48829 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
48830 ieee754/flt-32 implementation for sin, cos and sincos.
48831 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
48832 * sysdeps/i386/fpu/s_cosf.S: Likewise.
48833 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
48834 * sysdeps/i386/fpu/s_sinf.S: Likewise.
48835 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
48836 ieee754/flt-32 implementation for tan.
48838 * math/libm-test.inc (cos_test): Enable some large input tests for
48840 (sin_test): Likewise.
48841 (sincos_test): Likewise.
48842 (tan_test): Add tests for large input.
48844 * sysdeps/i386/fpu/libm-test-ulps: Update.
48846 2012-03-15 Andreas Jaeger <aj@suse.de>
48849 * math/libm-test.inc (cos_test): Add more test cases.
48850 (sin_test): Likewise.
48851 (sincos_test): Likewise.
48853 2012-03-15 Andreas Jaeger <aj@suse.de>
48856 * math/libm-test.inc (cos_test): Add a test case for large input
48858 (sin_test): Likewise.
48859 (sincos_test): Likewise.
48861 2012-03-15 Andreas Jaeger <aj@suse.de>
48862 Joseph Myers <joseph@codesourcery.com>
48865 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
48866 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48867 * sysdeps/i386/fpu/branred.c: Likewise.
48868 * sysdeps/i386/fpu/dosincos.c: Likewise.
48869 * sysdeps/i386/fpu/mpa.c: Likewise.
48870 * sysdeps/i386/fpu/s_cos.S: Likewise.
48871 * sysdeps/i386/fpu/s_sin.S: Likewise.
48872 * sysdeps/i386/fpu/s_sincos.S: Likewise.
48873 * sysdeps/i386/fpu/sincos32.c: Likewise.
48875 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48877 (libc_feupdateenv_53bit): Define.
48878 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48880 (libc_feupdateenv_53bit): Define.
48882 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48883 53 bit (without extend i386 double precision).
48885 * math/libm-test.inc (sincos_test): Add tests for large input.
48889 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48891 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48895 2012-03-15 David S. Miller <davem@davemloft.net>
48897 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48898 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48899 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48900 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48905 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48906 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48907 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48908 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
48912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
48915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
48918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
48921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48924 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48925 fmin/fmax sysdep routines.
48926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48928 2012-03-14 David S. Miller <davem@davemloft.net>
48930 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48931 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48932 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48933 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48934 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48935 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48936 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48937 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48938 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48939 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48940 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48941 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48942 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48943 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48944 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48945 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48946 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48947 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48948 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48949 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48950 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48951 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48952 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48953 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48954 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48955 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48956 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48957 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
48958 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
48963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
48966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
48969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
48972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
48975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
48990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
48993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
48996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
48999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
49002 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
49005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49007 * sysdeps/sparc/configure.in: New file.
49008 * sysdeps/sparc/configure: Generate.
49009 * configure.in (libc_cv_sparc_as_vis3): Substitute.
49010 * configure: Regenerate.
49011 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
49012 * config.make.in (have-as-vis3): New.
49013 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
49014 available use -Av9d instead of -Av9a.
49015 * sysdeps/sparc/sparc64/Makefile: Likewise.
49016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
49017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
49019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
49021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
49023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
49025 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
49026 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
49027 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
49028 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
49029 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
49031 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
49032 fzeros/fnegs to load 0x80000000 into a float register instead of
49034 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
49036 2012-03-14 Joseph Myers <joseph@codesourcery.com>
49038 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49040 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
49041 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
49042 ($(inst_includedir)/bits/syscall.h): Remove rule.
49043 ($(objpfx)bits/syscall.d): Include instead of
49044 $(objpfx)syscall-list.d.
49045 (generated): Change syscall-list.h and syscall-list.d to
49046 bits/syscall.h and bits/syscall.d.
49048 2012-03-14 Roland McGrath <roland@hack.frob.com>
49051 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
49053 2012-03-14 Joseph Myers <joseph@codesourcery.com>
49056 * math/s_csqrt.c: Include <float.h>.
49057 (__csqrt): Scale large or subnormal inputs.
49058 * math/s_csqrtf.c: Likewise.
49059 * math/s_csqrtl.c: Likewise.
49060 * math/libm-test.inc (csqrt_test): Add more tests.
49061 * sysdeps/i386/fpu/libm-test-ulps: Update.
49062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49065 * math/libm-test.inc (hypot_test): Add more tests.
49067 2012-03-13 David S. Miller <davem@davemloft.net>
49070 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
49071 double-precision for the calculation instead of scaling.
49073 2012-03-13 Joseph Myers <joseph@codesourcery.com>
49075 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
49076 manipulate bits before adding and subtracting TWO52[sx].
49077 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
49078 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
49080 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
49082 2012-03-13 David S. Miller <davem@davemloft.net>
49084 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
49085 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
49086 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
49087 rtld-global-offsets.h
49088 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49090 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
49093 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
49095 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
49096 'err' in the ifdef scope in which it is actually used.
49098 * nss/nss_db/db-init.c: Include string.h
49100 2012-03-12 David S. Miller <davem@davemloft.net>
49102 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49103 masking out of the most significant byte of random value used.
49104 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49105 Fix coding style in previous change.
49107 * sysdeps/unix/sysv/linux/kernel-features.h
49108 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
49109 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
49111 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
49114 2012-03-11 David S. Miller <davem@davemloft.net>
49116 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
49117 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
49118 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
49119 for 'resultvar' otherwise things get truncated on 64-bit.
49121 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49122 Fix masking out of the most significant byte of random value used.
49124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49126 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
49128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49130 2012-03-09 David S. Miller <davem@davemloft.net>
49132 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
49133 variables with appropriate CPP guards.
49134 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
49135 from the frame pointer, not the stack pointer. Correct layout
49136 comments. Fix test on resulting framesize and the management of
49137 the outregs buffer for pltexit. Preserve floating point return
49138 values across _dl_call_pltexit call.
49139 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
49140 framesize and the management of the outregs buffer for pltexit.
49141 Preserve floating point return values across _dl_call_pltexit
49143 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
49144 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
49145 (la_sparc64_gnu_pltexit): New functions.
49146 (print_exit): Fix format string for return register value.
49148 2012-03-10 Joseph Myers <joseph@codesourcery.com>
49150 * sunrpc/Makefile (others): Add rpcgen.
49151 ($(objpfx)rpcgen): Remove special build rule and dependency on
49153 * sunrpc/rpcgen.c: New file.
49155 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
49158 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
49159 * stdio-common/bug-vfprintf-nargs.c: Likewise.
49160 * sysdeps/i386/crti.S: Likewise.
49161 * sysdeps/i386/crtn.S: Likewise.
49162 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
49163 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
49164 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
49165 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
49166 * sysdeps/sh/crti.S: Likewise.
49167 * sysdeps/sh/crtn.S: Likewise.
49168 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
49171 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
49173 * locale/programs/locfile-kw.gperf: Likewise.
49174 * locale/programs/charmap-kw.h: Regenerated.
49175 * locale/programs/locfile-kw.h: Likewise.
49178 * intl/plural.y: Replace FSF snail mail address with URL.
49179 * intl/plural.c: Regenerated.
49181 2012-03-09 Richard Henderson <rth@twiddle.net>
49183 * include/math_private.h: Remove file.
49184 * math/math_private.h: Move file ...
49185 * sysdeps/generic/math_private.h: ... here.
49187 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
49188 * sysdeps/powerpc/fpu/math_private.h: Likewise.
49189 * sysdeps/x86_64/fpu/math_private.h: Likewise.
49191 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
49192 and <math_private.h>.
49193 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49194 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49195 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49196 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49197 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49198 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
49199 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49200 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49201 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49202 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49203 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49204 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49205 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49206 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49207 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49208 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49209 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49210 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49211 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49212 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49213 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49214 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49215 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49216 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49217 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
49218 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49219 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49220 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49221 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49222 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49223 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49224 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49225 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
49226 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49227 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49228 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49229 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49230 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49231 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49232 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49233 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
49234 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49235 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49236 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
49237 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
49238 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49239 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
49240 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
49241 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49242 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49243 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
49244 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
49245 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
49246 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49247 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
49248 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49249 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49250 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49251 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
49252 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
49253 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49254 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
49255 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49256 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49257 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
49258 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49259 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49260 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49261 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
49262 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
49263 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
49264 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49265 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
49266 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49267 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
49268 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
49269 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
49270 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49271 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
49272 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
49273 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
49274 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
49275 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
49276 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49277 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49278 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
49279 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
49280 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
49281 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49282 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49283 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49284 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49285 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49286 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49287 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49288 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49289 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49290 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49291 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49292 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49293 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49294 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49295 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49296 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49297 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49298 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49299 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49300 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49301 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49302 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49303 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49304 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49305 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49306 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49307 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
49308 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49309 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49310 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49311 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49312 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49313 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49314 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49315 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49316 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
49317 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49318 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49319 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49320 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
49321 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49322 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
49323 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
49324 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49325 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49326 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
49327 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
49328 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49329 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49330 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49331 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
49332 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49333 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49334 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49335 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49336 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
49337 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
49338 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49339 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49340 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49341 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
49342 * sysdeps/ieee754/k_standard.c: Likewise.
49343 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49344 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49345 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49346 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49347 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49348 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49349 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49350 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49351 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49352 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49353 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49354 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49355 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49356 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49357 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49358 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49359 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49360 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49361 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49362 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
49363 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
49364 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
49365 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49366 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49367 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49368 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
49369 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49370 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49371 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49372 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49373 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49374 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49375 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49376 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49377 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49378 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49379 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49380 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
49381 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
49382 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49383 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49384 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49385 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49386 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49387 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49388 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49389 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49390 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49391 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49392 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49393 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49394 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49395 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49396 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
49397 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49398 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49399 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
49400 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
49401 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49402 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49403 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49404 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49405 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49406 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49407 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49408 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49409 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49410 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49411 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49412 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49413 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49414 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49415 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49416 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49417 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49418 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49419 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
49420 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49421 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49422 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49423 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49424 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49425 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49426 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49427 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
49428 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49429 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49430 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
49431 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
49432 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49433 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
49434 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49435 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
49436 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49437 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49438 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49439 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
49440 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
49441 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
49442 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
49443 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49444 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49445 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49446 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49447 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
49448 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49449 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49450 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
49451 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
49452 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49453 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49454 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49455 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49456 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49457 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49458 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49459 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49460 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49461 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49462 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49463 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49464 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49465 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49466 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49467 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49468 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
49469 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49470 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49471 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49472 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49473 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49474 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49475 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49476 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
49477 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49478 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49479 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
49480 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
49481 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49482 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
49483 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
49484 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49485 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
49486 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
49487 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49488 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49489 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49490 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49491 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49492 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
49493 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49494 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49495 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49496 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49497 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
49498 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
49499 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49500 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49501 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49502 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
49503 * sysdeps/ieee754/s_lib_version.c: Likewise.
49504 * sysdeps/ieee754/s_matherr.c: Likewise.
49505 * sysdeps/ieee754/s_signgam.c: Likewise.
49506 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49507 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49508 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
49509 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
49510 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
49511 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49512 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
49513 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
49514 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
49515 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
49516 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49517 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
49518 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49519 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49520 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
49521 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
49522 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49523 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
49524 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49525 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49526 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49528 2012-03-09 Joseph Myers <joseph@codesourcery.com>
49530 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
49531 * sunrpc/rpc_main.c: Likewise.
49532 * sunrpc/rpc_svcout.c: Likewise.
49534 2012-03-09 David S. Miller <davem@davemloft.net>
49536 * include/math_private.h: New file.
49538 2012-03-09 Joseph Myers <joseph@codesourcery.com>
49540 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
49541 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
49542 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
49543 from <bits/socket_type.h>.
49544 (enum __socket_type): Don't define here.
49545 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
49546 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49547 bits/socket_type.h.
49550 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
49551 checking __USE_GNU.
49553 * Makerules ($(inst_includedir)/%.h): New rule.
49554 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
49555 (install-others): Remove variable setting.
49556 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
49558 2012-03-08 Richard Henderson <rth@twiddle.net>
49560 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
49561 from macro to inline function; merge with the
49562 !__LIBC_INTERNAL_MATH_INLINES version.
49563 (__ieee754_sqrtf): Likewise.
49565 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
49566 to inline function.
49567 (__rintf, __floor, __floorf): Likewise.
49569 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
49570 macro to inline function.
49571 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
49573 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
49574 not <math/math_private.h>.
49576 2012-03-08 David S. Miller <davem@davemloft.net>
49578 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
49580 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
49582 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
49584 * resolv/gai_misc.c (handle_requests): Fix struct timespec
49586 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
49587 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
49589 2012-03-08 Ulrich Drepper <drepper@gmail.com>
49591 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
49592 be defined individually, they must be defined as a block. Define
49593 S for printing a string instead of hidint the different by using a
49594 macro for adding the 'l'.
49595 * stdio-common/tst-fphex-wide.c: Adjust.
49597 2012-03-07 Marek Polacek <polacek@redhat.com>
49599 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
49601 2012-03-08 Marek Polacek <polacek@redhat.com>
49604 * stdio-common/Makefile (tests): Add tst-fphex-wide.
49605 * stdio-common/tst-fphex.c: Define a few macros to make the
49606 test reusable. Use them.
49607 * stdio-common/tst-fphex-wide.c: New file.
49609 2012-03-08 Joseph Myers <joseph@codesourcery.com>
49612 * manual/macros.texi (gnusystems): New macro.
49613 (nongnusystems): Likewise.
49614 (gnulinuxhurdsystems): Likewise.
49615 (gnuhurdsystems): Likewise..
49616 (gnulinuxsystems): Likewise.
49617 * manual/charset.texi: Use new macros or @theglibc{} to refer to
49618 variants of the GNU system, not "GNU system".
49619 * manual/conf.texi: Likewise.
49620 * manual/errno.texi: Likewise. Update example of errno macro
49622 * manual/filesys.texi: Likewise.
49623 (getumask): Document as specific to GNU/Hurd.
49624 * manual/install.texi: Likewise. Reword some references to
49626 * manual/intro.texi: Likewise.
49627 * manual/io.texi: Likewise.
49628 (File Name Portability): Detail which constraints are inapplicable
49629 to all GNU systems and which are only inapplicable to GNU/Hurd.
49630 * manual/job.texi: Likewise.
49631 * manual/llio.texi: Likewise.
49632 (O_NOCTTY): Document as present on GNU/Linux.
49633 * manual/maint.texi: Likewise.
49634 * manual/memory.texi: Likewise.
49635 * manual/pattern.texi: Likewise.
49636 * manual/pipe.texi: Likewise.
49637 * manual/process.texi: Likewise.
49638 * manual/resource.texi: Likewise.
49639 (RUSAGE_CHILDREN): Remove statement about specifying a particular
49641 * manual/setjmp.texi: Likewise.
49642 * manual/signal.texi: Likewise.
49643 * manual/startup.texi: Likewise.
49644 * manual/stdio.texi: Likewise.
49645 * manual/terminal.texi: Likewise.
49646 (ONLCR): Document as POSIX.
49647 (OXTABS): Document availability on GNU/Linux as XTABS.
49648 (ONOEOT): Document availability separately from other bits.
49649 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
49650 * manual/time.texi: Likewise.
49651 * manual/users.texi: Likewise.
49652 * INSTALL: Regenerated.
49653 * sysdeps/gnu/errlist.c: Regenerated.
49655 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
49656 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
49657 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
49659 * configure: Regenerated.
49661 2012-03-07 Joseph Myers <joseph@codesourcery.com>
49663 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
49664 default includes instead of AC_HEADER_CHECK.
49665 * sysdeps/i386/configure: Regenerated.
49668 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
49669 * math/s_cacoshf.c (__cacoshf): Likewise.
49670 * math/s_cacoshl.c (__cacoshl): Likewise.
49671 * math/s_casinh.c (__casinh): Set signs of result from argument.
49672 * math/s_casinhf.c (__casinhf): Likewise.
49673 * math/s_casinhl.c (__casinhl): Likewise.
49674 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
49675 (casinh_test): Add more tests.
49676 * sysdeps/i386/fpu/libm-test-ulps: Update.
49677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49679 2012-03-07 Ulrich Drepper <drepper@gmail.com>
49681 * po/zh_TW.po: Update from translation team.
49683 * login/Makefile (distribute): Remove variable.
49684 * catgets/Makefile: Likewise.
49685 * mach/Makefile: Likewise.
49686 * malloc/Makefile: Likewise.
49687 * misc/Makefile: Likewise.
49688 * iconv/Makefile: Likewise.
49689 * nscd/Makefile: Likewise.
49690 * hurd/Makefile: Likewise.
49691 * manual/Makefile: Likewise.
49692 * locale/Makefile: Likewise.
49693 * intl/Makefile: Likewise.
49694 * conform/Makefile: Likewise.
49695 * nss/Makefile: Likewise.
49696 * time/Makefile: Likewise.
49697 * soft-fp/Makefile: Likewise.
49698 * dirent/Makefile: Likewise.
49699 * gmon/Makefile: Likewise.
49700 * po/Makefile: Likewise.
49701 * rt/Makefile: Likewise.
49702 * socket/Makefile: Likewise.
49703 * math/Makefile: Likewise.
49704 * signal/Makefile: Likewise.
49705 * debug/Makefile: Likewise.
49706 * elf/Makefile: Likewise.
49707 * timezone/Makefile: Likewise.
49708 * stdlib/Makefile: Likewise.
49709 * iconvdata/Makefile: Likewise.
49710 * sunrpc/Makefile: Likewise.
49711 * io/Makefile: Likewise.
49712 * argp/Makefile: Likewise.
49713 * inet/Makefile: Likewise.
49714 * hesiod/Makefile: Likewise.
49715 * grp/Makefile: Likewise.
49716 * csu/Makefile: Likewise.
49717 * wctype/Makefile: Likewise.
49718 * crypt/Makefile: Likewise.
49719 * libio/Makefile: Likewise.
49720 * string/Makefile: Likewise.
49721 * nis/Makefile: Likewise.
49722 * resolv/Makefile: Likewise.
49723 * stdio-common/Makefile: Likewise.
49724 * wcsmbs/Makefile: Likewise.
49725 * dlfcn/Makefile: Likewise.
49726 * posix/Makefile: Likewise.
49729 * timezone/Makefile: Don't install timezone files, just the programs
49732 2012-03-06 Ulrich Drepper <drepper@gmail.com>
49734 * nss/databases.def: Add missing gshadow entry.
49736 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
49738 2012-03-06 Marek Polacek <polacek@redhat.com>
49741 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
49742 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49743 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
49744 * stdio-common/tst-long-dbl-fphex.c: New file.
49746 2012-03-06 David S. Miller <davem@davemloft.net>
49748 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49749 (set_obp_int): New function.
49750 (get_obp_int): New function.
49751 (__get_clockfreq_via_dev_openprom): Likewise.
49752 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
49753 Avoid unused variable warnings on 'val' and use builtin_expect.
49754 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
49756 (INLINE_CLONE_SYSCALL): Likewise.
49758 2012-03-05 David S. Miller <davem@davemloft.net>
49760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49762 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
49764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49766 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
49767 only for |x| >= 40.
49768 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49770 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
49772 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
49773 Replace gettimeofday with __vdso_gettimeofday.
49775 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49776 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
49777 __vdso_clock_gettime and __vdso_getcpu.
49779 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
49780 time with __vdso_time.
49782 2012-03-05 Joseph Myers <joseph@codesourcery.com>
49784 * manual/lang.texi (size_t): Note types to which size_t may be
49785 equivalent with the GNU C Library, but do not describe when
49786 differences between them are significant.
49788 2012-03-05 Andreas Jaeger <aj@suse.de>
49790 * sysdeps/i386/fpu/libm-test-ulps: Update.
49792 2012-03-05 Joseph Myers <joseph@codesourcery.com>
49795 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
49796 (__ieee754_pow): Save and restore rounding mode and use
49797 round-to-nearest for main computations.
49798 * math/libm-test.inc (pow_test_tonearest): New function.
49799 (pow_test_towardzero): Likewise.
49800 (pow_test_downward): Likewise.
49801 (pow_test_upward): Likewise.
49802 (main): Call the new functions.
49803 * sysdeps/i386/fpu/libm-test-ulps: Update.
49804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49807 * math/libm-test.inc (cosh_test_tonearest): New function.
49808 (cosh_test_towardzero): Likewise.
49809 (cosh_test_downward): Likewise.
49810 (cosh_test_upward): Likewise.
49811 (sinh_test_tonearest): Likewise.
49812 (sinh_test_towardzero): Likewise.
49813 (sinh_test_downward): Likewise.
49814 (sinh_test_upward): Likewise.
49815 (main): Call the new functions.
49816 * sysdeps/i386/fpu/libm-test-ulps: Update.
49817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49819 2012-03-05 Tom de Vries <tom@codesourcery.com>
49821 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
49822 default stack guard is set in last bytes.
49823 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
49825 2012-03-05 Kees Cook <keescook@chromium.org>
49827 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
49830 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
49831 possibly allocate from heap instead of stack.
49832 * stdio-common/bug-vfprintf-nargs.c: New file.
49833 * stdio-common/Makefile (tests): Add nargs overflow test.
49835 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
49837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49839 2012-03-03 Marek Polacek <polacek@redhat.com>
49841 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
49842 * math/math_private.h: Likewise.
49843 * stdlib/tst-strtod.c: Likewise.
49844 * sysdeps/i386/i486/bits/atomic.h: Likewise.
49845 * sysdeps/x86_64/bits/atomic.h: Likewise.
49847 2012-03-02 David S. Miller <davem@davemloft.net>
49849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
49850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
49851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
49852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
49853 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
49854 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
49855 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
49856 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49858 2012-03-02 Roland McGrath <roland@hack.frob.com>
49861 * manual/examples/README: New file, says the example source files
49862 can be used under GPL>=2.
49863 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49864 line containing just "*/".
49865 * manual/examples/add.c: Add copyright header (GPL>=2).
49866 * manual/examples/argp-ex1.c: Likewise.
49867 * manual/examples/argp-ex2.c: Likewise.
49868 * manual/examples/argp-ex3.c: Likewise.
49869 * manual/examples/argp-ex4.c: Likewise.
49870 * manual/examples/atexit.c: Likewise.
49871 * manual/examples/db.c: Likewise.
49872 * manual/examples/dir.c: Likewise.
49873 * manual/examples/dir2.c: Likewise.
49874 * manual/examples/execinfo.c: Likewise.
49875 * manual/examples/filecli.c: Likewise.
49876 * manual/examples/filesrv.c: Likewise.
49877 * manual/examples/fmtmsgexpl.c: Likewise.
49878 * manual/examples/genpass.c: Likewise.
49879 * manual/examples/inetcli.c: Likewise.
49880 * manual/examples/inetsrv.c: Likewise.
49881 * manual/examples/isockad.c: Likewise.
49882 * manual/examples/longopt.c: Likewise.
49883 * manual/examples/memopen.c: Likewise.
49884 * manual/examples/memstrm.c: Likewise.
49885 * manual/examples/mkfsock.c: Likewise.
49886 * manual/examples/mkisock.c: Likewise.
49887 * manual/examples/mygetpass.c: Likewise.
49888 * manual/examples/pipe.c: Likewise.
49889 * manual/examples/popen.c: Likewise.
49890 * manual/examples/rprintf.c: Likewise.
49891 * manual/examples/search.c: Likewise.
49892 * manual/examples/select.c: Likewise.
49893 * manual/examples/setjmp.c: Likewise.
49894 * manual/examples/sigh1.c: Likewise.
49895 * manual/examples/sigusr.c: Likewise.
49896 * manual/examples/stpcpy.c: Likewise.
49897 * manual/examples/strdupa.c: Likewise.
49898 * manual/examples/strftim.c: Likewise.
49899 * manual/examples/strncat.c: Likewise.
49900 * manual/examples/subopt.c: Likewise.
49901 * manual/examples/swapcontext.c: Likewise.
49902 * manual/examples/termios.c: Likewise.
49903 * manual/examples/testopt.c: Likewise.
49904 * manual/examples/testpass.c: Likewise.
49905 * manual/examples/timeval_subtract.c: Likewise.
49908 * manual/time.texi (Elapsed Time): Move timeval_subtract example
49910 * manual/timeval_subtract.c.texi: ... here, new file.
49912 2012-03-02 David S. Miller <davem@davemloft.net>
49914 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49916 2012-03-02 Joseph Myers <joseph@codesourcery.com>
49919 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49920 (__sin): Save and restore rounding mode and use round-to-nearest
49921 for all computations.
49922 (__cos): Save and restore rounding mode and use round-to-nearest
49923 for all computations.
49924 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49926 (tan): Save and restore rounding mode and use round-to-nearest for
49928 * math/libm-test.inc (cos_test_tonearest): New function.
49929 (cos_test_towardzero): Likewise.
49930 (cos_test_downward): Likewise.
49931 (cos_test_upward): Likewise.
49932 (sin_test_tonearest): Likewise.
49933 (sin_test_towardzero): Likewise.
49934 (sin_test_downward): Likewise.
49935 (sin_test_upward): Likewise.
49936 (tan_test_tonearest): Likewise.
49937 (tan_test_towardzero): Likewise.
49938 (tan_test_downward): Likewise.
49939 (tan_test_upward): Likewise.
49940 (main): Call the new functions.
49941 * sysdeps/i386/fpu/libm-test-ulps: Update.
49942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49945 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49946 small n, then large n, before computing and testing k+n.
49947 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49948 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49950 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49952 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49953 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49954 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49955 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49956 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49957 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49958 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49959 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49960 * math/libm-test.inc (scalbn_test): Add more tests.
49961 (scalbln_test): Likewise.
49963 * manual/filesys.texi (mode_t): Describe constraints on size and
49964 signedness, not exact equivalence to a particular type.
49966 (ino64_t): Likewise.
49968 (nlink_t): Likewise.
49969 (blkcnt_t): Likewise.
49970 (blkcnt64_t): Likewise.
49971 * manual/llio.texi (off_t): Likewise.
49974 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49975 (__ieee754_exp): Save and restore rounding mode and use
49976 round-to-nearest for all computations.
49977 * math/libm-test.inc (exp_test_tonearest): New function.
49978 (exp_test_towardzero): Likewise.
49979 (exp_test_downward): Likewise.
49980 (exp_test_upward): Likewise.
49981 (main): Call the new functions.
49982 * sysdeps/i386/fpu/libm-test-ulps: Update.
49983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49985 2012-03-01 Chris Demetriou <cgd@google.com>
49987 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49988 have predictable order.
49990 2012-03-01 David S. Miller <davem@davemloft.net>
49992 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49994 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49995 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49996 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49997 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49999 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
50000 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
50001 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
50002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
50003 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
50004 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
50005 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
50006 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
50007 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
50009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50011 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
50012 * sysdeps/sparc/fpu/libm-test-ulps: to here.
50013 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
50015 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
50016 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50017 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
50018 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
50019 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
50020 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
50021 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
50022 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50023 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
50024 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
50025 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
50026 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50027 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50028 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
50029 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50030 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50031 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
50032 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
50033 * sysdeps/sparc/elf/configure: Regenerated.
50035 2012-03-01 Joseph Myers <joseph@codesourcery.com>
50037 * configure.in (AS, LD): Require binutils 2.20 or later.
50038 * configure: Regenerated.
50039 * manual/install.texi (Tools for Compilation): Give binutils 2.20
50040 as required minimum version.
50041 * INSTALL: Regenerated.
50045 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
50046 before squaring exponent.
50047 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
50048 bottom long double and 27 bits of top long double before squaring
50050 * math/libm-test.inc (erfc_test): Add more tests.
50051 * sysdeps/i386/fpu/libm-test-ulps: Update.
50052 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50055 2012-03-01 Kai Tietz <ktietz@redhat.com>
50057 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
50058 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
50059 containing bit-fields.
50060 * soft-fp/extended.h (_FP_UNION_E): Likewise.
50061 * soft-fp/single.h (_FP_UNION_S): Likewise.
50062 * soft-fp/double.h (_FP_UNION_D): Likewise.
50064 2012-02-29 Joseph Myers <joseph@codesourcery.com>
50067 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
50068 not include ../strcmp.S.
50069 [USE_AS_STRNCASECMP_L]: Likewise.
50070 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
50071 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
50072 * sysdeps/i386/i686/multiarch/strncase_l-c.c
50073 (__strncasecmp_l_ia32): Define as alias to
50074 __strncasecmp_l_nonascii.
50077 * math/libm-test.inc (expm1_test): Add test for bug 5794.
50078 * sysdeps/i386/fpu/libm-test-ulps: Update.
50079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50081 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
50082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50084 2012-02-29 Jeff Law <law@redhat.com>
50086 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
50087 out of bounds read.
50089 2012-02-29 Marek Polacek <polacek@redhat.com>
50092 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
50093 * elf/Makefile: Add rules to run tst-unused-dep.out.
50095 2012-02-28 David S. Miller <davem@davemloft.net>
50097 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
50098 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
50099 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
50100 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
50101 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
50102 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
50104 2012-02-29 Joseph Myers <joseph@codesourcery.com>
50106 * math/libm-test.inc (llround_test): Move one test from
50107 lround_test. Use TEST_f_L in moved test.
50108 (lround_test): Move misplaced test to llround_test. Add testcase
50111 2012-02-28 Ulrich Drepper <drepper@gmail.com>
50113 * sysdeps/x86_64/fpu/e_expf.S: New file.
50114 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
50116 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
50119 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
50120 of remain_len that may cause incomplete multi-byte character and
50122 * posix/bug-regex33.c: New file.
50123 * posix/Makefile (tests): Add bug-regex33.
50125 2012-02-28 Joseph Myers <joseph@codesourcery.com>
50127 * manual/macros.texi: New file.
50128 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
50129 * manual/libc.texinfo: Include macros.texi.
50130 * manual/creatute.texi: Likewise.
50131 * manual/install.texi: Likewise.
50132 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
50133 @glibcadj{} in references to the GNU C Library.
50134 * manual/charset.texi: Likewise.
50135 * manual/conf.texi: Likewise.
50136 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
50137 when not using those macros.
50138 * manual/creature.texi: Likewise.
50139 * manual/crypt.texi: Likewise.
50140 * manual/errno.texi: Likewise.
50141 * manual/filesys.texi: Likewise.
50142 * manual/header.texi: Likewise.
50143 * manual/install.texi: Likewise.
50144 * manual/intro.texi: Likewise.
50145 * manual/io.texi: Likewise.
50146 * manual/job.texi: Likewise.
50147 * manual/lang.texi: Likewise.
50148 * manual/libc.texiinfo: Likewise.
50149 * manual/llio.texi: Likewise.
50150 * manual/locale.texi: Likewise.
50151 * manual/maint.texi: Likewise.
50152 * manual/math.texi: Likewise.
50153 * manual/memory.texi: Likewise.
50154 * manual/message.texi: Likewise.
50155 * manual/nss.texi: Likewise.
50156 * manual/pattern.texi: Likewise.
50157 * manual/process.texi: Likewise.
50158 * manual/resource.texi: Likewise.
50159 * manual/search.texi: Likewise.
50160 * manual/setjmp.texi: Likewise.
50161 * manual/signal.texi: Likewise.
50162 * manual/socket.texi: Likewise.
50163 * manual/startup.texi: Likewise.
50164 * manual/stdio.texi: Likewise.
50165 * manual/string.texi: Likewise.
50166 * manual/sysinfo.texi: Likewise.
50167 * manual/syslog.texi: Likewise.
50168 * manual/terminal.texi: Likewise.
50169 * manual/time.texi: Likewise.
50170 * manual/users.texi: Likewise.
50171 * INSTALL: Regenerated.
50172 * NOTES: Regenerated.
50173 * sysdeps/gnu/errlist.c: Regenerated.
50175 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
50177 * include/dirent.h: Include <dirstream.h> before
50180 2012-02-28 David S. Miller <davem@davemloft.net>
50182 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
50183 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
50184 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
50185 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
50187 2012-02-27 David S. Miller <davem@davemloft.net>
50189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
50190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
50191 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
50192 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
50194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
50195 frame pointer instead of stack pointer relative arg slot.
50196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
50197 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
50198 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
50200 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
50203 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
50205 2012-02-27 David S. Miller <davem@davemloft.net>
50207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
50208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
50209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
50211 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
50212 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
50213 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
50214 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
50216 2012-02-27 Joseph Myers <joseph@codesourcery.com>
50218 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
50219 later. Allow versions 5-9.
50220 * configure: Regenerated.
50221 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
50222 required minimum version and 4.6 as recommended version. Do not
50223 mention bugs in GCC 2.7 and 2.8.
50224 * INSTALL: Regenerated.
50226 2012-02-27 David S. Miller <davem@davemloft.net>
50228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
50229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
50230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
50231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
50232 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
50233 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
50234 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
50235 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
50237 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
50238 manipulate bits before adding and subtracting TWO112[sx].
50239 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
50241 2012-02-27 Roland McGrath <roland@hack.frob.com>
50244 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
50245 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
50246 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
50247 being in POSIX, because they are in 1003.1-2008.
50249 * rt/tst-aio.c: Include <fcntl.h>.
50250 * rt/tst-aio7.c: Likewise.
50251 * rt/tst-aio64.c: Likewise.
50253 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
50255 2012-02-27 Joseph Myers <joseph@codesourcery.com>
50257 * manual/install.texi (--with-headers): Describe headers as
50258 interface headers, not private headers.
50259 (Specific advice for GNU/Linux systems): Describe use of headers
50260 from "make headers_install", not private headers from older
50262 * INSTALL: Regenerated.
50263 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
50265 * sysdeps/unix/sysv/linux/configure: Regenerated.
50267 * manual/llio.texi (fclean): Remove documentation.
50269 * manual/Makefile (libc-texi-generated): New variable. Include
50271 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
50272 $(libc-texi-generated), not duplicated list of files.
50273 (version.texi, stamp-version): New rules.
50274 (realclean): Remove $(libc-texi-generated), not individual files
50275 from that list. Do not remove dir-add.texinfo.
50276 * manual/libc.texinfo: Comment out uses of edition numbers and
50277 references to printed manual. Remove last-updated dates.
50278 (EDITION): Comment out.
50280 (VERSION, UPDATED): Remove.
50281 (version.texi): Include.
50283 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
50285 * sysdeps/posix/spawni.c: Include <signal.h>.
50286 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
50287 * sysdeps/pthread/aio_fsync.c: Likewise.
50289 2012-02-26 Ulrich Drepper <drepper@gmail.com>
50291 * conform/Makefile (tests): Run only when not cross-compiling and
50292 when fast-check is not defined.
50294 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
50295 * conform/data/limits.h-data: Fixes for POSIX2008.
50296 * conform/run-conformtest.sh: Run all tests.
50297 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
50299 * include/bits/dlfcn.h: Likewise.
50300 * include/langinfo.h: Likewise.
50301 * include/monetary.h: Likewise.
50302 * include/sys/poll.h: Likewise.
50304 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
50306 * posix/spawn.h: Define __need_sigset_t.
50307 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
50308 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
50309 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
50310 to get sigevent_t only.
50311 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
50312 only for __USE_GNU.
50313 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50314 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50315 process_vm_writev only for __USE_GNU.
50316 * termios/termios.h: Declare tcgetsid also for POSIX2008.
50318 * conform/Makefile: For now ignore errors from run-conformtest.
50319 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
50320 POSIX to avoid namespace pollution. Don't prepend headers.
50321 * conform/data/aio.h-data: Fixes for POSIX testing.
50322 * conform/data/fcntl.h-data: Likewise.
50323 * conform/data/glob.h-data: Likewise.
50324 * conform/data/grp.h-data: Likewise.
50325 * conform/data/pthread.h-data: Likewise.
50326 * conform/data/pwd.h-data: Likewise.
50327 * conform/data/signal.h-data: Likewise.
50328 * conform/data/spawn.h-data: Likewise.
50329 * conform/data/stdio.h-data: Likewise.
50330 * conform/data/stdlib.h-data: Likewise.
50331 * conform/data/stropts.h-data: Likewise.
50332 * conform/data/sys/mman.h-data: Likewise.
50333 * conform/data/sys/stat.h-data: Likewise.
50334 * conform/data/sys/types.h-data: Likewise.
50335 * conform/data/sys/wait.h-data: Likewise.
50336 * conform/data/time.h-data: Likewise.
50337 * conform/data/unistd.h-data: Likewise.
50338 * conform/data/utime.h-data: Likewise.
50340 * io/sys/stat.h: fchmod was always in POSIX.
50341 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
50342 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
50343 * rt/aio.h: Define __need_timespec before including <time.h>.
50344 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
50345 struct. Add forward declaration of pthread_attr_t and use it in
50347 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50348 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50349 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
50350 always remove CLK_TCK definition.
50352 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
50354 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
50356 2012-02-25 Ulrich Drepper <drepper@gmail.com>
50358 * conform/run-conformtest.sh: New file.
50359 * conform/Makefile: Run run-conformtest for tests.
50360 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
50363 * conform/data/uchar.h-data: New file.
50364 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
50365 * conform/data/arpa/inet.h-data: Likewise.
50366 * conform/data/assert.h-data: Likewise.
50367 * conform/data/complex.h-data: Likewise.
50368 * conform/data/cpio.h-data: Likewise.
50369 * conform/data/ctype.h-data: Likewise.
50370 * conform/data/dirent.h-data: Likewise.
50371 * conform/data/dlfcn.h-data: Likewise.
50372 * conform/data/errno.h-data: Likewise.
50373 * conform/data/fcntl.h-data: Likewise.
50374 * conform/data/float.h-data: Likewise.
50375 * conform/data/fmtmsg.h-data: Likewise.
50376 * conform/data/fnmatch.h-data: Likewise.
50377 * conform/data/ftw.h-data: Likewise.
50378 * conform/data/glob.h-data: Likewise.
50379 * conform/data/grp.h-data: Likewise.
50380 * conform/data/iconv.h-data: Likewise.
50381 * conform/data/inttypes.h-data: Likewise.
50382 * conform/data/langinfo.h-data: Likewise.
50383 * conform/data/libgen.h-data: Likewise.
50384 * conform/data/limits.h-data: Likewise.
50385 * conform/data/locale.h-data: Likewise.
50386 * conform/data/math.h-data: Likewise.
50387 * conform/data/monetary.h-data: Likewise.
50388 * conform/data/mqueue.h-data: Likewise.
50389 * conform/data/ndbm.h-data: Likewise.
50390 * conform/data/net/if.h-data: Likewise.
50391 * conform/data/netdb.h-data: Likewise.
50392 * conform/data/netinet/in.h-data: Likewise.
50393 * conform/data/nl_types.h-data: Likewise.
50394 * conform/data/poll.h-data: Likewise.
50395 * conform/data/pthread.h-data: Likewise.
50396 * conform/data/pwd.h-data: Likewise.
50397 * conform/data/regex.h-data: Likewise.
50398 * conform/data/sched.h-data: Likewise.
50399 * conform/data/search.h-data: Likewise.
50400 * conform/data/semaphore.h-data: Likewise.
50401 * conform/data/setjmp.h-data: Likewise.
50402 * conform/data/signal.h-data: Likewise.
50403 * conform/data/spawn.h-data: Likewise.
50404 * conform/data/stdarg.h-data: Likewise.
50405 * conform/data/stdio.h-data: Likewise.
50406 * conform/data/stdlib.h-data: Likewise.
50407 * conform/data/string.h-data: Likewise.
50408 * conform/data/strings.h-data: Likewise.
50409 * conform/data/stropts.h-data: Likewise.
50410 * conform/data/sys/ipc.h-data: Likewise.
50411 * conform/data/sys/mman.h-data: Likewise.
50412 * conform/data/sys/msg.h-data: Likewise.
50413 * conform/data/sys/resource.h-data: Likewise.
50414 * conform/data/sys/select.h-data: Likewise.
50415 * conform/data/sys/sem.h-data: Likewise.
50416 * conform/data/sys/shm.h-data: Likewise.
50417 * conform/data/sys/socket.h-data: Likewise.
50418 * conform/data/sys/stat.h-data: Likewise.
50419 * conform/data/sys/statvfs.h-data: Likewise.
50420 * conform/data/sys/time.h-data: Likewise.
50421 * conform/data/sys/timeb.h-data: Likewise.
50422 * conform/data/sys/times.h-data: Likewise.
50423 * conform/data/sys/types.h-data: Likewise.
50424 * conform/data/sys/uio.h-data: Likewise.
50425 * conform/data/sys/un.h-data: Likewise.
50426 * conform/data/sys/utsname.h-data: Likewise.
50427 * conform/data/sys/wait.h-data: Likewise.
50428 * conform/data/syslog.h-data: Likewise.
50429 * conform/data/tar.h-data: Likewise.
50430 * conform/data/termios.h-data: Likewise.
50431 * conform/data/utime.h-data: Likewise.
50432 * conform/data/utmpx.h-data: Likewise.
50433 * conform/data/varargs.h-data: Likewise.
50434 * conform/data/wchar.h-data: Likewise.
50435 * conform/data/wctype.h-data: Likewise.
50436 * conform/data/wordexp.h-data: Likewise.
50438 * include/stropts.h: New file.
50439 * include/uchar.h: New file.
50440 * include/aio.h: Changes to allow conformtest.pl to use the headers.
50441 * include/assert.h: Likewise.
50442 * include/ctype.h: Likewise.
50443 * include/dirent.h: Likewise.
50444 * include/dlfcn.h: Likewise.
50445 * include/fcntl.h: Likewise.
50446 * include/fnmatch.h: Likewise.
50447 * include/glob.h: Likewise.
50448 * include/grp.h: Likewise.
50449 * include/libio.h: Likewise.
50450 * include/locale.h: Likewise.
50451 * include/math.h: Likewise.
50452 * include/net/if.h: Likewise.
50453 * include/netdb.h: Likewise.
50454 * include/netinet/in.h: Likewise.
50455 * include/pthread.h: Likewise.
50456 * include/pwd.h: Likewise.
50457 * include/regex.h: Likewise.
50458 * include/sched.h: Likewise.
50459 * include/search.h: Likewise.
50460 * include/setjmp.h: Likewise.
50461 * include/signal.h: Likewise.
50462 * include/stdio.h: Likewise.
50463 * include/stdlib.h: Likewise.
50464 * include/string.h: Likewise.
50465 * include/sys/cdefs.h: Likewise.
50466 * include/sys/mman.h: Likewise.
50467 * include/sys/msg.h: Likewise.
50468 * include/sys/resource.h: Likewise.
50469 * include/sys/select.h: Likewise.
50470 * include/sys/socket.h: Likewise.
50471 * include/sys/stat.h: Likewise.
50472 * include/sys/statvfs.h: Likewise.
50473 * include/sys/time.h: Likewise.
50474 * include/sys/times.h: Likewise.
50475 * include/sys/uio.h: Likewise.
50476 * include/sys/utsname.h: Likewise.
50477 * include/sys/wait.h: Likewise.
50478 * include/termios.h: Likewise.
50479 * include/time.h: Likewise.
50480 * include/ulimit.h: Likewise.
50481 * include/unistd.h: Likewise.
50482 * include/utime.h: Likewise.
50483 * include/wchar.h: Likewise.
50484 * include/wctype.h: Likewise.
50485 * include/wordexp.h: Likewise.
50487 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
50489 * time/time.h: TIME_UTC must be a macro.
50490 Make timespec_get available for ISO C11 only as well.
50492 2012-02-24 Ulrich Drepper <drepper@gmail.com>
50494 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
50495 Reported by Peng Haitao <penght@cn.fujitsu.com>.
50497 2012-02-24 Joseph Myers <joseph@codesourcery.com>
50499 * configure.in: Use -o not -a in test for unsupported multi-arch.
50501 2012-02-24 Joseph Myers <joseph@codesourcery.com>
50503 * manual/texinfo.tex: Update to version 2012-01-19.16.
50505 2012-02-24 Joseph Myers <joseph@codesourcery.com>
50507 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
50509 2012-02-24 Roland McGrath <roland@hack.frob.com>
50512 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
50513 * manual/fdl-1.3.texi: New file.
50514 * manual/fdl-1.1.texi: File removed.
50517 * manual/libc.texinfo (FDL_VERSION): New @set.
50518 Use it for mention of FDL in cover text.
50519 (Documentation License): Use it in @include file name.
50521 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50522 Roland McGrath <roland@hack.frob.com>
50525 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
50526 (not LONG_LONG_MAX and LONG_LONG_MIN.
50527 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
50528 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
50530 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
50532 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50536 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
50537 manipulate bits before adding and subtracting TWO23[sx].
50538 * math/libm-test.inc (nearbyint_test): Add more tests.
50540 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50543 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
50544 bits before adding and subtracting TWO23[sx].
50545 * math/libm-test.inc (rint_test): Add more tests.
50546 (rint_test_tonearest): Likewise.
50547 (rint_test_towardzero): Likewise.
50548 (rint_test_downward): Likewise.
50549 (rint_test_upward: Likewise.
50551 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50554 * include/stdc-predef.h: New file. Extracted from features.h.
50555 * include/features.h: Include stdc-predef.h.
50556 * Makefile (headers): Add stdc-predef.h.
50557 * CONFORMANCE (Compiler limitations): Update.
50559 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50561 * manual/libc.texinfo (VERSION, UPDATED): Revert.
50563 2012-02-21 David S. Miller <davem@davemloft.net>
50565 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
50566 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50568 2012-02-20 David S. Miller <davem@davemloft.net>
50570 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
50571 using a normal save/restore sequence, rather than allocating a
50572 dummy stack frame just to store a frame pointer and restore.
50573 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50575 2012-02-21 Joseph Myers <joseph@codesourcery.com>
50577 * manual/install.texi: Fix stray word in line-wrapped comment.
50579 2012-02-20 David S. Miller <davem@davemloft.net>
50581 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
50582 both binutils and gcc support GOTDATA.
50584 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
50585 "rd %pc" in the PIC register setup sequences.
50587 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
50588 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
50589 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
50590 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
50591 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
50592 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50593 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50594 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50595 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
50596 (SYSCALL_ERROR_HANDLER): Likewise.
50597 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
50598 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50599 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
50600 (SYSCALL_ERROR_HANDLER): Likewise.
50602 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
50603 (HAVE_GCC_GOTDATA): New.
50604 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
50605 relocation support in both binutils and gcc.
50606 * sysdeps/sparc/elf/configure: Regenerate.
50608 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
50609 * sysdeps/sparc/sparc32/elf/configure: Delete.
50610 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
50611 * sysdeps/sparc/sparc64/elf/configure: Delete.
50612 * sysdeps/sparc/elf/configure.in: New file.
50613 * sysdeps/sparc/elf/configure: Generate.
50615 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
50616 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
50617 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50618 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
50619 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
50621 2012-02-21 Joseph Myers <joseph@codesourcery.com>
50623 * manual/install.texi: Do not mention specific glibc version
50625 * manual/libc.texinfo (VERSION, UPDATED): Update.
50626 (@copying): Use @copyright{} and range of years.
50628 2012-02-21 Joseph Myers <joseph@codesourcery.com>
50631 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
50632 [crti.S not in sysdirs] (generated): Do not append.
50633 [crti.S not in sysdirs] (omit-deps): Likewise.
50634 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
50635 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
50636 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
50637 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
50638 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
50640 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
50641 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
50642 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
50643 * csu/defs.awk: Remove file.
50644 * sysdeps/generic/initfini.c: Likewise.
50645 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
50647 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
50650 2012-02-20 Joseph Myers <joseph@codesourcery.com>
50652 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
50653 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
50654 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
50655 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
50656 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50657 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
50659 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
50660 (__EPOLL_PACKED): Define to empty if not defined by
50662 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
50663 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50666 2012-02-20 Joseph Myers <joseph@codesourcery.com>
50668 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
50669 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
50670 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
50671 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
50673 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
50674 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50677 2012-02-20 Joseph Myers <joseph@codesourcery.com>
50679 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
50681 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50682 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50683 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
50684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50686 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
50688 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50689 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50691 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
50693 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
50694 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
50696 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
50698 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
50701 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
50703 * math/w_acos.c: Use non-signaling floating-point comparisons.
50704 * math/w_acosf.c: Likewise.
50705 * math/w_acosh.c: Likewise.
50706 * math/w_acoshf.c: Likewise.
50707 * math/w_acoshl.c: Likewise.
50708 * math/w_acosl.c: Likewise.
50709 * math/w_asin.c: Likewise.
50710 * math/w_asinf.c: Likewise.
50711 * math/w_asinl.c: Likewise.
50712 * math/w_atanh.c: Likewise.
50713 * math/w_atanhf.c: Likewise.
50714 * math/w_atanhl.c: Likewise.
50715 * math/w_exp2.c: Likewise.
50716 * math/w_exp2f.c: Likewise.
50717 * math/w_exp2l.c: Likewise.
50718 * math/w_j0.c: Likewise.
50719 * math/w_j0f.c: Likewise.
50720 * math/w_j0l.c: Likewise.
50721 * math/w_j1.c: Likewise.
50722 * math/w_j1f.c: Likewise.
50723 * math/w_j1l.c: Likewise.
50724 * math/w_jn.c: Likewise.
50725 * math/w_jnf.c: Likewise.
50726 * math/w_log.c: Likewise.
50727 * math/w_log10.c: Likewise.
50728 * math/w_log10f.c: Likewise.
50729 * math/w_log10l.c: Likewise.
50730 * math/w_log2.c: Likewise.
50731 * math/w_log2f.c: Likewise.
50732 * math/w_log2l.c: Likewise.
50733 * math/w_logf.c: Likewise.
50734 * math/w_logl.c: Likewise.
50735 * math/w_sqrt.c: Likewise.
50736 * math/w_sqrtf.c: Likewise.
50737 * math/w_sqrtl.c: Likewise.
50738 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50739 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
50740 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50741 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50742 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50744 2012-02-19 Joseph Myers <joseph@codesourcery.com>
50747 * manual/string.texi (strnlen): Use correct parameter name in
50748 equivalent expression.
50750 2012-02-19 Joseph Myers <joseph@codesourcery.com>
50753 * manual/users.texi (seteuid): Consistently use neweuid for
50756 2012-02-19 Joseph Myers <joseph@codesourcery.com>
50759 * manual/nss.texi (Services in the NSS configuration): Correct
50760 list of services in example configuration file.
50762 2012-02-19 Nick Bowler <nbowler@draconx.ca>
50765 * manual/arith.texi: Remove statements about negative zero
50766 behaving identically to zero.
50768 2012-02-18 Joseph Myers <joseph@codesourcery.com>
50771 * manual/install.texi: Do not document upgrading from libc5.
50773 2012-02-18 Joseph Myers <joseph@codesourcery.com>
50776 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
50778 2012-02-18 David S. Miller <davem@davemloft.net>
50780 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
50781 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
50782 %o7 across the call.
50783 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
50785 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
50786 SETUP_PIC_REG_LEAF.
50787 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50788 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
50789 * sysdeps/sparc/crtn.S: Likewise.
50791 2012-02-17 Ulrich Drepper <drepper@gmail.com>
50793 * aout/Makefile: Remove.
50795 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
50798 * manual/examples/argp-ex1.c (main): Format definition in GNU
50800 * manual/examples/argp-ex2.c (main): Likewise.
50801 * manual/examples/argp-ex3.c (main): Likewise.
50802 * manual/examples/argp-ex4.c (main): Likewise.
50803 * manual/examples/longopt.c (main): Use new-style prototype
50805 * manual/examples/strncat.c (main): Specify return type and use
50806 (void) for arguments.
50807 * manual/examples/subopt.c (main): Use char **argv argument.
50809 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50812 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
50815 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
50818 * manual/string.texi (strchr): Change when strchrnul is
50821 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
50824 * manual/locale.texi (setlocale): Document LOCPATH.
50826 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50829 * manual/process.texi (execle): Move @dots{} before last argument.
50831 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
50834 * manual/charset.texi (Generic Charset Conversion): Fix typo
50835 (LC_TYPE -> LC_CTYPE).
50837 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
50840 * manual/arith.texi (scalbn): Use @var{} on parameter names.
50841 (scalbnf): Likewise.
50842 (scalbnl): Likewise.
50843 (scalbln): Likewise.
50844 (scalblnf): Likewise.
50845 (scalblnl): Likewise.
50846 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
50847 (vwarnx): Likewise.
50850 * manual/filesys.texi (telldir): Use braces around return type.
50851 * manual/llio.texi (mmap): Add space after comma.
50852 (mmap64): Likewise.
50853 * manual/math.texi (jn): Use @var{} on parameter names.
50859 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50861 * manual/resource.texi (ulimit): Use @dots{} instead of literal
50863 (sched_get_priority_min): Remove semicolon on @deftypefun line.
50864 (sched_get_priority_max): Likewise.
50865 * manual/signal.texi (sigvec): Add space after comma.
50866 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50868 (if_indextoname): Likewise.
50869 (if_freenameindex): Likewise.
50870 (sendto): Use ',' instead of '.' in prototype.
50871 * manual/startup.texi (syscall): Use @dots{} instead of literal
50873 * manual/stdio.texi (__fpending): Separate initial words of
50874 paragraph from @deftypefun line.
50875 * manual/syslog.texi (syslog): Use @dots{} instead of literal
50877 (vsyslog): Use @var{} on parameter names.
50878 * manual/terminal.texi (stty): Use @var{} on parameter names.
50879 * manual/users.texi (getutmp): Use @var{} on parameter names.
50880 (getutmpx): Likewise.
50882 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50885 * manual/stdio.texi (fopen): Fix typos in description of
50888 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
50891 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50892 get clock_id definition.
50894 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
50897 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50898 (madvise): Cast every argument to void on its own.
50900 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50903 * manual/startup.texi (Exit Status): Fix typo.
50905 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50908 * manual/examples/argp-ex1.c: Include <stdlib.h>.
50909 * manual/examples/argp-ex2.c: Likewise.
50910 * manual/examples/argp-ex3.c: Likewise.
50912 2012-02-16 Richard Henderson <rth@redhat.com>
50914 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50915 * sysdeps/s390/s390-32/initfini.c: Remove.
50916 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50917 * sysdeps/s390/s390-64/initfini.c: Remove.
50919 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50921 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50922 compiler output for sysdeps/generic/initfini.c.
50923 * sysdeps/sh/elf/initfini.c: Remove file.
50925 2012-02-16 David S. Miller <davem@davemloft.net>
50928 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50930 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50931 * sysdeps/sparc/crti.S: New file.
50932 * sysdeps/sparc/crtn.S: New file.
50933 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50934 * sysdeps/sparc/sparc64/Makefile: Likewise.
50936 2012-02-15 Mike Frysinger <vapier@gentoo.org>
50939 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50941 2012-02-15 Roland McGrath <roland@hack.frob.com>
50944 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50946 * mach/devstream.c (cookie_io_functions_t): Macro removed.
50947 (write, read, close): Likewise.
50948 Patch by Aurelien Jarno <aurelien@aurel32.net>.
50950 2012-02-15 Joseph Myers <joseph@codesourcery.com>
50952 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50953 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50954 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50955 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50957 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50958 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50961 2012-02-14 Marek Polacek <polacek@redhat.com>
50963 * sysdeps/x86_64/crti.S: New file.
50964 * sysdeps/x86_64/crtn.S: New file.
50965 * sysdeps/x86_64/elf/initfini.c: Remove file.
50967 2012-02-13 Joseph Myers <joseph@codesourcery.com>
50969 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50970 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50971 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50972 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50974 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50975 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50978 2012-02-13 Joseph Myers <joseph@codesourcery.com>
50980 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50981 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50982 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50983 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50985 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50986 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50989 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
50991 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50992 __feraiseexcept instead of feraiseexcept.
50994 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50995 nanosleep invocations.
50996 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50997 strings, and add error checking for a nanosleep invocations.
50999 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
51001 Replace FSF snail mail address with URLs, as per GNU coding standards.
51002 Most of the snail mail addresses were wrong anyway, and omitting
51003 them makes the source code easier to maintain. Almost all of the
51004 changes are to license notices and to locale LC_IDENTIFICATION
51005 addresses, except for this one:
51006 * manual/libc.texinfo: In "Published by", give the FSF's URL,
51007 not its snail mail address.
51009 2012-02-09 Richard Henderson <rth@twiddle.net>
51011 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
51012 of kernel-features.h.
51014 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
51016 2012-02-08 Marek Polacek <polacek@redhat.com>
51018 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
51019 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
51020 * sysdeps/gnu/_G_config.h: Likewise.
51021 * sysdeps/generic/_G_config.h: Likewise.
51023 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
51025 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
51027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51029 * sysdeps/powerpc/powerpc32/crti.S: New file.
51030 * sysdeps/powerpc/powerpc32/crtn.S: New file.
51031 * sysdeps/powerpc/powerpc64/crti.S: New file.
51032 * sysdeps/powerpc/powerpc64/crtn.S: New file.
51034 * Makeconfig (have-initfini): Don't set.
51035 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
51036 * configure.in (nopic_initfini): Don't substitute.
51037 * config.h.in (HAVE_INITFINI): Don't #undef.
51038 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
51039 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
51041 2012-02-08 Joseph Myers <joseph@codesourcery.com>
51043 Support crti.S and crtn.S provided directly by architectures.
51044 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
51045 [crti.S in sysdirs] (omit-deps): Likewise.
51046 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
51047 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
51048 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
51049 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
51050 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
51051 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
51052 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
51053 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
51054 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
51055 compiler output for sysdeps/generic/initfini.c.
51056 * sysdeps/i386/elf/Makefile: Remove file.
51057 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
51059 2012-02-07 Marek Polacek <polacek@redhat.com>
51061 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
51062 * sysdeps/gnu/_G_config.h: Likewise.
51063 * sysdeps/mach/hurd/_G_config.h: Likewise.
51065 2012-02-07 Marek Polacek <polacek@redhat.com>
51067 * math/Makefile (tests): Add tst-CMPLX2.
51068 * math/tst-CMPLX2.c: New file.
51070 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
51072 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51074 * math/libm-test.inc (jn_test): Add missing L suffix.
51076 2012-02-06 Marek Polacek <polacek@redhat.com>
51078 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
51079 * sysdeps/i386/fpu/e_powf.S: Likewise.
51080 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51081 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51082 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51083 * sysdeps/i386/fpu/e_pow.S: Likewise.
51084 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
51085 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51086 * sysdeps/i386/fpu/s_expm1.S: Likewise.
51087 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
51088 * sysdeps/i386/fpu/e_log2.S: Likewise.
51089 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51090 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51091 * sysdeps/i386/fpu/e_powl.S: Likewise.
51092 * sysdeps/i386/fpu/s_log1p.S: Likewise.
51093 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51094 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
51095 * sysdeps/i386/fpu/e_logl.S: Likewise.
51096 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
51097 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
51098 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
51099 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
51100 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51101 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51102 * sysdeps/i386/fpu/e_log.S: Likewise.
51103 * sysdeps/i386/fpu/s_cexp.S: Likewise.
51104 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51105 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
51106 * sysdeps/i386/fpu/e_logf.S: Likewise.
51107 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51108 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51109 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
51110 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
51111 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51112 * sysdeps/i386/fpu/e_log10.S: Likewise.
51113 * sysdeps/i386/fpu/s_frexp.S: Likewise.
51114 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51115 * sysdeps/i386/fpu/s_asinh.S: Likewise.
51116 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
51117 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51118 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
51119 * sysdeps/i386/asm-syntax.h: Likewise.
51120 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51121 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51122 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51123 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
51124 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
51125 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51126 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
51127 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
51128 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51129 * sysdeps/powerpc/sysdep.h: Likewise.
51130 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
51131 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
51133 2012-02-06 Joseph Myers <joseph@codesourcery.com>
51136 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
51138 2012-02-06 Joseph Myers <joseph@codesourcery.com>
51140 * sysdeps/i386/sysdep.h: Include <features.h>.
51141 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
51144 2012-02-05 Joseph Myers <joseph@codesourcery.com>
51146 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
51148 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
51151 2012-02-03 Joseph Myers <joseph@codesourcery.com>
51153 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
51154 (SETUP_PIC_REG): Use GET_PC_THUNK.
51155 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
51158 2012-02-03 Joseph Myers <joseph@codesourcery.com>
51160 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
51161 for non-PIC compilation.
51162 (SETUP_PIC_REG): Add .p2align directive.
51163 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
51164 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
51165 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
51166 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
51167 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
51168 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
51169 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
51170 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51171 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
51172 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
51173 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
51174 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
51175 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
51176 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
51177 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
51178 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
51179 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
51180 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
51181 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
51182 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
51183 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51184 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
51185 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
51186 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
51187 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
51188 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
51189 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51190 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
51191 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
51192 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
51193 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
51194 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51195 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
51196 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
51197 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
51198 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
51199 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
51200 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
51201 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
51202 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
51203 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
51205 2012-02-03 Joseph Myers <joseph@codesourcery.com>
51207 * math/tst-CMPLX.c: Include <stdio.h>.
51209 2012-01-31 Joseph Myers <joseph@codesourcery.com>
51211 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
51213 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
51214 * sysdeps/sparc/bits/mathdef.h: Likewise.
51216 2012-01-31 Marek Polacek <polacek@redhat.com>
51218 * libio/libio.h: Don't define _PARAMS.
51219 * locale/programs/config.h: Don't define PARAMS.
51220 * stdlib/strtol_l.c: Likewise.
51221 (__strtol_l): Remove PARAMS from the prototype.
51223 2012-01-31 Ulrich Drepper <drepper@gmail.com>
51225 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
51226 names. Just use the correct names. Remove unnecessary wrapper
51228 * malloc/arena.c: Likewise.
51229 * malloc/hooks.c: Likewise.
51231 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
51232 ARENA_TEST says not to. Simplify test for creation of a new arena.
51233 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
51235 2012-01-30 Ulrich Drepper <drepper@gmail.com>
51237 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
51239 (update_get_addr): New function.
51240 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
51241 GET_ADDR_MODULE parameter.
51243 2012-01-30 Joseph Myers <joseph@codesourcery.com>
51245 * crypt/cert.c: Remove __STDC__ conditionals.
51246 * crypt/crypt-entry.c: Likewise.
51247 * crypt/crypt_util.c: Likewise.
51248 * libio/filedoalloc.c: Likewise.
51249 * libio/fileops.c: Likewise.
51250 * libio/genops.c: Likewise.
51251 * libio/iofclose.c: Likewise.
51252 * libio/iofdopen.c: Likewise.
51253 * libio/iofopen.c: Likewise.
51254 * libio/iofopen64.c: Likewise.
51255 * libio/iogetdelim.c: Likewise.
51256 * libio/iopopen.c: Likewise.
51257 * libio/obprintf.c: Likewise.
51258 * libio/oldfileops.c: Likewise.
51259 * libio/oldiofclose.c: Likewise.
51260 * libio/oldiofdopen.c: Likewise.
51261 * libio/oldiofopen.c: Likewise.
51262 * libio/oldiopopen.c: Likewise.
51263 * libio/wfiledoalloc.c: Likewise.
51264 * libio/wgenops.c: Likewise.
51265 * locale/programs/xmalloc.c: Likewise.
51266 * misc/syslog.c: Likewise.
51267 * stdio-common/xbug.c: Likewise.
51268 * string/memchr.c: Likewise.
51269 * string/memcmp.c: Likewise.
51270 * string/memrchr.c: Likewise.
51271 * string/rawmemchr.c: Likewise.
51272 * sysdeps/posix/getcwd.c: Likewise.
51273 * time/strftime_l.c: Likewise.
51275 2012-01-30 Joseph Myers <joseph@codesourcery.com>
51277 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
51278 * config.make.in (config-cflags-sse2avx): Define.
51279 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
51282 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
51284 * scripts/config.guess: Update from upstream config git repository.
51285 * scripts/config.sub: Likewise.
51287 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
51289 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
51291 (R_TILEPRO_*, R_TILEGX_*): New macros.
51293 * scripts/firstversions.awk: Fix bug in version range handling.
51295 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
51297 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
51299 * include/sys/epoll.h: New file.
51300 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
51303 2012-01-28 Ulrich Drepper <drepper@gmail.com>
51305 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
51306 Avoid unnecessary __WORDSIZE == 64 test.
51307 (fmaxf): Use VEX format if possible.
51312 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
51313 * math/math_private.h: Remove libc_fegetround* and
51315 * sysdeps/i386/configure.in: Check for -msse2avx.
51316 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
51317 also if SSE2AVX is defined.
51318 Remove libc_fegetround* and libc_fesetround*.
51319 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
51320 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
51321 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
51323 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51324 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51325 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51326 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51327 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51329 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
51331 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51333 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
51335 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51337 2012-01-27 Ulrich Drepper <drepper@gmail.com>
51340 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
51342 * Makeconfig (libm): Define.
51343 * elf/Makefile: Add rules to build and run tst-relsort1.
51344 * elf/tst-relsort1.c: New file.
51345 * elf/tst-relsort1mod1.c: New file.
51346 * elf/tst-relsort1mod2.c: New file.
51348 2012-01-27 Joseph Myers <joseph@codesourcery.com>
51350 * math/s_ldexp.c: Remove __STDC__ conditionals.
51351 * math/s_ldexpf.c: Likewise.
51352 * math/s_ldexpl.c: Likewise.
51353 * math/s_nextafter.c: Likewise.
51354 * math/s_nexttowardf.c: Likewise.
51355 * math/s_significand.c: Likewise.
51356 * math/s_significandf.c: Likewise.
51357 * math/s_significandl.c: Likewise.
51358 * math/w_jnl.c: Likewise.
51359 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51360 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51361 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51362 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51363 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51364 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51365 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
51366 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51367 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51368 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51369 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51370 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51371 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51372 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51373 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51374 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51375 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51376 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51377 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51378 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51379 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51380 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51381 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51382 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51383 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51384 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51385 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51386 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51387 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51388 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51389 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51390 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51391 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51392 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51393 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51394 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51395 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51396 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51397 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51398 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51399 * sysdeps/ieee754/k_standard.c: Likewise.
51400 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51401 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51402 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51403 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51404 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51405 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51406 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51407 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51408 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51409 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51410 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51411 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51412 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51413 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51414 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51415 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51416 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51417 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51418 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51419 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51420 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51421 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51422 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51423 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51424 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51425 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51426 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51427 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51428 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51429 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51430 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51431 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
51432 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51433 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51434 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51435 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51436 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
51437 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51438 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51439 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
51440 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
51441 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51442 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
51443 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
51444 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51445 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
51446 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
51447 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51448 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51449 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
51450 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
51451 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51452 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51453 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51454 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51455 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51456 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
51457 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51458 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51459 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51460 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51461 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51462 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51463 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51464 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51465 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51466 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51467 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51468 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51469 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51470 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51471 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51472 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51473 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51474 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51475 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51476 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51477 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51478 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51479 * sysdeps/ieee754/s_matherr.c: Likewise.
51480 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51481 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51482 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51483 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51485 2012-01-26 Joseph Myers <joseph@codesourcery.com>
51487 * crypt/md5.h: Remove __STDC__ conditionals.
51488 * libio/libioP.h: Likewise.
51489 * locale/programs/config.h: Likewise.
51490 * sysdeps/generic/sysdep.h: Likewise.
51491 * sysdeps/i386/asm-syntax.h: Likewise.
51492 * sysdeps/s390/asm-syntax.h: Likewise.
51493 * sysdeps/unix/sysdep.h: Likewise.
51494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
51495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51497 2012-01-26 Joseph Myers <joseph@codesourcery.com>
51499 * libio/libio.h: Remove __STDC__ conditionals.
51500 * malloc/obstack.h: Likewise.
51501 * math/complex.h: Likewise.
51502 * math/math.h: Likewise.
51503 * sysdeps/generic/_G_config.h: Likewise.
51504 * sysdeps/gnu/_G_config.h: Likewise.
51505 * sysdeps/mach/hurd/_G_config.h: Likewise.
51506 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51507 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
51508 * sysdeps/sparc/bits/mathdef.h: Likewise.
51510 2012-01-26 Ulrich Drepper <drepper@gmail.com>
51513 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
51514 Clean up HAS_* macros.
51515 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
51516 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
51518 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
51520 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51521 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51522 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51523 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51524 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51526 2012-01-25 Joseph Myers <joseph@codesourcery.com>
51528 * elf/tst-unique3.cc (gets): Remove declaration.
51529 * elf/tst-unique3lib.cc (gets): Likewise.
51530 * elf/tst-unique3lib2.cc (gets): Likewise.
51531 * elf/tst-unique4.cc (gets): Likewise.
51533 2012-01-24 Ulrich Drepper <drepper@gmail.com>
51535 * include/stdio.h: Add C++ protection. Add gets declarations and
51537 * debug/tst-chk1.c: Don't declare gets here.
51538 * stdio-common/tst-gets.c: Likewise.
51540 2012-01-24 Joseph Myers <joseph@codesourcery.com>
51542 * posix/glob: Remove directory.
51544 2012-01-24 Joseph Myers <joseph@codesourcery.com>
51546 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
51548 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
51550 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
51551 of the non-standard EPFNOSUPPORT.
51553 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
51555 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
51556 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
51557 ANYWHERE set to 1 only on KERN_NO_SPACE error.
51559 2012-01-21 Ulrich Drepper <drepper@gmail.com>
51561 * wcsmbs/uchar.h: Test __STDC_VERSION__.
51563 2012-01-20 Ulrich Drepper <drepper@gmail.com>
51565 * nscd/aicache.c (addhstaiX): Do not cache negative results of
51567 * nscd/grpcache.c (cache_addgr): Likewise.
51568 * nscd/hstcache.c (cache_addhst): Likewise.
51569 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51570 * nscd/pwdcache.c (cache_addpw): Likewise.
51571 * nscd/servicescache.c (cache_addserv): Likewise.
51573 2012-01-16 Ulrich Drepper <drepper@gmail.com>
51575 * malloc/malloc.c: Various cleanups.
51576 * malloc/hooks.c: Likewise.
51578 * stdlib/Makefile (tests): Add bug-fmtmsg1.
51579 * stdlib/bug-fmtmsg1.c: New file.
51581 * stdlib/fmtmsg.c (init): Add missing unlock.
51582 Patch by Peng Haitao <penght@cn.fujitsu.com>.
51584 2012-01-12 Marek Polacek <polacek@redhat.com>
51586 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
51589 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51591 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
51592 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
51593 macro to ensure uniqueness of label name.
51594 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51595 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51597 2012-01-11 Ulrich Drepper <drepper@gmail.com>
51599 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
51601 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
51602 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51603 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51604 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
51606 2012-01-10 Ulrich Drepper <drepper@gmail.com>
51608 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
51610 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
51611 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51612 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51614 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
51616 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
51617 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51618 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51619 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
51621 * math/bits/math-finite.h: Add ldexp support.
51623 2012-01-10 Marek Polacek <polacek@redhat.com>
51625 * locale/programs/localedef.h (show_archive_content): Add noreturn
51628 2012-01-09 Ulrich Drepper <drepper@gmail.com>
51630 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
51632 2012-01-08 Ulrich Drepper <drepper@gmail.com>
51634 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
51636 * io/Makefile (headers): Add bits/poll2.h.
51638 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
51640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
51641 typo #include statement.
51643 2012-01-08 Ulrich Drepper <drepper@gmail.com>
51645 * include/sys/cdefs.h: Define __attribute_alloc_size.
51646 * catgets/gencat.c: Add alloc_size attribute and apply consistently
51647 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
51648 * elf/pldd.c: Likewise.
51649 * iconv/iconv_charmap.c: Likewise.
51650 * iconv/iconvconfig.c: Likewise.
51651 * iconv/strtab.c: Likewise.
51652 * locale/programs/locale.c: Likewise.
51653 * locale/programs/localedef.h: Likewise.
51654 * locale/programs/simple-hash.c: Likewise.
51655 * nscd/nscd.h: Likewise.
51656 * nss/makedb.c: Likewise.
51657 * sysdeps/generic/ldconfig.h: Likewise.
51658 * locale/programs/localedef.c: Remove xmalloc prototype.
51659 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
51661 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51663 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
51666 2012-01-08 Ulrich Drepper <drepper@gmail.com>
51668 * math/Makefile (tests): Add tst-CMPLX.
51669 * math/tst-CMPLX.c: New file.
51671 * math/complex.h (CMPLXL): Fix typo.
51673 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
51674 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
51676 * debug/tst-chk1.c: Add poll and ppoll tests.
51677 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
51678 * include/sys/poll.h: Add hidden proto for ppoll.
51679 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
51680 * sysdeps/mach/hurd/ppoll.c: Likewise.
51681 * io/ppoll.c: Likewise.
51682 * debug/poll_chk.c: New file.
51683 * debug/ppoll_chk.c: New file.
51684 * include/bits/poll2.h: New file.
51685 * io/bits/poll2.h: New file.
51688 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
51690 * configure.in: static is always set to yes. Remove.
51691 * config.make.in: Don't set build-static.
51692 * Makeconfig: Remove use of build-static.
51693 * dlfcn/Makefile: Likewise.
51694 * elf/Makefile: Likewise.
51695 * math/Makefile: Likewise.
51696 * misc/Makefile: Likewise.
51697 * nptl/Makefile: Likewise.
51698 * sysdeps/mach/hurd/Makefile: Likewise.
51700 * configure.in: PWD_P is not used anymore.
51701 * config.make.in: Remove PWD_P entry.
51703 * configure.in: Remove last remnants of RANLIB.
51704 No need to check for signed size_t anymore.
51705 Don't set libc_commonpagesize and libc_relro_required here for Alpha
51707 Remove __builtin_expect test because we require at least gcc 3.4.
51708 * aclocal.m4: Likewise.
51710 * wcsmbs/mbrtoc16.c: Implement using towc function.
51711 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
51712 * wcsmbs/wcsmbsload.c: Likewise.
51713 * iconv/gconv_simple.c: Likewise.
51714 * iconv/gconv_int.h: Likewise.
51715 * iconv/gconv_builtin.h: Likewise.
51716 * iconv/iconv_prog.c: Remove CHAR16 handling.
51718 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
51720 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
51722 * configure.in: Remove --with-elf and --enable-bounded options.
51723 Dont set base_machine for ia64. More non-ELF conditions removed.
51724 Remove testing and setting of leading underscore information.
51725 * config.make.in (build-bounded): Set to no.
51726 * config.h.in: Remove NO_UNDERSCORES entry.
51727 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
51729 * csu/start.c: Remove !NO_UNDERSCORE code.
51730 * locale/localeinfo.h: Likewise.
51731 * sysdeps/generic/machine-gmon.h: Likewise.
51732 * sysdeps/generic/sysdep.h: Likewise.
51733 * sysdeps/i386/sysdep.h: Likewise.
51734 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51735 * sysdeps/mach/sysdep.h: Likewise.
51736 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51737 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51738 * sysdeps/sh/sysdep.h: Likewise.
51739 * sysdeps/sparc/sparc32/alloca.S: Likewise.
51740 * sysdeps/unix/i386/sysdep.S: Likewise.
51741 * sysdeps/unix/sparc/start.c: Likewise.
51742 * sysdeps/unix/sparc/sysdep.S: Likewise.
51743 * sysdeps/unix/sparc/sysdep.h: Likewise.
51744 * sysdeps/unix/start.c: Likewise.
51745 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51746 * sysdeps/x86_64/sysdep.h: Likewise.
51748 2012-01-07 Ulrich Drepper <drepper@gmail.com>
51751 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
51753 * argp/argp-fmtstream.h: Use const instead __const.
51754 * argp/argp.h: Likewise.
51755 * assert/assert.h: Likewise.
51756 * bits/fenv.h: Likewise.
51757 * bits/sched.h: Likewise.
51758 * bits/sigset.h: Likewise.
51759 * bits/sigthread.h: Likewise.
51760 * catgets/nl_types.h: Likewise.
51761 * conform/data/pthread.h-data: Likewise.
51762 * crypt/crypt-private.h: Likewise.
51763 * crypt/crypt.h: Likewise.
51764 * crypt/crypt_util.c: Likewise.
51765 * ctype/ctype.h: Likewise.
51766 * debug/execinfo.h: Likewise.
51767 * debug/mbsnrtowcs_chk.c: Likewise.
51768 * debug/mbsrtowcs_chk.c: Likewise.
51769 * debug/wcsnrtombs_chk.c: Likewise.
51770 * debug/wcsrtombs_chk.c: Likewise.
51771 * debug/wcstombs_chk.c: Likewise.
51772 * dirent/dirent.h: Likewise.
51773 * dlfcn/dlfcn.h: Likewise.
51774 * elf/neededtest4.c: Likewise.
51775 * grp/grp.h: Likewise.
51776 * gshadow/gshadow.h: Likewise.
51777 * iconv/gconv.h: Likewise.
51778 * iconv/gconv_int.h: Likewise.
51779 * iconv/gconv_simple.c: Likewise.
51780 * iconv/iconv.h: Likewise.
51781 * iconv/loop.c: Likewise.
51782 * iconv/skeleton.c: Likewise.
51783 * include/aio.h: Likewise.
51784 * include/aliases.h: Likewise.
51785 * include/argz.h: Likewise.
51786 * include/arpa/inet.h: Likewise.
51787 * include/assert.h: Likewise.
51788 * include/dirent.h: Likewise.
51789 * include/dlfcn.h: Likewise.
51790 * include/execinfo.h: Likewise.
51791 * include/fcntl.h: Likewise.
51792 * include/fenv.h: Likewise.
51793 * include/glob.h: Likewise.
51794 * include/grp.h: Likewise.
51795 * include/libintl.h: Likewise.
51796 * include/mntent.h: Likewise.
51797 * include/netdb.h: Likewise.
51798 * include/pwd.h: Likewise.
51799 * include/rpc/netdb.h: Likewise.
51800 * include/sched.h: Likewise.
51801 * include/search.h: Likewise.
51802 * include/shadow.h: Likewise.
51803 * include/signal.h: Likewise.
51804 * include/stdio.h: Likewise.
51805 * include/stdlib.h: Likewise.
51806 * include/string.h: Likewise.
51807 * include/sys/socket.h: Likewise.
51808 * include/sys/stat.h: Likewise.
51809 * include/sys/statfs.h: Likewise.
51810 * include/sys/statvfs.h: Likewise.
51811 * include/sys/syslog.h: Likewise.
51812 * include/sys/time.h: Likewise.
51813 * include/sys/uio.h: Likewise.
51814 * include/time.h: Likewise.
51815 * include/unistd.h: Likewise.
51816 * include/utmp.h: Likewise.
51817 * include/wchar.h: Likewise.
51818 * include/wctype.h: Likewise.
51819 * inet/aliases.h: Likewise.
51820 * inet/arpa/inet.h: Likewise.
51821 * inet/netinet/ether.h: Likewise.
51822 * inet/netinet/in.h: Likewise.
51823 * intl/libintl.h: Likewise.
51824 * io/bits/fcntl2.h: Likewise.
51825 * io/fcntl.h: Likewise.
51826 * io/ftw.h: Likewise.
51827 * io/sys/poll.h: Likewise.
51828 * io/sys/stat.h: Likewise.
51829 * io/sys/statfs.h: Likewise.
51830 * io/sys/statvfs.h: Likewise.
51831 * io/utime.h: Likewise.
51832 * libio/bits/stdio.h: Likewise.
51833 * libio/bits/stdio2.h: Likewise.
51834 * libio/libio.h: Likewise.
51835 * libio/libioP.h: Likewise.
51836 * libio/stdio.h: Likewise.
51837 * locale/lc-ctype.c: Likewise.
51838 * locale/locale.h: Likewise.
51839 * login/utmp.h: Likewise.
51840 * malloc/arena.c: Likewise.
51841 * malloc/malloc.c: Likewise.
51842 * malloc/malloc.h: Likewise.
51843 * malloc/mcheck.c: Likewise.
51844 * malloc/mtrace.c: Likewise.
51845 * math/bits/mathcalls.h: Likewise.
51846 * math/fenv.h: Likewise.
51847 * math/math_private.h: Likewise.
51848 * misc/bits/error.h: Likewise.
51849 * misc/bits/syslog.h: Likewise.
51850 * misc/err.h: Likewise.
51851 * misc/error.h: Likewise.
51852 * misc/fstab.h: Likewise.
51853 * misc/mntent.h: Likewise.
51854 * misc/regexp.h: Likewise.
51855 * misc/search.h: Likewise.
51856 * misc/sgtty.h: Likewise.
51857 * misc/sys/mman.h: Likewise.
51858 * misc/sys/syslog.h: Likewise.
51859 * misc/sys/uio.h: Likewise.
51860 * misc/sys/xattr.h: Likewise.
51861 * misc/ttyent.h: Likewise.
51862 * nis/rpcsvc/ypclnt.h: Likewise.
51863 * nss/nss.h: Likewise.
51864 * posix/bits/unistd.h: Likewise.
51865 * posix/fnmatch.h: Likewise.
51866 * posix/glob.h: Likewise.
51867 * posix/sched.h: Likewise.
51868 * posix/spawn.h: Likewise.
51869 * posix/sys/wait.h: Likewise.
51870 * posix/unistd.h: Likewise.
51871 * posix/wordexp.h: Likewise.
51872 * pwd/pwd.h: Likewise.
51873 * resolv/netdb.h: Likewise.
51874 * resource/sys/resource.h: Likewise.
51875 * rt/aio.h: Likewise.
51876 * rt/bits/mqueue2.h: Likewise.
51877 * rt/mqueue.h: Likewise.
51878 * shadow/shadow.h: Likewise.
51879 * signal/signal.h: Likewise.
51880 * socket/send.c: Likewise.
51881 * socket/sendto.c: Likewise.
51882 * socket/sys/socket.h: Likewise.
51883 * stdio-common/printf.h: Likewise.
51884 * stdlib/bits/stdlib.h: Likewise.
51885 * stdlib/fmtmsg.h: Likewise.
51886 * stdlib/monetary.h: Likewise.
51887 * stdlib/stdlib.h: Likewise.
51888 * stdlib/ucontext.h: Likewise.
51889 * streams/stropts.h: Likewise.
51890 * string/argz.h: Likewise.
51891 * string/bits/string2.h: Likewise.
51892 * string/string.h: Likewise.
51893 * string/strings.h: Likewise.
51894 * sunrpc/rpc/auth.h: Likewise.
51895 * sunrpc/rpc/auth_des.h: Likewise.
51896 * sunrpc/rpc/clnt.h: Likewise.
51897 * sunrpc/rpc/netdb.h: Likewise.
51898 * sunrpc/rpc/pmap_clnt.h: Likewise.
51899 * sunrpc/rpc/xdr.h: Likewise.
51900 * sysdeps/generic/inttypes.h: Likewise.
51901 * sysdeps/generic/net/if.h: Likewise.
51902 * sysdeps/generic/sys/swap.h: Likewise.
51903 * sysdeps/gnu/net/if.h: Likewise.
51904 * sysdeps/gnu/utmpx.h: Likewise.
51905 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51906 * sysdeps/i386/i486/bits/string.h: Likewise.
51907 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51908 * sysdeps/s390/bits/string.h: Likewise.
51909 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51910 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51911 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51912 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51913 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51914 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51915 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51916 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51917 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51918 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51919 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51920 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51921 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51922 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51923 * sysdeps/unix/sysv/linux/readv.c: Likewise.
51924 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51925 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51926 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51927 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51928 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51929 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51930 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51931 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51932 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51933 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51934 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51935 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51936 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51937 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51938 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51939 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51940 * sysvipc/sys/ipc.h: Likewise.
51941 * sysvipc/sys/msg.h: Likewise.
51942 * sysvipc/sys/sem.h: Likewise.
51943 * sysvipc/sys/shm.h: Likewise.
51944 * termios/termios.h: Likewise.
51945 * time/sys/time.h: Likewise.
51946 * time/time.h: Likewise.
51947 * wcsmbs/bits/wchar2.h: Likewise.
51948 * wcsmbs/uchar.h: Likewise.
51949 * wcsmbs/wchar.h: Likewise.
51950 * wctype/wctype.h: Likewise.
51953 * Makeconfig: Remove all but ELF support including AIX support.
51954 * Makerules: Likewise.
51955 * config.h.in: Likewise.
51956 * config.make.in: Likewise.
51957 * configure: Likewise.
51958 * configure.in: Likewise.
51959 * csu/Makefile: Likewise.
51960 * csu/version.c: Likewise.
51961 * debug/Makefile: Likewise.
51962 * dlfcn/Makefile: Likewise.
51963 * elf/Makefile: Likewise.
51964 * extra-lib.mk: Likewise.
51965 * iconv/Makefile: Likewise.
51966 * include/libc-symbols.h: Likewise.
51967 * include/shlib-compat.h: Likewise.
51968 * resolv/Makefile: Likewise.
51969 * resolv/res_libc.c: Likewise.
51970 * rt/Makefile: Likewise.
51971 * sysdeps/i386/asm-syntax.h: Likewise.
51972 * sysdeps/i386/sysdep.h: Likewise.
51973 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51974 * sysdeps/mach/sysdep.h: Likewise.
51975 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51976 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51977 * sysdeps/s390/asm-syntax.h: Likewise.
51978 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51979 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51980 * sysdeps/sh/sysdep.h: Likewise.
51981 * sysdeps/unix/sparc/sysdep.h: Likewise.
51982 * sysdeps/wordsize-32/divdi3.c: Likewise.
51983 * sysdeps/x86_64/sysdep.h: Likewise.
51985 * argp/Versions: Remove _argp_unlock_xxx.
51988 * abilist/ld.abilist: Update. Adjust for removal of tls option.
51989 * abilist/libBrokenLocale.abilist: Likewise.
51990 * abilist/libanl.abilist: Likewise.
51991 * abilist/libc.abilist: Likewise.
51992 * abilist/libcrypt.abilist: Likewise.
51993 * abilist/libdl.abilist: Likewise.
51994 * abilist/libm.abilist: Likewise.
51995 * abilist/libnsl.abilist: Likewise.
51996 * abilist/libpthread.abilist: Likewise.
51997 * abilist/libresolv.abilist: Likewise.
51998 * abilist/librt.abilist: Likewise.
51999 * abilist/libthread_db.abilist: Likewise.
52000 * abilist/libutil.abilist: Likewise.
52001 * abilist/libnss_db.abilist: New file.
52003 * scripts/abilist.awk: Add support for indirect functions.
52005 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
52007 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
52009 * shlib-versions: Remove entries for ports architectures.
52011 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
52013 * elf/stackguard-macros.h: Remove support for IA-64.
52014 * elf/tst-auditmod1.c: Likewise.
52015 * sysdeps/generic/ldsodefs.h: Likewise.
52017 * sysdeps/unix/sysv/linux/configure.in: Ports should define
52018 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
52022 * configure.in: Remove --enable-omitfp support.
52024 * config.make.in: Likewise.
52025 * Makeconfig: Likewise.
52026 * manual/install.texi: Likewise.
52028 In case anyone cares, the IA-64 architecture could move to ports.
52029 * sysdeps/ia64/*: Removed.
52030 * sysdeps/unix/sysv/linux/ia64/*: Removed.
52031 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
52034 * configure.in: Remove entries for unsupported architectures.
52037 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
52038 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
52040 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
52041 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
52042 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
52043 fall back to using wcrtomb.
52044 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
52045 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
52047 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
52048 * wcsmbs/tst-c16c32-1.c: New file.
52050 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
52053 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
52055 * elf/tst-unique3.cc: Add explicit declaration of gets.
52056 * elf/tst-unique3lib.cc: Likewise.
52057 * elf/tst-unique3lib2.cc: Likewise.
52058 * elf/tst-unique4.cc: Likewise.
52060 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
52062 2012-01-06 Joseph Myers <joseph@codesourcery.com>
52065 * assert/assert.h (static_assert): Don't define for C++.
52066 * libio/stdio.h (gets): Do declare for C++ <= C++11.
52067 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
52069 2012-01-03 Ulrich Drepper <drepper@gmail.com>
52071 * iconv/loop.c (single loop): Fix assertion in storing of
52074 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
52076 2012-01-01 Ulrich Drepper <drepper@gmail.com>
52078 * posix/getconf.c: Update copyright year.
52079 * nss/getent.c: Likewise.
52080 * nss/makedb.c: Likewise.
52081 * iconv/iconvconfig.c: Likewise.
52082 * iconv/iconv_prog.c: Likewise.
52083 * elf/ldconfig.c: Likewise.
52084 * elf/pldd.c: Likewise.
52085 * elf/sotruss.ksh: Likewise.
52086 * catgets/gencat.c: Likewise.
52087 * csu/version.c: Likewise.
52088 * elf/ldd.bash.in: Likewise.
52089 * elf/sprof.c (print_version): Likewise.
52090 * locale/programs/locale.c: Likewise.
52091 * locale/programs/localedef.c: Likewise.
52092 * login/programs/pt_chown.c: Likewise.
52093 * nscd/nscd.c (print_version): Likewise.
52094 * debug/xtrace.sh: Likewise.
52095 * malloc/memusage.sh: Likewise.
52096 * malloc/mtrace.pl: Likewise.
52097 * debug/catchsegv.sh: Likewise.
52099 2011-12-30 Jakub Jelinek <jakub@redhat.com>
52101 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
52104 2011-12-24 Ulrich Drepper <drepper@gmail.com>
52107 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
52108 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
52110 * iconv/gconv_int.h: Likewise.
52111 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
52112 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
52113 from libc for GLIBC_2.16.
52114 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
52115 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
52116 * wcsmbs/uchar.h: Really define mbstate_t.
52117 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
52118 * wcsmbs/c16rtomb.c: New file.
52119 * wcsmbs/mbrtoc16.c: New file.
52120 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
52121 for C/POSIX locale.
52122 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
52123 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
52125 * wcsmbs/wchar.h: Add missing __restrict.
52127 2011-12-23 Ulrich Drepper <drepper@gmail.com>
52130 * time/Makefile (routines): Add timespec_get.
52131 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
52132 * time/time.h: Define TIME_UTC and declare timespec_get. Define
52133 timespec for ISO C11.
52134 * time/timespec_get.c: New file.
52135 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
52136 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
52139 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
52140 * stdlib/stdlib.h: Declare aligned_alloc.
52141 * Versions.def: Add GLIBC_2.16 for libc.
52142 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
52145 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
52148 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
52152 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
52155 * assert/assert.h (static_assert): Define.
52157 * version.h: Update for 2.16 development version.
52160 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
52163 * version.h (RELEASE): Bump for 2.15 release.
52164 * include/features.h (__GLIBC_MINOR__): Bump to 15.
52166 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
52167 Patch by Marek Polacek <mpolacek@redhat.com>.
52169 * bits/byteswap.h: Protect long long constants with __extension__.
52170 * sysdeps/i386/bits/byteswap.h: Likewise.
52171 * sysdeps/ia64/bits/byteswap.h: Likewise.
52172 * sysdeps/s390/bits/byteswap.h: Likewise.
52173 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52175 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52178 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
52179 destination buffer.
52180 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
52182 2011-12-23 Marek Polacek <polacek@redhat.com>
52184 * elf/dl-addr.c (determine_info): Add inline keyword.
52185 * elf/tst-auditmod4b.c (check_avx): Likewise.
52186 * elf/tst-auditmod6b.c (check_avx): Likewise.
52187 * elf/tst-auditmod6c.c (check_avx): Likewise.
52188 * elf/tst-auditmod7b.c (check_avx): Likewise.
52190 2011-12-23 Ulrich Drepper <drepper@gmail.com>
52192 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
52195 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52198 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
52199 processing for last bytes.
52201 2011-08-06 Bruno Haible <bruno@clisp.org>
52204 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
52205 U+0385, not to U+1FEE.
52208 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
52209 entry for U+00A5 U+0301.
52211 2011-12-22 Ulrich Drepper <drepper@gmail.com>
52214 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
52215 buffer for the output is too small.
52217 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
52221 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
52222 SSE flags if possible.
52224 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52227 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
52228 processing for last bytes.
52230 2011-12-22 Joseph Myers <joseph@codesourcery.com>
52232 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
52233 (syscall-list-default-options, syscall-list-default-condition)
52234 (syscall-list-includes): Define.
52235 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
52236 list of ABIs and options and #if conditions for each ABI. Do not
52237 handle common syscalls between ABIs specially.
52238 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
52240 (syscall-list-variants, syscall-list-32bit-options)
52241 (syscall-list-32bit-condition, syscall-list-64bit-options)
52242 (syscall-list-64bit-condition): Define.
52243 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
52244 (syscall-list-variants, syscall-list-32bit-options)
52245 (syscall-list-32bit-condition, syscall-list-64bit-options)
52246 (syscall-list-64bit-condition): Define.
52247 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
52249 (syscall-list-variants, syscall-list-32bit-options)
52250 (syscall-list-32bit-condition, syscall-list-64bit-options)
52251 (syscall-list-64bit-condition): Define.
52252 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
52254 (syscall-list-variants, syscall-list-32bit-options)
52255 (syscall-list-32bit-condition, syscall-list-64bit-options)
52256 (syscall-list-64bit-condition): Define.
52258 2011-12-22 Ulrich Drepper <drepper@gmail.com>
52260 * locale/iso-639.def: Add brx entry.
52263 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
52264 Proposed by Mariusz_Cukr <marcukr@op.pl>.
52266 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
52267 __feraiseexcept_renamed.
52269 2011-12-21 Ulrich Drepper <drepper@gmail.com>
52272 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
52273 EPOLLET with unsigned values.
52274 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52275 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
52277 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
52278 to large cancellation.
52279 * math/s_cacoshf.c: Likewise.
52280 * math/s_cacoshl.c: Likewise.
52282 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
52286 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
52287 * math/s_cacoshf.c: Likewise.
52288 * math/s_cacoshl.c: Likewise.
52290 2011-12-21 Ulrich Drepper <drepper@gmail.com>
52293 * iconv/gconv.h: Define __GCONV_SWAP.
52294 * iconvdata/unicode.c: The swap bit must be stored in __flags.
52295 * iconvdata/utf-16.c: Likewise.
52296 * iconvdata/utf-32.c: Likewise.
52298 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
52301 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
52302 numerator after shifting it by one limb.
52304 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
52306 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
52307 under [__USE_EXTERN_INLINES].
52309 2011-12-17 Ulrich Drepper <drepper@gmail.com>
52312 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
52314 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52316 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
52317 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
52319 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
52320 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
52321 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
52322 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
52323 for strncasecmp/strncasecmp_l compilation.
52324 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
52325 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
52327 2011-12-08 Marek Polacek <mpolacek@redhat.com>
52330 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
52333 2011-12-17 Ulrich Drepper <drepper@gmail.com>
52336 * time/tzfile.c (__tzfile_read): Check values from file header.
52338 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
52340 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
52341 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
52342 * powerpc/powerpc32/dl-start.S: Likewise.
52343 * powerpc/powerpc32/elf/start.S: Likewise.
52344 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
52345 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
52346 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
52347 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
52348 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
52349 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
52350 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
52351 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52352 * powerpc/powerpc32/fpu/s_round.S: Likewise.
52353 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
52354 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
52355 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
52356 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
52357 * powerpc/powerpc32/memset.S: Likewise.
52358 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
52359 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52360 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52361 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52362 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52363 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
52364 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
52365 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
52366 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
52367 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
52368 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
52369 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
52370 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
52372 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52374 * math/libm-test.inc: Added more nearbyint tests.
52375 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
52376 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
52377 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
52378 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
52380 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
52382 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
52385 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52387 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
52388 Add wcscpy-ssse3 wcscpy-c.
52389 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
52390 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
52391 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
52392 * sysdeps/x86_64/wcschr.S: New file.
52393 * sysdeps/x86_64/wcsrchr.S: New file.
52394 * string/test-strcmp.c: Remove checking of wcscmp function for
52396 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
52397 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
52398 wcsrchr-sse2 wcsrchr-c.
52399 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
52400 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
52401 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
52402 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
52403 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
52404 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
52405 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
52406 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
52407 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
52408 * wcsmbc/wcschr.c (WCSCHR): New macro.
52410 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52412 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
52413 * wcsmbs/test-wcsrchr.c: New file.
52414 * string/test-strrchr.c: Add wcsrchr support.
52416 * wcsmbs/test-wcscpy.c: New file.
52417 * string/test-strcpy.c: Add wcscpy support.
52420 2011-12-10 Ulrich Drepper <drepper@gmail.com>
52422 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
52425 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
52428 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
52430 2011-12-04 Ulrich Drepper <drepper@gmail.com>
52432 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52433 Minor optimizations.
52435 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
52436 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
52437 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
52439 2011-12-03 Ulrich Drepper <drepper@gmail.com>
52441 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
52442 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
52443 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
52444 for gcc to avoid warnings.
52445 * inet/Makefile (tests): Add tst-checks.
52446 * inet/tst-checks.c: New file.
52448 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
52451 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
52454 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
52455 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
52457 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
52459 2011-12-02 Ulrich Drepper <drepper@gmail.com>
52461 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
52464 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
52466 2011-11-29 Joseph Myers <joseph@codesourcery.com>
52468 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
52469 conditional on GCC version.
52470 (__arch_compare_and_exchange_val_8_acq)
52471 (__arch_compare_and_exchange_val_16_acq)
52472 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
52473 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
52474 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
52476 2011-12-02 Joseph Myers <joseph@codesourcery.com>
52478 * sysdeps/sh/backtrace.c: New file.
52480 2011-12-02 Andreas Schwab <schwab@redhat.com>
52482 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
52485 2011-12-01 Andreas Schwab <schwab@redhat.com>
52487 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
52488 falling back to utime.
52490 2011-11-30 Andreas Schwab <schwab@redhat.com>
52492 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
52493 expectations for float.
52495 2011-11-29 Andreas Schwab <schwab@redhat.com>
52497 * locale/weight.h (findidx): Add parameter len.
52498 * locale/weightwc.h (findidx): Likewise.
52499 * posix/fnmatch_loop.c (FCT): Adjust caller.
52500 * posix/regcomp.c (build_equiv_class): Likewise.
52501 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
52502 * posix/regexec.c (check_node_accept_bytes): Likewise.
52503 * string/strcoll_l.c (STRCOLL): Likewise.
52504 * string/strxfrm_l.c (STRXFRM): Likewise.
52506 2011-11-17 Ulrich Drepper <drepper@gmail.com>
52508 * Makefile.in: Remove CVSOPT handling.
52509 * configure.in: Remove use of AC_REVISION.
52510 * iconvdata/Makefile (distribute): No need to filter out CVS.
52511 * scripts/list-sources.sh: Remove CVS, subversion and monotone
52514 2011-11-16 Andreas Schwab <schwab@redhat.com>
52516 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
52517 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
52518 [USE_AS_STRNCASECMP_L]: Likewise.
52519 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
52520 NO_TLS_DIRECT_SEG_REFS.
52521 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
52522 Fix argument offsets for non-PIC.
52523 [USE_AS_STRNCASECMP_L]: Likewise.
52524 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
52525 NO_TLS_DIRECT_SEG_REFS.
52527 2011-11-15 Ulrich Drepper <drepper@gmail.com>
52529 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
52531 * locale/loadlocale.c (_nl_load_locale): Likewise.
52533 2011-11-15 Andreas Schwab <schwab@redhat.com>
52535 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
52536 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
52537 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
52538 (SYSCALL_GETTIME): Set errno on error.
52540 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
52541 count references to noai6ai_cached.
52543 2011-11-15 Ulrich Drepper <drepper@gmail.com>
52545 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
52547 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
52548 FD_CLOEXEC for /proc/self/maps.
52550 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
52551 FD_CLOEXEC for /proc/meminfo.
52553 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
52556 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
52557 FD_CLOEXEC for given file.
52559 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
52561 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
52562 FD_CLOEXEC for /etc/hosts.
52563 (_gethtent): Likewise.
52565 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
52567 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
52568 cancellation and set FD_CLOEXEC for /etc/netgroup.
52570 * nss/nss_files/files-key.c (search): Don't allow cancellation when
52571 reading /etc/publickey.
52573 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
52574 allow cancellation when reading /etc/group.
52576 * nss/nss_files/files-alias.c (internal_setent): Don't allow
52578 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
52580 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
52581 when using data file.
52583 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
52585 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
52586 (write_nis_obj): Use "c" and "e" in fopen.
52588 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
52590 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
52592 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
52594 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
52596 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
52599 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
52601 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
52603 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
52605 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
52606 file parsing and set FD_CLOEXEC.
52608 2011-11-14 Ulrich Drepper <drepper@gmail.com>
52610 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
52612 2011-11-14 Andreas Schwab <schwab@redhat.com>
52614 * malloc/arena.c (arena_get2): Don't call reused_arena when
52615 _int_new_arena failed.
52617 2011-11-14 Ulrich Drepper <drepper@gmail.com>
52619 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
52620 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
52621 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
52622 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52623 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52624 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
52625 to compile strcasecmp and strncasecmp.
52626 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
52627 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
52629 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
52631 2011-11-13 Ulrich Drepper <drepper@gmail.com>
52633 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
52634 locale-defines.sym to gen-as-const-headers.
52635 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
52636 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
52637 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
52638 to compile strcasecmp and strncasecmp.
52639 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
52640 strcasecmp_l and strncasecmp_l.
52641 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
52642 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
52643 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
52644 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
52645 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
52646 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
52647 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
52648 * sysdeps/i386/i686/multiarch/strncase.S: New file.
52649 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
52650 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
52651 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
52653 2011-11-12 Ulrich Drepper <drepper@gmail.com>
52655 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
52656 result of SYSDEP_GETTIME_CPU to retval.
52657 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
52658 parameter list to macro. Remove trailing semicolon. Adjust users.
52660 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
52663 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
52665 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
52667 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
52668 from unused variable.
52670 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
52672 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
52675 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
52678 * sunrpc/rpc_prot.c (rejected): Fix case value.
52680 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
52681 unsigned long long int to avoid warnings in shift.
52683 * posix/regex_internal.c (re_string_reconstruct): Actually use result
52685 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
52688 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
52689 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
52690 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
52692 * nis/nis_table.c (nis_list): Use variable of correct type for
52693 result of __follow_path call.
52695 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52697 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
52698 of math functions ceil, trunc, floor, round, and sqrt, when
52699 avaliable on the platform.
52700 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
52702 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52703 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52704 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52706 2011-10-30 Marek Polacek <mpolacek@redhat.com>
52708 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
52709 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52711 2011-11-11 Roland McGrath <roland@hack.frob.com>
52713 * include/unistd.h: Fix __readlink return type.
52714 Reported by Chris Metcalf <cmetcalf@tilera.com>.
52716 2011-11-11 Ulrich Drepper <drepper@gmail.com>
52718 * stdlib/ucontext.h: Undo last change for makecontext.
52720 2011-11-11 Andreas Schwab <schwab@redhat.com>
52722 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
52724 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
52725 * setjmp/setjmp.h: Mark functions as non-leaf.
52726 * setjmp/bits/setjmp2.h: Likewise.
52727 * stdlib/ucontext.h: Likewise.
52729 2011-11-10 Andreas Schwab <schwab@redhat.com>
52731 * malloc/arena.c (_int_new_arena): Don't increment narenas.
52732 (reused_arena): Don't check arena limit.
52733 (arena_get2): Atomically check arena limit.
52735 2011-11-08 Ulrich Drepper <drepper@gmail.com>
52737 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
52738 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
52740 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
52743 2011-11-07 Andreas Schwab <schwab@redhat.com>
52745 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
52746 handler when locking.
52748 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52749 Fix size of allocated buffer.
52751 2011-11-04 Andreas Schwab <schwab@redhat.com>
52754 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
52755 declarations for long double functions.
52756 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
52758 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
52760 2011-11-03 Andreas Schwab <schwab@redhat.com>
52762 * nscd/nscd.c (main): Don't start AVC thread until credentials are
52765 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
52768 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
52770 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
52772 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
52774 * include/alloca.h (stackinfo_alloca_round): Define.
52775 (extend_alloca): Use it.
52776 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
52777 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
52780 * scripts/check-local-headers.sh: Ignore libaudit.h.
52782 * nscd/Makefile (extra-objs): Make recursively expanded.
52784 2011-11-01 Ulrich Drepper <drepper@gmail.com>
52786 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
52787 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52789 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
52790 * posix/tst-rfc3484-2.c: Likewise.
52791 * posix/tst-rfc3484-3.c: Likewise.
52793 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52795 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
52797 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
52798 process_vm_writev from libc using GLIBC_2.15 version.
52800 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
52802 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
52804 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
52807 2011-10-31 Ulrich Drepper <drepper@gmail.com>
52810 * nss/getent.c (initgroups_keys): Show error message in case no group
52813 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
52814 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
52815 __bump_nl_timestamp.
52816 * nscd/connections (nscd_init): When host database is served open
52817 netlink socket and request notification about configuration changes.
52818 (main_loop_poll): Track netlink file descriptor and bump timestamp
52819 in case data becomes available.
52820 (main_loop_epoll): Likewise.
52821 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
52822 (database_pers_head): Add extra_data fileds.
52823 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
52824 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
52825 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
52827 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
52828 in6ai data, call __free_in6ai.
52829 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
52830 Add -DHAVE_NETLINK.
52831 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
52832 interface information. Reuse previous data if netlink timestamp
52834 (__bump_nl_timestamp): New function.
52835 (__free_in6ai): New function.
52837 2011-10-30 Ulrich Drepper <drepper@gmail.com>
52839 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
52840 close_not_cancel_no_status here.
52841 (__check_pf): Reorganize code a bit to not call close twice if OOM.
52843 2011-10-29 Ulrich Drepper <drepper@gmail.com>
52846 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
52849 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
52850 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
52851 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
52853 2011-07-03 Andreas Jaeger <aj@suse.de>
52856 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52857 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52858 * math/libm-test.inc (sin_test): Add test case.
52860 2011-10-29 Ulrich Drepper <drepper@gmail.com>
52863 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52864 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52866 * elf/chroot_canon.c (chroot_canon): Cleanups.
52868 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52871 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52872 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52874 * string/test-strchr.c: Make usable for strchrnul testing.
52875 * string/test-strchrnul.c: New file.
52876 * string/Makefile (strop-tests): Add strchrnul.
52878 * po/it.po: Update from translation team.
52879 * po/es.po: Likewise.
52881 2011-10-28 Ulrich Drepper <drepper@gmail.com>
52883 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52884 the three constants needed as parameters. Drop the others.
52885 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52886 __m128i_strloadu_tolower.
52887 Create and initialize variable zero and use it in all the places
52888 where _mm_setzero_si128 was used.
52890 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52891 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52892 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52893 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52895 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52896 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52897 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52898 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52899 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52900 __mpranred, __mptan.
52901 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52902 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52903 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52904 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52905 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52906 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52907 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52908 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52909 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52911 2011-10-28 Andreas Schwab <schwab@redhat.com>
52913 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52914 redefine if SHARED.
52915 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52917 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52918 wide char related routines to wcsmbs subdir.
52920 2011-10-27 Andreas Schwab <schwab@redhat.com>
52923 * misc/sys/cdefs.h (__THROWNL): Define.
52924 * posix/unistd.h: Use __THREADNL instead of __THREAD
52925 for memory synchronization functions.
52927 2011-10-26 Roland McGrath <roland@hack.frob.com>
52930 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52932 * manual/stdio.texi (Obstack Streams): Node removed.
52934 2011-10-26 Andreas Schwab <schwab@redhat.com>
52936 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52937 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52938 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52940 * math/math_private.h (math_force_eval): Allow non-addressable
52942 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52944 2011-10-25 Ulrich Drepper <drepper@gmail.com>
52946 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52947 file is not needed.
52949 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52950 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52951 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52952 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52953 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52954 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52955 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52956 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52958 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52959 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52960 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52961 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52962 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52963 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52964 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52965 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52966 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52967 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52968 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52969 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52970 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52971 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52972 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52973 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52974 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52975 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52976 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52978 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52979 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
52981 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52982 place. Use VEX encoding when compiling for AVX.
52984 2011-10-25 Andreas Schwab <schwab@redhat.com>
52986 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52987 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52989 * string/test-strchr.c (do_test): Don't generate NUL bytes.
52991 2011-10-25 Ulrich Drepper <drepper@gmail.com>
52993 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
52994 useless if() expression.
52995 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52996 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52997 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52998 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52999 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53000 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53001 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53002 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53003 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53004 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53005 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53006 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53007 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53008 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53009 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53010 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53011 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53012 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53013 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53015 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
53017 2011-10-25 Andreas Schwab <schwab@redhat.com>
53019 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
53021 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53023 2011-10-25 Ulrich Drepper <drepper@gmail.com>
53025 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
53026 .text section. Avoid duplicate constants.
53027 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53028 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53029 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53030 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53031 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53032 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53033 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53034 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53035 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53036 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
53037 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53038 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53039 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
53040 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
53041 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
53042 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
53043 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
53044 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53045 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53046 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53047 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53048 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53049 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53050 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
53051 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
53052 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
53053 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
53054 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
53055 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
53056 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
53057 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
53058 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
53059 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53060 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
53061 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
53062 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
53063 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
53064 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
53065 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
53066 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
53067 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
53068 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
53069 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
53070 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
53071 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
53073 2011-10-24 Ulrich Drepper <drepper@gmail.com>
53075 * sysdeps/x86_64/dla.h: Move to ...
53076 * sysdeps/x86_64/fpu/dla.h: ...here.
53077 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
53078 situations. Use __builtin_fma only for gcc 4.6 and up.
53080 * config.make.in: Add have-mfma4 entry.
53081 * configure.in: Substitute libc_cv_cc_fma4.
53082 * math/Makefile (dbl-only-routines): Add sincostab.
53083 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
53084 Use __sincostab not sincos.
53085 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
53087 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53088 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53089 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53090 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
53092 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
53093 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
53094 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
53095 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
53097 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
53098 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
53100 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
53101 define aliases when function name is a macro.
53102 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
53103 sysdeps/ieee754/dbl-64/sincos.tbl.
53104 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
53105 fma4-enabled routines.
53106 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
53107 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
53108 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
53109 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
53110 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
53111 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
53112 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
53113 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
53114 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
53115 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
53116 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
53117 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
53118 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
53119 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
53120 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
53121 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
53122 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
53123 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
53124 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
53125 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
53126 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
53127 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
53128 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
53129 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
53130 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
53131 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
53132 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
53133 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
53134 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
53135 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
53137 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
53139 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53140 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53141 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53142 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53143 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53144 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53145 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53146 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53148 2011-10-24 Andreas Schwab <schwab@redhat.com>
53150 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
53152 2011-10-23 Ulrich Drepper <drepper@gmail.com>
53154 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
53156 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
53158 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
53160 * string/strnlen.c: Don't define STRNLEN, reverse logic.
53161 Remove unused variable magic_bits.
53162 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
53164 * string/strnlen.c: Define and use STRNLEN macro.
53165 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
53166 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
53167 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
53168 * wcsmbs/wcslen.c: Define and use WCSLEN.
53169 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
53170 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
53171 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
53172 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
53173 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
53174 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
53175 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53177 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53179 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53180 strnlen-sse2-no-bsf.
53181 Rename strlen-no-bsf to strlen-sse2-no-bsf.
53182 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
53183 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
53184 Add strnlen support.
53185 (USE_AS_STRNLEN): New macro.
53186 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
53187 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
53188 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
53189 * sysdeps/x86_64/wcslen.S: New file.
53191 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
53193 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53194 XMM-moves are used for copying on small sizes.
53196 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53198 * wcsmbs/Makefile (strop-tests): Add wcschr.
53199 * wcsmbs/test-wcschr.c: New file.
53200 * string/test-strchr.c: Update.
53201 Add wcschr support.
53204 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53206 * wcsmbs/Makefile (strop-tests): Add wcslen.
53207 * wcsmbs/test-wcslen.c: New file.
53208 * string/test-strlen.c: Update.
53209 Add wcslen support.
53212 2011-10-23 Ulrich Drepper <drepper@gmail.com>
53214 * po/it.po: Update from translation team.
53216 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53218 * sysdeps/x86_64/wcscmp.S: Update.
53219 Fix wrong comparison semantics.
53220 wcscmp shall use signed comparison not unsigned.
53221 Don't use substraction to avoid overflow bug.
53222 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
53223 * wcsmbc/wcscmp.c: Likewise.
53224 * string/test-strcmp.c: Likewise.
53225 Add new tests to check cases with negative values.
53227 2011-10-23 Ulrich Drepper <drepper@gmail.com>
53229 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
53230 * sysdeps/x86_64/dla.h: ...here. New file.
53231 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
53232 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53233 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53234 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53235 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53236 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53237 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53238 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53239 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53241 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
53243 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
53244 __ynl_finite aliases.
53246 2011-10-22 Ulrich Drepper <drepper@gmail.com>
53248 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53250 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
53252 [DLA_FMA] (EMULV): Use DLA_FMA.
53253 [DLA_FMA] (MUL12): Use EMULV.
53254 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
53255 that are not needed.
53256 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53257 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53258 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53259 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53260 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53261 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53262 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53264 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
53266 * math/s_nan.c: Undef __nan.
53267 * math/s_nanf.c: Undef __nanf.
53268 * math/s_nanl.c: Undef __nanl.
53269 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
53272 2011-10-22 Ulrich Drepper <drepper@gmail.com>
53274 * math/s_catan.c: Add branch predictions.
53275 * math/s_catanf.c: Likewise.
53276 * math/s_catanh.c: Likewise.
53277 * math/s_catanhf.c: Likewise.
53278 * math/s_catanhl.c: Likewise.
53279 * math/s_catanl.c: Likewise.
53280 * math/s_cexp.c: Likewise.
53281 * math/s_cexpf.c: Likewise.
53282 * math/s_cexpl.c: Likewise.
53283 * math/s_clog.c: Likewise.
53284 * math/s_clog10.c: Likewise.
53285 * math/s_clog10f.c: Likewise.
53286 * math/s_clog10l.c: Likewise.
53287 * math/s_clogf.c: Likewise.
53288 * math/s_clogl.c: Likewise.
53289 * math/s_csqrt.c: Likewise.
53290 * math/s_csqrtf.c: Likewise.
53291 * math/s_csqrtl.c: Likewise.
53292 * math/s_ctanf.c: Likewise.
53293 * math/s_ctanh.c: Likewise.
53294 * math/s_ctanhf.c: Likewise.
53295 * math/s_ctanhl.c: Likewise.
53296 * math/s_ctanl.c: Likewise.
53298 * math/math_private.h: Define __nan, __nanf, __nanl.
53299 * math/s_cacosh.c: Include <math_private.h>.
53300 * math/s_cacoshl.c: Likewise.
53301 * math/s_casinh.c: Likewise.
53302 * math/s_casinhf.c: Likewise.
53303 * math/s_casinhl.c: Likewise.
53304 * math/s_ccos.c: Rely entire on ccosh.
53305 * math/s_ccosf.c: Rely entire on ccoshf.
53306 * math/s_ccosl.c: Rely entirely on ccoshl.
53307 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
53308 Remove tests for FE_INVALID.
53309 * math/s_ccoshf.c: Likewise.
53310 * math/s_ccoshl.c: Likewise.
53311 * math/s_csin.c: Likewise.
53312 * math/s_csinf.c: Likewise.
53313 * math/s_csinh.c Likewise.
53314 * math/s_csinhf.c: Likewise.
53315 * math/s_csinhl.c: Likewise.
53316 * math/s_csinl.c: Likewise.
53317 * math/s_ctan.c: Likewise.
53318 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
53319 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
53320 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
53322 2011-10-21 Ulrich Drepper <drepper@gmail.com>
53324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
53325 compilation problems.
53327 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
53330 2011-10-20 Ulrich Drepper <drepper@gmail.com>
53332 * sysdeps/i386/configure.in: Test for -mfma4 option.
53333 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
53334 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
53335 COMMON_CPUID_INDEX_80000001.
53336 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
53337 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
53338 use it if FMA3 is not supported.
53339 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
53341 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
53342 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53344 2011-10-20 Andreas Schwab <schwab@redhat.com>
53347 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
53348 it would create a cycle with a link time dependency.
53350 2011-10-19 Ulrich Drepper <drepper@gmail.com>
53352 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
53354 * string/Makefile (strop-tests): Add rawmemchr.
53355 * string/test-rawmemchr.c: New file.
53357 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
53358 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
53359 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
53360 when compiling str{,n}casecmp and when AVX is available. Hook up
53361 new optimized code in initializers.
53363 2011-10-19 Andreas Schwab <schwab@redhat.com>
53365 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
53366 __feraiseexcept instead of feraiseexcept.
53368 2011-10-18 Ulrich Drepper <drepper@gmail.com>
53370 * math/math_private.h: Define defaults for libc_fetestexcept and
53372 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
53373 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
53374 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53375 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
53376 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53377 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
53378 libc_fetestexcept and libc_feupdateenv.
53380 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
53381 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
53382 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
53383 * sysdeps/x86_64/fpu/math_private.h: Define special version of
53384 libc_feholdexcept_setround.
53386 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
53387 Add s_nearbyint-c and s_nearbyintf-c.
53388 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
53389 nearbyintf inlines.
53390 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
53391 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
53392 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
53393 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
53395 * math/math_private.h: Define defaults for libc_fegetround,
53396 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
53397 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
53398 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
53399 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
53400 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
53401 standard functions.
53402 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53403 Remove comments and hacks for old compiler versions.
53404 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
53405 libc_fegetround, libc_fesetround, libc_feholdexcept, and
53406 libc_feholdexceptl.
53408 2011-10-18 Andreas Schwab <schwab@redhat.com>
53410 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
53411 (__feraiseexcept_renamed): Add __NTH.
53412 (feraiseexcept): Add __NTH. Rename local variables to fix
53413 namespace violations.
53415 2011-10-17 Ulrich Drepper <drepper@gmail.com>
53417 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
53419 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
53421 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
53422 recently added interfaces.
53423 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
53425 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
53426 about macro parameter expansion.
53428 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
53429 __NO_MATH_INLINES is defined. Cleanups.
53431 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
53432 and __floorf is target has SSE4.1.
53433 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
53434 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
53435 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
53436 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
53438 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
53440 (floorf): Likewise.
53442 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
53444 2011-10-17 Andreas Schwab <schwab@redhat.com>
53446 * misc/sys/cdefs.h: Fix last change.
53448 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
53451 2011-10-16 Ulrich Drepper <drepper@gmail.com>
53453 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
53455 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
53456 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53457 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53458 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53459 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53460 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53461 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53462 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53463 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53464 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
53465 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
53466 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
53467 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
53468 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
53469 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
53470 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
53471 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
53472 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
53473 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
53474 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
53475 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
53476 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
53478 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
53479 ceil, ceilf, floor, floorf.
53481 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
53482 Perform IRELATIVE relocations last.
53484 * elf/do-rel.h: Add another parameter nrelative, replacing the
53485 local variable with the same name. Change name of the function
53486 to end in Rel or Rela (uppercase).
53487 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
53488 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
53489 elf_dynamic_do_##reloc function.
53491 2011-10-15 Ulrich Drepper <drepper@gmail.com>
53493 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
53494 is sufficient, at least on modern CPUs.
53496 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
53498 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
53499 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
53501 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
53503 * math/bits/math-finite.h: Add entries for exp.
53504 * math/e_expl.c: Add __*_finite alias.
53505 * sysdeps/i386/fpu/e_exp.S: Likewise.
53506 * sysdeps/i386/fpu/e_expf.S: Likewise.
53507 * sysdeps/i386/fpu/e_expl.c: Likewise.
53508 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53509 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
53510 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53511 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53512 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
53513 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53514 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53516 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
53517 is sufficient, at least on modern CPUs.
53519 * ctype/ctype-info.c (__ctype_init): Define.
53520 * include/ctype.h (__ctype_init): Declare.
53521 (__ctype_b_loc): The variable is always initialized.
53522 (__ctype_toupper_loc): Likewise.
53523 (__ctype_tolower_loc): Likewise.
53524 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
53525 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
53527 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
53529 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
53531 * configure.in: Also look in $cxxmachine/include for C++ system
53534 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53536 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
53537 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
53538 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
53539 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
53540 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
53541 (USE_AS_WMEMCMP): New macro.
53543 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
53544 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
53545 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
53546 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
53547 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53548 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
53549 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
53550 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
53551 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
53552 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
53553 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
53554 (USE_AS_WMEMCMP): New macro.
53555 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
53556 * sysdeps/string/test-memcmp.c: Update.
53557 Fix simple_wmemcmp.
53559 * wcsmbs/wmemcmp.c: Update.
53560 (WMEMCMP): New macro.
53563 2011-10-12 Andreas Jaeger <aj@suse.de>
53566 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
53568 2011-10-15 Ulrich Drepper <drepper@gmail.com>
53570 * libio/iofwide.c (do_length): Avoid warning.
53572 * ctype/ctype.h (__isctype_f): Add missing __THROW.
53574 2011-10-14 Ulrich Drepper <drepper@gmail.com>
53576 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
53578 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
53579 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
53580 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
53581 * sysdeps/i386/i686/fpu/e_log.S: New file.
53582 * sysdeps/i386/i686/fpu/e_logf.S: New file.
53583 * sysdeps/i386/i686/fpu/e_logl.S: New file.
53585 * ctype/ctype.h: Add support for inlined isXXX functions when
53586 compiling C++ code.
53588 2011-10-14 Andreas Schwab <schwab@redhat.com>
53590 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53592 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
53594 2011-10-13 Roland McGrath <roland@hack.frob.com>
53597 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
53599 2011-10-13 Andreas Schwab <schwab@redhat.com>
53601 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
53602 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
53605 * sysdeps/x86_64/memrchr.S: Check for zero size.
53607 * string/stratcliff.c: Add memrchr tests.
53609 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53611 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53612 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
53613 rawmemchr-sse2 rawmemchr-sse2-bsf.
53614 * sysdeps/i386/i686/multiarch/memchr.S: New file.
53615 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
53616 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
53617 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
53618 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
53619 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
53620 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
53621 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
53622 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
53623 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
53624 * string/memrchr.c (MEMRCHR): New macro.
53626 2011-10-12 Ulrich Drepper <drepper@gmail.com>
53628 Add integration with gcc's -ffinite-math-only and optimize wrapper
53630 * Versions.def: Define GLIBC_2.15 version for libm.
53631 * math/Makefile (headers): Add bits/math-finite.h.
53632 * math/bits/math-finite.h: New file.
53633 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
53634 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
53635 * math/e_acoshl.c: Add __*_finite alias.
53636 * math/e_acosl.c: Likewise.
53637 * math/e_asinl.c: Likewise.
53638 * math/e_atan2l.c: Likewise.
53639 * math/e_atanhl.c: Likewise.
53640 * math/e_coshl.c: Likewise.
53641 * math/e_exp10.c: Likewise.
53642 * math/e_exp10f.c: Likewise.
53643 * math/e_exp10l.c: Likewise.
53644 * math/e_exp2l.c: Likewise.
53645 * math/e_fmodl.c: Likewise.
53646 * math/e_gammal_r.c: Likewise.
53647 * math/e_hypotl.c: Likewise.
53648 * math/e_j0l.c: Likewise.
53649 * math/e_j1l.c: Likewise.
53650 * math/e_jnl.c: Likewise.
53651 * math/e_lgammal_r.c: Likewise.
53652 * math/e_log10l.c: Likewise.
53653 * math/e_log2l.c: Likewise.
53654 * math/e_logl.c: Likewise.
53655 * math/e_powl.c: Likewise.
53656 * math/e_sinhl.c: Likewise.
53657 * math/e_sqrtl.c: Likewise.
53658 * math/e_scalb.c: Completely rewritten and optimized.
53659 * math/e_scalbf.c: Likewise.
53660 * math/e_scalbl.c: Likewise.
53661 * math/w_acos.c: Likewise.
53662 * math/w_acosf.c: Likewise.
53663 * math/w_acosl.c: Likewise.
53664 * math/w_acosh.c: Likewise.
53665 * math/w_acoshf.c: Likewise.
53666 * math/w_acoshl.c: Likewise.
53667 * math/w_asin.c: Likewise.
53668 * math/w_asinf.c: Likewise.
53669 * math/w_asinl.c: Likewise.
53670 * math/w_atan2.c: Likewise.
53671 * math/w_atan2f.c: Likewise.
53672 * math/w_atan2l.c: Likewise.
53673 * math/w_atanh.c: Likewise.
53674 * math/w_atanhf.c: Likewise.
53675 * math/w_atanhl.c: Likewise.
53676 * math/w_exp10.c: Likewise.
53677 * math/w_exp10f.c: Likewise.
53678 * math/w_exp10l.c: Likewise.
53679 * math/w_fmod.c: Likewise.
53680 * math/w_fmodf.c: Likewise.
53681 * math/w_fmodl.c: Likewise.
53682 * math/w_j0.c: Likewise.
53683 * math/w_j0f.c: Likewise.
53684 * math/w_j0l.c: Likewise.
53685 * math/w_j1.c: Likewise.
53686 * math/w_j1f.c: Likewise.
53687 * math/w_j1l.c: Likewise.
53688 * math/w_jn.c: Likewise.
53689 * math/w_jnf.c: Likewise.
53690 * math/w_log.c: Likewise.
53691 * math/w_logf.c: Likewise.
53692 * math/w_logl.c: Likewise.
53693 * math/w_log10.c: Likewise.
53694 * math/w_log10f.c: Likewise.
53695 * math/w_log10l.c: Likewise.
53696 * math/w_log2.c: Likewise.
53697 * math/w_log2f.c: Likewise.
53698 * math/w_log2l.c: Likewise.
53699 * math/w_pow.c: Likewise.
53700 * math/w_powf.c: Likewise.
53701 * math/w_powl.c: Likewise.
53702 * math/w_remainder.c: Likewise.
53703 * math/w_remainderf.c: Likewise.
53704 * math/w_remainderl.c: Likewise.
53705 * math/w_scalb.c: Likewise.
53706 * math/w_scalbf.c: Likewise.
53707 * math/w_scalbl.c: Likewise.
53708 * math/w_sqrt.c: Likewise.
53709 * math/w_sqrtf.c: Likewise.
53710 * math/w_sqrtl.c: Likewise.
53711 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
53712 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
53714 * math/math_private.h: Declare __kernel_standard_f.
53715 * math/w_cosh.c: Remove cruft and optimize a bit.
53716 * math/w_coshf.c: Likewise.
53717 * math/w_coshl.c: Likewise.
53718 * math/w_exp2.c: Likewise.
53719 * math/w_exp2f.c: Likewise.
53720 * math/w_exp2l.c: Likewise.
53721 * math/w_hypot.c: Likewise.
53722 * math/w_hypotf.c: Likewise.
53723 * math/w_hypotl.c: Likewise.
53724 * math/w_lgamma.c: Likewise.
53725 * math/w_lgamma_r.c: Likewise.
53726 * math/w_lgammaf.c: Likewise.
53727 * math/w_lgammaf_r.c: Likewise.
53728 * math/w_lgammal.c: Likewise.
53729 * math/w_lgammal_r.c: Likewise.
53730 * math/w_sinh.c: Likewise.
53731 * math/w_sinhf.c: Likewise.
53732 * math/w_sinhl.c: Likewise.
53733 * math/w_tgamma.c: Likewise.
53734 * math/w_tgammaf.c: Likewise.
53735 * math/w_tgammal.c: Likewise.
53736 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53737 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53738 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
53739 Minor optimizations. Pretty printing. Remove cruft.
53740 * sysdeps/i386/fpu/e_acosf.S: Likewise.
53741 * sysdeps/i386/fpu/e_acosh.S: Likewise.
53742 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53743 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53744 * sysdeps/i386/fpu/e_acosl.c: Likewise.
53745 * sysdeps/i386/fpu/e_asin.S: Likewise.
53746 * sysdeps/i386/fpu/e_asinf.S: Likewise.
53747 * sysdeps/i386/fpu/e_atan2.S: Likewise.
53748 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
53749 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
53750 * sysdeps/i386/fpu/e_atanh.S: Likewise.
53751 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53752 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53753 * sysdeps/i386/fpu/e_exp10.S: Likewise.
53754 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
53755 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
53756 * sysdeps/i386/fpu/e_exp2.S: Likewise.
53757 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
53758 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
53759 * sysdeps/i386/fpu/e_fmod.S: Likewise.
53760 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
53761 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
53762 * sysdeps/i386/fpu/e_hypot.S: Likewise.
53763 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
53764 * sysdeps/i386/fpu/e_log.S: Likewise.
53765 * sysdeps/i386/fpu/e_log10.S: Likewise.
53766 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53767 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53768 * sysdeps/i386/fpu/e_log2.S: Likewise.
53769 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53770 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53771 * sysdeps/i386/fpu/e_logf.S: Likewise.
53772 * sysdeps/i386/fpu/e_logl.S: Likewise.
53773 * sysdeps/i386/fpu/e_pow.S: Likewise.
53774 * sysdeps/i386/fpu/e_powf.S: Likewise.
53775 * sysdeps/i386/fpu/e_powl.S: Likewise.
53776 * sysdeps/i386/fpu/e_remainder.S: Likewise.
53777 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
53778 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
53779 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53780 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53781 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53782 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
53783 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
53784 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
53785 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53786 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53787 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53788 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53789 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53790 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53791 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53792 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53793 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53794 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53795 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53796 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53797 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53798 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53799 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53800 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53801 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53802 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53803 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53804 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53805 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53806 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53807 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53808 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53809 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53810 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53811 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53812 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53813 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
53814 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53815 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53816 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53817 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53818 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53819 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53820 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53821 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53822 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53823 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53824 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53825 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53826 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53827 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53828 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53829 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53830 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53831 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53832 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53833 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53834 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
53835 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53836 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53837 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53838 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53839 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53840 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53841 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53842 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53843 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53844 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53845 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53846 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53847 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53848 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53849 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53850 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53851 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53852 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53853 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
53854 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53855 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53856 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53857 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53858 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53859 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53860 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53861 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53862 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53863 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53864 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53865 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53866 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53867 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53868 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53869 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53870 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53871 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53872 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53873 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53874 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53875 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53876 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53877 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53878 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53879 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53880 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53881 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53882 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53883 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53884 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53885 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53886 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53887 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53888 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53889 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53890 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53891 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53892 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53893 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53894 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53895 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
53896 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53897 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53898 (__isnanf): Likewise.
53899 (__isinf_ns): Likewise.
53900 (__isinf_nsf): Likewise.
53901 (__finite): Likewise.
53902 (__finitef): Likewise.
53903 (__ieee754_sqrt): Define as macro.
53904 (__ieee754_sqrtf): Define as macro.
53905 (__ieee754_sqrtl): Define as macro.
53906 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53908 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53909 __FINITE_MATH_ONLY__ consistent.
53910 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53912 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
53914 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53917 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53919 2011-10-09 Ulrich Drepper <drepper@gmail.com>
53921 * po/ja.po: Update from translation team.
53923 2011-10-08 Roland McGrath <roland@hack.frob.com>
53925 * locale/programs/locarchive.c (prepare_address_space): New function.
53926 (create_archive, enlarge_archive, open_archive): Use it.
53928 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53929 inside [SHARED], where it is used.
53931 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53933 * nss/getent.c (netgroup_keys): Remove unused variable.
53934 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53936 2011-10-08 Ulrich Drepper <drepper@gmail.com>
53938 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53939 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53940 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53941 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53942 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53943 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53944 * math/Makefile (libm-calls): Add s_isinf_ns.
53945 * math/divtc3.c: Use __isinf_nsl instead of isinf.
53946 * math/multc3.c: Likewise.
53947 * math/s_casin.c: Likewise.
53948 * math/s_casinf.c: Likewise.
53949 * math/s_casinl.c: Likewise.
53950 * math/s_ccos.c: Likewise.
53951 * math/s_ccosf.c: Likewise.
53952 * math/s_ccosl.c: Likewise.
53953 * math/s_ctan.c: Likewise.
53954 * math/s_ctanf.c: Likewise.
53955 * math/s_ctanh.c: Likewise.
53956 * math/s_ctanhf.c: Likewise.
53957 * math/s_ctanhl.c: Likewise.
53958 * math/s_ctanl.c: Likewise.
53959 * math/w_fmod.c: Likewise.
53960 * math/w_fmodf.c: Likewise.
53961 * math/w_fmodl.c: Likewise.
53962 * math/w_remainder.c: Likewise.
53963 * math/w_remainderf.c: Likewise.
53964 * math/w_remainderl.c: Likewise.
53965 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53966 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53967 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53968 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53969 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53970 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53971 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53972 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53974 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53976 * stdio-common/printf_fphex.c: Likewise.
53977 * stdio-common/printf_size.c: Likewise.
53979 * math/e_exp10.c: Include math_private.h using <...> not "...".
53980 * math/e_exp10f.c: Likewise.
53981 * math/e_exp10l.c: Likewise.
53982 * math/e_exp2l.c: Likewise.
53983 * math/e_j0l.c: Likewise.
53984 * math/e_j1l.c: Likewise.
53985 * math/e_jnl.c: Likewise.
53986 * math/e_lgammal_r.c: Likewise.
53987 * math/e_rem_pio2l.c: Likewise.
53988 * math/e_scalb.c: Likewise.
53989 * math/e_scalbf.c: Likewise.
53990 * math/e_scalbl.c: Likewise.
53991 * math/k_cosl.c: Likewise.
53992 * math/k_sinl.c: Likewise.
53993 * math/k_tanl.c: Likewise.
53994 * math/s_cacoshf.c: Likewise.
53995 * math/s_catan.c: Likewise.
53996 * math/s_catanf.c: Likewise.
53997 * math/s_catanh.c: Likewise.
53998 * math/s_catanhf.c: Likewise.
53999 * math/s_catanhl.c: Likewise.
54000 * math/s_catanl.c: Likewise.
54001 * math/s_ccosh.c: Likewise.
54002 * math/s_ccoshf.c: Likewise.
54003 * math/s_ccoshl.c: Likewise.
54004 * math/s_cexp.c: Likewise.
54005 * math/s_cexpf.c: Likewise.
54006 * math/s_cexpl.c: Likewise.
54007 * math/s_clog.c: Likewise.
54008 * math/s_clog10.c: Likewise.
54009 * math/s_clog10f.c: Likewise.
54010 * math/s_clog10l.c: Likewise.
54011 * math/s_clogf.c: Likewise.
54012 * math/s_clogl.c: Likewise.
54013 * math/s_csin.c: Likewise.
54014 * math/s_csinf.c: Likewise.
54015 * math/s_csinh.c: Likewise.
54016 * math/s_csinhf.c: Likewise.
54017 * math/s_csinhl.c: Likewise.
54018 * math/s_csinl.c: Likewise.
54019 * math/s_csqrt.c: Likewise.
54020 * math/s_csqrtf.c: Likewise.
54021 * math/s_csqrtl.c: Likewise.
54022 * math/s_ctan.c: Likewise.
54023 * math/s_ctanf.c: Likewise.
54024 * math/s_ctanh.c: Likewise.
54025 * math/s_ctanhf.c: Likewise.
54026 * math/s_ctanhl.c: Likewise.
54027 * math/s_ctanl.c: Likewise.
54028 * math/s_ldexp.c: Likewise.
54029 * math/s_ldexpf.c: Likewise.
54030 * math/s_ldexpl.c: Likewise.
54031 * math/s_significand.c: Likewise.
54032 * math/s_significandf.c: Likewise.
54033 * math/s_significandl.c: Likewise.
54034 * math/w_acos.c: Likewise.
54035 * math/w_acosf.c: Likewise.
54036 * math/w_acosh.c: Likewise.
54037 * math/w_acoshf.c: Likewise.
54038 * math/w_acoshl.c: Likewise.
54039 * math/w_acosl.c: Likewise.
54040 * math/w_asin.c: Likewise.
54041 * math/w_asinf.c: Likewise.
54042 * math/w_asinl.c: Likewise.
54043 * math/w_atan2.c: Likewise.
54044 * math/w_atan2f.c: Likewise.
54045 * math/w_atan2l.c: Likewise.
54046 * math/w_atanh.c: Likewise.
54047 * math/w_atanhf.c: Likewise.
54048 * math/w_atanhl.c: Likewise.
54049 * math/w_cosh.c: Likewise.
54050 * math/w_coshf.c: Likewise.
54051 * math/w_coshl.c: Likewise.
54052 * math/w_dremf.c: Likewise.
54053 * math/w_exp10.c: Likewise.
54054 * math/w_exp10f.c: Likewise.
54055 * math/w_exp10l.c: Likewise.
54056 * math/w_exp2.c: Likewise.
54057 * math/w_exp2f.c: Likewise.
54058 * math/w_fmod.c: Likewise.
54059 * math/w_fmodf.c: Likewise.
54060 * math/w_fmodl.c: Likewise.
54061 * math/w_hypot.c: Likewise.
54062 * math/w_hypotf.c: Likewise.
54063 * math/w_hypotl.c: Likewise.
54064 * math/w_j0.c: Likewise.
54065 * math/w_j0f.c: Likewise.
54066 * math/w_j0l.c: Likewise.
54067 * math/w_j1.c: Likewise.
54068 * math/w_j1f.c: Likewise.
54069 * math/w_j1l.c: Likewise.
54070 * math/w_jn.c: Likewise.
54071 * math/w_jnf.c: Likewise.
54072 * math/w_jnl.c: Likewise.
54073 * math/w_lgamma.c: Likewise.
54074 * math/w_lgamma_r.c: Likewise.
54075 * math/w_lgammaf.c: Likewise.
54076 * math/w_lgammaf_r.c: Likewise.
54077 * math/w_lgammal.c: Likewise.
54078 * math/w_lgammal_r.c: Likewise.
54079 * math/w_log.c: Likewise.
54080 * math/w_log10.c: Likewise.
54081 * math/w_log10f.c: Likewise.
54082 * math/w_log10l.c: Likewise.
54083 * math/w_log2.c: Likewise.
54084 * math/w_log2f.c: Likewise.
54085 * math/w_log2l.c: Likewise.
54086 * math/w_logf.c: Likewise.
54087 * math/w_logl.c: Likewise.
54088 * math/w_pow.c: Likewise.
54089 * math/w_powf.c: Likewise.
54090 * math/w_powl.c: Likewise.
54091 * math/w_remainder.c: Likewise.
54092 * math/w_remainderf.c: Likewise.
54093 * math/w_remainderl.c: Likewise.
54094 * math/w_scalb.c: Likewise.
54095 * math/w_scalbf.c: Likewise.
54096 * math/w_scalbl.c: Likewise.
54097 * math/w_sinh.c: Likewise.
54098 * math/w_sinhf.c: Likewise.
54099 * math/w_sinhl.c: Likewise.
54100 * math/w_sqrt.c: Likewise.
54101 * math/w_sqrtf.c: Likewise.
54102 * math/w_sqrtl.c: Likewise.
54103 * math/w_tgamma.c: Likewise.
54104 * math/w_tgammaf.c: Likewise.
54105 * math/w_tgammal.c: Likewise.
54107 * po/ja.po: Update from translation team.
54109 2011-09-29 Andreas Jaeger <aj@suse.de>
54112 * sunrpc/netname.c (netname2host): Fix logic.
54116 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
54118 * math/w_remainder.c (__remainder): Likewise.
54119 * math/w_remainderf.c (__remainderf): Likewise.
54120 * math/libm-test.inc (remainder_test): Add test cases.
54122 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54124 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
54127 2011-10-07 Ulrich Drepper <drepper@gmail.com>
54129 * string/test-memcmp.c: Avoid unncessary #defines.
54130 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54132 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54134 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
54135 Use new sse2 version for core i3 - i7 as it's faster
54136 than sse42 version.
54137 (bit_Prefer_PMINUB_for_stringop): New.
54138 * sysdeps/x86_64/rawmemchr.S: Update.
54139 Replace with faster SSE2 version.
54140 * sysdeps/x86_64/memrchr.S: New file.
54141 * sysdeps/x86_64/memchr.S: Update.
54142 Replace with faster SSE2 version.
54144 2011-09-12 Marek Polacek <mpolacek@redhat.com>
54146 * elf/dl-load.c (lose): Add cast to avoid warning.
54148 2011-10-07 Ulrich Drepper <drepper@gmail.com>
54150 * po/ca.po: Update from translation team.
54152 * inet/getnetgrent_r.c: Hook up nscd.
54153 * nscd/Makefile (routines): Add nscd_netgroup.
54154 (nscd-modules): Add netgroupcache.
54155 (CFLAGS-netgroupcache.c): Define.
54156 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
54157 (cache_search): Add const to second parameter.
54158 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
54160 (dbs): Add netgrdb entry.
54161 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
54162 (verify_persistent_db): Handle netgrdb.
54163 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
54164 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
54166 (netgroup_response_header): Define.
54167 (innetgroup_response_header): Define.
54168 (datahead): Add netgroup_response_header and innetgroup_response_header
54170 * nscd/nscd.conf: Add entries for netgroup cache.
54171 * nscd/nscd.h (dbtype): Add netgrdb.
54172 (_PATH_NSCD_NETGROUP_DB): Define.
54173 (netgroup_iov_disabled): Declare.
54174 (xmalloc, xcalloc, xrealloc): Move declarations here.
54175 (cache_search): Adjust prototype.
54176 Add netgroup-related prototypes.
54177 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
54178 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
54179 (__nscd_innetgr): Declare.
54180 * nscd/selinux.c (perms): Use access_vector_t as element type and
54181 add netgroup-related initializers.
54182 * nscd/netgroupcache.c: New file.
54183 * nscd/nscd_netgroup.c: New file.
54184 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
54185 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
54186 For four parameters use innetgr.
54187 * nss/nss_files/files-init.c: Add definition and callback for netgr.
54188 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
54189 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
54190 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
54192 * nscd/connections.c (register_traced_file): Don't register file
54193 for disabled databases.
54195 2011-10-06 Ulrich Drepper <drepper@gmail.com>
54197 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
54199 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
54200 from tree and freeing node.
54202 2011-09-25 Jiri Olsa <jolsa@redhat.com>
54204 * nss/nsswitch.c (__nss_database_lookup): Handle
54205 nss_parse_service_list out of memory case.
54207 2011-09-15 Jiri Olsa <jolsa@redhat.com>
54209 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
54210 out of memory case.
54212 2011-10-04 Andreas Schwab <schwab@redhat.com>
54214 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
54215 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
54217 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
54218 elf_machine_rela, elf_machine_lazy_rel.
54219 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
54220 (ELF_DYNAMIC_DO_REL): Likewise.
54221 (ELF_DYNAMIC_DO_RELA): Likewise.
54222 (ELF_DYNAMIC_RELOCATE): Likewise.
54223 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
54224 to ELF_DYNAMIC_DO_REL.
54225 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
54226 (dl_main): In trace mode always set __RTLD_NOIFUNC.
54227 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
54229 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
54230 skip_ifunc, don't call ifunc function if non-zero.
54231 (elf_machine_rela): Likewise.
54232 (elf_machine_lazy_rel): Likewise.
54233 (elf_machine_lazy_rela): Likewise.
54234 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
54235 (elf_machine_lazy_rel): Likewise.
54236 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
54238 (elf_machine_lazy_rel): Likewise.
54239 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54241 (elf_machine_lazy_rel): Likewise.
54242 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
54243 (elf_machine_lazy_rel): Likewise.
54244 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
54245 (elf_machine_lazy_rel): Likewise.
54246 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54247 (elf_machine_lazy_rel): Likewise.
54248 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
54249 (elf_machine_lazy_rel): Likewise.
54250 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
54251 (elf_machine_lazy_rel): Likewise.
54252 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
54253 (elf_machine_lazy_rel): Likewise.
54255 2011-09-28 Ulrich Drepper <drepper@gmail.com>
54257 * nss/nss_files/files-init.c (_nss_files_init): Use static
54258 initialization for all the *_traced_file variables.
54260 2011-09-28 Andreas Schwab <schwab@redhat.com>
54262 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54264 2011-09-27 Roland McGrath <roland@hack.frob.com>
54267 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
54269 2011-09-27 Andreas Schwab <schwab@redhat.com>
54271 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54272 Reread the line before reparsing it.
54274 2011-09-26 Andreas Schwab <schwab@redhat.com>
54276 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
54278 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
54279 Maxim Kuvyrkov <maxim@codesourcery.com>
54280 Joseph Myers <joseph@codesourcery.com>
54282 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
54283 if needed for __stack_chk_guard.
54285 2011-09-19 Roland McGrath <roland@hack.frob.com>
54287 * sysdeps/posix/spawni.c (script_execute): Always define it.
54288 It will be optimized away if unused.
54289 (maybe_script_execute): New function.
54290 (__spawni): Call it.
54292 * Makerules: Don't include tls.make.
54293 (config-tls): Always set to thread.
54294 * tls.make.c: File removed.
54296 2011-09-19 Mike Frysinger <vapier@gentoo.org>
54298 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
54299 * config.make.in (CPPFLAGS-config): New substituted variable.
54301 2011-09-15 Ulrich Drepper <drepper@gmail.com>
54303 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
54306 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
54307 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
54309 2011-09-15 Roland McGrath <roland@hack.frob.com>
54311 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
54312 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
54313 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54314 (CALL_FAIL): Likewise.
54315 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
54316 (CALL_FAIL): Macro removed.
54317 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
54319 2011-09-15 Ulrich Drepper <drepper@gmail.com>
54321 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
54322 for __FINITE_MATH_ONLY__ == 1.
54324 2011-09-15 Andreas Schwab <schwab@redhat.com>
54326 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
54327 __ieee754_sqrt instead of sqrt.
54328 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
54329 __ieee754_sqrtf instead of sqrtf.
54330 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
54331 __floorf instead of floorf.
54332 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
54333 __floorf, __truncf instead of floorf, truncf.
54335 2011-09-14 Ulrich Drepper <drepper@gmail.com>
54337 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
54339 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
54340 __extern_always_inline.
54341 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
54344 2011-09-14 Andreas Schwab <schwab@redhat.com>
54346 * elf/rtld.c (dl_main): Also relocate in dependency order when
54347 doing symbol dependency testing.
54349 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
54351 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54352 Always define `refsym'.
54354 2011-09-13 Andreas Schwab <schwab@redhat.com>
54356 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
54357 (__FD_ELT): Renamed from __FDELT.
54358 * misc/bits/select2.h (__FD_ELT): Likewise.
54359 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
54360 __FD_MASK instead of __FDELT, __FDMASK.
54361 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
54363 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
54366 * elf/Makefile (gen-ldd): Fix pattern.
54368 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
54369 (init_tls): Likewise.
54371 2011-09-12 Ulrich Drepper <drepper@gmail.com>
54373 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
54375 2011-09-12 Andreas Schwab <schwab@redhat.com>
54377 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
54378 `struct cmsghdr *' instead of `void *'.
54379 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
54382 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
54384 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
54386 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
54387 ldd_rewrite_script.
54389 2011-09-11 Ulrich Drepper <drepper@gmail.com>
54391 * configure.in: Remove --with-tls option.
54392 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
54393 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
54394 out in case it is missing.
54395 * sysdeps/ia64/elf/configure.in: Likewise.
54396 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
54397 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
54398 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
54399 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
54400 * sysdeps/sh/elf/configure.in: Likewise.
54401 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
54402 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54403 * sysdeps/x86_64/elf/configure.in: Likewise.
54404 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
54405 * sysdeps/mach/hurd/tls.h: Likewise.
54408 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
54411 * configure.in: Fix use of AC_INIT.
54413 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
54415 2011-09-10 Ulrich Drepper <drepper@gmail.com>
54417 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
54419 * malloc/hooks.c: Likewise.
54422 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
54423 variables statically.
54424 (narenas): Initialize.
54425 (list_lock): Initialize.
54426 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
54427 initializtion of main_arena and list_lock. Small cleanups.
54428 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
54429 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
54430 Add initializers to main_arena and mp_.
54431 (malloc_state): Remove pagesize member. Change all users to use
54434 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
54435 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
54436 is always initialized.
54438 * malloc/malloc.c: Removed unused configurations and dead code.
54439 * malloc/arena.c: Likewise.
54440 * malloc/hooks.c: Likewise.
54441 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
54443 * include/tls.h: Removed. USE___THREAD must always be defined.
54444 * bits/libc-tsd.h: Don't handle !USE___THREAD.
54445 * elf/dl-libc.c: Likewise.
54446 * elf/dl-tsd.c: Likewise.
54447 * include/errno.h: Likewise.
54448 * include/netdb.h: Likewise.
54449 * include/resolv.h: Likewise.
54450 * inet/herrno-loc.c: Likewise.
54451 * inet/herrno.c: Likewise.
54452 * malloc/arena.c: Likewise.
54453 * malloc/hooks.c: Likewise.
54454 * malloc/malloc.c: Likewise.
54455 * resolv/res-state.c: Likewise.
54456 * resolv/res_libc.c: Likewise.
54457 * sysdeps/i386/dl-machine.h: Likewise.
54458 * sysdeps/ia64/dl-machine.h: Likewise.
54459 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
54460 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54461 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
54462 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
54463 * sysdeps/sh/dl-machine.h: Likewise.
54464 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54465 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54466 * sysdeps/unix/i386/sysdep.S: Likewise.
54467 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
54468 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
54469 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
54470 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
54471 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
54472 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
54473 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
54474 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54475 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54476 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
54477 * sysdeps/unix/x86_64/sysdep.S: Likewise.
54478 * sysdeps/x86_64/dl-machine.h: Likewise.
54479 * tls.make.c: Likewise.
54481 * configure.in: Remove --with-__thread option. Make tests for
54482 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
54483 tls_model attribute fail if no support is available. Remove
54485 * Makeconfig: Adjust for dropped configure option. All features are
54487 * Makerules: Likewise.
54488 * Versions.def: Likewise.
54489 * argp/argp-fmtstream.c: Likewise.
54490 * argp/argp-fmtstream.h: Likewise.
54491 * argp/argp-help.c: Likewise.
54492 * assert/assert.c: Likewise.
54493 * config.h.in: Likewise.
54494 * config.make.in: Likewise.
54495 * configure: Likewise.
54496 * configure.in: Likewise.
54497 * csu/Versions: Likewise.
54498 * csu/init.c: Likewise.
54499 * elf/tst-audit2.c: Likewise.
54500 * elf/tst-tls10.c: Likewise.
54501 * elf/tst-tls10.h: Likewise.
54502 * elf/tst-tls11.c: Likewise.
54503 * elf/tst-tls12.c: Likewise.
54504 * elf/tst-tls14.c: Likewise.
54505 * elf/tst-tlsmod11.c: Likewise.
54506 * elf/tst-tlsmod12.c: Likewise.
54507 * elf/tst-tlsmod13.c: Likewise.
54508 * elf/tst-tlsmod13a.c: Likewise.
54509 * elf/tst-tlsmod14a.c: Likewise.
54510 * elf/tst-tlsmod15b.c: Likewise.
54511 * elf/tst-tlsmod16a.c: Likewise.
54512 * elf/tst-tlsmod16b.c: Likewise.
54513 * elf/tst-tlsmod7.c: Likewise.
54514 * elf/tst-tlsmod8.c: Likewise.
54515 * elf/tst-tlsmod9.c: Likewise.
54516 * gmon/gmon.c: Likewise.
54517 * grp/fgetgrent_r.c: Likewise.
54518 * grp/putgrent.c: Likewise.
54519 * hurd/fopenport.c: Likewise.
54520 * include/libc-symbols.h: Likewise.
54521 * include/tls.h: Likewise.
54522 * intl/gettextP.h: Likewise.
54523 * intl/loadinfo.h: Likewise.
54524 * locale/global-locale.c: Likewise.
54525 * locale/localeinfo.h: Likewise.
54526 * mach/devstream.c: Likewise.
54527 * malloc/arena.c: Likewise.
54528 * malloc/set-freeres.c: Likewise.
54529 * misc/err.c: Likewise.
54530 * misc/getttyent.c: Likewise.
54531 * misc/mntent_r.c: Likewise.
54532 * posix/getopt.c: Likewise.
54533 * posix/wordexp.c: Likewise.
54534 * pwd/fgetpwent_r.c: Likewise.
54535 * resolv/Versions: Likewise.
54536 * resolv/res_hconf.c: Likewise.
54537 * shadow/fgetspent_r.c: Likewise.
54538 * shadow/putspent.c: Likewise.
54539 * stdio-common/printf_fphex.c: Likewise.
54540 * stdio-common/tmpfile.c: Likewise.
54541 * stdlib/abort.c: Likewise.
54542 * stdlib/fmtmsg.c: Likewise.
54543 * sunrpc/auth_unix.c: Likewise.
54544 * sunrpc/clnt_perr.c: Likewise.
54545 * sunrpc/clnt_tcp.c: Likewise.
54546 * sunrpc/clnt_udp.c: Likewise.
54547 * sunrpc/clnt_unix.c: Likewise.
54548 * sunrpc/openchild.c: Likewise.
54549 * sunrpc/svc_simple.c: Likewise.
54550 * sunrpc/svc_tcp.c: Likewise.
54551 * sunrpc/svc_udp.c: Likewise.
54552 * sunrpc/svc_unix.c: Likewise.
54553 * sunrpc/xdr.c: Likewise.
54554 * sunrpc/xdr_array.c: Likewise.
54555 * sunrpc/xdr_rec.c: Likewise.
54556 * sunrpc/xdr_ref.c: Likewise.
54557 * sunrpc/xdr_stdio.c: Likewise.
54559 2011-09-09 Ulrich Drepper <drepper@gmail.com>
54561 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54563 2011-07-03 Andreas Jaeger <aj@suse.de>
54565 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
54566 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
54567 regenerate with gen-libm-tests.pl.
54569 2010-05-12 Petr Baudis <pasky@suse.cz>
54572 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
54573 around j0() zero points by switching to j1().
54574 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54575 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54576 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54577 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54579 2011-09-09 Ulrich Drepper <drepper@gmail.com>
54581 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
54583 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
54585 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54586 Patch in part by Pavel Roskin <proski@gnu.org>.
54589 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
54591 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
54592 Free memory block if necessary.
54595 * libio/genops.c (INTDEF): For string streams the _lock pointer can
54596 be NULL. Don't lock in this case.
54598 2011-09-09 Roland McGrath <roland@hack.frob.com>
54600 * elf/elf.h (ELFOSABI_GNU): New macro.
54601 (ELFOSABI_LINUX): Define to that.
54603 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
54605 * string/strncat.c (strncat): Undef the symbol in case it has been
54606 defined in bits/string.h.
54608 2011-09-09 Ulrich Drepper <drepper@gmail.com>
54610 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
54612 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
54615 2011-08-17 Andreas Jaeger <aj@suse.de>
54617 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
54619 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
54620 Ian Lance Taylor <iant@google.com>
54622 * math/libm-test.inc (lround_test): New testcase.
54623 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
54625 2011-09-08 Ulrich Drepper <drepper@gmail.com>
54627 * Makefile: Remove support for automatic cvs check-ins.
54628 * Makerules: Likewise.
54629 * config.make.in: Likewise.
54630 * configure.in: Likewise.
54631 * intl/Makefile: Likewise.
54632 * locale/Makefile: Likewise.
54633 * po/Makefile: Likewise.
54634 * posix/Makefile: Likewise.
54635 * sysdeps/gnu/Makefile: Likewise.
54636 * sysdeps/mach/hurd/Makefile: Likewise.
54637 * sysdeps/sparc/sparc32/Makefile: Likewise.
54640 * posix/Makefile (bug-regex32-ENV): Define.
54641 Patch by John Stanley <jpsinthemix@verizon.net>.
54643 * misc/Makefile (headers): Add bits/select2.h.
54644 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
54645 * misc/bits/select2.h: New file.
54646 * include/bits/select2.h: New file.
54647 * debug/Makefile (routines): Add fdelt_chk.
54648 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
54649 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
54651 * debug/fdelt_chk.c: New file.
54653 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
54654 * wcsmbs/test-wmemcmp.c: Likewise.
54655 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
54656 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
54658 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54660 * string/Makefile (strop-tests): Add memcmp.
54661 * string/test-wmemcmp.c: New file.
54662 * string/test-memcmp.c: Add wmemcmp support.
54664 2011-09-08 Roland McGrath <roland@hack.frob.com>
54667 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
54670 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
54671 garbage value in a __mach_port_mod_refs call in the cases of the
54672 task-self and thread-self ports.
54674 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
54676 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
54678 2011-09-08 Andreas Schwab <schwab@redhat.com>
54680 * elf/dl-load.c (lose): Check for non-null L.
54682 2011-09-07 Ulrich Drepper <drepper@gmail.com>
54684 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
54686 * elf/dl-libc.c (dlerror_run): Pass back error code from
54690 * elf/dl-load.c (lose): Free l_origin if it is valid.
54692 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
54694 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
54695 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54696 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54697 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54698 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
54699 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
54701 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54703 * sysdeps/powerpc/fpu/e_hypot.c: New file.
54704 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
54705 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
54706 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
54707 * sysdeps/powerpc/fpu/k_cosf.c: New file.
54708 * sysdeps/powerpc/fpu/k_sinf.c: New file.
54709 * sysdeps/powerpc/fpu/s_cosf.c: New file.
54710 * sysdeps/powerpc/fpu/s_sinf.c: New file.
54711 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
54712 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
54714 2011-08-15 Alan Modra <amodra@gmail.com>
54717 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
54718 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
54719 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
54720 ppc_mcount to static-only-routines.
54721 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
54723 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
54724 __mcount_internal with usual JUMPTARGET. Remove useless nop.
54726 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
54728 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
54729 for finite and infinity parameters.
54731 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54733 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
54734 and add nop instructions for throughput optimization.
54735 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54737 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
54739 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
54740 aligned copy for power7 with vector-scalar instructions.
54741 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54743 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
54745 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
54748 2011-09-07 Andreas Schwab <schwab@redhat.com>
54751 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
54754 2011-09-07 Ulrich Drepper <drepper@gmail.com>
54756 * sysdeps/unix/sysv/linux/x86_64/init-first.c
54757 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
54758 syscall wrapper around clock_gettime in __vdso_clock_gettime.
54759 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
54762 2011-09-06 Ulrich Drepper <drepper@gmail.com>
54764 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
54765 Forgot to demangle the pointer.
54767 * sysdeps/i386/sysdep.h: Define atom_text_section.
54768 * sysdeps/x86_64/sysdep.h: Likewise.
54769 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
54770 section with atom_text_section.
54771 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54772 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54773 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
54774 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54775 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
54777 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
54778 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
54779 already be defined. Change to take two parameters and don't assign
54780 result to variable. Adjust all users.
54781 Define INTERNAL_GETTIME if not already defined.
54782 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
54784 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
54785 HAVE_CLOCK_GETTIME_VSYSCALL.
54786 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
54788 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
54789 gettimeofday vsyscall, just use time.
54791 2011-09-06 Andreas Schwab <schwab@redhat.com>
54793 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
54796 2011-09-06 Ulrich Drepper <drepper@gmail.com>
54798 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
54800 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
54802 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
54803 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
54804 syscall if possible.
54806 2011-09-05 Ulrich Drepper <drepper@gmail.com>
54808 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
54809 e_ident. Don't pass to find_mapsXX.
54810 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
54812 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54814 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54815 strchr-sse2-no-bsf strrchr-sse2-no-bsf
54816 * sysdeps/x86_64/multiarch/strchr.S: Update.
54817 Check bit_slow_BSF bit.
54818 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54819 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
54820 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
54822 2011-09-05 Ulrich Drepper <drepper@gmail.com>
54825 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
54827 (tryshell): Define.
54828 (__spawni): Change last parameter to be flag. Test
54829 SPAWN_XFLAGS_USE_PATH flag to use path or not.
54830 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
54831 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
54832 * posix/spawni.c: Likewise.
54833 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
54834 * posix/spawnp.c: Likewise. Change normal version to use
54835 SPAWN_XFLAGS_USE_PATH.
54836 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
54837 SPAWN_XFLAGS_TRY_SHELL.
54840 * posix/glob.h: Remove gcc 1.x support.
54843 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
54845 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54847 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54848 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
54850 * sysdeps/i386/i686/multiarch/strchr.S: New file.
54851 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
54852 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
54853 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
54854 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
54855 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
54857 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54859 * sysdeps/x86_64/wcscmp.S: New file.
54861 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54862 wcscmp-c wcscmp-sse2
54863 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54864 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54865 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54866 * wcsmbs/wcscmp.c: Allow renaming.
54868 2011-09-05 David S. Miller <davem@davemloft.net>
54870 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54871 stack slot, rather than the struct return pointer slot.
54872 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54873 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54875 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54877 2011-09-05 Ulrich Drepper <drepper@gmail.com>
54879 * po/ja.po: Update from translation team.
54882 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54883 kernel in 64-bit binaries.
54885 2011-09-01 David S. Miller <davem@davemloft.net>
54887 * elf/elf.h (HWCAP_SPARC_*): Move to..
54888 * sysdeps/sparc/sysdep.h: this new file and add new values.
54889 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54890 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54891 _DL_HWCAP_COUNT to 24.
54892 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54894 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54895 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54896 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54897 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54898 instead of magic constants.
54899 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54901 2011-08-31 David S. Miller <davem@davemloft.net>
54903 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54904 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54905 Reimplement to do errno handling inline.
54906 (SYSCALL_ERROR_HANDLER): New macro.
54907 (__SYSCALL_STRING): Do not do errno handling in asm.
54908 (__CLONE_SYSCALL_STRING): Delete.
54909 (__INTERNAL_SYSCALL_STRING): Delete.
54910 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54911 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54912 (PSEUDO): Reimplement to do errno handling inline.
54913 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54914 (SYSCALL_ERROR_HANDLER): New macro.
54915 (__SYSCALL_STRING): Do not do errno handling in asm.
54916 (__CLONE_SYSCALL_STRING): Delete.
54917 (__INTERNAL_SYSCALL_STRING): Delete.
54918 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54919 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54921 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54922 (inline_syscall*): Add 'err' argument.
54923 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54924 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54925 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54926 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54928 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54929 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54931 2011-08-30 Andreas Schwab <schwab@redhat.com>
54933 * elf/rtld.c (dl_main): Relocate objects in dependency order.
54935 2011-08-29 Jiri Olsa <jolsa@redhat.com>
54937 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54940 2011-08-24 David S. Miller <davem@davemloft.net>
54942 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54944 2011-08-24 Andreas Schwab <schwab@redhat.com>
54946 * elf/Makefile: Add rules to build and run unload8 test.
54947 * elf/unload8.c: New file.
54948 * elf/unload8mod1.c: New file.
54949 * elf/unload8mod1x.c: New file.
54950 * elf/unload8mod2.c: New file.
54951 * elf/unload8mod3.c: New file.
54953 * elf/dl-close.c (_dl_close_worker): Reset private search list if
54956 2011-08-23 David S. Miller <davem@davemloft.net>
54958 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54959 subtract stack bias.
54960 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54961 %sp not %fp in calculations.
54962 (_JMPBUF_UNWINDS_ADJ): Likewise.
54964 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54965 (aio_suspend): Call it to force an exception region around the
54966 AIO_MISC_WAIT() invocation.
54968 2011-08-23 Andreas Schwab <schwab@redhat.com>
54970 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54973 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
54975 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54977 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54978 and <dl-machine.h>.
54979 (Elf64_FuncDesc): Remove.
54981 2011-08-22 David S. Miller <davem@davemloft.net>
54983 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54984 sigaltstack check, add missing cfi directives.
54985 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54986 missing cfi directives, and sigaltstack handling.
54988 2011-08-16 Andreas Schwab <schwab@redhat.com>
54991 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54992 object is seen twice.
54993 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54995 * elf/Makefile (distribute): Add tst-initorder2.c.
54996 (tests): Add tst-initorder2.
54997 (modules-names): Add tst-initorder2a tst-initorder2b
54998 tst-initorder2c tst-initorder2d. Add rules to build them.
54999 ($(objpfx)tst-initorder2.out): New rule.
55000 * elf/tst-initorder2.c: New file.
55001 * elf/tst-initorder2.exp: New file.
55003 2011-08-22 Andreas Schwab <schwab@redhat.com>
55005 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
55007 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
55008 dependencies back to end of function.
55010 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55011 $(elfobjdir)/ld.so.
55013 2011-08-21 Ulrich Drepper <drepper@gmail.com>
55015 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
55016 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
55017 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
55018 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
55019 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
55020 of __vdso_gettimeofday.
55021 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
55022 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
55024 (_libc_vdso_platform_setup): Remove initialization of
55025 __vdso_gettimeofday and __vdso_time.
55027 2011-08-20 Ulrich Drepper <drepper@gmail.com>
55029 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
55030 and fgetc_unlocked.
55031 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
55034 * elf/dl-open.c (add_to_global): Report additions to the global scope
55035 for LD_DEBUG=scopes.
55036 (dl_open_worker): Also print scope of newly loaded dependencies.
55037 (_dl_show_scope): Indicate if there is no scope.
55040 * stdio-common/Makefile (tests): Add bug24.
55041 * stdio-common/bug24.c: New file.
55043 2011-08-19 Andreas Jaeger <aj@suse.de>
55046 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
55047 non-existant file when using close-on-exec mode.
55049 2011-08-20 Ulrich Drepper <drepper@gmail.com>
55051 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
55052 the very first instruction.
55054 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
55055 the CFI state in the end.
55056 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
55057 inclusion of dl-trampoline.h.
55058 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
55060 2011-08-19 Andreas Schwab <schwab@redhat.com>
55062 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
55063 expectations for long double.
55065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
55066 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
55068 2011-08-14 David S. Miller <davem@davemloft.net>
55070 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
55071 artificual limit depends upon the system page size.
55073 2011-08-17 Ulrich Drepper <drepper@gmail.com>
55075 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
55076 * resolv/Makefile: Define CFLAGS-libresolv.
55078 2011-08-17 Andreas Schwab <schwab@redhat.com>
55080 * nss/makedb.c (compute_tables): Make variables used in nested
55083 2011-08-17 Ulrich Drepper <drepper@gmail.com>
55085 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
55086 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
55087 if buffer was too small.
55089 * elf/pldd.c (main): Attach to all threads in the process.
55090 Rewrite /proc handling to use *at functions.
55092 2011-08-16 Ulrich Drepper <drepper@gmail.com>
55094 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
55095 specifies first scope to show.
55096 (dl_open_worker): Update callers. Move printing scope of new
55097 object to before the relocation.
55098 * elf/rtld.c (dl_main): Update _dl_show_scope call.
55099 * sysdeps/generic/ldsodefs.h: Update declaration.
55101 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
55102 string for the scope number.
55104 2011-08-14 Ulrich Drepper <drepper@gmail.com>
55106 * nscd/servicescache.c (cache_addserv): Make sure written is always
55109 2011-08-14 Roland McGrath <roland@hack.frob.com>
55111 * sysdeps/i386/i486/bits/atomic.h
55112 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
55113 statement expression, so as to suppress "set but not used" warning.
55114 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
55116 * string/strncat.c (STRNCAT): Use prototype definition.
55118 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
55119 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
55121 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
55122 (localedef-modules): Add localedef.
55123 (locale-modules): Add locale.
55125 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
55126 * elf/rtld.c (dl_main): Invert order of assignment in last change,
55127 to avoid a warning.
55129 2011-08-14 David S. Miller <davem@davemloft.net>
55131 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
55132 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
55134 2011-08-13 Ulrich Drepper <drepper@gmail.com>
55136 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
55137 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
55138 * elf/rtld.c (dl_main): Set l_name of vDSO.
55139 Call _dl_show_scope when DL_DEBUG_SCOPES.
55140 (process_dl_debug): Recognize scopes flag and also set it for all.
55141 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
55142 Declare _dl_show_scope.
55144 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
55145 (do_dlopen): Pass caller_dlopen to dl_open.
55146 (__libc_dlopen_mode): Initialize caller_dlopen.
55148 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
55149 of libc. Make tolower call locale-independent. Optimize a bit by
55150 using isdigit instead of isalnum.
55151 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
55153 2011-08-12 Ulrich Drepper <drepper@gmail.com>
55155 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
55156 was a dependency or dynamically loaded.
55158 2011-08-11 Ulrich Drepper <drepper@gmail.com>
55160 * intl/l10nflist.c: Allow architecture-specific pop function.
55161 * sysdeps/x86_64/l10nflist.c: New file.
55163 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
55166 2011-08-10 Andreas Schwab <schwab@redhat.com>
55168 * include/dirent.h: Add libc_hidden_proto for scandirat and
55169 scandirat64. Don't declare __scandirat64.
55170 * dirent/scandirat.c: Add libc_hidden_def.
55171 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
55172 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
55174 2011-08-10 David S. Miller <davem@davemloft.net>
55176 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
55178 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55179 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55180 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55182 2011-08-09 Ulrich Drepper <drepper@gmail.com>
55184 * Versions.def [libc]: Add GLIBC_2.15.
55185 * dirent/Makefile (routines): Add scandirat and scandirat64.
55186 * dirent/Versions [libc]: Export scandirat and scandirat64 for
55188 * dirent/dirent.h: Declare scandirat and scandirat64.
55189 * dirent/scandirat.c: New file.
55190 * dirent/scandirat64.c: New file.
55191 * sysdeps/wordsize-64/scandirat.c: New file.
55192 * sysdeps/wordsize-64/scandirat64.c: New file.
55193 * dirent/opendir.c: Define opendirat.
55194 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
55196 * dirent/scandir64.c: Adjust for scandir.c change.
55197 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
55198 __scandirat64, and __scandir_cancel_handler.
55199 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
55200 additional parameter and use openat instead of open (outside of ld.so).
55201 Add new __opendir as wrapper around __opendirat.
55202 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
55203 here without requiring old scandirat implementation.
55205 2011-08-08 Ulrich Drepper <drepper@gmail.com>
55207 * dirent/scandir.c (cancel_handler): Renamed to
55208 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
55209 defined. Adjust users.
55210 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
55211 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
55213 2011-08-04 Ulrich Drepper <drepper@gmail.com>
55215 * string/test-string.h (IMPL): Use __STRING to expand name and then
55218 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
55221 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55223 * string/Makefile: Update.
55224 (strop-tests): Append strncat.
55225 * string/test-wcscmp.c: New file.
55226 New comprehensive test for wcscmp.
55227 * string/test-strcmp.c: Update.
55228 (WIDE): New define.
55230 2011-07-22 Andreas Schwab <schwab@redhat.com>
55232 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
55235 2011-07-26 Andreas Schwab <schwab@redhat.com>
55237 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55238 encoding to ACE if AI_IDN.
55240 2011-08-01 Jakub Jelinek <jakub@redhat.com>
55242 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
55243 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
55245 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55247 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
55248 Fix overflow bug in strncat.
55249 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
55251 * string/test-strncat.c: Update.
55252 Add new tests for checking overflow bugs.
55254 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55256 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55257 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
55258 * sysdeps/i386/i686/multiarch/strcat.S: New file.
55259 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
55260 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
55261 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
55262 * sysdeps/i386/i686/multiarch/strncat.S: New file.
55263 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
55264 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
55266 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
55267 (USE_AS_STRCAT): Define.
55268 Add strcat and strncat support.
55269 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
55271 2011-07-25 Andreas Schwab <schwab@redhat.com>
55273 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
55274 __n bigger than INT_MAX+1.
55275 (__strncmp_g): Likewise.
55277 2011-07-23 Ulrich Drepper <drepper@gmail.com>
55279 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
55280 * libio/stido.h: Likewise.
55282 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
55284 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
55287 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
55288 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55289 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55290 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
55291 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55294 * scripts/test-installation.pl: Don't expect libnss_test1 to be
55297 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
55299 (_dl_x86_64_save_sse): Likewise.
55301 2011-07-22 Ulrich Drepper <drepper@gmail.com>
55303 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
55305 (_dl_x86_64_save_sse): Likewise.
55307 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
55309 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
55311 2011-07-21 Andreas Schwab <schwab@redhat.com>
55313 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
55315 (_dl_x86_64_save_sse): Use correct AVX check.
55317 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55319 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
55320 bug in strncpy/strncat.
55321 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
55323 2011-07-21 Ulrich Drepper <drepper@gmail.com>
55325 * string/tester.c (test_strcat): Add tests for different alignments
55326 of source and destination.
55327 (test_strncat): Likewise.
55329 2011-07-20 Ulrich Drepper <drepper@gmail.com>
55332 * posix/glob.c (glob): Check passed in values before using them in
55333 expressions to avoid some overflows.
55334 (glob_in_dir): Likewise.
55337 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
55338 check for AVX enablement so that we don't crash with old kernels and
55340 * elf/tst-audit4.c: Add same checks here.
55341 * elf/tst-audit6.c: Likewise.
55343 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
55345 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
55347 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
55349 2011-07-20 Ulrich Drepper <drepper@gmail.com>
55351 * po/cs.po: Update from translation team.
55352 * po/bg.po: Likewise.
55354 2011-07-12 Marek Polacek <mpolacek@redhat.com>
55356 * misc/sys/cdefs.h: Add support for const attribute.
55357 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
55358 to gnu_dev_{major,minor,makedev} functions.
55360 2011-07-20 Marek Polacek <mpolacek@redhat.com>
55362 * intl/dcigettext.c (get_output_charset): Add missing bracket.
55364 2011-07-20 Andreas Schwab <schwab@redhat.com>
55366 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
55369 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55371 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
55372 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
55373 register in order to avoid conflicts with the soft frame pointer
55374 being held in r11 when necessary.
55375 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
55376 (INTERNAL_VSYSCALL_NCS): Likewise.
55378 2011-07-14 Marek Polacek <mpolacek@redhat.com>
55380 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
55381 * elf/dl-fini.c (_dl_fini): Adjust caller.
55382 * elf/dl-close.c (_dl_close_worker): Likewise.
55383 * sysdeps/generic/ldsodefs.h: Adjust declaration.
55385 2011-07-15 Marek Polacek <mpolacek@redhat.com>
55387 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
55388 "aux_cache->nlibs < 0".
55390 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
55391 in the reload-count case.
55393 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55395 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55396 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
55397 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
55398 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
55399 * sysdeps/x86_64/multiarch/strcat.S: New file.
55400 * sysdeps/x86_64/multiarch/strncat.S: New file.
55401 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
55402 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
55403 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
55404 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
55405 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
55406 (USE_AS_STRCAT): Define.
55407 Add strcat and strncat support.
55408 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
55409 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
55410 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
55411 * string/strncat.c: Update.
55412 (USE_AS_STRNCAT): Define.
55413 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55414 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
55416 * sysdeps/x86_64/multiarch/init-arch.h
55417 (bit_Prefer_PMINUB_for_stringop): New.
55418 (index_Prefer_PMINUB_for_stringop): Likewise.
55419 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
55420 bit_Prefer_PMINUB_for_stringop.
55422 2011-07-19 Ulrich Drepper <drepper@gmail.com>
55424 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
55426 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
55427 of casting of buffer.
55428 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
55429 buffer32 and buffer64.
55430 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
55431 writes instead of casting of buffer.
55432 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
55434 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
55437 2011-07-19 Andreas Schwab <schwab@redhat.com>
55439 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
55441 2011-07-19 Ulrich Drepper <drepper@gmail.com>
55443 * nscd/nscd.c (termination_handler): Don't do anything for a database
55444 if it has not yet been initialized.
55446 2011-07-18 Ulrich Drepper <drepper@gmail.com>
55448 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
55450 2011-07-15 Marek Polacek <mpolacek@redhat.com>
55452 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
55454 2011-07-18 Ulrich Drepper <drepper@gmail.com>
55456 * po/nl.po: Update from translation team.
55457 * po/sv.po: Likewise.
55459 2011-07-16 Roland McGrath <roland@hack.frob.com>
55461 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
55462 now disallowed by GCC.
55464 * configure.in (use-default-link): Default to yes if a test -shared
55465 link meets our qualifications.
55466 * configure: Regenerated.
55468 * config.make.in (output-format): New variable.
55469 * configure.in: Check for ld --print-output-format support.
55470 * configure: Regenerated.
55471 * Makerules ($(common-objpfx)format.lds)
55472 [$(output-format) != unknown]: Just use $(output-format),
55473 instead of the linker-script munging.
55475 2011-07-14 Roland McGrath <roland@hack.frob.com>
55477 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
55478 of $(common-objpfx)shlib.lds.
55479 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
55481 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
55482 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
55484 * configure.in (-z relro check): Adjust test code to add a large
55485 writable data section after it.
55486 * configure: Regenerated.
55488 2011-07-11 Roland McGrath <roland@hack.frob.com>
55490 * configure.in (-z relro check): Fix test code to make the variable
55492 * configure: Regenerated.
55494 2011-07-11 Ulrich Drepper <drepper@gmail.com>
55496 * nscd/nscd.h (struct traced_file): Define.
55497 (struct database_dyn): Remove inotify_descr, reset_res, and filename
55498 elements. Add traced_files.
55499 (inotify_fd): Declare.
55500 (register_traced_file): Declare.
55501 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
55502 (inotify_fd): Export.
55503 (resolv_conf_descr): Remove.
55504 (nscd_init): Move inotify descriptor creation to main.
55505 Don't register files for notification here.
55506 (register_traced_file): New function.
55507 (invalidate_cache): Don't use reset_res to determine whether to call
55508 res_init, go through the list of registered files.
55509 (main_loop_poll): The inotify descriptors are now stored in the
55510 structures for the traced files.
55511 (main_loop_epoll): Likewise
55512 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
55513 to __nss_disable_nscd.
55514 * nscd/cache.c (prune_cache): There is no single inotify descriptor
55515 for a database anymore. Check the records for all the registered
55517 * nss/Makefile (libnss_files-routines): Add files-init.
55518 (libnss_db-routines): Add db-init.
55519 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
55520 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
55521 * nss/nss_db/db-init.c: New file.
55522 * nss/nss_files/files-init.c: New file.
55523 * nss/nsswitch.c (nss_load_library): New function. Broken out of
55524 __nss_lookup_function.
55525 (__nss_lookup_function): Call nss_load_library.
55526 (nss_load_all_libraries): New function.
55527 (__nss_disable_nscd): Take parameter with callback function for files
55528 to register. Set is_nscd. Load all the DSOs for the NSS modules
55529 used for the cached services.
55530 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
55531 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
55532 options for features to all the files in nscd.
55534 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
55536 2011-07-10 Roland McGrath <roland@hack.frob.com>
55538 * csu/elf-init.c (__libc_csu_init): Comment typo.
55540 2011-07-09 Ulrich Drepper <drepper@gmail.com>
55542 * po/pl.po: Update from translation team.
55543 * po/ja.po: Likewise.
55544 * po/ru.po: Likewise.
55545 * po/ko.po: Likewise.
55546 * po/fr.po: Likewise.
55548 2011-07-09 Roland McGrath <roland@hack.frob.com>
55550 * configure.in (.ctors/.dtors header and trailer check):
55551 Use an empirical test on a built program.
55552 * configure: Regenerated.
55554 * configure.in (-z relro check): Use an empirical test on a built DSO.
55555 Detect, but do not require, on ia64.
55556 * configure: Regenerated.
55558 * configure.in (READELF): Find it with AC_CHECK_TOOL.
55559 Update tests that use readelf to use $READELF instead.
55560 * configure: Regenerated.
55562 2011-07-08 Ulrich Drepper <drepper@gmail.com>
55564 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
55565 if the result is not used.
55567 2011-07-05 Andreas Jaeger <aj@suse.de>
55570 * stdlib/tst-strtod.c: Add testcase.
55572 2011-07-07 Ulrich Drepper <drepper@gmail.com>
55574 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
55575 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
55576 The latter has a higher limit. Take additional parameter to pass to
55578 (__pathconf): Pass file to __statfs_link_max.
55579 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
55581 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
55585 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
55586 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55588 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
55589 (__statfs_filesize_max): Likewise.
55590 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
55592 2011-07-05 Andreas Jaeger <aj@suse.de>
55594 * resolv/res_comp.c (dn_skipname): Remove unused variable.
55596 2011-07-06 Marek Polacek <mpolacek@redhat.com>
55598 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
55600 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
55603 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
55605 * Makefile (strop-tests): Add strncat.
55606 * string/test-strncat.c: New file.
55608 2011-06-30 Marek Polacek <mpolacek@redhat.com>
55610 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
55612 2011-06-21 Andreas Jaeger <aj@suse.de>
55614 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
55615 Copy rule from iconvdata/Makefile.
55617 2011-07-06 Ulrich Drepper <drepper@gmail.com>
55620 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
55621 but no long options are defined, just return 'W'.
55623 2011-06-22 Marek Polacek <mpolacek@redhat.com>
55626 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
55628 2011-07-06 Ulrich Drepper <drepper@gmail.com>
55630 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
55632 (innetgr): Likewise.
55634 2011-07-05 Roland McGrath <roland@hack.frob.com>
55636 * config.make.in (install_root): Default to $(DESTDIR).
55638 2011-07-05 Ulrich Drepper <drepper@gmail.com>
55640 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
55642 2011-07-02 Roland McGrath <roland@hack.frob.com>
55644 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
55646 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
55647 containing directory rather than embedding absolute directory names.
55649 * scripts/check-local-headers.sh: Rewritten using awk.
55650 Match by word, not by line. Print error messages for matches.
55651 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
55653 * Makerules [shlib-lds-flags empty]:
55654 ($(common-objpfx)libc_pic.opts): New target.
55655 ($(common-objpfx)libc_pic.os.clean): New target.
55656 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
55658 * config.make.in (OBJCOPY): New variable.
55659 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
55660 * configure: Regenerated.
55662 * config.make.in (use-default-link): New variable.
55663 * configure.in (use_default_link): Grok --with-default-link to set it.
55664 * configure: Regenerated.
55665 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
55666 (shlib-lds, shlib-lds-flags): Define to empty.
55668 * Makerules (shlib-lds): New variable.
55669 (shlib-lds-flags): New variable.
55670 (build-shlib, build-moduile, build-module-asneeded): Use it.
55671 ($(common-objpfx)libc.so): Use $(shlib-lds).
55672 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
55673 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
55675 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
55676 DT_FLAGS/DT_FLAGS_1 with zero flags.
55678 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
55679 linker script munging.
55681 2011-07-02 Ulrich Drepper <drepper@gmail.com>
55683 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
55685 * crypt/sha512.c (sha512_process_block): Perform total addition using
55686 128-bit if possible.
55687 (__sha512_finish_ctx): Likewise.
55688 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
55690 * crypt/sha256.c (SWAP64): Define.
55691 (sha256_process_block): Perform total addition using 64-bit if
55693 (__sha256_finish_ctx): Likewise.
55695 2011-07-01 Ulrich Drepper <drepper@gmail.com>
55697 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
55698 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55699 * nscd/hstcache.c (cache_addhst): Likewise.
55700 * nscd/grpcache.c (cache_addgr): Likewise.
55701 * nscd/aicache.c (addhstaiX): Likewise
55702 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
55704 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
55706 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
55707 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55708 * nscd/hstcache.c (cache_addhst): Likewise.
55709 * nscd/grpcache.c (cache_addgr): Likewise.
55710 * nscd/aicache.c (addhstaiX): Likewise
55712 2011-07-01 Andreas Schwab <schwab@redhat.com>
55714 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
55715 domain only when needed.
55717 2011-06-30 Andreas Schwab <schwab@redhat.com>
55719 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
55720 is always restored.
55722 2011-06-29 Ulrich Drepper <drepper@gmail.com>
55724 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
55725 are re-adding the entry.
55726 * nscd/servicescache.c (cache_addserv): Likewise.
55728 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
55730 * sysdeps/generic/dl-irel.h: fix protection against multiple
55732 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
55734 2011-06-28 Ulrich Drepper <drepper@gmail.com>
55737 * malloc/memusage.sh: Fix quoting in message.
55738 * debug/xtrace.sh: Likewise.
55740 * configure.in: Remove support for --experimental-malloc option, make
55742 * config.make.in: Likewise.
55743 * malloc/Makefile: Likewise.
55745 2011-06-27 Andreas Schwab <schwab@redhat.com>
55747 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
55748 two-byte characters.
55750 2011-06-27 Roland McGrath <roland@hack.frob.com>
55752 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
55753 AC_CACHE_CHECK invocation.
55754 * configure: Regenerated.
55756 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
55758 2011-06-27 Ulrich Drepper <drepper@gmail.com>
55761 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
55762 bit from old_res_options.
55764 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
55766 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
55767 value type for setfct.
55769 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
55771 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55772 __gettimeofday instead of gettimeofday.
55774 2011-06-26 Ulrich Drepper <drepper@gmail.com>
55776 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
55778 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
55780 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
55782 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
55785 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55787 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55788 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55789 strcpy-sse2-unaligned strncpy-sse2-unaligned
55790 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
55791 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
55792 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
55793 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
55794 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
55795 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
55796 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
55797 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
55798 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
55799 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
55800 (STRCPY): Support SSE2 and SSSE3 versions.
55802 2011-06-24 Ulrich Drepper <drepper@gmail.com>
55805 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
55806 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
55807 kernels which artificially limit size of requests.
55809 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55811 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55812 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55813 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
55814 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
55815 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
55816 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
55817 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
55818 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
55819 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
55820 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
55821 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
55822 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
55823 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
55824 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
55825 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
55826 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55827 Enable unaligned load optimization for Intel Core i3, i5 and i7
55829 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
55831 (index_Fast_Unaligned_Load): Define.
55832 (HAS_FAST_UNALIGNED_LOAD): Define.
55834 2011-06-23 Marek Polacek <mpolacek@redhat.com>
55836 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
55838 2011-06-22 Ulrich Drepper <drepper@gmail.com>
55841 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
55842 until it is clear that the information is realy needed.
55843 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
55845 2011-06-22 Andreas Schwab <schwab@redhat.com>
55847 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
55849 2011-06-22 Ulrich Drepper <drepper@gmail.com>
55851 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55852 /sys/devices/system/cpu/online if it is usable.
55854 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
55855 reading the information from the /proc filesystem to once a second.
55857 2011-06-21 Andreas Jaeger <aj@suse.de>
55859 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55860 NULL after inclusion of kernel headers.
55862 2011-06-21 Ulrich Drepper <drepper@gmail.com>
55864 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55865 calls to internal_setent.
55868 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55869 addresses using gethostbyname4_r ignore IPv4 addresses.
55871 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55872 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
55874 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55876 2011-06-20 David S. Miller <davem@davemloft.net>
55878 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55880 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55882 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55883 (elf_irel): Use it.
55884 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55885 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55886 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55887 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55888 * sysdeps/x86_64/dl-irel.h: Likewise.
55890 * elf/dl-runtime.c: Use elf_ifunc_invoke.
55891 * elf/dl-sym.c: Likewise.
55893 2011-06-15 Ulrich Drepper <drepper@gmail.com>
55895 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
55896 need to dereference resplen2.
55898 2011-06-14 Andreas Schwab <schwab@redhat.com>
55900 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55902 2011-06-15 Ulrich Drepper <drepper@gmail.com>
55904 * Makeconfig: Define vardbdir and inst_vardbdir.
55905 * nss/Makefile: Add rules to install db-Makefile.
55907 * nss/nss_db/db-XXX.c: Cleanup.
55909 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55910 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55912 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55913 * nss/makedb.c: Implement -g option to specify that value strings
55914 are generated and should not be added to table iterated over for
55916 * nss/nss_db/db-initgroups.c: New file.
55918 * nss/getent.c: Add support for initgroups lookups through getgrouplist
55921 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55922 (internal_getgrouplist): Adjust to name change.
55923 Update use_initgroups_entry if this is not the first call.
55924 * nss/databases.def: Add initgroups entry.
55926 * nss/makedb.c (compute_tables): Check result of multiple hash table
55927 sizes to minimize maximum chain length.
55929 2011-06-14 Ulrich Drepper <drepper@gmail.com>
55931 * Versions.def: Add entry for libnss_db.
55932 * shlib-versions: Likewise.
55933 * nss/Makefile: Add rules to build libnss_db.
55934 * nss/Versions: Add libnss_db information. Organize libnss_files
55936 * nss/db-Makefile: Add gshadow support. Change rules for the new
55937 makedb progra. Some minor improvements to generate smaller files.
55938 * nss/nss_db/nss_db.h: Move NSS database header data structures to
55940 * nss/makedb.c: ...here.
55941 Improve database format to be smaller and require less memory at
55943 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
55945 * nss/nss_db/db-netgrp.c: Likewise.
55946 * nss/nss_db/db-open.c: Likewise.
55947 * nss/nss_files/flies-XXX.x: Adjust comments.
55948 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55949 * nss/nss_files/files-grp.c: Likewise.
55950 * nss/nss_files/files-hosts.c: Likewise.
55951 * nss/nss_files/files-network.c: Likewise.
55952 * nss/nss_files/files-proto.c: Likewise.
55953 * nss/nss_files/files-pwd.c: Likewise.
55954 * nss/nss_files/files-rpc.c: Likewise.
55955 * nss/nss_files/files-service.c: Likewise.
55956 * nss/nss_files/files-sgrp.c: Likewise.
55957 * nss/nss_files/files-spwd.c: Likewise.
55958 * nss/nss_db/db-alias.c: Removed.
55959 * nss/nss_db/dummy-db.h: Removed.
55961 2011-06-02 Ulrich Drepper <drepper@gmail.com>
55963 * nss/makedb.c: Rewritten to not use database library.
55964 * nss/Makefile: Update to build new makedb program.
55966 2011-06-14 Andreas Jaeger <aj@suse.de>
55968 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55969 memset declaration.
55971 2011-06-10 Andreas Schwab <schwab@redhat.com>
55973 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55976 2011-06-10 Roland McGrath <roland@hack.frob.com>
55978 * Makerules (shlib.lds): Fail if the linker script comes out empty.
55979 * elf/Makefile ($(objpfx)ld.so): Likewise.
55981 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55982 Don't list ld.so twice in dependencies.
55984 * posix/bug-regex31.c: Include <stdlib.h>.
55986 * nscd/hstcache.c (cache_addhst): Remove unused variable.
55988 * nis/nss_compat/compat-spwd.c
55989 (getspent_next_nss_netgr): Remove unused variable.
55990 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55992 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55993 nonmembers" output to use the right array.
55995 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55997 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55999 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
56000 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
56001 * catgets/gencat.c (read_input_file): Likewise.
56002 * locale/programs/locarchive.c (enlarge_archive): Likewise.
56004 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
56005 variable definition inside #if's controlling its use.
56007 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
56009 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
56011 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
56013 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
56016 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
56018 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
56019 * configure: Regenerated.
56021 * Makerules: Revert last change.
56022 * elf/Makefile: Likewise.
56024 2011-06-09 Roland McGrath <roland@hack.frob.com>
56026 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
56027 * elf/Makefile ($(objpfx)librtld.os): Likewise.
56028 (reloc-link): Likewise.
56030 2011-06-09 Ulrich Drepper <drepper@gmail.com>
56032 * elf/Makefile: Add rules to build pldd.
56033 * elf/pldd.c: New file.
56034 * elf/pldd-xx.c: New file.
56036 2011-06-07 Ulrich Drepper <drepper@gmail.com>
56038 * version.h: Update for 2.15 development version.
56040 2011-06-07 David S. Miller <davem@davemloft.net>
56042 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
56044 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
56045 elf_machine_lazy_rel): Likewise.
56046 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
56047 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
56048 elf_machine_lazy_rel): Likewise.
56049 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
56050 dl_hwcap via passed in argument.
56051 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
56054 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56056 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
56058 2011-06-06 Roland McGrath <roland@hack.frob.com>
56061 * manual/fdl-1.1.texi: New file, verbatim from:
56062 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
56063 * manual/lgpl-2.1.texi: New file, verbatim from:
56064 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
56065 * manual/Makefile (licenses): New variable, list those new file names.
56067 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
56069 * manual/fdl.texi: File removed.
56070 * manual/lesser.texi: File removed.
56071 * manual/libc.texinfo (Copying, Documentation License):
56072 Use new @include file names, put @appendix directive before @include.
56074 2011-06-04 Jakub Jelinek <jakub@redhat.com>
56077 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
56078 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
56079 (mq_open): Add __NTH.
56081 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
56083 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56084 Assume Intel Core i3/i5/i7 processor if AVX is available.
56086 2011-05-31 Ulrich Drepper <drepper@gmail.com>
56088 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
56091 2011-05-31 Andreas Schwab <schwab@redhat.com>
56093 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
56094 memory. Use alloca_account. Fix memory leak when retrying.
56096 2011-05-31 Ulrich Drepper <drepper@gmail.com>
56098 * version.h (RELEASE): Bump for 2.14 release.
56099 * include/features.h (__GLIBC_MINOR__): Bump to 14.
56101 * config.make.in (RANLIB): Remove entry.
56103 2011-05-30 Ulrich Drepper <drepper@gmail.com>
56105 * po/Makefile (po-sed-cmd): Add ksh to extensions.
56106 (libc.pot): Work around missing support for .ksh extension in xgettext.
56109 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
56110 if both request failed.
56111 (send_dg): In case of server errors clear resplen or *resplen2.
56114 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
56115 when there are multiple maps.
56116 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
56117 (_dl_fini): Remove test here.
56119 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
56121 2011-05-29 Ulrich Drepper <drepper@gmail.com>
56124 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
56125 bit from old_res_options.
56126 (gaih_inet): Likewise.
56129 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
56132 * resolv/res_init.c (res_setoptions): Make the code more compact.
56135 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
56139 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
56141 * malloc/malloc.h: Mark malloc hook variables as deprecated.
56144 * malloc/malloc.h: Declare malloc hook variables as volatile.
56146 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
56150 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
56151 raise in the comment.
56152 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56153 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56154 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
56156 2011-05-28 Ulrich Drepper <drepper@gmail.com>
56159 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
56160 grow the buffers more if it already has to be sufficient.
56161 (build_wcs_upper_buffer): Likewise.
56162 * posix/regexec.c (check_matching): Likewise.
56163 (clean_state_log_if_needed): Likewise.
56164 (extend_buffers): Don't enlarge buffers beyond size of the input
56166 Patches mostly by Emil Wojak <emil@wojak.eu>.
56167 * posix/bug-regex32.c: New file.
56168 * posix/Makefile (tests): Add bug-regex32.
56170 * locale/findlocale.c (_nl_find_locale): Return right away if
56171 _nl_explode_name failed.
56172 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
56174 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
56176 * debug/xtrace.sh: Unify messages.
56177 * malloc/memusage.sh: Likewise.
56180 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
56181 time symbol from vDSO. Substitute with vsyscall if not available.
56182 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
56185 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
56186 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
56187 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
56188 Add sendmmsg and internal_sendmmsg.
56189 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
56190 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
56191 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
56193 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
56194 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
56195 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
56197 2011-05-27 Ulrich Drepper <drepper@gmail.com>
56200 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
56201 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
56203 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
56207 * iconvdata/Makefile (tests): Add bug-iconv9.
56208 * iconvdata/bug-iconv9.c: New file.
56210 2011-05-27 Andreas Schwab <schwab@redhat.com>
56213 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
56215 2011-05-25 Jakub Jelinek <jakub@redhat.com>
56217 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
56218 (struct user_regs_struct): Change intcs field back to cs.
56220 2011-05-25 Ulrich Drepper <drepper@gmail.com>
56222 * po/ja.po: Update from translation team.
56224 2011-05-23 Ulrich Drepper <drepper@gmail.com>
56227 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
56228 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
56230 2011-05-20 Andreas Schwab <schwab@redhat.com>
56232 * stdlib/longlong.h: Update from GCC.
56234 2011-05-23 Andreas Schwab <schwab@redhat.com>
56236 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
56238 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
56239 Add parameter name.
56240 (__sysconf): Pass it down.
56242 2011-05-22 Ulrich Drepper <drepper@gmail.com>
56245 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
56247 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
56248 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
56249 add in in __libc_use_alloca calls. Adjust callers.
56250 (glob): Use malloc in some situations.
56252 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
56253 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
56256 2011-05-21 Ulrich Drepper <drepper@gmail.com>
56258 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
56259 and CLOCK_BOOTTIME_ALARM.
56262 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
56265 * string/_strerror.c (__strerror_r): Print negative errors as signed
56269 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
56270 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
56271 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
56273 * configure.in: Fix typo in redirection and correct removal of test
56274 files in two cases.
56277 * locale/setlocale.c (new_composite_name): Fix test to check for
56278 identical name of all categories.
56281 * libio/filedoalloc.c (local_isatty): New function.
56282 (_IO_file_doallocate): Use local_isatty.
56283 * stdio-common/perror.c (perror): In case a new stream is used
56284 forward the stream error.
56285 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
56288 2011-05-20 Ulrich Drepper <drepper@gmail.com>
56291 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
56293 * include/alloca.h (extend_alloca_account): Define.
56296 * posix/regex.h: Fix comments with documentation of user-accessible
56297 fields after compilation and describe correct free'ing of pattern
56298 after re_compile_pattern.
56299 Patch by Reuben Thomas <rrt@sc3d.org>.
56301 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
56303 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
56304 and -mno-altivec to prevent the compiler from using Altivec and/or
56305 VSX instructions when the corresponding registers are not available.
56307 2011-05-19 Andreas Schwab <schwab@redhat.com>
56309 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
56311 2011-05-19 Ulrich Drepper <drepper@gmail.com>
56313 * libio/freopen.c (freopen): Use __dup2, not dup2.
56314 * libio/freopen64.c (freopen64): Likewise.
56316 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
56319 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
56320 * math/Makefile (tests): Add test-powl.
56321 (CFLAGS-test-powl.c): Define.
56322 * math/test-powl.c: New file.
56324 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
56326 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
56328 2011-05-17 Ulrich Drepper <drepper@gmail.com>
56331 * iconvdata/gb18030.c: Update to GB18020-2005.
56333 2011-05-16 Ulrich Drepper <drepper@gmail.com>
56335 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
56336 RE_SYNTAX_POSIX_AWK): Update to match recent development.
56337 Patch by Aharon Robbins <arnold@skeeve.com>.
56340 * stdlib/putenv.c (putenv): Don't always create copy of the variable
56344 * misc/pselect.c (__pselect): Handle timeout value errors hidden
56345 through underflows.
56348 * misc/error.c (error_at_line): Ensure file_name and old_file_name
56349 point to strings before performing equality test for error_one_per_line
56353 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
56356 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
56357 (struct user_fpregs_struct): Avoid __uint*_t types.
56360 * malloc/mtrace.c (tr_where): Add additional parameter to point to
56361 symbol info. Use it instead of calling _dl_addr locally.
56362 (lock_and_info): New function.
56363 (tr_freehook): Call lock_and_info and pass symbol info as additional
56364 parameter to tr_where.
56365 (tr_mallochook): Likewise.
56366 (tr_reallochook): Likewise.
56367 (tr_memalignhook): Likewise.
56369 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
56370 used and couldn't be at all thread-safe.
56372 2011-05-15 Ulrich Drepper <drepper@gmail.com>
56374 * libio/freopen.c (freopen): Don't close old file descriptor
56375 before the new one is opened. Instead dup the new file descriptor
56376 to the old one after the new stream is created.
56377 * libio/freopen64.c (freopen64): Likewise.
56378 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
56379 * libio/fileops.c (_IO_new_file_close_it): Handle new
56380 _IO_FLAGS2_NOCLOSE flag.
56381 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
56382 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
56383 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
56384 _IO_FLAGS2_NOCLOSE flag.
56385 * include/unistd.h: Add hidden_proto for dup3.
56386 Define __have_dup3.
56387 * io/dup3.c: Define hidden symbol.
56388 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
56391 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
56392 when an incomplete long option is used.
56393 * posix/tst-getopt_long1.c: New file.
56394 * posix/Makefile (tests): Add tst-getopt_long1.
56397 * scripts/config.guess: Update from autoconf-2.68.
56398 * scripts/config.sub: Likewise.
56401 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
56403 (has_cpuclock): ...this. New function.
56404 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
56405 macro here based on has_cpuclock code.
56408 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56409 First byte (not low byte) is now always NUL.
56410 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
56412 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56413 Use non-cancelable interfaces.
56416 * locale/iso-639.def: Add entry for Sorani.
56419 * include/stdlib.h: Move include protection to the right place.
56420 Define abort_msg_s. Declare __abort_msg with it.
56421 * stdlib/abort.c (__abort_msg): Adjust type.
56422 * assert/assert.c (__assert_fail_base): New function. Majority
56423 of code from __assert_fail. Allocate memory for __abort_msg with
56425 (__assert_fail): Now call __assert_fail_base.
56426 * assert/assert-perr.c: Remove bulk of implementation. Use
56427 __assert_fail_base.
56428 * include/assert.hL Declare __assert_fail_base.
56429 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
56431 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
56433 2011-05-14 Ulrich Drepper <drepper@gmail.com>
56437 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
56438 until all modules are registered in the DTV.
56439 * elf/Makefile: Add rules to build and run tst-tls19.
56440 * elf/tst-tls19.c: New file.
56441 * elf/tst-tls19mod1.c: New file.
56442 * elf/tst-tls19mod2.c: New file.
56443 * elf/tst-tls19mod3.c: New file.
56444 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
56447 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
56451 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
56452 two-byte sequence errors.
56453 * iconvdata/Makefile (tests): Add bug-iconv8.
56454 * iconvdata/bug-iconv8.c: New file.
56457 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
56460 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
56463 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
56464 (dummy_getcfa): New function.
56465 (init): Get _Unwind_GetCFA address, use dummy if not found.
56466 (backtrace_helper): In recursion check, also check whether CFA changes.
56467 (__backtrace): Completely initialize arg.
56469 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
56470 storing incomplete byte sequence in state object. Avoid testing for
56471 guaranteed too small input if we know there is enough data available.
56473 2011-05-11 Andreas Schwab <schwab@redhat.com>
56475 * Makeconfig (+link-pie): Indent.
56476 * Rules (binaries-pie): Define if $(have-fpie) and
56478 (binaries-shared): Also filter out $(binaries-pie).
56479 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
56480 * nscd/Makefile (others-pie): Add nscd.
56481 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
56482 ($(objpfx)nscd): Remove command override.
56483 * login/Makefile (others-pie): Add pt_chown.
56484 ($(objpfx)pt_chown): Remove command override.
56485 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
56486 remove command overrides.
56488 2011-05-13 Ulrich Drepper <drepper@gmail.com>
56490 * libio/tst_putwc.c: Fix error messages.
56493 * libio/fileops.c (_IO_new_file_close_it): Always flush when
56494 currently writing and seek to current position when not.
56495 * libio/Makefile (tests): Add bug-fclose1.
56496 * libio/bug-fclose1.c: New file.
56498 2011-05-12 Ulrich Drepper <drepper@gmail.com>
56501 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
56502 don't set DF_1_NODELETE here.
56503 (do_lookup_x): When entering new entry test for copy relocation
56504 and if necessary set DF_1_NODELETE flag.
56505 * elf/tst-unique4.cc: New file.
56506 * elf/tst-unique4.h: New file.
56507 * elf/tst-unique4lib.cc: New file.
56508 * elf/Makefile: Add rules to build and run tst-unique4.
56509 Patch by Piotr Bury <pbury@goahead.com>.
56511 2011-05-11 Ulrich Drepper <drepper@gmail.com>
56514 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
56517 * misc/mntent_r.c (addmntent): Flush the stream after the output
56520 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
56521 (is_trusted_path_normalize): Skip initial colon. Append slash
56522 to empty buffer. Duplicate is_trusted_path code but allow
56523 constructed patch to be prefix.
56524 (is_dst): Allow $ORIGIN followed by /.
56525 (_dl_dst_substitute): Correct clearing of check_for_trusted.
56526 Correct testing of result of is_trusted_path_normalize
56527 (decompose_rpath): Fix warning.
56529 2011-05-10 Ulrich Drepper <drepper@gmail.com>
56532 * grp/initgroups.c (internal_getgrouplist): When we found the service
56533 list through the initgroups entry in nsswitch.conf do not always
56534 continue on a successful lookup. Don't always use the
56535 __nss_group_database value if it is set.
56536 * nss/nsswitch.conf (initgroups): Change action for successful db
56537 lookup to continue for compatibility.
56539 2011-05-09 Ulrich Drepper <drepper@gmail.com>
56542 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
56544 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
56546 * iconvdata/tst-tables.sh: Likewise.
56547 * iconvdata/cp770.c: New file.
56548 * iconvdata/cp771.c: New file.
56549 * iconvdata/cp772.c: New file.
56550 * iconvdata/cp773.c: New file.
56551 * iconvdata/cp774.c: New file.
56552 * iconvdata/testdata/CP770: New file.
56553 * iconvdata/testdata/CP770..UTF8: New file.
56554 * iconvdata/testdata/CP771: New file.
56555 * iconvdata/testdata/CP771..UTF8: New file.
56556 * iconvdata/testdata/CP772: New file.
56557 * iconvdata/testdata/CP772..UTF8: New file.
56558 * iconvdata/testdata/CP773: New file.
56559 * iconvdata/testdata/CP773..UTF8: New file.
56560 * iconvdata/testdata/CP774: New file.
56561 * iconvdata/testdata/CP774..UTF8: New file.
56563 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
56565 * iconvdata/gen-8bit-gap.sh: Likewise.
56566 * iconvdata/gen-8bit.sh: Likewise.
56568 * locale/iso-639.def: Add ary entry.
56571 * locale/C-translit.h.in: Add U20A1 transliteration.
56574 * locale/iso-639.def: Add wae entry.
56575 Patch by Kevin Bortis <bortis@translate-wae.ch>.
56578 * locale/programs/localedef.c (construct_output_path): Use ssize_t
56582 * locale/C-translit.h.in: Add entry for U20B9.
56583 Patch by pravin.d.s@gmail.com.
56585 2011-05-08 Ulrich Drepper <drepper@gmail.com>
56588 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
56589 ENAMETOOLONG use generic getcwd.
56590 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
56591 in rtld. Use *stat64.
56592 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
56593 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
56594 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
56595 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
56596 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
56597 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
56598 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
56599 __fstatat64 macros.
56600 * include/dirent.h: Add libc_hidden_proto for rewinddir.
56601 * dirent/rewinddir.c: Add libc_hidden_def.
56602 * sysdeps/mach/hurd/rewinddir.c: Likewise.
56603 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
56605 * include/dirent.h (__alloc_dir): Add flags parameter.
56606 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
56607 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
56609 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
56610 from fdopendir if O_CLOEXEC is already set.
56612 2011-03-15 Alan Modra <amodra@gmail.com>
56614 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
56615 l_tls_firstbyte_offset non-zero. Save padding offset in
56616 l_tls_firstbyte_offset for later use.
56617 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
56618 freeing static tls block.
56620 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
56622 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
56623 where #ifdef was intended. The intent is to prevent ARG_MAX from
56624 being defined by the kernel headers.
56626 2011-05-07 Ulrich Drepper <drepper@gmail.com>
56629 * resolv/resolv.h: Define RES_NOTLDQUERY.
56630 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
56631 no-tld-query and set RES_NOTLDQUERY.
56632 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
56633 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
56634 modern BIND to search name as TLD unless forbidden.
56636 2011-05-07 Petr Baudis <pasky@suse.cz>
56637 Ulrich Drepper <drepper@gmail.com>
56640 * elf/dl-load.c (fillin_rpath): Move trusted path check...
56641 (is_trusted_path): ...to here.
56642 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
56643 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
56644 using is_trusted_path_normalize() in setuid scripts.
56646 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
56648 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
56649 __BEGIN/__END_DECLS.
56651 2011-05-06 Ulrich Drepper <drepper@gmail.com>
56653 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
56654 NSS_STATUS_NOTFOUND if no record was found.
56656 2011-05-05 Andreas Schwab <schwab@redhat.com>
56658 * sunrpc/Makefile (headers): Add rpc/netdb.h.
56659 (headers-not-in-tirpc): Remove rpc/netdb.h
56660 * resolv/netdb.h: Revert last change.
56662 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
56664 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
56665 circular dependency between libgcc.a and libc.a.
56667 2011-05-05 Andreas Schwab <schwab@redhat.com>
56669 * resolv/netdb.h: Don't include <rpc/netdb.h>.
56670 * nis/Makefile: Don't install rpcsvc/*.
56671 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
56672 instead of <rpc/types.h>.
56673 (MAXHOSTNAMELEN): Define.
56675 2011-05-03 Andreas Schwab <schwab@redhat.com>
56677 * elf/ldconfig.c (add_dir): Don't crash on empty path.
56679 2011-04-28 Maciej Babinski <mbabinski@google.com>
56682 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
56683 gethostbyname4_r when IPv6 results are possible.
56685 2011-05-02 Ulrich Drepper <drepper@gmail.com>
56688 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
56689 _PC_PIPE_BUF handling.
56691 2011-04-30 Bruno Haible <bruno@clisp.org>
56694 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
56695 * resolv/netdb.h (getnameinfo): Change type of flags parameter
56697 * inet/getnameinfo.c (getnameinfo): Likewise.
56699 2011-04-29 Ulrich Drepper <drepper@gmail.com>
56701 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
56702 to groups setting in database lookup.
56703 * nss/nsswitch.conf: Add initgroups entry.
56705 2011-04-22 Ulrich Drepper <drepper@gmail.com>
56708 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
56710 Patch by Eric Blake <eblake@redhat.com>.
56712 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
56714 * sunrpc/Makefile (need-export-routines): Add svc_run.
56715 (routines): Remove svc_run.
56716 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
56717 * sunrpc/clnt_perr.c (clnt_perrno): Export.
56718 * sunrpc/svc_run.c (svc_run): Likewise.
56719 * sunrpc/svc_udp.c (svcudp_create): Likewise.
56721 2011-04-21 Ulrich Drepper <drepper@gmail.com>
56723 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
56724 problem in reallocation in last patch.
56726 2011-04-20 Ulrich Drepper <drepper@gmail.com>
56728 * sunrpc/Makefile: Move inclusion of Rules.
56730 2011-04-19 Ulrich Drepper <drepper@gmail.com>
56732 * nss/nss_files/files-initgroups.c: New file.
56733 * nss/Makefile (libnss_files-routines): Add files-initgroups.
56734 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
56735 _nss_files_initgroups_dyn.
56737 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
56739 * elf/elf.h (R_ARM_IRELATIVE): Define.
56741 2011-04-19 Ulrich Drepper <drepper@gmail.com>
56743 * po/ru.po: Update from translation team.
56745 2011-04-17 Ulrich Drepper <drepper@gmail.com>
56747 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
56750 2011-02-06 Mike Frysinger <vapier@gentoo.org>
56753 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
56754 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
56755 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56756 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56757 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56759 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
56761 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
56763 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56764 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56765 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56767 2011-04-17 Ulrich Drepper <drepper@gmail.com>
56770 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
56772 * stdlib/bug-getcontext.c: New file.
56773 * stdlib/Makefile: Add rules to build and run bug-getcontext.
56775 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56777 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
56778 instructions into .machine "z9-109".
56779 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
56780 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
56782 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56784 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
56785 between environment variables and auxiliary vector.
56787 2011-04-16 Ulrich Drepper <drepper@gmail.com>
56789 * Makefile: Add rules to build linkobj/libc.so.
56790 * include/libc-symbols.h: Define libc_hidden_nolink.
56791 * include/rpc/auth.h: Mark functions which are to be hidden.
56792 * include/rpc/auth_des.h: Likewise.
56793 * include/rpc/auth_unix.h: Likewise.
56794 * include/rpc/clnt.h: Likewise.
56795 * include/rpc/des_crypt.h: Likewise.
56796 * include/rpc/key_prot.h: Likewise.
56797 * include/rpc/pmap_clnt.h: Likewise.
56798 * include/rpc/pmap_prot.h: Likewise.
56799 * include/rpc/pmap_rmt.h: Likewise.
56800 * include/rpc/rpc_msg.h: Likewise.
56801 * include/rpc/svc.h: Likewise.
56802 * include/rpc/svc_auth.h: Likewise.
56803 * include/rpc/xdr.h: Likewise.
56804 * nis/Makefile: Link all DSOs against linkobj/libc.so.
56805 * nss/Makefile: Likewise.
56806 * sunrpc/Makefile: Don't install headers. Build library with normal
56807 entry points. Don't build rpcinfo. Link RPC tests appropriately.
56808 * sunrpc/auth_des.c: Hide exported symbols by default, export some
56809 for the compat linking library. Remove use of INTDEF/INTUSE.
56810 * sunrpc/auth_none.c: Likewise.
56811 * sunrpc/auth_unix.c: Likewise.
56812 * sunrpc/authdes_prot.c: Likewise.
56813 * sunrpc/authuxprot.c: Likewise.
56814 * sunrpc/clnt_gen.c: Likewise.
56815 * sunrpc/clnt_perr.c: Likewise.
56816 * sunrpc/clnt_raw.c: Likewise.
56817 * sunrpc/clnt_simp.c: Likewise.
56818 * sunrpc/clnt_tcp.c: Likewise.
56819 * sunrpc/clnt_udp.c: Likewise.
56820 * sunrpc/clnt_unix.c: Likewise.
56821 * sunrpc/des_crypt.c: Likewise.
56822 * sunrpc/des_soft.c: Likewise.
56823 * sunrpc/get_myaddr.c: Likewise.
56824 * sunrpc/key_call.c: Likewise.
56825 * sunrpc/key_prot.c: Likewise.
56826 * sunrpc/netname.c: Likewise.
56827 * sunrpc/pm_getmaps.c: Likewise.
56828 * sunrpc/pm_getport.c: Likewise.
56829 * sunrpc/pmap_clnt.c: Likewise.
56830 * sunrpc/pmap_prot.c: Likewise.
56831 * sunrpc/pmap_prot2.c: Likewise.
56832 * sunrpc/pmap_rmt.c: Likewise.
56833 * sunrpc/publickey.c: Likewise.
56834 * sunrpc/rpc_cmsg.c: Likewise.
56835 * sunrpc/rpc_common.c: Likewise.
56836 * sunrpc/rpc_dtable.c: Likewise.
56837 * sunrpc/rpc_prot.c: Likewise.
56838 * sunrpc/rpc_thread.c: Likewise.
56839 * sunrpc/rtime.c: Likewise.
56840 * sunrpc/svc.c: Likewise.
56841 * sunrpc/svc_auth.c: Likewise.
56842 * sunrpc/svc_authux.c: Likewise.
56843 * sunrpc/svc_raw.c: Likewise.
56844 * sunrpc/svc_run.c: Likewise.
56845 * sunrpc/svc_simple.c: Likewise.
56846 * sunrpc/svc_tcp.c: Likewise.
56847 * sunrpc/svc_udp.c: Likewise.
56848 * sunrpc/svc_unix.c: Likewise.
56849 * sunrpc/svcauth_des.c: Likewise.
56850 * sunrpc/xcrypt.c: Likewise.
56851 * sunrpc/xdr.c: Likewise.
56852 * sunrpc/xdr_array.c: Likewise.
56853 * sunrpc/xdr_float.c: Likewise.
56854 * sunrpc/xdr_intXX_t.c: Likewise.
56855 * sunrpc/xdr_mem.c: Likewise.
56856 * sunrpc/xdr_rec.c: Likewise.
56857 * sunrpc/xdr_ref.c: Likewise.
56858 * sunrpc/xdr_sizeof.c: Likewise.
56859 * sunrpc/xdr_stdio.c: Likewise.
56861 2011-04-10 Ulrich Drepper <drepper@gmail.com>
56864 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56865 * sysdeps/ia64/dl-tls.h: Likewise.
56866 * sysdeps/powerpc/dl-tls.h: Likewise.
56867 * sysdeps/s390/dl-tls.h: Likewise.
56868 * sysdeps/sh/dl-tls.h: Likewise.
56869 * sysdeps/sparc/dl-tls.h: Likewise.
56870 * sysdeps/x86_64/dl-tls.h: Likewise.
56871 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56873 2011-03-14 Andreas Schwab <schwab@redhat.com>
56875 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56876 rpath element also skip the following colon.
56877 (expand_dynamic_string_token): Add is_path parameter and pass
56878 down to DL_DST_REQUIRED and _dl_dst_substitute.
56879 (decompose_rpath): Call expand_dynamic_string_token with
56880 non-zero is_path. Ignore empty rpaths.
56881 (_dl_map_object_from_fd): Call expand_dynamic_string_token
56884 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
56886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56889 2011-04-09 Ulrich Drepper <drepper@gmail.com>
56892 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56893 Patch by Filipe David Manana <fdmanana@apache.org>.
56895 2011-04-07 Andreas Schwab <schwab@redhat.com>
56897 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56898 Maintain aligned stack.
56899 (CHECK_RSP): Remove unused macro.
56901 2011-04-03 Ulrich Drepper <drepper@gmail.com>
56903 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56904 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56906 2011-04-02 Ulrich Drepper <drepper@gmail.com>
56908 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56910 * include/features.h: Mention __USE_XOPEN2K8 in comment.
56912 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
56915 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56916 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56917 * sysdeps/x86_64/memmove.c: New file.
56918 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56919 (memcpy): Renamed to ...
56920 (__new_memcpy): This.
56921 (memcpy): Provide GLIBC_2_14 memcpy.
56922 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56923 (memcpy): Provide GLIBC_2_2_5 memcpy.
56925 2011-04-01 Ulrich Drepper <drepper@gmail.com>
56928 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56930 2011-03-30 Andreas Schwab <schwab@redhat.com>
56932 * misc/syncfs.c: New file.
56933 * misc/Makefile (routines): Add syncfs.
56934 * posix/unistd.h: Declare syncfs.
56935 * sysdeps/unix/syscalls.list: Add syncfs.
56937 2011-04-01 Andreas Schwab <schwab@redhat.com>
56939 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56941 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56942 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56943 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56944 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56945 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56946 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56947 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56949 2011-04-01 Ulrich Drepper <drepper@gmail.com>
56951 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56952 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56953 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56954 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56955 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56956 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56957 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56959 * io/Makefile: Compile fallocate.c, fallocate64.c, and
56960 sync_file_range.c with -fexceptions.
56961 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56962 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56963 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56964 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56965 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56966 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56967 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
56968 sync_file_range as cancellation point
56969 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
56970 now a wrapper around __call_sync_file_range with cancellation handling.
56971 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56972 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
56973 function name to __call_sync_file_range.
56974 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56975 Add call_sync_file_range.
56977 2011-04-01 Andreas Schwab <schwab@redhat.com>
56979 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56982 2011-04-01 Ulrich Drepper <drepper@gmail.com>
56984 * iconv/iconv.h: Fix typo in comment.
56985 * io/fcntl.h: Likewise.
56986 * libio/stdio.h: Likewise.
56987 * posix/spawn.h: Likewise.
56988 * posix/unistd.h: Likewise.
56989 * stdlib/stdlib.h: Likewise.
56990 * time/time.h: Likewise.
56991 * wcsmbs/wchar.h: Likewise.
56993 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56994 open_by_handle): Add.
56995 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56996 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
56997 Augment a few comments.
56998 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56999 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57000 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57001 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57002 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57003 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
57006 * io/fcntl.h (AT_EMPTY_PATH): Define.
57008 2011-03-30 Ulrich Drepper <drepper@gmail.com>
57010 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
57011 * sysdeps/unix/sysv/linux/bits/time.h: New file.
57012 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
57014 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
57015 * Versions.def: Add GLIBC_2.14.
57016 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
57019 2011-03-22 Ulrich Drepper <drepper@gmail.com>
57021 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
57023 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
57025 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
57028 * string/test-strncmp.c (do_page_test): New function.
57029 (check2): Likewise.
57030 (test_main): Call check2.
57031 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
57033 2011-03-20 Ulrich Drepper <drepper@gmail.com>
57036 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
57037 Handle cache information in CPU leaf 4.
57038 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
57040 2011-03-18 Ulrich Drepper <drepper@gmail.com>
57043 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
57044 character representation.
57045 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
57047 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
57049 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
57050 END(__isnan) to END(__isnanf) to match function entry point/label
57051 EALIGN(__isnanf,...).
57053 2011-03-10 Jakub Jelinek <jakub@redhat.com>
57055 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
57057 2011-03-10 Ulrich Drepper <drepper@gmail.com>
57060 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
57061 copy from the symbol referenced in the relocation to initialize the
57063 Patch by Piotr Bury <pbury@goahead.com>.
57064 * elf/Makefile: Add rules to build and tst-unique3.
57065 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
57066 * elf/tst-unique3.cc: New file.
57067 * elf/tst-unique3.h: New file.
57068 * elf/tst-unique3lib.cc: New file.
57069 * elf/tst-unique3lib2.cc: New file.
57071 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
57073 2011-03-10 Mike Frysinger <vapier@gentoo.org>
57075 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
57076 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
57079 2011-03-06 Ulrich Drepper <drepper@gmail.com>
57081 * elf/dl-load.c (_dl_map_object): If we are looking for the first
57082 to-be-loaded object along a path to loader is ld.so.
57084 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
57085 Ulrich Drepper <drepper@gmail.com>
57087 * sysdeps/x86_64/memset.S: After aligning destination, code
57088 branches to different locations depending on the value of
57089 misalignment, when multiarch is enabled. Fix this.
57091 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
57093 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
57094 Set _x86_64_preferred_memory_instruction for AMD processsors.
57095 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57096 Set bit_Prefer_SSE_for_memop for AMD processors.
57098 2011-03-04 Ulrich Drepper <drepper@gmail.com>
57100 * libio/fmemopen.c (fmemopen): Optimize a bit.
57102 2011-03-03 Andreas Schwab <schwab@redhat.com>
57104 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
57106 2011-03-03 Roland McGrath <roland@redhat.com>
57108 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
57110 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
57112 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
57113 __bzero_ultra1 instead of __memset_ultra1.
57115 2011-02-23 Andreas Schwab <schwab@redhat.com>
57116 Ulrich Drepper <drepper@gmail.com>
57119 * include/link.h (struct link_map): Add l_orig_initfini.
57120 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
57121 returning unsuccessfully.
57122 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
57123 close of a file loaded at startup, restore the original l_initfini
57125 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
57126 list, store the pointer.
57127 * elf/Makefile ($(objpfx)noload-mem): New rule.
57128 (noload-ENV): Define.
57129 (tests): Add $(objpfx)noload-mem.
57130 * elf/noload.c: Include <memcheck.h>.
57131 (main): Call mtrace. Close all opened handles.
57133 2011-02-17 Andreas Schwab <schwab@redhat.com>
57136 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
57137 dependencies are missing.
57139 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
57141 Fix __if_freereq crash: Unlike the generic version which uses free,
57143 * sysdeps/mach/hurd/ifreq.h: New file.
57145 2011-01-27 Petr Baudis <pasky@suse.cz>
57146 Ulrich Drepper <drepper@gmail.com>
57149 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
57150 to extend_alloca().
57151 * stdio-common/bug23.c: New file.
57152 * stdio-common/Makefile (tests): Add bug23.
57154 2010-09-28 Andreas Schwab <schwab@redhat.com>
57155 Ulrich Drepper <drepper@gmail.com>
57158 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
57159 before performing relro protection. At old place add assertion
57160 to make sure nothing changed.
57162 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
57163 Glauber de Oliveira Costa <glommer@gmail.com>
57165 * elf/elf.h: Add new ARM TLS relocs.
57167 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
57169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
57170 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
57172 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
57174 * sysdeps/wordsize-64/tst-writev.c: New file.
57176 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
57178 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
57179 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
57180 insns in _dl_start to prevent a TOC reference before relocs are
57183 2011-02-15 Ulrich Drepper <drepper@gmail.com>
57186 * Makeconfig: Remove RANLIB definition.
57187 * Makerules: Don't use RANLIB.
57188 * aclocal.m4: Remove ranlib test.
57189 * configure.in: No need to check for ranlib.
57190 * elf/rtld-Rules: Don't use RANLIB.
57192 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
57194 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
57196 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
57197 inclusion protection macro.
57199 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
57200 SIGRTMIN and SIGRTMAX and print information in that case only when
57201 SIGRTMIN is defined.
57203 2011-02-11 Jakub Jelinek <jakub@redhat.com>
57205 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
57206 arginfo fn returning -1.
57208 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
57209 and thousands string is zero terminated.
57211 2011-02-03 Andreas Schwab <schwab@redhat.com>
57213 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
57214 sysdeps/unix/sysv/linux/bits/socket.h.
57216 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
57218 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
57219 (__CPU_COUNT): Remove old macros.
57220 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
57221 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
57222 (__CPU_ALLOC, __CPU_FREE): Add macros.
57223 (__sched_cpualloc, __sched_cpufree): Add declarations.
57225 2011-02-05 Ulrich Drepper <drepper@gmail.com>
57227 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
57228 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
57229 * nscd/aicache.c (addhstaiX): Return timeout of added value.
57230 (readdhstai): Return value of addhstaiX call.
57231 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
57232 (addgrbyX): Return value returned by cache_addgr.
57233 (readdgrbyname): Return value returned by addgrbyX.
57234 (readdgrbygid): Likewise.
57235 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
57236 (addpwbyX): Return value returned by cache_addpw.
57237 (readdpwbyname): Return value returned by addhstbyX.
57238 (readdpwbyuid): Likewise.
57239 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
57240 (addservbyX): Return value returned by cache_addserv.
57241 (readdservbyname): Return value returned by addservbyX:
57242 (readdservbyport): Likewise.
57243 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
57244 (addhstbyX): Return value returned by cache_addhst.
57245 (readdhstbyname): Return value returned by addhstbyX.
57246 (readdhstbyaddr): Likewise.
57247 (readdhstbynamev6): Likewise.
57248 (readdhstbyaddrv6): Likewise.
57249 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
57250 (readdinitgroups): Return value returned by addinitgroupsX.
57251 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
57252 (prune_cache): Keep track of timeout value of re-added entries.
57253 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
57254 * nscd/nscd.h: Adjust prototypes of readd* functions.
57256 2011-02-04 Roland McGrath <roland@redhat.com>
57258 * nis/nis_server.c (nis_servstate): Use the right name for 0.
57259 (nis_stats): Likewise.
57260 * nis/nis_modify.c (nis_modify): Likewise.
57261 * nis/nis_remove.c (nis_remove): Likewise.
57262 * nis/nis_add.c (nis_add): Likewise.
57264 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
57266 * posix/fnmatch_loop.c: Add some consts.
57268 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
57270 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
57273 * config.make.in (config-cflags-novzeroupper): Define.
57274 * configure.in: Substitute libc_cv_cc_novzeroupper.
57275 * elf/Makefile (AVX-CFLAGS): Define.
57276 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
57277 (CFLAGS-tst-auditmod4a.c): Likewise.
57278 (CFLAGS-tst-auditmod4b.c): Likewise.
57279 (CFLAGS-tst-auditmod6b.c): Likewise.
57280 (CFLAGS-tst-auditmod6c.c): Likewise.
57281 (CFLAGS-tst-auditmod7b.c): Likewise.
57282 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
57284 2011-02-02 Ulrich Drepper <drepper@gmail.com>
57286 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
57287 function to the callback.
57288 Patch partly by Jiri Olsa <jolsa@redhat.com>.
57290 2011-02-02 Andreas Schwab <schwab@redhat.com>
57292 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
57295 2011-01-19 Ulrich Drepper <drepper@gmail.com>
57298 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
57300 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
57302 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
57305 * elf/Makefile: Add rules to build and run new test.
57306 * elf/tst-initorder.c: New file.
57307 * elf/tst-initorder.exp: New file.
57308 * elf/tst-initordera1.c: New file.
57309 * elf/tst-initordera2.c: New file.
57310 * elf/tst-initordera3.c: New file.
57311 * elf/tst-initordera4.c: New file.
57312 * elf/tst-initorderb1.c: New file.
57313 * elf/tst-initorderb2.c: New file.
57314 * elf/tst-order-a1.c: New file.
57315 * elf/tst-order-a2.c: New file.
57316 * elf/tst-order-a3.c: New file.
57317 * elf/tst-order-a4.c: New file.
57318 * elf/tst-order-b1.c: New file.
57319 * elf/tst-order-b2.c: New file.
57320 * elf/tst-order-main.c: New file.
57321 New test case by George Gensure <werkt0@gmail.com>.
57323 2010-10-01 Andreas Schwab <schwab@redhat.com>
57325 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57326 decoding ACE if AI_CANONIDN.
57328 2011-01-18 Ulrich Drepper <drepper@gmail.com>
57330 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
57332 2011-01-17 Ulrich Drepper <drepper@gmail.com>
57334 * version.h (RELEASE): Bump for 2.13 release.
57335 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
57337 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
57339 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
57341 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
57342 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
57343 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
57344 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
57345 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
57346 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
57348 * posix/getconf.c: Update copyright year.
57349 * catgets/gencat.c: Likewise.
57350 * csu/version.c: Likewise.
57351 * debug/catchsegv.sh: Likewise.
57352 * debug/xtrace.sh: Likewise.
57353 * elf/ldconfig.c: Likewise.
57354 * elf/ldd.bash.in: Likewise.
57355 * elf/sprof.c (print_version): Likewise.
57356 * iconv/iconv_prog.c: Likewise.
57357 * iconv/iconvconfig.c: Likewise.
57358 * locale/programs/locale.c: Likewise.
57359 * locale/programs/localedef.c: Likewise.
57360 * malloc/memusage.sh: Likewise.
57361 * malloc/mtrace.pl: Likewise.
57362 * nscd/nscd.c (print_version): Likewise.
57363 * nss/getent.c: Likewise.
57365 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
57366 PF_CAIF, and PF_ALG.
57367 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57369 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
57371 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
57372 (modules-names): Use them.
57373 (ifunc-test-modules, ifunc-pie-tests): Define.
57374 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
57375 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
57376 (test-extras): Likewise.
57377 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
57378 $(compile-command.c).
57379 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
57380 (all-built-dso): Define.
57381 (check-textrel.out, check-execstack.out): Depend on it.
57383 * configure.in: Don't override --enable-multi-arch.
57385 2011-01-15 Ulrich Drepper <drepper@gmail.com>
57388 * nscd/hstcache.c (tryagain): Define.
57389 (cache_addhst): Return tryagain not notfound for temporary errors.
57390 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
57393 2011-01-14 Ulrich Drepper <drepper@gmail.com>
57396 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
57397 to make the syscall.
57398 * sysdeps/unix/sysv/linux/setgroups.c: New file.
57401 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
57402 and fall back to matching as normal character if the string ends before
57403 the matching ']' is found. This is what POSIX requires.
57404 * posix/testfnm.c: Adjust test result.
57405 * posix/globtest.sh: Adjust test result. Add new test.
57406 * posix/tst-fnmatch.input: Likewise.
57407 * posix/tst-fnmatch2.c: Add new test.
57409 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
57411 * elf/Makefile (check-execstack): Revert last change. Depend on
57413 (check-execstack.h): New target.
57414 (generated): Add check-execstack.h.
57415 * elf/check-execstack.c: Include "check-execstack.h".
57416 (main): Revert last change.
57417 (handle_file): Return zero if GNU_STACK is absent and
57418 DEFAULT_STACK_PERMS doesn't include PF_X.
57420 2011-01-13 Ulrich Drepper <drepper@gmail.com>
57422 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
57423 in child fails because the descriptor is already closed.
57424 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
57425 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
57426 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
57429 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
57433 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
57434 temporary buffer used to handle multi lookups locally.
57435 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
57437 2011-01-12 Ulrich Drepper <drepper@gmail.com>
57439 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
57442 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
57444 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
57445 alignment for SSE2.
57447 2011-01-12 Ulrich Drepper <drepper@gmail.com>
57450 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
57451 characters. When rounding increased number of integer digits recompute
57453 * stdio-common/tst-grouping.c: New file.
57454 * stdio-common/Makefile: Add rules to build and run tst-grouping.
57456 2011-01-09 Ulrich Drepper <drepper@gmail.com>
57458 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
57459 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
57461 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
57463 * bits/select.h: Likewise.
57465 2011-01-08 Ulrich Drepper <drepper@gmail.com>
57467 * po/ja.po: Update from translation team.
57469 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
57472 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
57473 implementation just like for lxstat, fxstatat, et al.
57475 2010-12-27 Jim Meyering <meyering@redhat.com>
57478 * posix/regexec.c (build_trtable): Return failure indication upon
57479 calloc failure. Otherwise, re_search_internal could infloop on OOM.
57481 2010-12-25 Ulrich Drepper <drepper@gmail.com>
57484 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
57485 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
57486 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
57487 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
57490 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
57493 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
57494 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
57496 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
57498 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
57499 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
57500 script has SORT_BY_INIT_PRIORITY.
57501 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
57502 NO_CTORS_DTORS_SECTIONS is defined.
57503 * elf/soinit.c: Likewise.
57504 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
57505 NO_CTORS_DTORS_SECTIONS is defined.
57506 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
57507 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
57508 * sysdeps/sh/init-first.c: Likewise.
57509 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
57511 2010-12-24 Ulrich Drepper <drepper@gmail.com>
57513 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
57514 always use the slow path.
57516 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
57518 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
57519 similar rule which adds the sysdep directories to the header search in
57520 order to pick up the correct platform stackinfo.h.
57521 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
57522 perform test if it is, otherwise return successfully without testing.
57523 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
57524 DEFAULT_STACK_PERMS define in stackinfo.h.
57525 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
57526 defined in stackinfo.h.
57527 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
57528 DEFAULT_STACK_PERMS defined in stackinfo.h.
57529 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
57530 * sysdeps/ia64/stackinfo.h: Likewise.
57531 * sysdeps/s390/stackinfo.h: Likewise.
57532 * sysdeps/sh/stackinfo.h: Likewise.
57533 * sysdeps/sparc/stackinfo.h: Likewise.
57534 * sysdeps/x86_64/stackinfo.h: Likewise.
57535 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
57536 PF_X for powerpc64. Retain PF_X for powerpc32.
57538 2010-12-19 Ulrich Drepper <drepper@gmail.com>
57540 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
57542 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
57543 GETDENTS_64BIT_ALIGNED.
57545 2010-12-14 Ulrich Drepper <dreper@gmail.com>
57547 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
57549 2010-12-10 Andreas Schwab <schwab@redhat.com>
57551 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
57554 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
57555 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
57557 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
57558 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
57560 2010-12-09 Ulrich Drepper <drepper@gmail.com>
57563 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
57566 2010-12-09 Jakub Jelinek <jakub@redhat.com>
57568 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
57570 2010-12-03 Ulrich Drepper <drepper@gmail.com>
57572 * po/it.po: Update from translation team.
57574 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
57576 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
57579 2010-11-30 Ulrich Drepper <drepper@gmail.com>
57581 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
57583 2010-11-24 Andreas Schwab <schwab@redhat.com>
57585 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
57587 (gaih_getanswer_slice): Likewise.
57589 2010-10-20 Jakub Jelinek <jakub@redhat.com>
57591 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
57593 2010-05-31 Petr Baudis <pasky@suse.cz>
57596 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
57597 silently even in the chroot mode.
57599 2010-11-22 Ulrich Drepper <drepper@gmail.com>
57601 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
57602 last patch a bit. Pretty printing
57604 2010-05-31 Petr Baudis <pasky@suse.cz>
57607 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
57608 initialization of skip_initgroups_dyn.
57610 2010-11-19 Ulrich Drepper <drepper@gmail.com>
57612 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
57613 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
57615 2010-11-16 Ulrich Drepper <drepper@gmail.com>
57617 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
57619 2010-11-11 Andreas Schwab <schwab@redhat.com>
57621 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
57622 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
57623 (tst-fnmatch-ENV): Set MALLOC_TRACE.
57624 ($(objpfx)tst-fnmatch-mem): New rule.
57625 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
57626 * posix/tst-fnmatch.c (main): Call mtrace.
57628 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
57630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57631 Support Intel processor model 6 and model 0x2c.
57633 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
57635 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
57638 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
57641 * string/test-strncasecmp.c (check_result): New function.
57642 (do_one_test): Use it.
57643 (check1): New function.
57644 (test_main): Use it.
57645 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
57646 Support strcasecmp and strncasecmp.
57648 2010-11-08 Ulrich Drepper <drepper@gmail.com>
57651 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
57652 * sysdeps/x86_64/bits/byteswap.h: Likewise.
57654 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
57656 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
57658 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57660 * sysdeps/x86_64/multiarch/bzero.S: New file.
57661 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
57662 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
57663 * sysdeps/x86_64/multiarch/memset.S: New file.
57664 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
57665 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57666 Set bit_Prefer_SSE_for_memop for Intel processors.
57667 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
57669 (index_Prefer_SSE_for_memop): Define.
57670 (HAS_PREFER_SSE_FOR_MEMOP): Define.
57672 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
57674 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
57675 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
57677 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
57680 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57681 (__x86_64_raw_data_cache_size_half): Likewise.
57682 (__x86_64_raw_shared_cache_size): Likewise.
57683 (__x86_64_raw_shared_cache_size_half): Likewise.
57685 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57686 (__x86_64_raw_data_cache_size_half): Likewise.
57687 (__x86_64_raw_shared_cache_size): Likewise.
57688 (__x86_64_raw_shared_cache_size_half): Likewise.
57689 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
57690 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
57691 and __x86_64_raw_shared_cache_size_half. Round
57692 __x86_64_data_cache_size_half, __x86_64_data_cache_size
57693 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
57694 to multiple of 256 bytes.
57696 2010-11-03 Ulrich Drepper <drepper@gmail.com>
57699 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
57700 of inacessible symlinks. Verify result of symlink before returning it.
57701 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57702 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
57704 2010-10-28 Erich Ritz <erichritz@gmail.com>
57706 * math/math.h (isinf): Fix typo in comment.
57708 2010-11-01 Ulrich Drepper <drepper@gmail.com>
57710 * po/da.po: Update from translation team.
57712 2010-10-26 Ulrich Drepper <drepper@gmail.com>
57714 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
57715 is added to the list.
57717 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57718 Ulrich Drepper <drepper@gmail.com>
57720 * elf/dl-object.c (_dl_new_object): Don't append the new object to
57721 the global list here. Move code to...
57722 (_dl_add_to_namespace_list): ...here. New function.
57723 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
57724 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
57725 * elf/dl-load.c (lose): Don't remove the element from the list.
57726 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
57727 (_dl_map_object): Likewise.
57729 2010-10-25 Ulrich Drepper <drepper@gmail.com>
57732 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
57733 into all bytes of SSE register.
57734 Patch by Richard Li <richardpku@gmail.com>.
57736 2010-10-24 Ulrich Drepper <drepper@gmail.com>
57739 * malloc/malloc.c (_int_free): Fill correct number of bytes when
57742 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
57744 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
57745 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
57746 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
57747 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
57750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
57752 2010-10-22 Andreas Schwab <schwab@redhat.com>
57754 * include/dlfcn.h (__RTLD_SECURE): Define.
57755 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
57756 mode & __RTLD_SECURE instead.
57757 (open_path): Rename preloaded parameter to secure.
57758 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
57759 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
57760 * elf/dl-deps.c (openaux): Likewise.
57761 * elf/rtld.c (struct map_args): Remove is_preloaded.
57762 (map_doit): Don't use it.
57763 (dl_main): Likewise.
57764 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
57765 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
57767 2010-09-09 Andreas Schwab <schwab@redhat.com>
57769 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
57770 (sysd-rules-targets): Remove duplicates.
57771 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
57772 rtld-%.$o dependency.
57774 2010-10-18 Andreas Schwab <schwab@redhat.com>
57776 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
57777 _dl_map_object do it.
57779 2010-10-19 Ulrich Drepper <drepper@gmail.com>
57781 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
57782 fast fma builtins, define the macros in the C99 standard.
57783 (FP_FAST_FMAF): Likewise.
57784 (FP_FAST_FMAL): Likewise.
57785 * sysdeps/x86_64/bits/mathdef.h: Likewise.
57787 * bits/mathdef.h: Update copyright year.
57788 * sysdeps/powerpc/bits/mathdef.h: Likewise.
57790 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
57792 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
57793 builtins, define the macros in the C99 standard.
57794 (FP_FAST_FMAF): Likewise.
57795 (FP_FAST_FMAL): Likewise.
57796 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
57798 (FP_FAST_FMAF): Likewise.
57800 2010-10-15 Jakub Jelinek <jakub@redhat.com>
57803 * math/libm-test.inc (fma_test): Some new testcases.
57804 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
57805 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
57806 y and infinite z. Do multiplication by C already in long double.
57807 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
57808 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
57809 y and infinite z. Do bitwise or of inexact bit into u.d.
57810 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
57811 * sysdeps/i386/fpu/s_fmaf.S: Removed.
57812 * sysdeps/i386/fpu/s_fma.S: Removed.
57813 * sysdeps/i386/fpu/s_fmal.S: Removed.
57815 2010-10-16 Jakub Jelinek <jakub@redhat.com>
57818 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
57819 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
57820 computation is not scheduled after fetestexcept. Fix value
57821 of minimum denormal long double.
57823 2010-10-14 Jakub Jelinek <jakub@redhat.com>
57826 * math/libm-test.inc (fma_test): Add some more tests.
57827 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
57830 2010-10-15 Andreas Schwab <schwab@redhat.com>
57832 * scripts/data/localplt-s390-linux-gnu.data: New file.
57833 * scripts/data/localplt-s390x-linux-gnu.data: New file.
57835 2010-10-13 Jakub Jelinek <jakub@redhat.com>
57838 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
57839 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
57841 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
57843 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
57844 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
57845 if one of x and y is very large and the other is subnormal.
57846 * sysdeps/s390/fpu/s_fmaf.c: New file.
57847 * sysdeps/s390/fpu/s_fma.c: New file.
57848 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
57849 * sysdeps/powerpc/fpu/s_fma.S: New file.
57850 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
57851 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
57852 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
57854 2010-10-12 Jakub Jelinek <jakub@redhat.com>
57857 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57859 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57860 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57861 * sysdeps/i386/i686/multiarch/s_fma.c: Include
57862 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57863 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57864 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57865 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57867 2010-10-12 Ulrich Drepper <drepper@redhat.com>
57870 * posix/regcomp.c (parse_branch): One more memory leak plugged.
57871 * posix/bug-regex31.input: Add test case.
57873 2010-10-11 Ulrich Drepper <drepper@gmail.com>
57875 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57876 * posix/bug-regex31.input: New file.
57879 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57880 (parse_sub_exp): Fix last change, use postorder.
57882 * posix/bug-regex31.c: New file.
57883 * posix/Makefile: Add rules to build and run bug-regex31.
57885 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57888 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57891 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57892 to have entries in sys_siglist.
57895 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57898 2010-10-07 Jakub Jelinek <jakub@redhat.com>
57901 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57902 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57903 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57904 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57905 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57906 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57907 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57908 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57909 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57910 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57911 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57912 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57913 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57914 * math/ftestexcept.c (fetestexcept): Likewise.
57915 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57916 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57917 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57918 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57919 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57920 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57921 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57923 2010-10-11 Ulrich Drepper <drepper@gmail.com>
57926 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57929 2010-10-06 Ulrich Drepper <drepper@gmail.com>
57931 * string/bug-strstr1.c: New file.
57932 * string/Makefile: Add rules to build and run bug-strstr1.
57934 2010-10-05 Eric Blake <eblake@redhat.com>
57937 * string/str-two-way.h (two_way_long_needle): Always clear memory
57938 when skipping input due to the shift table.
57940 2010-10-03 Ulrich Drepper <drepper@gmail.com>
57943 * malloc/mcheck.c: Handle large requests.
57946 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57947 for strncmp and strncasecmp.
57948 * string/stratcliff.c: Add tests for strcmp and strncmp.
57949 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57951 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
57953 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57956 2010-09-30 Andreas Jaeger <aj@suse.de>
57958 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57959 (CGROUP_SUPER_MAGIC): Define.
57960 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57961 Handle btrfs and cgroup file systems.
57962 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57965 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
57967 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57968 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57970 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57973 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57974 trying to locate the ELF header.
57976 2010-09-27 Andreas Schwab <schwab@redhat.com>
57979 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57980 Mask out sign-bit copies when constructing f_fsid.
57982 2010-09-24 Petr Baudis <pasky@suse.cz>
57984 * debug/stack_chk_fail_local.c: Add missing licence exception.
57985 * debug/warning-nop.c: Likewise.
57987 2010-09-15 Joseph Myers <joseph@codesourcery.com>
57989 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57990 implementing getdents64 using getdents syscall, set d_type if
57991 __ASSUME_GETDENTS32_D_TYPE.
57993 2010-09-16 Andreas Schwab <schwab@redhat.com>
57995 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57996 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57998 2010-09-21 Ulrich Drepper <drepper@redhat.com>
58001 * posix/unistd.h: Undo change of feature selection for ftruncate from
58004 2010-09-20 Ulrich Drepper <drepper@redhat.com>
58006 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
58009 2010-09-20 Andreas Schwab <schwab@redhat.com>
58011 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
58013 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
58015 2010-09-14 Andreas Schwab <schwab@redhat.com>
58017 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
58018 variables after CHECK_SP call.
58019 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
58021 2010-09-13 Andreas Schwab <schwab@redhat.com>
58022 Ulrich Drepper <drepper@redhat.com>
58024 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
58025 re-relocationg ld.so.
58026 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
58027 _dl_init_paths call.
58028 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
58031 2010-09-14 Ulrich Drepper <drepper@redhat.com>
58033 * resolv/res_init.c (__res_vinit): Count the default server we added.
58035 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
58036 Ulrich Drepper <drepper@redhat.com>
58039 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58040 (____longjmp_chk): Use %ebx for saving value across system call.
58043 2010-09-06 Andreas Schwab <schwab@redhat.com>
58045 * manual/Makefile: Don't mix pattern rules with normal rules.
58047 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
58049 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
58051 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
58052 * libio/iofopncook.c (_IO_cookie_init): Likewise.
58053 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
58054 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
58055 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58058 2010-09-04 Ulrich Drepper <drepper@redhat.com>
58061 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
58062 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
58064 2010-09-02 Ulrich Drepper <drepper@redhat.com>
58066 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
58067 * sysdeps/x86_64/addmul_1.S: Likewise.
58068 * sysdeps/x86_64/lshift.S: Likewise.
58069 * sysdeps/x86_64/mul_1.S: Likewise.
58070 * sysdeps/x86_64/rshift.S: Likewise.
58071 * sysdeps/x86_64/sub_n.S: Likewise.
58072 * sysdeps/x86_64/submul_1.S: Likewise.
58074 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
58076 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
58077 Define __sched_param instead of SCHED_* and sched_param when
58078 <bits/sched.h> is included with __need_schedparam defined.
58079 * bits/sched.h [__need_schedparam]
58080 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
58081 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
58082 (__defined_schedparam): Define to 1.
58083 (__sched_param): New structure, identical to sched_param.
58084 (__need_schedparam): Undefine.
58086 2010-08-31 Mike Frysinger <vapier@gentoo.org>
58088 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
58089 (epoll_create1): Declare.
58091 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
58093 2010-08-31 Andreas Schwab <schwab@redhat.com>
58096 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
58097 shifting retval into place.
58099 2010-09-01 Ulrich Drepper <drepper@redhat.com>
58101 * nis/rpcsvc/nis.h: Update copyright notice.
58102 * nis/rpcsvc/nis.x: Likewise.
58103 * nis/rpcsvc/nis_callback.h: Likewise.
58104 * nis/rpcsvc/nis_callback.x: Likewise.
58105 * nis/rpcsvc/nis_object.x: Likewise.
58106 * nis/rpcsvc/nis_tags.h: Likewise.
58107 * nis/rpcsvc/yp.h: Likewise.
58108 * nis/rpcsvc/yp.x: Likewise.
58109 * nis/rpcsvc/ypupd.h: Likewise.
58110 * nis/yp_xdr.c: Likewise.
58111 * nis/ypupdate_xdr.c: Likewise.
58113 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
58114 mainly the body of pmap_getport. Add parameters to specify timeouts.
58115 (pmap_getport): Use __libc_rpc_getport.
58116 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
58117 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
58118 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
58120 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
58122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
58125 2010-08-27 Roland McGrath <roland@redhat.com>
58127 * sysdeps/i386/i686/multiarch/Makefile
58128 (CFLAGS-varshift.c): New variable.
58130 2010-08-27 Ulrich Drepper <drepper@redhat.com>
58132 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
58133 * sysdeps/i386/i686/multiarch/varshift.c: New file.
58135 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
58137 * sysdeps/x86_64/strlen.S: Minimal code improvement.
58139 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
58141 * sysdeps/x86_64/strlen.S: Unroll the loop.
58142 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58143 strlen-sse2 strlen-sse2-bsf.
58144 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
58145 __strlen_no_bsf if bit_Slow_BSF is set.
58146 (__strlen_sse42): Removed.
58147 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
58148 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
58150 2010-08-25 Roland McGrath <roland@redhat.com>
58152 * sysdeps/x86_64/multiarch/varshift.S: File removed.
58153 * sysdeps/x86_64/multiarch/varshift.c: New file.
58154 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
58155 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
58156 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
58157 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
58159 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
58161 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58162 strlen-sse2 strlen-sse2-bsf.
58163 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
58164 __strlen_sse2_bsf if bit_Slow_BSF is unset.
58165 (__strlen_sse2): Removed.
58166 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
58167 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
58168 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
58169 bit_Slow_BSF for Atom.
58170 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
58171 (index_Slow_BSF): Define.
58172 (HAS_SLOW_BSF): Define.
58174 2010-08-25 Ulrich Drepper <drepper@redhat.com>
58177 * resolv/res_init.c (__res_vinit): When no server address at all
58178 is given default to loopback.
58180 2010-08-24 Roland McGrath <roland@redhat.com>
58182 * configure.in: Remove config-name.h generation.
58183 * configure: Regenerated.
58184 * config-name.in: File removed.
58185 * scripts/config-uname.sh: New file.
58186 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
58187 ($(objdir)config-name.h): New target.
58189 * sunrpc/rpc_parse.h: Avoid nested comment.
58191 2010-08-24 Richard Henderson <rth@redhat.com>
58192 Ulrich Drepper <drepper@redhat.com>
58193 H.J. Lu <hongjiu.lu@intel.com>
58195 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
58196 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
58197 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
58198 Replace _mm_srli_si128 with __m128i_shift_right. Replace
58199 _mm_alignr_epi8 with _mm_loadu_si128.
58200 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
58201 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
58202 (__m128i_shift_right): Removed.
58203 * sysdeps/i386/i686/multiarch/varshift.h: New file.
58204 * sysdeps/i386/i686/multiarch/varshift.S: New file.
58205 * sysdeps/x86_64/multiarch/varshift.h: New file.
58206 * sysdeps/x86_64/multiarch/varshift.S: New file.
58208 2010-08-21 Mike Frysinger <vapier@gentoo.org>
58210 * configure.in: Move assembler checks to before sysdep dir checking.
58212 2010-08-20 Petr Baudis <pasky@suse.cz>
58214 * LICENSES: Sync the sunrpc license.
58216 2010-08-19 Ulrich Drepper <drepper@redhat.com>
58218 * sunrpc/auth_des.c: Update copyright notice once again.
58219 * sunrpc/auth_none.c: Likewise.
58220 * sunrpc/auth_unix.c: Likewise.
58221 * sunrpc/authdes_prot.c: Likewise.
58222 * sunrpc/authuxprot.c: Likewise.
58223 * sunrpc/bindrsvprt.c: Likewise.
58224 * sunrpc/clnt_gen.c: Likewise.
58225 * sunrpc/clnt_perr.c: Likewise.
58226 * sunrpc/clnt_raw.c: Likewise.
58227 * sunrpc/clnt_simp.c: Likewise.
58228 * sunrpc/clnt_tcp.c: Likewise.
58229 * sunrpc/clnt_udp.c: Likewise.
58230 * sunrpc/clnt_unix.c: Likewise.
58231 * sunrpc/des_crypt.c: Likewise.
58232 * sunrpc/des_soft.c: Likewise.
58233 * sunrpc/get_myaddr.c: Likewise.
58234 * sunrpc/getrpcport.c: Likewise.
58235 * sunrpc/key_call.c: Likewise.
58236 * sunrpc/key_prot.c: Likewise.
58237 * sunrpc/openchild.c: Likewise.
58238 * sunrpc/pm_getmaps.c: Likewise.
58239 * sunrpc/pm_getport.c: Likewise.
58240 * sunrpc/pmap_clnt.c: Likewise.
58241 * sunrpc/pmap_prot.c: Likewise.
58242 * sunrpc/pmap_prot2.c: Likewise.
58243 * sunrpc/pmap_rmt.c: Likewise.
58244 * sunrpc/rpc/auth.h: Likewise.
58245 * sunrpc/rpc/auth_unix.h: Likewise.
58246 * sunrpc/rpc/clnt.h: Likewise.
58247 * sunrpc/rpc/des_crypt.h: Likewise.
58248 * sunrpc/rpc/key_prot.h: Likewise.
58249 * sunrpc/rpc/netdb.h: Likewise.
58250 * sunrpc/rpc/pmap_clnt.h: Likewise.
58251 * sunrpc/rpc/pmap_prot.h: Likewise.
58252 * sunrpc/rpc/pmap_rmt.h: Likewise.
58253 * sunrpc/rpc/rpc.h: Likewise.
58254 * sunrpc/rpc/rpc_des.h: Likewise.
58255 * sunrpc/rpc/rpc_msg.h: Likewise.
58256 * sunrpc/rpc/svc.h: Likewise.
58257 * sunrpc/rpc/svc_auth.h: Likewise.
58258 * sunrpc/rpc/types.h: Likewise.
58259 * sunrpc/rpc/xdr.h: Likewise.
58260 * sunrpc/rpc_clntout.c: Likewise.
58261 * sunrpc/rpc_cmsg.c: Likewise.
58262 * sunrpc/rpc_common.c: Likewise.
58263 * sunrpc/rpc_cout.c: Likewise.
58264 * sunrpc/rpc_dtable.c: Likewise.
58265 * sunrpc/rpc_hout.c: Likewise.
58266 * sunrpc/rpc_main.c: Likewise.
58267 * sunrpc/rpc_parse.c: Likewise.
58268 * sunrpc/rpc_parse.h: Likewise.
58269 * sunrpc/rpc_prot.c: Likewise.
58270 * sunrpc/rpc_sample.c: Likewise.
58271 * sunrpc/rpc_scan.c: Likewise.
58272 * sunrpc/rpc_scan.h: Likewise.
58273 * sunrpc/rpc_svcout.c: Likewise.
58274 * sunrpc/rpc_tblout.c: Likewise.
58275 * sunrpc/rpc_util.c: Likewise.
58276 * sunrpc/rpc_util.h: Likewise.
58277 * sunrpc/rpcinfo.c: Likewise.
58278 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
58279 * sunrpc/rpcsvc/key_prot.x: Likewise.
58280 * sunrpc/rpcsvc/klm_prot.x: Likewise.
58281 * sunrpc/rpcsvc/mount.x: Likewise.
58282 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
58283 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
58284 * sunrpc/rpcsvc/rex.x: Likewise.
58285 * sunrpc/rpcsvc/rstat.x: Likewise.
58286 * sunrpc/rpcsvc/rusers.x: Likewise.
58287 * sunrpc/rpcsvc/sm_inter.x: Likewise.
58288 * sunrpc/rpcsvc/spray.x: Likewise.
58289 * sunrpc/rpcsvc/yppasswd.x: Likewise.
58290 * sunrpc/rtime.c: Likewise.
58291 * sunrpc/svc.c: Likewise.
58292 * sunrpc/svc_auth.c: Likewise.
58293 * sunrpc/svc_authux.c: Likewise.
58294 * sunrpc/svc_raw.c: Likewise.
58295 * sunrpc/svc_run.c: Likewise.
58296 * sunrpc/svc_simple.c: Likewise.
58297 * sunrpc/svc_tcp.c: Likewise.
58298 * sunrpc/svc_udp.c: Likewise.
58299 * sunrpc/svc_unix.c: Likewise.
58300 * sunrpc/svcauth_des.c: Likewise.
58301 * sunrpc/xcrypt.c: Likewise.
58302 * sunrpc/xdr.c: Likewise.
58303 * sunrpc/xdr_array.c: Likewise.
58304 * sunrpc/xdr_float.c: Likewise.
58305 * sunrpc/xdr_mem.c: Likewise.
58306 * sunrpc/xdr_rec.c: Likewise.
58307 * sunrpc/xdr_ref.c: Likewise.
58308 * sunrpc/xdr_sizeof.c: Likewise.
58309 * sunrpc/xdr_stdio.c: Likewise.
58311 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
58314 2010-08-19 Andreas Schwab <schwab@redhat.com>
58316 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
58318 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
58320 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
58321 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
58322 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
58323 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
58324 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
58325 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
58326 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
58327 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
58328 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
58329 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
58330 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
58331 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
58332 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
58333 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
58335 2010-07-26 Anton Blanchard <anton@samba.org>
58337 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
58338 * malloc/arena.c (heap_trim): Likewise.
58340 2010-08-16 Ulrich Drepper <drepper@redhat.com>
58342 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
58344 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
58345 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
58347 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
58349 * sysdeps/i386/elf/Makefile: New file.
58351 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
58353 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
58354 from fanotify_init.
58355 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
58356 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
58358 2010-08-15 Ulrich Drepper <drepper@redhat.com>
58360 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
58362 * sysdeps/multiarch/strcmp.S: Likewise.
58364 2010-08-14 Ulrich Drepper <drepper@redhat.com>
58366 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
58367 strncase_l-nonascii.
58368 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
58369 Add strncase_l-ssse3.
58370 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
58371 * sysdeps/x86_64/strcmp.S: Likewise.
58372 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
58373 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
58374 * sysdeps/x86_64/strncase.S: New file.
58375 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
58376 * sysdeps/x86_64/strncase_l.S: New file.
58377 * string/Makefile (strop-tests): Add strncasecmp.
58378 * string/test-strncasecmp.c: New file.
58380 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
58383 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
58384 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
58386 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
58388 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
58390 2010-08-12 Ulrich Drepper <drepper@redhat.com>
58392 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
58393 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
58394 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
58396 2010-05-01 Alan Modra <amodra@gmail.com>
58398 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
58399 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
58400 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
58401 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
58402 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
58403 tidying. Don't tail-call __sigjmp_save for static lib.
58404 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
58406 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
58407 (CALL_MCOUNT): Add eh info, and nop after bl.
58408 (TAIL_CALL_SYSCALL_ERROR): New macro.
58409 (PSEUDO_RET): Use it.
58410 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
58411 Correct save location of integer regs and cr.
58412 (_dl_profile_resolve): Correct cr save location. Delete nops
58413 after bl when SHARED. Reduce cfi size a little by better
58414 placement of cfi directives.
58415 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
58416 make a stack frame. Instead use parm save area as a temp.
58417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
58418 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
58419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
58420 Don't make a stack frame for parent, use parm save area.
58421 Increase child stack frame to 112 bytes. Don't save unused reg,
58422 and adjust reg usage. Set up cfi on error recovery and
58423 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
58424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58425 (__makecontext): Add dummy nop after jump to exit.
58426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
58427 Use correct parm save area and cr save, reduce stack frame.
58428 Correct cfi for possible PSEUDO_RET frame setup.
58429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
58430 Branch to local label emitted by PSEUDO_RET rather than
58433 2010-08-12 Andreas Schwab <schwab@redhat.com>
58436 * locale/programs/locale.c (print_assignment): New function.
58437 (show_locale_vars): Use it.
58439 2010-08-11 Ulrich Drepper <drepper@redhat.com>
58441 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
58443 (struct statfs64): Likewise.
58444 (_STATFS_F_FLAGS): Define.
58445 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
58446 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58447 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
58448 (ST_VALID): Define locally.
58449 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
58450 __statvfs_getflags, use the provided value.
58451 * sysdeps/unix/sysv/linux/kernel-features.h: Define
58452 __ASSUME_STATFS_F_FLAGS.
58454 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
58456 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
58457 Add sys/fanotify.h.
58458 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
58459 fanotify_mask for GLIBC_2.13.
58460 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
58461 fanotify_init and fanotify_mark.
58462 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
58463 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
58465 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
58467 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
58468 prlimit64 for GLIBC_2.13.
58469 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
58471 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
58473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
58474 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
58475 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
58476 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
58477 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
58479 * sysdeps/unix/sysv/linux/prlimit.c: New file.
58482 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
58483 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
58485 * nss/Makefile: Add rules to build and run tst-nss-test1.
58486 * shlib-versions: Add entry for libnss_test1.
58487 * nss/nss_test1.c: New file.
58488 * nss/tst-nss-test1.c: New file.
58490 * nss/nsswitch.c (__nss_database_custom): Define new variable.
58491 (__nss_configure_lookup): Set appropriate entry in
58492 __nss_configure_lookup to true.
58493 * nss/nsswitch.h: Define enum with indeces of databases in
58494 databases and __nss_database_custom arrays. Declare
58495 __nss_database_custom.
58496 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
58497 to avoid using nscd when custom rules are installed.
58498 * nss/getXXbyYY_r.c: Likewise.
58499 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58501 * nss/nss_files/files-parse.c: Whitespace fixes.
58503 2010-08-09 Ulrich Drepper <drepper@redhat.com>
58506 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
58507 * posix/fnmatch_loop.c: Likewise.
58509 2010-07-17 Andi Kleen <ak@linux.intel.com>
58511 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
58512 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
58513 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
58514 * Versions.def [GLIBC_2.13]: Add.
58516 2010-08-06 Ulrich Drepper <drepper@redhat.com>
58518 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58519 Also fail if tpwd after pwuid call is NULL.
58521 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
58523 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
58524 when converting to ms.
58526 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
58528 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
58529 EOPNOTSUPP errors with ENOTTY.
58530 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
58531 EOPNOTSUPP errors with ENOTTY.
58533 2010-07-31 Ulrich Drepper <drepper@redhat.com>
58535 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
58536 Add strcasecmp_l-ssse3.
58537 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
58539 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
58540 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
58541 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
58543 2010-07-30 Ulrich Drepper <drepper@redhat.com>
58545 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
58547 * string/Makefile (strop-tests): Add strcasecmp.
58548 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
58549 strcasecmp_l-nonascii.
58550 (gen-as-const-headers): Add locale-defines.sym.
58551 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
58552 * sysdeps/x86_64/strcasecmp.S: New file.
58553 * sysdeps/x86_64/strcasecmp_l.S: New file.
58554 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
58555 * sysdeps/x86_64/locale-defines.sym: New file.
58556 * string/test-strcasecmp.c: New file.
58558 * string/test-strcasestr.c: Test both ends of the range of characters.
58559 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
58561 2010-07-29 Roland McGrath <roland@redhat.com>
58564 * manual/locale.texi (Yes-or-No Questions): Fix example code.
58566 2010-07-27 Ulrich Drepper <drepper@redhat.com>
58568 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
58571 2010-07-27 Andreas Schwab <schwab@redhat.com>
58573 * manual/memory.texi (Malloc Tunable Parameters): Document
58576 2010-07-26 Roland McGrath <roland@redhat.com>
58579 * configure.in (-fgnu89-inline check): Set and substitute
58580 gnu89_inline, not libc_cv_gnu89_inline.
58581 * configure: Regenerated.
58582 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
58584 2010-07-26 Ulrich Drepper <drepper@redhat.com>
58586 * string/test-strnlen.c: New file.
58587 * string/Makefile (strop-tests): Add strnlen.
58588 * string/tester.c (test_strnlen): Add a few more test cases.
58589 * string/tst-strlen.c: Better error reporting.
58591 * sysdeps/x86_64/strnlen.S: New file.
58593 2010-07-24 Ulrich Drepper <drepper@redhat.com>
58595 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
58596 lower-latency instructions.
58598 2010-07-23 Ulrich Drepper <drepper@redhat.com>
58600 * string/test-strcasestr.c: New file.
58601 * string/test-strstr.c: New file.
58602 * string/Makefile (strop-tests): Add strstr and strcasestr.
58603 * string/str-two-way.h: Don't undefine MAX.
58604 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
58606 2010-07-21 Andreas Schwab <schwab@redhat.com>
58608 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58609 strcasestr-nonascii.
58610 (CFLAGS-strcasestr-nonascii.c): Define.
58611 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
58612 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
58613 Remove unused attribute.
58615 2010-07-20 Roland McGrath <roland@redhat.com>
58617 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
58618 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
58619 ld.so.cache was broken. With it, there is no way to disable dsocaps
58620 like LD_HWCAP_MASK can disable hwcaps.
58622 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58624 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
58626 2010-07-16 Ulrich Drepper <drepper@redhat.com>
58628 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
58629 call in strcasestr.
58630 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
58631 __strcasestr_sse42_nonascii.
58632 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
58633 strcasestr-nonascii.c.
58634 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
58636 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
58638 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
58639 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
58640 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
58641 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
58643 2010-07-09 Ulrich Drepper <drepper@redhat.com>
58645 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
58648 2010-07-06 Andreas Schwab <schwab@redhat.com>
58651 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
58654 2010-07-06 Ulrich Drepper <drepper@redhat.com>
58656 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
58657 _PC_PIPE_BUF using F_GETPIPE_SZ.
58659 2010-07-05 Roland McGrath <roland@redhat.com>
58661 * manual/arith.texi (Rounding Functions): Fix rint description
58662 implicit in round description.
58664 2010-07-02 Ulrich Drepper <drepper@redhat.com>
58666 * elf/Makefile: Fix linking for a few tests to make recent linker
58669 2010-06-30 Andreas Schwab <schwab@redhat.com>
58671 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58672 $(common-objpfx)libc_nonshared.a.
58674 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
58676 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
58677 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
58678 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58679 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58680 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
58681 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
58682 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58683 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
58685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
58686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
58687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
58689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
58691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
58692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
58693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
58694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
58696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
58698 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
58699 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
58700 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
58701 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
58702 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
58703 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
58704 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
58705 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
58706 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
58707 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
58708 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
58709 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
58710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
58711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
58712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
58713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
58714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
58715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
58716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
58717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
58718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
58719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
58720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
58721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
58722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
58723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
58725 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
58727 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
58728 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
58729 * string/memmove.c (memmove): Renamed to ...
58730 (MEMMOVE): ...this. Default to memmove.
58731 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
58732 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
58734 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58735 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
58736 mempcpy-ssse3-back memmove-ssse3-back.
58737 * sysdeps/x86_64/multiarch/bcopy.S: New file .
58738 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
58739 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
58740 * sysdeps/x86_64/multiarch/memcpy.S: New file.
58741 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
58742 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
58743 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
58744 * sysdeps/x86_64/multiarch/memmove.c: New file.
58745 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
58746 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
58747 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
58748 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
58749 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
58750 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
58752 (index_Fast_Copy_Backward): Define.
58753 (HAS_ARCH_FEATURE): Define.
58754 (HAS_FAST_REP_STRING): Define.
58755 (HAS_FAST_COPY_BACKWARD): Define.
58757 2010-06-21 Andreas Schwab <schwab@redhat.com>
58759 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58760 Restore proper fallback handling.
58762 2010-06-19 Ulrich Drepper <drepper@redhat.com>
58765 * posix/group_member.c (__group_member): Correct checking loop.
58767 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
58768 OOM in getpwuid_r correctly. Return error number when the caller
58769 should return, otherwise -1.
58770 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
58771 call returning > 0 value.
58772 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
58774 2010-06-07 Andreas Schwab <schwab@redhat.com>
58776 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
58777 libc_nonshared.a from targets in modules-names.
58779 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
58781 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
58784 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
58786 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
58787 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
58788 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
58789 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
58791 2010-06-02 Andreas Schwab <schwab@redhat.com>
58793 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
58795 2010-06-14 Ulrich Drepper <drepper@redhat.com>
58797 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
58799 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58800 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58801 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58802 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58803 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58804 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
58806 2010-06-14 Roland McGrath <roland@redhat.com>
58808 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
58810 2010-06-07 Jakub Jelinek <jakub@redhat.com>
58812 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
58813 __REDIRECT followed by __THROW.
58814 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
58815 * posix/getopt.h (getopt): Likewise.
58817 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58819 * hurd/lookup-at.c (__file_name_lookup_at): Accept
58820 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
58821 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
58823 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
58824 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
58826 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
58828 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
58830 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
58833 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58834 Properly check family and model.
58836 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
58838 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
58840 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
58842 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
58844 2010-05-21 Ulrich Drepper <drepper@redhat.com>
58846 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
58849 2010-05-19 Andreas Schwab <schwab@redhat.com>
58851 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
58854 2010-05-21 Andreas Schwab <schwab@redhat.com>
58856 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58857 and internal_recvmmsg.
58858 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58859 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58860 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58861 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58863 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58864 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58865 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58867 2010-05-20 Andreas Schwab <schwab@redhat.com>
58869 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58871 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
58873 POWER7 optimizations.
58874 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58875 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58877 2010-05-19 Ulrich Drepper <drepper@redhat.com>
58879 * version.h: Update for 2.13 development version.
58881 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
58883 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58884 exceptions. Return 0.
58886 2010-05-07 Roland McGrath <roland@redhat.com>
58888 * elf/ldconfig.c (main): Add a const.
58890 2010-05-06 Ulrich Drepper <drepper@redhat.com>
58892 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58893 (args_options): Add no-idn option.
58894 (ahosts_keys_int): Add idn_flags to ai_flags.
58895 (parse_option): Handle 'i' option to clear idn_flags.
58897 * malloc/malloc.c (_int_free): Possible race in the most recently
58898 added check. Only act on the data if no current modification
58901 See ChangeLog.17 for earlier changes.